diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index 04356191..2100d464 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -160,7 +160,12 @@ class SignatureInfo(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "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", ] diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi index fa8e8b03..ca8df577 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi @@ -231,6 +231,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index bf53db74..b9a8c5cd 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -249,6 +249,7 @@ class ListGcpUserAccessBindingsResponse(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 ListServicePerimetersResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi index 68afdc61..22c28300 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi @@ -776,6 +776,7 @@ class NonBillableWinningBidStatusRow(typing_extensions.TypedDict, total=False): "INVALID_IMPRESSION", "FATAL_VAST_ERROR", "LOST_IN_MEDIATION", + "OVERDELIVERED_IMPRESSION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi index 6e31facc..c7e85f76 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi @@ -265,6 +265,9 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): orgUnitPath: str osUpdateStatus: OsUpdateStatus osVersion: str + osVersionCompliance: typing_extensions.Literal[ + "complianceUnspecified", "compliant", "pending", "notCompliant" + ] platformVersion: str recentUsers: _list[dict[str, typing.Any]] screenshotFiles: _list[dict[str, typing.Any]] diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index e69cf35e..dbbf5b24 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -26,6 +26,7 @@ class ReportsResource(googleapiclient.discovery.Resource): "chat", "drive", "gcp", + "gmail", "gplus", "groups", "groups_enterprise", @@ -43,6 +44,7 @@ class ReportsResource(googleapiclient.discovery.Resource): "keep", "vault", "gemini_in_workspace_apps", + "classroom", ], actorIpAddress: str = ..., customerId: str = ..., @@ -85,6 +87,7 @@ class ReportsResource(googleapiclient.discovery.Resource): "chrome", "data_studio", "keep", + "classroom", ], body: Channel = ..., actorIpAddress: str = ..., diff --git a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi index b2454a5b..39b41535 100644 --- a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi @@ -313,6 +313,8 @@ class AdsenseResource(googleapiclient.discovery.Resource): "PLATFORM_TYPE_CODE", "TARGETING_TYPE_NAME", "TARGETING_TYPE_CODE", + "TRAFFIC_SOURCE_NAME", + "TRAFFIC_SOURCE_CODE", "CONTENT_PLATFORM_NAME", "CONTENT_PLATFORM_CODE", "AD_PLACEMENT_NAME", @@ -365,6 +367,8 @@ class AdsenseResource(googleapiclient.discovery.Resource): "PLATFORM_TYPE_CODE", "TARGETING_TYPE_NAME", "TARGETING_TYPE_CODE", + "TRAFFIC_SOURCE_NAME", + "TRAFFIC_SOURCE_CODE", "CONTENT_PLATFORM_NAME", "CONTENT_PLATFORM_CODE", "AD_PLACEMENT_NAME", @@ -529,6 +533,8 @@ class AdsenseResource(googleapiclient.discovery.Resource): "PLATFORM_TYPE_CODE", "TARGETING_TYPE_NAME", "TARGETING_TYPE_CODE", + "TRAFFIC_SOURCE_NAME", + "TRAFFIC_SOURCE_CODE", "CONTENT_PLATFORM_NAME", "CONTENT_PLATFORM_CODE", "AD_PLACEMENT_NAME", @@ -581,6 +587,8 @@ class AdsenseResource(googleapiclient.discovery.Resource): "PLATFORM_TYPE_CODE", "TARGETING_TYPE_NAME", "TARGETING_TYPE_CODE", + "TRAFFIC_SOURCE_NAME", + "TRAFFIC_SOURCE_CODE", "CONTENT_PLATFORM_NAME", "CONTENT_PLATFORM_CODE", "AD_PLACEMENT_NAME", diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index a1309500..2f452d02 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -308,6 +308,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -378,6 +379,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -452,6 +454,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -492,6 +495,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -551,6 +555,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -651,6 +656,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -682,6 +688,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -822,6 +829,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -899,6 +907,44 @@ class AiplatformResource(googleapiclient.discovery.Resource): **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 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 embeddings( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -917,6 +963,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1003,6 +1050,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., + gdcZone: str = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1086,8 +1134,125 @@ class AiplatformResource(googleapiclient.discovery.Resource): **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): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1EvaluationItem = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationItemsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest | None + ): ... + + @typing.type_check_only + class EvaluationRunsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelEvaluationRunRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1EvaluationRun = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationRunsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest | None + ): ... + + @typing.type_check_only + 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 @@ -1107,6 +1272,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def listWait_next( @@ -1185,6 +1351,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def listWait_next( @@ -1302,6 +1469,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def listWait_next( @@ -1327,6 +1495,15 @@ class AiplatformResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def directWrite( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1FeatureViewDirectWriteRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1FeatureViewDirectWriteResponseHttpRequest + ): ... def fetchFeatureValues( self, *, @@ -1336,6 +1513,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1FetchFeatureValuesResponseHttpRequest ): ... + def generateFetchAccessToken( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateFetchAccessTokenResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1FeatureViewHttpRequest: ... @@ -1420,6 +1604,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def listWait_next( @@ -1521,6 +1706,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1608,6 +1794,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1751,6 +1938,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1869,6 +2057,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1940,6 +2129,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2046,6 +2236,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2131,6 +2322,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2221,6 +2413,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2336,6 +2529,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2461,6 +2655,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2527,6 +2722,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2586,6 +2782,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2689,6 +2886,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2784,6 +2982,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3004,6 +3203,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3084,6 +3284,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3179,6 +3380,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3263,6 +3465,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3294,6 +3497,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3374,6 +3578,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3537,6 +3742,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3568,6 +3774,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3582,7 +3789,11 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + forceDelete: bool = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -3669,6 +3880,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3702,6 +3914,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3787,6 +4000,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3870,6 +4084,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3940,6 +4155,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3971,6 +4187,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4116,6 +4333,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4149,6 +4367,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4189,6 +4408,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ( GoogleLongrunningListOperationsResponseHttpRequest @@ -4422,6 +4642,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4508,6 +4729,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4581,6 +4803,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4666,6 +4889,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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: ... @@ -4708,6 +4945,9 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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: ... @@ -5155,6 +5395,32 @@ class GoogleCloudAiplatformV1EvaluateInstancesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1EvaluateInstancesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationItemHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1EvaluationItem: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1EvaluationRun: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationSetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1EvaluationSet: ... + @typing.type_check_only class GoogleCloudAiplatformV1ExecutionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -5217,6 +5483,16 @@ class GoogleCloudAiplatformV1FeatureViewHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> GoogleCloudAiplatformV1FeatureView: ... +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1FeatureViewDirectWriteResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewSyncHttpRequest( googleapiclient.http.HttpRequest @@ -5265,6 +5541,36 @@ class GoogleCloudAiplatformV1GenerateContentResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1GenerateContentResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateFetchAccessTokenResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateInstanceRubricsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1GenerateInstanceRubricsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateSyntheticDataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1GenerateSyntheticDataResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest( googleapiclient.http.HttpRequest @@ -5431,6 +5737,36 @@ class GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListEntityTypesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListEvaluationItemsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListEvaluationRunsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListEvaluationSetsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index 28667e14..f8dc8117 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -361,6 +361,7 @@ class GoogleCloudAiplatformV1AutomaticResources( class GoogleCloudAiplatformV1AutoraterConfig(typing_extensions.TypedDict, total=False): autoraterModel: str flipEnabled: bool + generationConfig: GoogleCloudAiplatformV1GenerationConfig samplingCount: int @typing.type_check_only @@ -622,6 +623,24 @@ class GoogleCloudAiplatformV1BigQueryDestination( ): outputUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1BigQueryRequestSet( + typing_extensions.TypedDict, total=False +): + candidateResponseColumns: dict[str, typing.Any] + promptColumn: str + rubricsColumn: str + samplingConfig: GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig( + typing_extensions.TypedDict, total=False +): + samplingCount: int + samplingDuration: str + samplingMethod: typing_extensions.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] + @typing.type_check_only class GoogleCloudAiplatformV1BigQuerySource(typing_extensions.TypedDict, total=False): inputUri: str @@ -710,6 +729,11 @@ class GoogleCloudAiplatformV1CancelDataLabelingJobRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1CancelEvaluationRunRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest( typing_extensions.TypedDict, total=False @@ -752,11 +776,13 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "MODEL_ARMOR", "IMAGE_SAFETY", "IMAGE_PROHIBITED_CONTENT", "IMAGE_RECITATION", "IMAGE_OTHER", "UNEXPECTED_TOOL_CALL", + "NO_IMAGE", ] groundingMetadata: GoogleCloudAiplatformV1GroundingMetadata index: int @@ -764,6 +790,23 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) safetyRatings: _list[GoogleCloudAiplatformV1SafetyRating] urlContextMetadata: GoogleCloudAiplatformV1UrlContextMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1CandidateResponse( + typing_extensions.TypedDict, total=False +): + candidate: str + text: str + value: typing.Any + +@typing.type_check_only +class GoogleCloudAiplatformV1CandidateResult(typing_extensions.TypedDict, total=False): + additionalResults: typing.Any + candidate: str + explanation: str + metric: str + rubricVerdicts: _list[GoogleCloudAiplatformV1RubricVerdict] + score: float + @typing.type_check_only class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata( typing_extensions.TypedDict, total=False @@ -1039,6 +1082,17 @@ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest( class GoogleCloudAiplatformV1CreateEndpointOperationMetadata( typing_extensions.TypedDict, total=False ): + deploymentStage: typing_extensions.Literal[ + "DEPLOYMENT_STAGE_UNSPECIFIED", + "STARTING_DEPLOYMENT", + "PREPARING_MODEL", + "CREATING_SERVING_CLUSTER", + "ADDING_NODES_TO_CLUSTER", + "GETTING_CONTAINER_IMAGE", + "STARTING_MODEL_SERVER", + "FINISHING_UP", + "DEPLOYMENT_TERMINATED", + ] genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only @@ -1424,6 +1478,17 @@ class GoogleCloudAiplatformV1DeployIndexResponse( class GoogleCloudAiplatformV1DeployModelOperationMetadata( typing_extensions.TypedDict, total=False ): + deploymentStage: typing_extensions.Literal[ + "DEPLOYMENT_STAGE_UNSPECIFIED", + "STARTING_DEPLOYMENT", + "PREPARING_MODEL", + "CREATING_SERVING_CLUSTER", + "ADDING_NODES_TO_CLUSTER", + "GETTING_CONTAINER_IMAGE", + "STARTING_MODEL_SERVER", + "FINISHING_UP", + "DEPLOYMENT_TERMINATED", + ] genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only @@ -1469,8 +1534,12 @@ class GoogleCloudAiplatformV1DeployRequestDeployConfig( class GoogleCloudAiplatformV1DeployRequestEndpointConfig( typing_extensions.TypedDict, total=False ): + dedicatedEndpointDisabled: bool dedicatedEndpointEnabled: bool endpointDisplayName: str + endpointUserId: str + labels: dict[str, typing.Any] + privateServiceConnectConfig: GoogleCloudAiplatformV1PrivateServiceConnectConfig @typing.type_check_only class GoogleCloudAiplatformV1DeployRequestModelConfig( @@ -1481,6 +1550,7 @@ class GoogleCloudAiplatformV1DeployRequestModelConfig( huggingFaceAccessToken: str huggingFaceCacheEnabled: bool modelDisplayName: str + modelUserId: str @typing.type_check_only class GoogleCloudAiplatformV1DeployResponse(typing_extensions.TypedDict, total=False): @@ -1495,8 +1565,10 @@ class GoogleCloudAiplatformV1DeployedIndex(typing_extensions.TypedDict, total=Fa dedicatedResources: GoogleCloudAiplatformV1DedicatedResources deployedIndexAuthConfig: GoogleCloudAiplatformV1DeployedIndexAuthConfig deploymentGroup: str + deploymentTier: typing_extensions.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] displayName: str enableAccessLogging: bool + enableDatapointUpsertLogging: bool id: str index: str indexSyncTime: str @@ -1535,6 +1607,7 @@ class GoogleCloudAiplatformV1DeployedModel(typing_extensions.TypedDict, total=Fa enableAccessLogging: bool explanationSpec: GoogleCloudAiplatformV1ExplanationSpec fasterDeploymentConfig: GoogleCloudAiplatformV1FasterDeploymentConfig + gdcConnectedModel: str id: str model: str modelVersionId: str @@ -1649,6 +1722,7 @@ class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): enablePrivateServiceConnect: bool encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec etag: str + gdcConfig: GoogleCloudAiplatformV1GdcConfig genAiAdvancedFeaturesConfig: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig labels: dict[str, typing.Any] modelDeploymentMonitoringJob: str @@ -1666,7 +1740,17 @@ class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudAiplatformV1EnterpriseWebSearch( typing_extensions.TypedDict, total=False -): ... +): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1EntityIdSelector(typing_extensions.TypedDict, total=False): @@ -1733,6 +1817,8 @@ class GoogleCloudAiplatformV1EvaluateInstancesRequest( fluencyInput: GoogleCloudAiplatformV1FluencyInput fulfillmentInput: GoogleCloudAiplatformV1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1GroundednessInput + instance: GoogleCloudAiplatformV1EvaluationInstance + metrics: _list[GoogleCloudAiplatformV1Metric] metricxInput: GoogleCloudAiplatformV1MetricxInput pairwiseMetricInput: GoogleCloudAiplatformV1PairwiseMetricInput pairwiseQuestionAnsweringQualityInput: ( @@ -1782,6 +1868,7 @@ class GoogleCloudAiplatformV1EvaluateInstancesResponse( fluencyResult: GoogleCloudAiplatformV1FluencyResult fulfillmentResult: GoogleCloudAiplatformV1FulfillmentResult groundednessResult: GoogleCloudAiplatformV1GroundednessResult + metricResults: _list[GoogleCloudAiplatformV1MetricResult] metricxResult: GoogleCloudAiplatformV1MetricxResult pairwiseMetricResult: GoogleCloudAiplatformV1PairwiseMetricResult pairwiseQuestionAnsweringQualityResult: ( @@ -1859,6 +1946,245 @@ class GoogleCloudAiplatformV1EvaluationDataset( bigquerySource: GoogleCloudAiplatformV1BigQuerySource gcsSource: GoogleCloudAiplatformV1GcsSource +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstance( + typing_extensions.TypedDict, total=False +): + otherData: GoogleCloudAiplatformV1EvaluationInstanceMapInstance + prompt: GoogleCloudAiplatformV1EvaluationInstanceInstanceData + reference: GoogleCloudAiplatformV1EvaluationInstanceInstanceData + response: GoogleCloudAiplatformV1EvaluationInstanceInstanceData + rubricGroups: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceInstanceData( + typing_extensions.TypedDict, total=False +): + contents: GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents + text: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceMapInstance( + typing_extensions.TypedDict, total=False +): + mapInstance: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationItem(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + error: GoogleRpcStatus + evaluationItemType: typing_extensions.Literal[ + "EVALUATION_ITEM_TYPE_UNSPECIFIED", "REQUEST", "RESULT" + ] + evaluationRequest: GoogleCloudAiplatformV1EvaluationRequest + evaluationResponse: GoogleCloudAiplatformV1EvaluationResult + gcsUri: str + labels: dict[str, typing.Any] + metadata: typing.Any + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationPrompt(typing_extensions.TypedDict, total=False): + promptTemplateData: GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData + text: str + value: typing.Any + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData( + typing_extensions.TypedDict, total=False +): + values: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRequest( + typing_extensions.TypedDict, total=False +): + candidateResponses: _list[GoogleCloudAiplatformV1CandidateResponse] + goldenResponse: GoogleCloudAiplatformV1CandidateResponse + prompt: GoogleCloudAiplatformV1EvaluationPrompt + rubrics: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationResult(typing_extensions.TypedDict, total=False): + candidateResults: _list[GoogleCloudAiplatformV1CandidateResult] + evaluationRequest: str + evaluationRun: str + metadata: typing.Any + metric: str + request: GoogleCloudAiplatformV1EvaluationRequest + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationResults( + typing_extensions.TypedDict, total=False +): + evaluationSet: str + summaryMetrics: GoogleCloudAiplatformV1SummaryMetrics + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRubricConfig( + typing_extensions.TypedDict, total=False +): + predefinedRubricGenerationSpec: ( + GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec + ) + rubricGenerationSpec: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec + rubricGroupKey: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRun(typing_extensions.TypedDict, total=False): + completionTime: str + createTime: str + dataSource: GoogleCloudAiplatformV1EvaluationRunDataSource + displayName: str + error: GoogleRpcStatus + evaluationConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfig + evaluationResults: GoogleCloudAiplatformV1EvaluationResults + evaluationSetSnapshot: str + inferenceConfigs: dict[str, typing.Any] + labels: dict[str, typing.Any] + metadata: typing.Any + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "SUCCEEDED", + "FAILED", + "CANCELLED", + "INFERENCE", + "GENERATING_RUBRICS", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunDataSource( + typing_extensions.TypedDict, total=False +): + bigqueryRequestSet: GoogleCloudAiplatformV1BigQueryRequestSet + evaluationSet: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunEvaluationConfig( + typing_extensions.TypedDict, total=False +): + autoraterConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + metrics: _list[GoogleCloudAiplatformV1EvaluationRunMetric] + outputConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig + promptTemplate: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate + rubricConfigs: _list[GoogleCloudAiplatformV1EvaluationRubricConfig] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig( + typing_extensions.TypedDict, total=False +): + autoraterModel: str + generationConfig: GoogleCloudAiplatformV1GenerationConfig + sampleCount: int + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig( + typing_extensions.TypedDict, total=False +): + bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination + gcsDestination: GoogleCloudAiplatformV1GcsDestination + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate( + typing_extensions.TypedDict, total=False +): + gcsUri: str + promptTemplate: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunInferenceConfig( + typing_extensions.TypedDict, total=False +): + generationConfig: GoogleCloudAiplatformV1GenerationConfig + model: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetric( + typing_extensions.TypedDict, total=False +): + llmBasedMetricSpec: GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec + metric: str + predefinedMetricSpec: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec + rubricBasedMetricSpec: ( + GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + additionalConfig: dict[str, typing.Any] + judgeAutoraterConfig: ( + GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + ) + metricPromptTemplate: str + predefinedRubricGenerationSpec: ( + GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec + ) + rubricGenerationSpec: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec + rubricGroupKey: str + systemInstruction: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec( + typing_extensions.TypedDict, total=False +): + metricSpecName: str + parameters: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + inlineRubrics: ( + GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics + ) + judgeAutoraterConfig: ( + GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + ) + metricPromptTemplate: str + rubricGenerationSpec: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec + rubricGroupKey: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics( + typing_extensions.TypedDict, total=False +): + rubrics: _list[GoogleCloudAiplatformV1Rubric] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + promptTemplate: str + rubricContentType: typing_extensions.Literal[ + "RUBRIC_CONTENT_TYPE_UNSPECIFIED", + "PROPERTY", + "NL_QUESTION_ANSWER", + "PYTHON_CODE_ASSERTION", + ] + rubricTypeOntology: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationSet(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + evaluationItems: _list[str] + metadata: typing.Any + name: str + updateTime: str + @typing.type_check_only class GoogleCloudAiplatformV1Event(typing_extensions.TypedDict, total=False): artifact: str @@ -2365,6 +2691,8 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable( typing_extensions.TypedDict, total=False ): autoScaling: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling + bigtableMetadata: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata + enableDirectBigtableAccess: bool @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling( @@ -2374,6 +2702,14 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling( maxNodeCount: int minNodeCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata( + typing_extensions.TypedDict, total=False +): + instanceId: str + tableId: str + tenantProjectId: str + @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint( typing_extensions.TypedDict, total=False @@ -2438,6 +2774,7 @@ class GoogleCloudAiplatformV1FeatureValueMetadata( @typing.type_check_only class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1FeatureViewBigQuerySource + bigtableMetadata: GoogleCloudAiplatformV1FeatureViewBigtableMetadata createTime: str etag: str featureRegistrySource: GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource @@ -2464,6 +2801,12 @@ class GoogleCloudAiplatformV1FeatureViewBigQuerySource( entityIdColumns: _list[str] uri: str +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewBigtableMetadata( + typing_extensions.TypedDict, total=False +): + readAppProfile: str + @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDataKey( typing_extensions.TypedDict, total=False @@ -2477,6 +2820,46 @@ class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey( ): parts: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteRequest( + typing_extensions.TypedDict, total=False +): + dataKeyAndFeatureValues: _list[ + GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues( + typing_extensions.TypedDict, total=False +): + dataKey: GoogleCloudAiplatformV1FeatureViewDataKey + features: _list[ + GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature( + typing_extensions.TypedDict, total=False +): + name: str + value: GoogleCloudAiplatformV1FeatureValue + +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteResponse( + typing_extensions.TypedDict, total=False +): + status: GoogleRpcStatus + writeResponses: _list[ + GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse( + typing_extensions.TypedDict, total=False +): + dataKey: GoogleCloudAiplatformV1FeatureViewDataKey + onlineStoreWriteTime: str + @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( typing_extensions.TypedDict, total=False @@ -2821,6 +3204,10 @@ class GoogleCloudAiplatformV1GcsDestination(typing_extensions.TypedDict, total=F class GoogleCloudAiplatformV1GcsSource(typing_extensions.TypedDict, total=False): uris: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1GdcConfig(typing_extensions.TypedDict, total=False): + zone: str + @typing.type_check_only class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig( typing_extensions.TypedDict, total=False @@ -2841,6 +3228,7 @@ class GoogleCloudAiplatformV1GenerateContentRequest( contents: _list[GoogleCloudAiplatformV1Content] generationConfig: GoogleCloudAiplatformV1GenerationConfig labels: dict[str, typing.Any] + modelArmorConfig: GoogleCloudAiplatformV1ModelArmorConfig safetySettings: _list[GoogleCloudAiplatformV1SafetySetting] systemInstruction: GoogleCloudAiplatformV1Content toolConfig: GoogleCloudAiplatformV1ToolConfig @@ -2867,7 +3255,9 @@ class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "MODEL_ARMOR", "IMAGE_SAFETY", + "JAILBREAK", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1SafetyRating] @@ -2890,6 +3280,47 @@ class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" ] +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse( + typing_extensions.TypedDict, total=False +): + accessToken: str + expireTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateInstanceRubricsRequest( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1Content] + predefinedRubricGenerationSpec: GoogleCloudAiplatformV1PredefinedMetricSpec + rubricGenerationSpec: GoogleCloudAiplatformV1RubricGenerationSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateInstanceRubricsResponse( + typing_extensions.TypedDict, total=False +): + generatedRubrics: _list[GoogleCloudAiplatformV1Rubric] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateSyntheticDataRequest( + typing_extensions.TypedDict, total=False +): + count: int + examples: _list[GoogleCloudAiplatformV1SyntheticExample] + outputFieldSpecs: _list[GoogleCloudAiplatformV1OutputFieldSpec] + taskDescription: GoogleCloudAiplatformV1TaskDescriptionStrategy + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateSyntheticDataResponse( + typing_extensions.TypedDict, total=False +): + syntheticExamples: _list[GoogleCloudAiplatformV1SyntheticExample] + @typing.type_check_only class GoogleCloudAiplatformV1GenerateVideoResponse( typing_extensions.TypedDict, total=False @@ -2913,6 +3344,7 @@ class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float + imageConfig: GoogleCloudAiplatformV1ImageConfig logprobs: int maxOutputTokens: int mediaResolution: typing_extensions.Literal[ @@ -2993,6 +3425,10 @@ class GoogleCloudAiplatformV1GoogleDriveSourceResourceId( "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_FILE", "RESOURCE_TYPE_FOLDER" ] +@typing.type_check_only +class GoogleCloudAiplatformV1GoogleMaps(typing_extensions.TypedDict, total=False): + enableWidget: bool + @typing.type_check_only class GoogleCloudAiplatformV1GoogleSearchRetrieval( typing_extensions.TypedDict, total=False @@ -3027,13 +3463,41 @@ class GoogleCloudAiplatformV1GroundednessSpec(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1GroundingChunk(typing_extensions.TypedDict, total=False): + maps: GoogleCloudAiplatformV1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1GroundingChunkWeb +@typing.type_check_only +class GoogleCloudAiplatformV1GroundingChunkMaps( + typing_extensions.TypedDict, total=False +): + placeAnswerSources: GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources + placeId: str + text: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources( + typing_extensions.TypedDict, total=False +): + reviewSnippets: _list[ + GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( + typing_extensions.TypedDict, total=False +): + googleMapsUri: str + reviewId: str + title: str + @typing.type_check_only class GoogleCloudAiplatformV1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + documentName: str ragChunk: GoogleCloudAiplatformV1RagChunk text: str title: str @@ -3051,12 +3515,21 @@ class GoogleCloudAiplatformV1GroundingChunkWeb( class GoogleCloudAiplatformV1GroundingMetadata( typing_extensions.TypedDict, total=False ): + googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1GroundingSupport] retrievalMetadata: GoogleCloudAiplatformV1RetrievalMetadata searchEntryPoint: GoogleCloudAiplatformV1SearchEntryPoint + sourceFlaggingUris: _list[GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri] webSearchQueries: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri( + typing_extensions.TypedDict, total=False +): + flagContentUri: str + sourceId: str + @typing.type_check_only class GoogleCloudAiplatformV1GroundingSupport(typing_extensions.TypedDict, total=False): confidenceScores: _list[float] @@ -3103,6 +3576,10 @@ class GoogleCloudAiplatformV1HyperparameterTuningJob( class GoogleCloudAiplatformV1IdMatcher(typing_extensions.TypedDict, total=False): ids: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1ImageConfig(typing_extensions.TypedDict, total=False): + aspectRatio: str + @typing.type_check_only class GoogleCloudAiplatformV1ImportDataConfig(typing_extensions.TypedDict, total=False): annotationLabels: dict[str, typing.Any] @@ -3224,6 +3701,7 @@ class GoogleCloudAiplatformV1Index(typing_extensions.TypedDict, total=False): class GoogleCloudAiplatformV1IndexDatapoint(typing_extensions.TypedDict, total=False): crowdingTag: GoogleCloudAiplatformV1IndexDatapointCrowdingTag datapointId: str + embeddingMetadata: dict[str, typing.Any] featureVector: _list[float] numericRestricts: _list[GoogleCloudAiplatformV1IndexDatapointNumericRestriction] restricts: _list[GoogleCloudAiplatformV1IndexDatapointRestriction] @@ -3328,6 +3806,11 @@ class GoogleCloudAiplatformV1IntegratedGradientsAttribution( smoothGradConfig: GoogleCloudAiplatformV1SmoothGradConfig stepCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1InvokeRequest(typing_extensions.TypedDict, total=False): + deployedModelId: str + httpBody: GoogleApiHttpBody + @typing.type_check_only class GoogleCloudAiplatformV1JiraSource(typing_extensions.TypedDict, total=False): jiraQueries: _list[GoogleCloudAiplatformV1JiraSourceJiraQueries] @@ -3342,6 +3825,18 @@ class GoogleCloudAiplatformV1JiraSourceJiraQueries( projects: _list[str] serverUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1LLMBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + additionalConfig: dict[str, typing.Any] + judgeAutoraterConfig: GoogleCloudAiplatformV1AutoraterConfig + metricPromptTemplate: str + predefinedRubricGenerationSpec: GoogleCloudAiplatformV1PredefinedMetricSpec + rubricGenerationSpec: GoogleCloudAiplatformV1RubricGenerationSpec + rubricGroupKey: str + systemInstruction: str + @typing.type_check_only class GoogleCloudAiplatformV1LargeModelReference( typing_extensions.TypedDict, total=False @@ -3445,6 +3940,27 @@ class GoogleCloudAiplatformV1ListEntityTypesResponse( entityTypes: _list[GoogleCloudAiplatformV1EntityType] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationItemsResponse( + typing_extensions.TypedDict, total=False +): + evaluationItems: _list[GoogleCloudAiplatformV1EvaluationItem] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationRunsResponse( + typing_extensions.TypedDict, total=False +): + evaluationRuns: _list[GoogleCloudAiplatformV1EvaluationRun] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationSetsResponse( + typing_extensions.TypedDict, total=False +): + evaluationSets: _list[GoogleCloudAiplatformV1EvaluationSet] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1ListExecutionsResponse( typing_extensions.TypedDict, total=False @@ -3756,6 +4272,13 @@ class GoogleCloudAiplatformV1LookupStudyRequest( ): displayName: str +@typing.type_check_only +class GoogleCloudAiplatformV1LustreMount(typing_extensions.TypedDict, total=False): + filesystem: str + instanceIp: str + mountPoint: str + volumeHandle: str + @typing.type_check_only class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=False): acceleratorCount: int @@ -3773,6 +4296,8 @@ class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=Fals "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", "NVIDIA_B200", + "NVIDIA_GB200", + "NVIDIA_RTX_PRO_6000", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3862,10 +4387,19 @@ class GoogleCloudAiplatformV1Metric(typing_extensions.TypedDict, total=False): ] bleuSpec: GoogleCloudAiplatformV1BleuSpec exactMatchSpec: GoogleCloudAiplatformV1ExactMatchSpec + llmBasedMetricSpec: GoogleCloudAiplatformV1LLMBasedMetricSpec pairwiseMetricSpec: GoogleCloudAiplatformV1PairwiseMetricSpec pointwiseMetricSpec: GoogleCloudAiplatformV1PointwiseMetricSpec + predefinedMetricSpec: GoogleCloudAiplatformV1PredefinedMetricSpec rougeSpec: GoogleCloudAiplatformV1RougeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1MetricResult(typing_extensions.TypedDict, total=False): + error: GoogleRpcStatus + explanation: str + rubricVerdicts: _list[GoogleCloudAiplatformV1RubricVerdict] + score: float + @typing.type_check_only class GoogleCloudAiplatformV1MetricxInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1MetricxInstance @@ -4058,6 +4592,11 @@ class GoogleCloudAiplatformV1Model(typing_extensions.TypedDict, total=False): versionId: str versionUpdateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1ModelArmorConfig(typing_extensions.TypedDict, total=False): + promptTemplateName: str + responseTemplateName: str + @typing.type_check_only class GoogleCloudAiplatformV1ModelBaseModelSource( typing_extensions.TypedDict, total=False @@ -4390,6 +4929,12 @@ class GoogleCloudAiplatformV1ModelVersionCheckpoint( epoch: str step: str +@typing.type_check_only +class GoogleCloudAiplatformV1MultiSpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speakerVoiceConfigs: _list[GoogleCloudAiplatformV1SpeakerVoiceConfig] + @typing.type_check_only class GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata( typing_extensions.TypedDict, total=False @@ -4857,6 +5402,14 @@ class GoogleCloudAiplatformV1NotebookSoftwareConfig( class GoogleCloudAiplatformV1OutputConfig(typing_extensions.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1GcsDestination +@typing.type_check_only +class GoogleCloudAiplatformV1OutputFieldSpec(typing_extensions.TypedDict, total=False): + fieldName: str + fieldType: typing_extensions.Literal[ + "FIELD_TYPE_UNSPECIFIED", "CONTENT", "TEXT", "IMAGE", "AUDIO" + ] + guidance: str + @typing.type_check_only class GoogleCloudAiplatformV1PSCAutomationConfig( typing_extensions.TypedDict, total=False @@ -5229,12 +5782,25 @@ class GoogleCloudAiplatformV1PostStartupScriptConfig( ] postStartupScriptUrl: str +@typing.type_check_only +class GoogleCloudAiplatformV1PreTunedModel(typing_extensions.TypedDict, total=False): + baseModel: str + checkpointId: str + tunedModelName: str + @typing.type_check_only class GoogleCloudAiplatformV1PrebuiltVoiceConfig( typing_extensions.TypedDict, total=False ): voiceName: str +@typing.type_check_only +class GoogleCloudAiplatformV1PredefinedMetricSpec( + typing_extensions.TypedDict, total=False +): + metricSpecName: str + metricSpecParameters: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1PredefinedSplit(typing_extensions.TypedDict, total=False): key: str @@ -5476,6 +6042,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( class GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences( typing_extensions.TypedDict, total=False ): + colabNotebookDisabled: bool references: dict[str, typing.Any] resourceDescription: str resourceTitle: str @@ -6068,7 +6635,9 @@ class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total= createTime: str description: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec etag: str + labels: dict[str, typing.Any] name: str spec: GoogleCloudAiplatformV1ReasoningEngineSpec updateTime: str @@ -6081,12 +6650,18 @@ class GoogleCloudAiplatformV1ReasoningEngineSpec( classMethods: _list[dict[str, typing.Any]] deploymentSpec: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec packageSpec: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec + serviceAccount: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec( typing_extensions.TypedDict, total=False ): + containerConcurrency: int env: _list[GoogleCloudAiplatformV1EnvVar] + maxInstances: int + minInstances: int + pscInterfaceConfig: GoogleCloudAiplatformV1PscInterfaceConfig + resourceLimits: dict[str, typing.Any] secretEnv: _list[GoogleCloudAiplatformV1SecretEnvVar] @typing.type_check_only @@ -6272,6 +6847,15 @@ class GoogleCloudAiplatformV1RougeSpec(typing_extensions.TypedDict, total=False) splitSummaries: bool useStemmer: bool +@typing.type_check_only +class GoogleCloudAiplatformV1Rubric(typing_extensions.TypedDict, total=False): + content: GoogleCloudAiplatformV1RubricContent + importance: typing_extensions.Literal[ + "IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + ] + rubricId: str + type: str + @typing.type_check_only class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput( typing_extensions.TypedDict, total=False @@ -6297,6 +6881,16 @@ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1RubricContent(typing_extensions.TypedDict, total=False): + property: GoogleCloudAiplatformV1RubricContentProperty + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricContentProperty( + typing_extensions.TypedDict, total=False +): + description: str + @typing.type_check_only class GoogleCloudAiplatformV1RubricCritiqueResult( typing_extensions.TypedDict, total=False @@ -6304,6 +6898,32 @@ class GoogleCloudAiplatformV1RubricCritiqueResult( rubric: str verdict: bool +@typing.type_check_only +class GoogleCloudAiplatformV1RubricGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelConfig: GoogleCloudAiplatformV1AutoraterConfig + promptTemplate: str + rubricContentType: typing_extensions.Literal[ + "RUBRIC_CONTENT_TYPE_UNSPECIFIED", + "PROPERTY", + "NL_QUESTION_ANSWER", + "PYTHON_CODE_ASSERTION", + ] + rubricTypeOntology: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricGroup(typing_extensions.TypedDict, total=False): + displayName: str + groupId: str + rubrics: _list[GoogleCloudAiplatformV1Rubric] + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricVerdict(typing_extensions.TypedDict, total=False): + evaluatedRubric: GoogleCloudAiplatformV1Rubric + reasoning: str + verdict: bool + @typing.type_check_only class GoogleCloudAiplatformV1SafetyInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1SafetyInstance @@ -6327,6 +6947,7 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] overwrittenThreshold: typing_extensions.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", @@ -6368,6 +6989,7 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -8264,6 +8886,13 @@ class GoogleCloudAiplatformV1SmoothGradConfig(typing_extensions.TypedDict, total noiseSigma: float noisySampleCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1SpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speaker: str + voiceConfig: GoogleCloudAiplatformV1VoiceConfig + @typing.type_check_only class GoogleCloudAiplatformV1SpecialistPool(typing_extensions.TypedDict, total=False): displayName: str @@ -8298,6 +8927,7 @@ class GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation( @typing.type_check_only class GoogleCloudAiplatformV1SpeechConfig(typing_extensions.TypedDict, total=False): languageCode: str + multiSpeakerVoiceConfig: GoogleCloudAiplatformV1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1VoiceConfig @typing.type_check_only @@ -8665,6 +9295,12 @@ class GoogleCloudAiplatformV1SummarizationVerbositySpec( useReference: bool version: int +@typing.type_check_only +class GoogleCloudAiplatformV1SummaryMetrics(typing_extensions.TypedDict, total=False): + failedItems: int + metrics: dict[str, typing.Any] + totalItems: int + @typing.type_check_only class GoogleCloudAiplatformV1SupervisedHyperParameters( typing_extensions.TypedDict, total=False @@ -8748,12 +9384,27 @@ class GoogleCloudAiplatformV1SyncFeatureViewResponse( ): featureViewSync: str +@typing.type_check_only +class GoogleCloudAiplatformV1SyntheticExample(typing_extensions.TypedDict, total=False): + fields: _list[GoogleCloudAiplatformV1SyntheticField] + +@typing.type_check_only +class GoogleCloudAiplatformV1SyntheticField(typing_extensions.TypedDict, total=False): + content: GoogleCloudAiplatformV1Content + fieldName: str + @typing.type_check_only class GoogleCloudAiplatformV1TFRecordDestination( typing_extensions.TypedDict, total=False ): gcsDestination: GoogleCloudAiplatformV1GcsDestination +@typing.type_check_only +class GoogleCloudAiplatformV1TaskDescriptionStrategy( + typing_extensions.TypedDict, total=False +): + taskDescription: str + @typing.type_check_only class GoogleCloudAiplatformV1Tensor(typing_extensions.TypedDict, total=False): boolVal: _list[bool] @@ -8905,9 +9556,9 @@ 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 retrieval: GoogleCloudAiplatformV1Retrieval @@ -8954,21 +9605,23 @@ 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" - ] - @typing.type_check_only class GoogleCloudAiplatformV1ToolConfig(typing_extensions.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1FunctionCallingConfig retrievalConfig: GoogleCloudAiplatformV1RetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1ToolGoogleSearch( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ToolGoogleSearch(typing_extensions.TypedDict, total=False): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1ToolNameMatchInput( @@ -9372,6 +10025,7 @@ class GoogleCloudAiplatformV1TuningJob(typing_extensions.TypedDict, total=False) experiment: str labels: dict[str, typing.Any] name: str + preTunedModel: GoogleCloudAiplatformV1PreTunedModel serviceAccount: str startTime: str state: typing_extensions.Literal[ @@ -9667,6 +10321,7 @@ class GoogleCloudAiplatformV1VertexRagStoreRagResource( @typing.type_check_only class GoogleCloudAiplatformV1VideoMetadata(typing_extensions.TypedDict, total=False): endOffset: str + fps: float startOffset: str @typing.type_check_only @@ -9677,6 +10332,7 @@ class GoogleCloudAiplatformV1VoiceConfig(typing_extensions.TypedDict, total=Fals class GoogleCloudAiplatformV1WorkerPoolSpec(typing_extensions.TypedDict, total=False): containerSpec: GoogleCloudAiplatformV1ContainerSpec diskSpec: GoogleCloudAiplatformV1DiskSpec + lustreMounts: _list[GoogleCloudAiplatformV1LustreMount] machineSpec: GoogleCloudAiplatformV1MachineSpec nfsMounts: _list[GoogleCloudAiplatformV1NfsMount] pythonPackageSpec: GoogleCloudAiplatformV1PythonPackageSpec @@ -9768,6 +10424,7 @@ class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=F 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/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index 02fb5221..a0ac84be 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -228,6 +228,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -261,6 +262,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -377,6 +379,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -447,6 +450,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -523,6 +527,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -563,6 +568,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -620,6 +626,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -721,6 +728,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -752,6 +760,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -911,6 +920,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -999,6 +1009,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1024,6 +1035,44 @@ class AiplatformResource(googleapiclient.discovery.Resource): **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: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1042,6 +1091,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1137,6 +1187,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., + gdcZone: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., @@ -1237,6 +1288,9 @@ class AiplatformResource(googleapiclient.discovery.Resource): **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 @@ -1256,6 +1310,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1267,6 +1322,39 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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 @@ -1286,6 +1374,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1297,6 +1386,46 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + 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 @@ -1316,6 +1445,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1327,6 +1457,47 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + 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 @@ -1346,6 +1517,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1379,6 +1551,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1492,6 +1665,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1525,6 +1699,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1649,6 +1824,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1722,6 +1898,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1809,6 +1986,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1930,6 +2108,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1969,6 +2148,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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: ... @@ -2062,6 +2248,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2161,6 +2348,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2256,6 +2444,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2400,6 +2589,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2521,6 +2711,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2592,6 +2783,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2703,6 +2895,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2801,6 +2994,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2894,6 +3088,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3008,6 +3203,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3132,6 +3328,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3201,6 +3398,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3258,6 +3456,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3398,6 +3597,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3506,6 +3706,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3601,6 +3802,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3825,6 +4027,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -3921,6 +4124,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4016,6 +4220,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4120,6 +4325,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4151,6 +4357,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4229,6 +4436,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4430,6 +4638,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4461,6 +4670,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4475,7 +4685,11 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + forceDelete: bool = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -4565,6 +4779,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4580,6 +4795,84 @@ class AiplatformResource(googleapiclient.discovery.Resource): @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 @@ -4619,6 +4912,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4657,6 +4951,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -4708,6 +5003,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4739,6 +5035,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4752,6 +5049,43 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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 @@ -4796,6 +5130,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -4916,6 +5251,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleApiHttpBodyHttpRequest: ... + def a2a(self) -> A2aResource: ... def examples(self) -> ExamplesResource: ... def memories(self) -> MemoriesResource: ... def operations(self) -> OperationsResource: ... @@ -4942,6 +5278,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5024,6 +5361,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5054,6 +5392,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5127,6 +5466,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5158,6 +5498,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5305,6 +5646,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5338,6 +5680,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5378,6 +5721,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ( GoogleLongrunningListOperationsResponseHttpRequest @@ -5611,6 +5955,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5704,6 +6049,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -5798,6 +6144,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest | None ): ... + def optimizePrompt( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1OptimizePromptRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1OptimizePromptResponseHttpRequest: ... def rebaseTunedModel( self, *, @@ -5849,6 +6202,24 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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: ... @@ -5870,6 +6241,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, previous_response: GoogleCloudLocationListLocationsResponse, ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... + def recommendSpec( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RecommendSpecRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RecommendSpecResponseHttpRequest: ... def retrieveContexts( self, *, @@ -5954,9 +6332,34 @@ class AiplatformResource(googleapiclient.discovery.Resource): 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( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1beta1CacheConfigHttpRequest: ... + def setPublisherModelConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def updateCacheConfig( self, *, @@ -5966,6 +6369,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def locations(self) -> LocationsResource: ... def modelGardenEula(self) -> ModelGardenEulaResource: ... + def publishers(self) -> PublishersResource: ... @typing.type_check_only class PublishersResource(googleapiclient.discovery.Resource): @@ -6067,6 +6471,80 @@ class AiplatformResource(googleapiclient.discovery.Resource): @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 MemoriesResource(googleapiclient.discovery.Resource): def create( @@ -6094,6 +6572,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -6236,6 +6715,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleApiHttpBodyHttpRequest: ... + def a2a(self) -> A2aResource: ... def memories(self) -> MemoriesResource: ... def sessions(self) -> SessionsResource: ... @@ -6511,6 +6991,16 @@ class GoogleCloudAiplatformV1beta1DirectRawPredictResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1DirectRawPredictResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EnableModelResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1EnableModelResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1EndpointHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -6539,6 +7029,36 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1EvaluateInstancesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationItemHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1EvaluationItem: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1EvaluationRun: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1EvaluationSet: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest( googleapiclient.http.HttpRequest @@ -6559,6 +7079,16 @@ class GoogleCloudAiplatformV1beta1ExecuteExtensionResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ExecuteExtensionResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecutionHttpRequest( googleapiclient.http.HttpRequest @@ -6737,6 +7267,36 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1GenerateContentResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1HyperparameterTuningJobHttpRequest( googleapiclient.http.HttpRequest @@ -6905,6 +7465,36 @@ class GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListEntityTypesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -7285,6 +7875,16 @@ class GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -7539,6 +8139,16 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OptimizePromptResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1OptimizePromptResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1PersistentResourceHttpRequest( googleapiclient.http.HttpRequest @@ -7727,6 +8337,16 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ReasoningEngine: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RecommendSpecResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1RecommendSpecResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveContextChildrenResponseHttpRequest( googleapiclient.http.HttpRequest @@ -7797,6 +8417,16 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SandboxEnvironmentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1SandboxEnvironment: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ScheduleHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index 56fb5b4c..3234f0cd 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -203,6 +203,36 @@ class GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest( ): measurement: GoogleCloudAiplatformV1beta1Measurement +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AggregationOutput( + typing_extensions.TypedDict, total=False +): + aggregationResults: _list[GoogleCloudAiplatformV1beta1AggregationResult] + dataset: GoogleCloudAiplatformV1beta1EvaluationDataset + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AggregationResult( + 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: GoogleCloudAiplatformV1beta1BleuMetricValue + exactMatchMetricValue: GoogleCloudAiplatformV1beta1ExactMatchMetricValue + pairwiseMetricResult: GoogleCloudAiplatformV1beta1PairwiseMetricResult + pointwiseMetricResult: GoogleCloudAiplatformV1beta1PointwiseMetricResult + rougeMetricValue: GoogleCloudAiplatformV1beta1RougeMetricValue + @typing.type_check_only class GoogleCloudAiplatformV1beta1Annotation(typing_extensions.TypedDict, total=False): annotationSource: GoogleCloudAiplatformV1beta1UserActionReference @@ -269,8 +299,6 @@ class GoogleCloudAiplatformV1beta1AssembleDataRequest( typing_extensions.TypedDict, total=False ): geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig - geminiTemplateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig - requestColumnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessDataRequest( @@ -279,8 +307,6 @@ class GoogleCloudAiplatformV1beta1AssessDataRequest( batchPredictionResourceUsageAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig batchPredictionValidationAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig - geminiTemplateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig - requestColumnName: str tuningResourceUsageAssessmentConfig: ( GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig ) @@ -436,6 +462,7 @@ class GoogleCloudAiplatformV1beta1AutoraterConfig( ): autoraterModel: str flipEnabled: bool + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig samplingCount: int @typing.type_check_only @@ -443,6 +470,7 @@ class GoogleCloudAiplatformV1beta1AutoscalingMetricSpec( typing_extensions.TypedDict, total=False ): metricName: str + monitoredResourceLabels: dict[str, typing.Any] target: int @typing.type_check_only @@ -507,8 +535,10 @@ class GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse( class GoogleCloudAiplatformV1beta1BatchDedicatedResources( typing_extensions.TypedDict, total=False ): + flexStart: GoogleCloudAiplatformV1beta1FlexStart machineSpec: GoogleCloudAiplatformV1beta1MachineSpec maxReplicaCount: int + spot: bool startingReplicaCount: int @typing.type_check_only @@ -714,6 +744,24 @@ class GoogleCloudAiplatformV1beta1BigQueryDestination( ): outputUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1BigQueryRequestSet( + typing_extensions.TypedDict, total=False +): + candidateResponseColumns: dict[str, typing.Any] + promptColumn: str + rubricsColumn: str + samplingConfig: GoogleCloudAiplatformV1beta1BigQueryRequestSetSamplingConfig + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1BigQueryRequestSetSamplingConfig( + typing_extensions.TypedDict, total=False +): + samplingCount: int + samplingDuration: str + samplingMethod: typing_extensions.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] + @typing.type_check_only class GoogleCloudAiplatformV1beta1BigQuerySource( typing_extensions.TypedDict, total=False @@ -810,6 +858,11 @@ class GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelHyperparameterTuningJobRequest( typing_extensions.TypedDict, total=False @@ -852,11 +905,13 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "MODEL_ARMOR", "IMAGE_SAFETY", "IMAGE_PROHIBITED_CONTENT", "IMAGE_RECITATION", "IMAGE_OTHER", "UNEXPECTED_TOOL_CALL", + "NO_IMAGE", ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int @@ -864,6 +919,25 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] urlContextMetadata: GoogleCloudAiplatformV1beta1UrlContextMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CandidateResponse( + typing_extensions.TypedDict, total=False +): + candidate: str + text: str + value: typing.Any + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CandidateResult( + typing_extensions.TypedDict, total=False +): + additionalResults: typing.Any + candidate: str + explanation: str + metric: str + rubricVerdicts: _list[GoogleCloudAiplatformV1beta1RubricVerdict] + score: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest( typing_extensions.TypedDict, total=False @@ -895,6 +969,12 @@ class GoogleCloudAiplatformV1beta1Checkpoint(typing_extensions.TypedDict, total= epoch: str step: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Chunk(typing_extensions.TypedDict, total=False): + data: str + metadata: GoogleCloudAiplatformV1beta1Metadata + mimeType: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=False): endIndex: int @@ -1176,6 +1256,17 @@ class GoogleCloudAiplatformV1beta1CreateDeploymentResourcePoolRequest( class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata( typing_extensions.TypedDict, total=False ): + deploymentStage: typing_extensions.Literal[ + "DEPLOYMENT_STAGE_UNSPECIFIED", + "STARTING_DEPLOYMENT", + "PREPARING_MODEL", + "CREATING_SERVING_CLUSTER", + "ADDING_NODES_TO_CLUSTER", + "GETTING_CONTAINER_IMAGE", + "STARTING_MODEL_SERVER", + "FINISHING_UP", + "DEPLOYMENT_TERMINATED", + ] genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only @@ -1510,6 +1601,8 @@ class GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket( class GoogleCloudAiplatformV1beta1DatasetStats( typing_extensions.TypedDict, total=False ): + droppedExampleIndices: _list[str] + droppedExampleReasons: _list[str] totalBillableCharacterCount: str totalTuningCharacterCount: str tuningDatasetExampleCount: str @@ -1540,12 +1633,21 @@ class GoogleCloudAiplatformV1beta1DedicatedResources( ): autoscalingMetricSpecs: _list[GoogleCloudAiplatformV1beta1AutoscalingMetricSpec] flexStart: GoogleCloudAiplatformV1beta1FlexStart + initialReplicaCount: int machineSpec: GoogleCloudAiplatformV1beta1MachineSpec maxReplicaCount: int minReplicaCount: int requiredReplicaCount: int + scaleToZeroSpec: GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec spot: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec( + typing_extensions.TypedDict, total=False +): + idleScaledownPeriod: str + minScaleupPeriod: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesOperationMetadata( typing_extensions.TypedDict, total=False @@ -1634,6 +1736,17 @@ class GoogleCloudAiplatformV1beta1DeployIndexResponse( class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata( typing_extensions.TypedDict, total=False ): + deploymentStage: typing_extensions.Literal[ + "DEPLOYMENT_STAGE_UNSPECIFIED", + "STARTING_DEPLOYMENT", + "PREPARING_MODEL", + "CREATING_SERVING_CLUSTER", + "ADDING_NODES_TO_CLUSTER", + "GETTING_CONTAINER_IMAGE", + "STARTING_MODEL_SERVER", + "FINISHING_UP", + "DEPLOYMENT_TERMINATED", + ] genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only @@ -1664,12 +1777,20 @@ class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest( class GoogleCloudAiplatformV1beta1DeployRequest( typing_extensions.TypedDict, total=False ): + customModel: GoogleCloudAiplatformV1beta1DeployRequestCustomModel deployConfig: GoogleCloudAiplatformV1beta1DeployRequestDeployConfig endpointConfig: GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig huggingFaceModelId: str modelConfig: GoogleCloudAiplatformV1beta1DeployRequestModelConfig publisherModelName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DeployRequestCustomModel( + typing_extensions.TypedDict, total=False +): + gcsUri: str + modelId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig( typing_extensions.TypedDict, total=False @@ -1682,8 +1803,12 @@ class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig( class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig( typing_extensions.TypedDict, total=False ): + dedicatedEndpointDisabled: bool dedicatedEndpointEnabled: bool endpointDisplayName: str + endpointUserId: str + labels: dict[str, typing.Any] + privateServiceConnectConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestModelConfig( @@ -1694,6 +1819,7 @@ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig( huggingFaceAccessToken: str huggingFaceCacheEnabled: bool modelDisplayName: str + modelUserId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata( @@ -1710,8 +1836,10 @@ class GoogleCloudAiplatformV1beta1DeployedIndex( dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources deployedIndexAuthConfig: GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig deploymentGroup: str + deploymentTier: typing_extensions.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] displayName: str enableAccessLogging: bool + enableDatapointUpsertLogging: bool id: str index: str indexSyncTime: str @@ -1748,12 +1876,14 @@ class GoogleCloudAiplatformV1beta1DeployedModel( checkpointId: str createTime: str dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources + disableContainerLogging: bool disableExplanations: bool displayName: str enableAccessLogging: bool enableContainerLogging: bool explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec fasterDeploymentConfig: GoogleCloudAiplatformV1beta1FasterDeploymentConfig + gdcConnectedModel: str id: str model: str modelVersionId: str @@ -1891,6 +2021,23 @@ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( dynamicThreshold: float mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EnableModelRequest( + typing_extensions.TypedDict, total=False +): + service: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EnableModelResponse( + typing_extensions.TypedDict, total=False +): + enablementState: typing_extensions.Literal[ + "ENABLEMENT_STATE_UNSPECIFIED", + "ENABLEMENT_STATE_SUCCEEDED", + "ENABLEMENT_STATE_FAILED", + ] + publisherEndpoint: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1EncryptionSpec( typing_extensions.TypedDict, total=False @@ -1909,6 +2056,7 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa enablePrivateServiceConnect: bool encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec etag: str + gdcConfig: GoogleCloudAiplatformV1beta1GdcConfig genAiAdvancedFeaturesConfig: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig labels: dict[str, typing.Any] modelDeploymentMonitoringJob: str @@ -1926,7 +2074,17 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( typing_extensions.TypedDict, total=False -): ... +): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1EntityIdSelector( @@ -1985,6 +2143,22 @@ class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest( metrics: _list[GoogleCloudAiplatformV1beta1Metric] outputConfig: GoogleCloudAiplatformV1beta1OutputConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluateDatasetResponse( + typing_extensions.TypedDict, total=False +): + aggregationOutput: GoogleCloudAiplatformV1beta1AggregationOutput + outputInfo: GoogleCloudAiplatformV1beta1OutputInfo + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluateDatasetRun( + typing_extensions.TypedDict, total=False +): + checkpointId: str + error: GoogleRpcStatus + evaluateDatasetResponse: GoogleCloudAiplatformV1beta1EvaluateDatasetResponse + operationName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( typing_extensions.TypedDict, total=False @@ -1997,6 +2171,8 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( fluencyInput: GoogleCloudAiplatformV1beta1FluencyInput fulfillmentInput: GoogleCloudAiplatformV1beta1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1beta1GroundednessInput + instance: GoogleCloudAiplatformV1beta1EvaluationInstance + metrics: _list[GoogleCloudAiplatformV1beta1Metric] metricxInput: GoogleCloudAiplatformV1beta1MetricxInput pairwiseMetricInput: GoogleCloudAiplatformV1beta1PairwiseMetricInput pairwiseQuestionAnsweringQualityInput: ( @@ -2054,6 +2230,7 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponse( fluencyResult: GoogleCloudAiplatformV1beta1FluencyResult fulfillmentResult: GoogleCloudAiplatformV1beta1FulfillmentResult groundednessResult: GoogleCloudAiplatformV1beta1GroundednessResult + metricResults: _list[GoogleCloudAiplatformV1beta1MetricResult] metricxResult: GoogleCloudAiplatformV1beta1MetricxResult pairwiseMetricResult: GoogleCloudAiplatformV1beta1PairwiseMetricResult pairwiseQuestionAnsweringQualityResult: ( @@ -2130,6 +2307,14 @@ class GoogleCloudAiplatformV1beta1EvaluatedAnnotationExplanation( explanation: GoogleCloudAiplatformV1beta1Explanation explanationType: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationConfig( + typing_extensions.TypedDict, total=False +): + autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig + metrics: _list[GoogleCloudAiplatformV1beta1Metric] + outputConfig: GoogleCloudAiplatformV1beta1OutputConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationDataset( typing_extensions.TypedDict, total=False @@ -2137,6 +2322,269 @@ class GoogleCloudAiplatformV1beta1EvaluationDataset( bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource gcsSource: GoogleCloudAiplatformV1beta1GcsSource +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstance( + typing_extensions.TypedDict, total=False +): + otherData: GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance + prompt: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData + reference: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData + response: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData + rubricGroups: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData( + typing_extensions.TypedDict, total=False +): + contents: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents + text: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance( + typing_extensions.TypedDict, total=False +): + mapInstance: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationItem( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + error: GoogleRpcStatus + evaluationItemType: typing_extensions.Literal[ + "EVALUATION_ITEM_TYPE_UNSPECIFIED", "REQUEST", "RESULT" + ] + evaluationRequest: GoogleCloudAiplatformV1beta1EvaluationRequest + evaluationResponse: GoogleCloudAiplatformV1beta1EvaluationResult + gcsUri: str + labels: dict[str, typing.Any] + metadata: typing.Any + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationPrompt( + typing_extensions.TypedDict, total=False +): + promptTemplateData: GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData + text: str + value: typing.Any + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData( + typing_extensions.TypedDict, total=False +): + values: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRequest( + typing_extensions.TypedDict, total=False +): + candidateResponses: _list[GoogleCloudAiplatformV1beta1CandidateResponse] + goldenResponse: GoogleCloudAiplatformV1beta1CandidateResponse + prompt: GoogleCloudAiplatformV1beta1EvaluationPrompt + rubrics: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationResult( + typing_extensions.TypedDict, total=False +): + candidateResults: _list[GoogleCloudAiplatformV1beta1CandidateResult] + evaluationRequest: str + evaluationRun: str + metadata: typing.Any + metric: str + request: GoogleCloudAiplatformV1beta1EvaluationRequest + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationResults( + typing_extensions.TypedDict, total=False +): + evaluationSet: str + summaryMetrics: GoogleCloudAiplatformV1beta1SummaryMetrics + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRubricConfig( + typing_extensions.TypedDict, total=False +): + predefinedRubricGenerationSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec + ) + rubricGenerationSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec + ) + rubricGroupKey: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRun( + typing_extensions.TypedDict, total=False +): + completionTime: str + createTime: str + dataSource: GoogleCloudAiplatformV1beta1EvaluationRunDataSource + displayName: str + error: GoogleRpcStatus + evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig + evaluationResults: GoogleCloudAiplatformV1beta1EvaluationResults + evaluationSetSnapshot: str + inferenceConfigs: dict[str, typing.Any] + labels: dict[str, typing.Any] + metadata: typing.Any + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "SUCCEEDED", + "FAILED", + "CANCELLED", + "INFERENCE", + "GENERATING_RUBRICS", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunDataSource( + typing_extensions.TypedDict, total=False +): + bigqueryRequestSet: GoogleCloudAiplatformV1beta1BigQueryRequestSet + evaluationSet: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig( + typing_extensions.TypedDict, total=False +): + autoraterConfig: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig + ) + metrics: _list[GoogleCloudAiplatformV1beta1EvaluationRunMetric] + outputConfig: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig + promptTemplate: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate + ) + rubricConfigs: _list[GoogleCloudAiplatformV1beta1EvaluationRubricConfig] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig( + typing_extensions.TypedDict, total=False +): + autoraterModel: str + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig + sampleCount: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig( + typing_extensions.TypedDict, total=False +): + bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination + gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate( + typing_extensions.TypedDict, total=False +): + gcsUri: str + promptTemplate: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig( + typing_extensions.TypedDict, total=False +): + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig + model: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetric( + typing_extensions.TypedDict, total=False +): + llmBasedMetricSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec + ) + metric: str + predefinedMetricSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec + ) + rubricBasedMetricSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + additionalConfig: dict[str, typing.Any] + judgeAutoraterConfig: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig + ) + metricPromptTemplate: str + predefinedRubricGenerationSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec + ) + rubricGenerationSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec + ) + rubricGroupKey: str + systemInstruction: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec( + typing_extensions.TypedDict, total=False +): + metricSpecName: str + parameters: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + inlineRubrics: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics + judgeAutoraterConfig: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig + ) + metricPromptTemplate: str + rubricGenerationSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec + ) + rubricGroupKey: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics( + typing_extensions.TypedDict, total=False +): + rubrics: _list[GoogleCloudAiplatformV1beta1Rubric] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelConfig: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig + ) + promptTemplate: str + rubricContentType: typing_extensions.Literal[ + "RUBRIC_CONTENT_TYPE_UNSPECIFIED", + "PROPERTY", + "NL_QUESTION_ANSWER", + "PYTHON_CODE_ASSERTION", + ] + rubricTypeOntology: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationSet( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + evaluationItems: _list[str] + metadata: typing.Any + name: str + updateTime: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Event(typing_extensions.TypedDict, total=False): artifact: str @@ -2289,6 +2737,18 @@ class GoogleCloudAiplatformV1beta1ExecuteExtensionResponse( ): content: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest( + typing_extensions.TypedDict, total=False +): + inputs: _list[GoogleCloudAiplatformV1beta1Chunk] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse( + typing_extensions.TypedDict, total=False +): + outputs: _list[GoogleCloudAiplatformV1beta1Chunk] + @typing.type_check_only class GoogleCloudAiplatformV1beta1Execution(typing_extensions.TypedDict, total=False): createTime: str @@ -2837,6 +3297,10 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable( typing_extensions.TypedDict, total=False ): autoScaling: GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling + bigtableMetadata: ( + GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata + ) + enableDirectBigtableAccess: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling( @@ -2846,6 +3310,14 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling( maxNodeCount: int minNodeCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata( + typing_extensions.TypedDict, total=False +): + instanceId: str + tableId: str + tenantProjectId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint( typing_extensions.TypedDict, total=False @@ -2950,6 +3422,7 @@ class GoogleCloudAiplatformV1beta1FeatureValueMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource + bigtableMetadata: GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata createTime: str etag: str featureRegistrySource: GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource @@ -2977,6 +3450,12 @@ class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource( entityIdColumns: _list[str] uri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata( + typing_extensions.TypedDict, total=False +): + readAppProfile: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDataKey( typing_extensions.TypedDict, total=False @@ -3012,6 +3491,7 @@ class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeature typing_extensions.TypedDict, total=False ): name: str + value: GoogleCloudAiplatformV1beta1FeatureValue valueAndTimestamp: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp @typing.type_check_only @@ -3416,6 +3896,14 @@ class GoogleCloudAiplatformV1beta1FulfillmentSpec( ): version: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FullFineTuningSpec( + typing_extensions.TypedDict, total=False +): + hyperParameters: GoogleCloudAiplatformV1beta1SupervisedHyperParameters + trainingDatasetUri: str + validationDatasetUri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionCall( typing_extensions.TypedDict, total=False @@ -3429,7 +3917,9 @@ class GoogleCloudAiplatformV1beta1FunctionCallingConfig( typing_extensions.TypedDict, total=False ): allowedFunctionNames: _list[str] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE"] + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionDeclaration( @@ -3460,6 +3950,10 @@ class GoogleCloudAiplatformV1beta1GcsDestination( class GoogleCloudAiplatformV1beta1GcsSource(typing_extensions.TypedDict, total=False): uris: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GdcConfig(typing_extensions.TypedDict, total=False): + zone: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GeminiExample( typing_extensions.TypedDict, total=False @@ -3474,6 +3968,20 @@ class GoogleCloudAiplatformV1beta1GeminiExample( toolConfig: GoogleCloudAiplatformV1beta1ToolConfig tools: _list[GoogleCloudAiplatformV1beta1Tool] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiPreferenceExample( + typing_extensions.TypedDict, total=False +): + completions: _list[GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion] + contents: _list[GoogleCloudAiplatformV1beta1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion( + typing_extensions.TypedDict, total=False +): + completion: GoogleCloudAiplatformV1beta1Content + score: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig( typing_extensions.TypedDict, total=False @@ -3523,6 +4031,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig labels: dict[str, typing.Any] + modelArmorConfig: GoogleCloudAiplatformV1beta1ModelArmorConfig safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] systemInstruction: GoogleCloudAiplatformV1beta1Content toolConfig: GoogleCloudAiplatformV1beta1ToolConfig @@ -3549,7 +4058,9 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "MODEL_ARMOR", "IMAGE_SAFETY", + "JAILBREAK", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @@ -3572,6 +4083,32 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse( + typing_extensions.TypedDict, total=False +): + accessToken: str + expireTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + predefinedRubricGenerationSpec: GoogleCloudAiplatformV1beta1PredefinedMetricSpec + rubricGenerationSpec: GoogleCloudAiplatformV1beta1RubricGenerationSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse( + typing_extensions.TypedDict, total=False +): + generatedRubrics: _list[GoogleCloudAiplatformV1beta1Rubric] + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( typing_extensions.TypedDict, total=False @@ -3579,6 +4116,9 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( directContentsSource: ( GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource ) + directMemoriesSource: ( + GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource + ) disableConsolidation: bool scope: dict[str, typing.Any] vertexSessionSource: ( @@ -3599,6 +4139,20 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEve ): content: GoogleCloudAiplatformV1beta1Content +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource( + typing_extensions.TypedDict, total=False +): + directMemories: _list[ + GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory( + typing_extensions.TypedDict, total=False +): + fact: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( typing_extensions.TypedDict, total=False @@ -3607,6 +4161,21 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( session: str startTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest( + typing_extensions.TypedDict, total=False +): + count: int + examples: _list[GoogleCloudAiplatformV1beta1SyntheticExample] + outputFieldSpecs: _list[GoogleCloudAiplatformV1beta1OutputFieldSpec] + taskDescription: GoogleCloudAiplatformV1beta1TaskDescriptionStrategy + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse( + typing_extensions.TypedDict, total=False +): + syntheticExamples: _list[GoogleCloudAiplatformV1beta1SyntheticExample] + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateVideoResponse( typing_extensions.TypedDict, total=False @@ -3632,6 +4201,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float + imageConfig: GoogleCloudAiplatformV1beta1ImageConfig logprobs: int maxOutputTokens: int mediaResolution: typing_extensions.Literal[ @@ -3726,6 +4296,10 @@ class GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId( "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_FILE", "RESOURCE_TYPE_FOLDER" ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): + enableWidget: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( typing_extensions.TypedDict, total=False @@ -3764,13 +4338,41 @@ class GoogleCloudAiplatformV1beta1GroundednessSpec( class GoogleCloudAiplatformV1beta1GroundingChunk( typing_extensions.TypedDict, total=False ): + maps: GoogleCloudAiplatformV1beta1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1beta1GroundingChunkWeb +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMaps( + typing_extensions.TypedDict, total=False +): + placeAnswerSources: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources + placeId: str + text: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( + typing_extensions.TypedDict, total=False +): + reviewSnippets: _list[ + GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( + typing_extensions.TypedDict, total=False +): + googleMapsUri: str + reviewId: str + title: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + documentName: str ragChunk: GoogleCloudAiplatformV1beta1RagChunk text: str title: str @@ -3788,13 +4390,24 @@ class GoogleCloudAiplatformV1beta1GroundingChunkWeb( class GoogleCloudAiplatformV1beta1GroundingMetadata( typing_extensions.TypedDict, total=False ): + googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1beta1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1beta1GroundingSupport] retrievalMetadata: GoogleCloudAiplatformV1beta1RetrievalMetadata retrievalQueries: _list[str] searchEntryPoint: GoogleCloudAiplatformV1beta1SearchEntryPoint + sourceFlaggingUris: _list[ + GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri + ] webSearchQueries: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri( + typing_extensions.TypedDict, total=False +): + flagContentUri: str + sourceId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingSupport( typing_extensions.TypedDict, total=False @@ -3843,6 +4456,10 @@ class GoogleCloudAiplatformV1beta1HyperparameterTuningJob( class GoogleCloudAiplatformV1beta1IdMatcher(typing_extensions.TypedDict, total=False): ids: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): + aspectRatio: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportDataConfig( typing_extensions.TypedDict, total=False @@ -4031,6 +4648,7 @@ class GoogleCloudAiplatformV1beta1IndexDatapoint( ): crowdingTag: GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag datapointId: str + embeddingMetadata: dict[str, typing.Any] featureVector: _list[float] numericRestricts: _list[ GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction @@ -4161,6 +4779,13 @@ class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance( ] serviceState: typing_extensions.Literal["UNKNOWN", "HEALTHY", "UNHEALTHY"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1InvokeRequest( + typing_extensions.TypedDict, total=False +): + deployedModelId: str + httpBody: GoogleApiHttpBody + @typing.type_check_only class GoogleCloudAiplatformV1beta1JiraSource(typing_extensions.TypedDict, total=False): jiraQueries: _list[GoogleCloudAiplatformV1beta1JiraSourceJiraQueries] @@ -4175,6 +4800,18 @@ class GoogleCloudAiplatformV1beta1JiraSourceJiraQueries( projects: _list[str] serverUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LLMBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + additionalConfig: dict[str, typing.Any] + judgeAutoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig + metricPromptTemplate: str + predefinedRubricGenerationSpec: GoogleCloudAiplatformV1beta1PredefinedMetricSpec + rubricGenerationSpec: GoogleCloudAiplatformV1beta1RubricGenerationSpec + rubricGroupKey: str + systemInstruction: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1LargeModelReference( typing_extensions.TypedDict, total=False @@ -4280,6 +4917,27 @@ class GoogleCloudAiplatformV1beta1ListEntityTypesResponse( entityTypes: _list[GoogleCloudAiplatformV1beta1EntityType] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse( + typing_extensions.TypedDict, total=False +): + evaluationItems: _list[GoogleCloudAiplatformV1beta1EvaluationItem] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse( + typing_extensions.TypedDict, total=False +): + evaluationRuns: _list[GoogleCloudAiplatformV1beta1EvaluationRun] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse( + typing_extensions.TypedDict, total=False +): + evaluationSets: _list[GoogleCloudAiplatformV1beta1EvaluationSet] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEventsResponse( typing_extensions.TypedDict, total=False @@ -4552,6 +5210,13 @@ class GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse( nextPageToken: str reasoningEngines: _list[GoogleCloudAiplatformV1beta1ReasoningEngine] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sandboxEnvironments: _list[GoogleCloudAiplatformV1beta1SandboxEnvironment] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSavedQueriesResponse( typing_extensions.TypedDict, total=False @@ -4663,6 +5328,13 @@ class GoogleCloudAiplatformV1beta1LookupStudyRequest( ): displayName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LustreMount(typing_extensions.TypedDict, total=False): + filesystem: str + instanceIp: str + mountPoint: str + volumeHandle: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total=False): acceleratorCount: int @@ -4680,44 +5352,130 @@ class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", "NVIDIA_B200", + "NVIDIA_GB200", + "NVIDIA_RTX_PRO_6000", "TPU_V2", "TPU_V3", "TPU_V4_POD", "TPU_V5_LITEPOD", ] + gpuPartitionSize: str machineType: str multihostGpuNodeCount: int reservationAffinity: GoogleCloudAiplatformV1beta1ReservationAffinity tpuTopology: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ManualBatchTuningParameters( +class GoogleCloudAiplatformV1beta1ManualBatchTuningParameters( + typing_extensions.TypedDict, total=False +): + batchSize: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Measurement(typing_extensions.TypedDict, total=False): + elapsedDuration: str + metrics: _list[GoogleCloudAiplatformV1beta1MeasurementMetric] + stepCount: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MeasurementMetric( + typing_extensions.TypedDict, total=False +): + metricId: str + value: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + expireTime: str + fact: str + name: str + scope: dict[str, typing.Any] + ttl: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig( + typing_extensions.TypedDict, total=False +): + generateMemoriesExamples: _list[ + GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample + ] + memoryTopics: _list[ + GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic + ] + scopeKeys: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample( + typing_extensions.TypedDict, total=False +): + conversationSource: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource + generatedMemories: _list[ + GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource( + typing_extensions.TypedDict, total=False +): + events: _list[ + GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory( typing_extensions.TypedDict, total=False ): - batchSize: int + fact: str + topics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Measurement(typing_extensions.TypedDict, total=False): - elapsedDuration: str - metrics: _list[GoogleCloudAiplatformV1beta1MeasurementMetric] - stepCount: str +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic( + typing_extensions.TypedDict, total=False +): + customMemoryTopic: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic + managedMemoryTopic: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic @typing.type_check_only -class GoogleCloudAiplatformV1beta1MeasurementMetric( +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic( typing_extensions.TypedDict, total=False ): - metricId: str - value: float + description: str + label: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=False): - createTime: str - description: str - displayName: str - fact: str - name: str - scope: dict[str, typing.Any] - updateTime: str +class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic( + 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 GoogleCloudAiplatformV1beta1MemoryTopicId( + 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 GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest( @@ -4725,6 +5483,10 @@ class GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest( ): versionAliases: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Metadata(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1MetadataSchema( typing_extensions.TypedDict, total=False @@ -4784,10 +5546,21 @@ class GoogleCloudAiplatformV1beta1Metric(typing_extensions.TypedDict, total=Fals ] bleuSpec: GoogleCloudAiplatformV1beta1BleuSpec exactMatchSpec: GoogleCloudAiplatformV1beta1ExactMatchSpec + llmBasedMetricSpec: GoogleCloudAiplatformV1beta1LLMBasedMetricSpec pairwiseMetricSpec: GoogleCloudAiplatformV1beta1PairwiseMetricSpec pointwiseMetricSpec: GoogleCloudAiplatformV1beta1PointwiseMetricSpec + predefinedMetricSpec: GoogleCloudAiplatformV1beta1PredefinedMetricSpec rougeSpec: GoogleCloudAiplatformV1beta1RougeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MetricResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + explanation: str + rubricVerdicts: _list[GoogleCloudAiplatformV1beta1RubricVerdict] + score: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1MetricxInput( typing_extensions.TypedDict, total=False @@ -4984,6 +5757,13 @@ class GoogleCloudAiplatformV1beta1Model(typing_extensions.TypedDict, total=False versionId: str versionUpdateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ModelArmorConfig( + typing_extensions.TypedDict, total=False +): + promptTemplateName: str + responseTemplateName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelBaseModelSource( typing_extensions.TypedDict, total=False @@ -5656,6 +6436,12 @@ class GoogleCloudAiplatformV1beta1ModelVersionCheckpoint( epoch: str step: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speakerVoiceConfigs: _list[GoogleCloudAiplatformV1beta1SpeakerVoiceConfig] + @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata( typing_extensions.TypedDict, total=False @@ -6129,12 +6915,38 @@ class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig( env: _list[GoogleCloudAiplatformV1beta1EnvVar] postStartupScriptConfig: GoogleCloudAiplatformV1beta1PostStartupScriptConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OptimizePromptRequest( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OptimizePromptResponse( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + @typing.type_check_only class GoogleCloudAiplatformV1beta1OutputConfig( typing_extensions.TypedDict, total=False ): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OutputFieldSpec( + typing_extensions.TypedDict, total=False +): + fieldName: str + fieldType: typing_extensions.Literal[ + "FIELD_TYPE_UNSPECIFIED", "CONTENT", "TEXT", "IMAGE", "AUDIO" + ] + guidance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OutputInfo(typing_extensions.TypedDict, total=False): + gcsOutputDirectory: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1PSCAutomationConfig( typing_extensions.TypedDict, total=False @@ -6565,12 +7377,27 @@ class GoogleCloudAiplatformV1beta1PostStartupScriptConfig( ] postStartupScriptUrl: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PreTunedModel( + typing_extensions.TypedDict, total=False +): + baseModel: str + checkpointId: str + tunedModelName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( typing_extensions.TypedDict, total=False ): voiceName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PredefinedMetricSpec( + typing_extensions.TypedDict, total=False +): + metricSpecName: str + metricSpecParameters: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1PredefinedSplit( typing_extensions.TypedDict, total=False @@ -6631,6 +7458,48 @@ class GoogleCloudAiplatformV1beta1PredictSchemata( parametersSchemaUri: str predictionSchemaUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats( + typing_extensions.TypedDict, total=False +): + droppedExampleIndices: _list[str] + droppedExampleReasons: _list[str] + scoreVariancePerExampleDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution + scoresDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution + totalBillableTokenCount: str + tuningDatasetExampleCount: str + tuningStepCount: str + userDatasetExamples: _list[GoogleCloudAiplatformV1beta1GeminiPreferenceExample] + userInputTokenDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution + userOutputTokenDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters( + 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 GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec( + typing_extensions.TypedDict, total=False +): + evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationConfig + exportLastCheckpointOnly: bool + hyperParameters: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters + trainingDatasetUri: str + validationDatasetUri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Presets(typing_extensions.TypedDict, total=False): modality: typing_extensions.Literal[ @@ -6849,6 +7718,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenNotebooks( class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences( typing_extensions.TypedDict, total=False ): + colabNotebookDisabled: bool references: dict[str, typing.Any] resourceDescription: str resourceTitle: str @@ -7602,7 +8472,9 @@ class GoogleCloudAiplatformV1beta1ReasoningEngine( createTime: str description: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec etag: str + labels: dict[str, typing.Any] name: str spec: GoogleCloudAiplatformV1beta1ReasoningEngineSpec updateTime: str @@ -7619,8 +8491,14 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec( class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig( typing_extensions.TypedDict, total=False ): + customizationConfigs: _list[ + GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig + ] generationConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig similaritySearchConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig + ttlConfig: ( + GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig( @@ -7634,6 +8512,21 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimi ): embeddingModel: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig( + typing_extensions.TypedDict, total=False +): + defaultTtl: str + granularTtlConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig( + typing_extensions.TypedDict, total=False +): + createTtl: str + generateCreatedTtl: str + generateUpdatedTtl: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( typing_extensions.TypedDict, total=False @@ -7642,12 +8535,21 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( classMethods: _list[dict[str, typing.Any]] deploymentSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec packageSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec + serviceAccount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec( typing_extensions.TypedDict, total=False ): + agentServerMode: typing_extensions.Literal[ + "AGENT_SERVER_MODE_UNSPECIFIED", "STABLE", "EXPERIMENTAL" + ] + containerConcurrency: int env: _list[GoogleCloudAiplatformV1beta1EnvVar] + maxInstances: int + minInstances: int + pscInterfaceConfig: GoogleCloudAiplatformV1beta1PscInterfaceConfig + resourceLimits: dict[str, typing.Any] secretEnv: _list[GoogleCloudAiplatformV1beta1SecretEnvVar] @typing.type_check_only @@ -7680,6 +8582,45 @@ class GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RecommendSpecRequest( + typing_extensions.TypedDict, total=False +): + checkMachineAvailability: bool + checkUserQuota: bool + gcsUri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RecommendSpecResponse( + typing_extensions.TypedDict, total=False +): + baseModel: str + recommendations: _list[ + GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation + ] + specs: _list[ + GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec( + typing_extensions.TypedDict, total=False +): + containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec + machineSpec: GoogleCloudAiplatformV1beta1MachineSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation( + typing_extensions.TypedDict, total=False +): + region: str + spec: GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec + userQuotaState: typing_extensions.Literal[ + "QUOTA_STATE_UNSPECIFIED", + "QUOTA_STATE_USER_HAS_QUOTA", + "QUOTA_STATE_NO_USER_QUOTA", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest( typing_extensions.TypedDict, total=False @@ -7948,6 +8889,15 @@ class GoogleCloudAiplatformV1beta1RougeSpec(typing_extensions.TypedDict, total=F splitSummaries: bool useStemmer: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Rubric(typing_extensions.TypedDict, total=False): + content: GoogleCloudAiplatformV1beta1RubricContent + importance: typing_extensions.Literal[ + "IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + ] + rubricId: str + type: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput( typing_extensions.TypedDict, total=False @@ -7973,6 +8923,18 @@ class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricContent( + typing_extensions.TypedDict, total=False +): + property: GoogleCloudAiplatformV1beta1RubricContentProperty + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricContentProperty( + typing_extensions.TypedDict, total=False +): + description: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricCritiqueResult( typing_extensions.TypedDict, total=False @@ -7980,6 +8942,34 @@ class GoogleCloudAiplatformV1beta1RubricCritiqueResult( rubric: str verdict: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelConfig: GoogleCloudAiplatformV1beta1AutoraterConfig + promptTemplate: str + rubricContentType: typing_extensions.Literal[ + "RUBRIC_CONTENT_TYPE_UNSPECIFIED", + "PROPERTY", + "NL_QUESTION_ANSWER", + "PYTHON_CODE_ASSERTION", + ] + rubricTypeOntology: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricGroup(typing_extensions.TypedDict, total=False): + displayName: str + groupId: str + rubrics: _list[GoogleCloudAiplatformV1beta1Rubric] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricVerdict( + typing_extensions.TypedDict, total=False +): + evaluatedRubric: GoogleCloudAiplatformV1beta1Rubric + reasoning: str + verdict: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1RuntimeArtifact( typing_extensions.TypedDict, total=False @@ -8044,6 +9034,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] overwrittenThreshold: typing_extensions.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", @@ -8089,6 +9080,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -8134,6 +9126,62 @@ class GoogleCloudAiplatformV1beta1SamplingStrategyRandomSampleConfig( ): sampleRate: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SandboxEnvironment( + typing_extensions.TypedDict, total=False +): + connectionInfo: GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo + createTime: str + displayName: str + expireTime: str + name: str + spec: GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec + 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 GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo( + typing_extensions.TypedDict, total=False +): + loadBalancerHostname: str + loadBalancerIp: str + sandboxInternalIp: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec( + typing_extensions.TypedDict, total=False +): + codeExecutionEnvironment: ( + GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment + ) + computerUseEnvironment: ( + GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment( + 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 GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1SavedQuery(typing_extensions.TypedDict, total=False): annotationFilter: str @@ -10052,8 +11100,10 @@ class GoogleCloudAiplatformV1beta1ServiceAccountSpec( class GoogleCloudAiplatformV1beta1Session(typing_extensions.TypedDict, total=False): createTime: str displayName: str + expireTime: str name: str sessionState: dict[str, typing.Any] + ttl: str updateTime: str userId: str @@ -10132,6 +11182,13 @@ class GoogleCloudAiplatformV1beta1SmoothGradConfig( noiseSigma: float noisySampleCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speaker: str + voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1SpecialistPool( typing_extensions.TypedDict, total=False @@ -10172,6 +11229,7 @@ class GoogleCloudAiplatformV1beta1SpeechConfig( typing_extensions.TypedDict, total=False ): languageCode: str + multiSpeakerVoiceConfig: GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only @@ -10628,6 +11686,14 @@ class GoogleCloudAiplatformV1beta1SummarizationVerbositySpec( useReference: bool version: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SummaryMetrics( + typing_extensions.TypedDict, total=False +): + failedItems: int + metrics: dict[str, typing.Any] + totalItems: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1SupervisedHyperParameters( typing_extensions.TypedDict, total=False @@ -10641,7 +11707,9 @@ class GoogleCloudAiplatformV1beta1SupervisedHyperParameters( "ADAPTER_SIZE_SIXTEEN", "ADAPTER_SIZE_THIRTY_TWO", ] + batchSize: str epochCount: str + learningRate: float learningRateMultiplier: float @typing.type_check_only @@ -10695,9 +11763,13 @@ class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBuck class GoogleCloudAiplatformV1beta1SupervisedTuningSpec( typing_extensions.TypedDict, total=False ): + evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationConfig exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1beta1SupervisedHyperParameters trainingDatasetUri: str + tuningMode: typing_extensions.Literal[ + "TUNING_MODE_UNSPECIFIED", "TUNING_MODE_FULL", "TUNING_MODE_PEFT_ADAPTER" + ] validationDatasetUri: str @typing.type_check_only @@ -10711,12 +11783,31 @@ class GoogleCloudAiplatformV1beta1SyncFeatureViewResponse( ): featureViewSync: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SyntheticExample( + typing_extensions.TypedDict, total=False +): + fields: _list[GoogleCloudAiplatformV1beta1SyntheticField] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SyntheticField( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + fieldName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1TFRecordDestination( typing_extensions.TypedDict, total=False ): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination +@typing.type_check_only +class GoogleCloudAiplatformV1beta1TaskDescriptionStrategy( + typing_extensions.TypedDict, total=False +): + taskDescription: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Tensor(typing_extensions.TypedDict, total=False): boolVal: _list[bool] @@ -10878,9 +11969,9 @@ 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 retrieval: GoogleCloudAiplatformV1beta1Retrieval @@ -10929,14 +12020,6 @@ 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" - ] - @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1beta1FunctionCallingConfig @@ -10945,7 +12028,17 @@ class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearch( typing_extensions.TypedDict, total=False -): ... +): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolNameMatchInput( @@ -11370,22 +12463,31 @@ class GoogleCloudAiplatformV1beta1TuningDataStats( typing_extensions.TypedDict, total=False ): distillationDataStats: GoogleCloudAiplatformV1beta1DistillationDataStats + preferenceOptimizationDataStats: ( + GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats + ) supervisedTuningDataStats: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats @typing.type_check_only class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=False): baseModel: str createTime: str + customBaseModel: str description: str distillationSpec: GoogleCloudAiplatformV1beta1DistillationSpec encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec endTime: str error: GoogleRpcStatus + evaluateDatasetRuns: _list[GoogleCloudAiplatformV1beta1EvaluateDatasetRun] experiment: str + fullFineTuningSpec: GoogleCloudAiplatformV1beta1FullFineTuningSpec labels: dict[str, typing.Any] name: str + outputUri: str partnerModelTuningSpec: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec pipelineJob: str + preTunedModel: GoogleCloudAiplatformV1beta1PreTunedModel + preferenceOptimizationSpec: GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec satisfiesPzi: bool satisfiesPzs: bool serviceAccount: str @@ -11408,7 +12510,16 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F tunedModel: GoogleCloudAiplatformV1beta1TunedModel tunedModelDisplayName: str tuningDataStats: GoogleCloudAiplatformV1beta1TuningDataStats + tuningJobState: typing_extensions.Literal[ + "TUNING_JOB_STATE_UNSPECIFIED", + "TUNING_JOB_STATE_WAITING_FOR_QUOTA", + "TUNING_JOB_STATE_PROCESSING_DATASET", + "TUNING_JOB_STATE_WAITING_FOR_CAPACITY", + "TUNING_JOB_STATE_TUNING", + "TUNING_JOB_STATE_POST_PROCESSING", + ] updateTime: str + veoTuningSpec: GoogleCloudAiplatformV1beta1VeoTuningSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeployIndexOperationMetadata( @@ -11682,6 +12793,27 @@ class GoogleCloudAiplatformV1beta1Value(typing_extensions.TypedDict, total=False intValue: str stringValue: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VeoHyperParameters( + typing_extensions.TypedDict, total=False +): + epochCount: str + learningRateMultiplier: float + tuningTask: typing_extensions.Literal[ + "TUNING_TASK_UNSPECIFIED", + "TUNING_TASK_I2V", + "TUNING_TASK_T2V", + "TUNING_TASK_R2V", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VeoTuningSpec( + typing_extensions.TypedDict, total=False +): + hyperParameters: GoogleCloudAiplatformV1beta1VeoHyperParameters + trainingDatasetUri: str + validationDatasetUri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexAISearch( typing_extensions.TypedDict, total=False @@ -11728,6 +12860,7 @@ class GoogleCloudAiplatformV1beta1VideoMetadata( typing_extensions.TypedDict, total=False ): endOffset: str + fps: float startOffset: str @typing.type_check_only @@ -11740,6 +12873,7 @@ class GoogleCloudAiplatformV1beta1WorkerPoolSpec( ): containerSpec: GoogleCloudAiplatformV1beta1ContainerSpec diskSpec: GoogleCloudAiplatformV1beta1DiskSpec + lustreMounts: _list[GoogleCloudAiplatformV1beta1LustreMount] machineSpec: GoogleCloudAiplatformV1beta1MachineSpec nfsMounts: _list[GoogleCloudAiplatformV1beta1NfsMount] pythonPackageSpec: GoogleCloudAiplatformV1beta1PythonPackageSpec @@ -11847,6 +12981,7 @@ class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=F 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/alertcenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi index dab04eaa..3889d3d2 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi @@ -45,6 +45,7 @@ class AccountSuspensionDetails(typing_extensions.TypedDict, total=False): "NUMBER_HARVESTING", "PAYMENTS_FRAUD", "UNWANTED_CONTENT", + "UNQUALIFIED_EDU", ] productName: str diff --git a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi index a2ef4736..33e83a35 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi @@ -354,6 +354,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index 2c9b3e4e..c6f19795 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -32,6 +32,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str description: str @@ -56,6 +57,32 @@ class Backup(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class BackupDrBackupSource(typing_extensions.TypedDict, total=False): + backup: str + +@typing.type_check_only +class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): + automatedBackupPreviouslyEnabled: bool + backupPlanAssociation: str + continuousBackupPreviousRecoveryWindowDays: int + continuousBackupPreviouslyEnabled: bool + continuousBackupPreviouslyEnabledTime: str + dataSource: str + disabledTime: str + enabledTime: str + logRetentionPeriod: str + +@typing.type_check_only +class BackupDrInfo(typing_extensions.TypedDict, total=False): + currentWindow: BackupDrEnabledWindow + previousWindows: _list[BackupDrEnabledWindow] + +@typing.type_check_only +class BackupDrPitrSource(typing_extensions.TypedDict, total=False): + dataSource: str + pointInTime: str + @typing.type_check_only class BackupSource(typing_extensions.TypedDict, total=False): backupName: str @@ -89,6 +116,8 @@ class Cluster(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource clusterType: typing_extensions.Literal[ "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" @@ -102,6 +131,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str displayName: str @@ -153,6 +183,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str @@ -175,6 +206,12 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): name: str publicIpAddress: str +@typing.type_check_only +class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): + enabled: bool + flags: dict[str, typing.Any] + poolerCount: int + @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -315,6 +352,7 @@ class Instance(typing_extensions.TypedDict, total=False): "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig + connectionPoolConfig: ConnectionPoolConfig createTime: str databaseFlags: dict[str, typing.Any] deleteTime: str @@ -405,6 +443,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 ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): @@ -561,6 +600,8 @@ class RestartInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestoreClusterRequest(typing_extensions.TypedDict, total=False): backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrPitrSource: BackupDrPitrSource cluster: Cluster clusterId: str continuousBackupSource: ContinuousBackupSource @@ -684,6 +725,23 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings pointInTimeRecoveryEnabled: bool +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( + typing_extensions.TypedDict, total=False +): + backupdrManaged: bool + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupRun( typing_extensions.TypedDict, total=False @@ -700,6 +758,23 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( standard: str version: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + ] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False @@ -712,6 +787,11 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( typing_extensions.TypedDict, total=False ): + backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata + configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData + databaseResourceSignalData: ( + StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + ) feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -719,6 +799,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( "OBSERVABILITY_DATA", "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", + "CONFIG_BASED_SIGNAL_DATA", + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA", ] observabilityMetricData: ( StorageDatabasecenterPartnerapiV1mainObservabilityMetricData @@ -731,6 +814,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( ) resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceMetadata: StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata + skipIngestion: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( @@ -863,6 +947,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -892,6 +984,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ) backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str currentState: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -903,7 +996,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS" + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] expectedState: typing_extensions.Literal[ @@ -931,6 +1027,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration + maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct @@ -948,6 +1045,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels + zone: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( @@ -1059,6 +1157,34 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalState: typing_extensions.Literal[ + "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" + ] + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", ] @typing.type_check_only @@ -1136,6 +1262,45 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( + typing_extensions.TypedDict, total=False +): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( + typing_extensions.TypedDict, total=False +): + denyMaintenanceSchedules: _list[ + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule + ] + maintenanceSchedule: ( + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule + ) + maintenanceVersion: str + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( + typing_extensions.TypedDict, total=False +): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + phase: typing_extensions.Literal[ + "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" + ] + time: GoogleTypeTimeOfDay + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( typing_extensions.TypedDict, total=False @@ -1183,9 +1348,11 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_EXADATA_ORACLE", "ENGINE_ADB_SERVERLESS_ORACLE", ] + minorVersion: str type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", @@ -1200,6 +1367,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_FIRESTORE", "PRODUCT_TYPE_COMPUTE_ENGINE", "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_BIGQUERY", "PRODUCT_TYPE_OTHER", ] version: str @@ -1235,6 +1403,7 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] ] valueType: typing_extensions.Literal[ @@ -1268,6 +1437,7 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] @typing.type_check_only @@ -1294,6 +1464,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] stages: _list[StageStatus] state: typing_extensions.Literal[ @@ -1312,6 +1483,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi index a2ef4736..33e83a35 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi @@ -354,6 +354,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 0fbf3190..f1e5480a 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -8,6 +8,11 @@ _list = list class AuthorizedNetwork(typing_extensions.TypedDict, total=False): cidrRange: str +@typing.type_check_only +class AutoScalingConfig(typing_extensions.TypedDict, total=False): + policy: Policy + schedules: _list[Schedule] + @typing.type_check_only class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): backupWindow: str @@ -58,6 +63,32 @@ class Backup(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class BackupDrBackupSource(typing_extensions.TypedDict, total=False): + backup: str + +@typing.type_check_only +class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): + automatedBackupPreviouslyEnabled: bool + backupPlanAssociation: str + continuousBackupPreviousRecoveryWindowDays: int + continuousBackupPreviouslyEnabled: bool + continuousBackupPreviouslyEnabledTime: str + dataSource: str + disabledTime: str + enabledTime: str + logRetentionPeriod: str + +@typing.type_check_only +class BackupDrInfo(typing_extensions.TypedDict, total=False): + currentWindow: BackupDrEnabledWindow + previousWindows: _list[BackupDrEnabledWindow] + +@typing.type_check_only +class BackupDrPitrSource(typing_extensions.TypedDict, total=False): + dataSource: str + pointInTime: str + @typing.type_check_only class BackupSource(typing_extensions.TypedDict, total=False): backupName: str @@ -91,6 +122,8 @@ class Cluster(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource clusterType: typing_extensions.Literal[ "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" @@ -116,6 +149,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 @@ -231,6 +269,10 @@ class ContinuousBackupSource(typing_extensions.TypedDict, total=False): cluster: str pointInTime: str +@typing.type_check_only +class CpuUtilization(typing_extensions.TypedDict, total=False): + utilizationTarget: float + @typing.type_check_only class CsvExportOptions(typing_extensions.TypedDict, total=False): escapeCharacter: str @@ -443,6 +485,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 ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): @@ -533,6 +576,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): upgradeClusterStatus: UpgradeClusterStatus verb: str +@typing.type_check_only +class Policy(typing_extensions.TypedDict, total=False): + coolDownPeriodSec: str + cpuUtilization: CpuUtilization + enabled: bool + maxNodeCount: str + @typing.type_check_only class PrimaryConfig(typing_extensions.TypedDict, total=False): secondaryClusterNames: _list[str] @@ -586,6 +636,7 @@ class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ReadPoolConfig(typing_extensions.TypedDict, total=False): + autoScalingConfig: AutoScalingConfig nodeCount: int @typing.type_check_only @@ -601,6 +652,8 @@ class RestartInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestoreClusterRequest(typing_extensions.TypedDict, total=False): backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrPitrSource: BackupDrPitrSource cluster: Cluster clusterId: str continuousBackupSource: ContinuousBackupSource @@ -613,6 +666,16 @@ class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): cluster: Cluster clusterId: str +@typing.type_check_only +class Schedule(typing_extensions.TypedDict, total=False): + cronExpression: str + description: str + disabled: bool + durationSec: str + minNodeCount: str + name: str + timeZone: str + @typing.type_check_only class SecondaryConfig(typing_extensions.TypedDict, total=False): primaryClusterName: str @@ -724,6 +787,23 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings pointInTimeRecoveryEnabled: bool +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( + typing_extensions.TypedDict, total=False +): + backupdrManaged: bool + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupRun( typing_extensions.TypedDict, total=False @@ -740,6 +820,23 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( standard: str version: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + ] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False @@ -752,6 +849,11 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( typing_extensions.TypedDict, total=False ): + backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata + configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData + databaseResourceSignalData: ( + StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + ) feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -759,6 +861,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( "OBSERVABILITY_DATA", "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", + "CONFIG_BASED_SIGNAL_DATA", + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA", ] observabilityMetricData: ( StorageDatabasecenterPartnerapiV1mainObservabilityMetricData @@ -771,6 +876,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( ) resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceMetadata: StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata + skipIngestion: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( @@ -903,6 +1009,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -932,6 +1046,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ) backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str currentState: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -943,7 +1058,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS" + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] expectedState: typing_extensions.Literal[ @@ -971,6 +1089,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration + maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct @@ -988,6 +1107,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels + zone: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( @@ -1099,6 +1219,34 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalState: typing_extensions.Literal[ + "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" + ] + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", ] @typing.type_check_only @@ -1176,6 +1324,45 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( + typing_extensions.TypedDict, total=False +): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( + typing_extensions.TypedDict, total=False +): + denyMaintenanceSchedules: _list[ + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule + ] + maintenanceSchedule: ( + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule + ) + maintenanceVersion: str + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( + typing_extensions.TypedDict, total=False +): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + phase: typing_extensions.Literal[ + "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" + ] + time: GoogleTypeTimeOfDay + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( typing_extensions.TypedDict, total=False @@ -1223,9 +1410,11 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_EXADATA_ORACLE", "ENGINE_ADB_SERVERLESS_ORACLE", ] + minorVersion: str type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", @@ -1240,6 +1429,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_FIRESTORE", "PRODUCT_TYPE_COMPUTE_ENGINE", "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_BIGQUERY", "PRODUCT_TYPE_OTHER", ] version: str diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi index af446524..ab22b93b 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi @@ -350,6 +350,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 3ab46915..8060a257 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -8,6 +8,11 @@ _list = list class AuthorizedNetwork(typing_extensions.TypedDict, total=False): cidrRange: str +@typing.type_check_only +class AutoScalingConfig(typing_extensions.TypedDict, total=False): + policy: Policy + schedules: _list[Schedule] + @typing.type_check_only class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): backupWindow: str @@ -57,6 +62,32 @@ class Backup(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class BackupDrBackupSource(typing_extensions.TypedDict, total=False): + backup: str + +@typing.type_check_only +class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): + automatedBackupPreviouslyEnabled: bool + backupPlanAssociation: str + continuousBackupPreviousRecoveryWindowDays: int + continuousBackupPreviouslyEnabled: bool + continuousBackupPreviouslyEnabledTime: str + dataSource: str + disabledTime: str + enabledTime: str + logRetentionPeriod: str + +@typing.type_check_only +class BackupDrInfo(typing_extensions.TypedDict, total=False): + currentWindow: BackupDrEnabledWindow + previousWindows: _list[BackupDrEnabledWindow] + +@typing.type_check_only +class BackupDrPitrSource(typing_extensions.TypedDict, total=False): + dataSource: str + pointInTime: str + @typing.type_check_only class BackupSource(typing_extensions.TypedDict, total=False): backupName: str @@ -87,6 +118,8 @@ class Cluster(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource clusterType: typing_extensions.Literal[ "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" @@ -112,6 +145,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 @@ -226,6 +264,10 @@ class ContinuousBackupSource(typing_extensions.TypedDict, total=False): cluster: str pointInTime: str +@typing.type_check_only +class CpuUtilization(typing_extensions.TypedDict, total=False): + utilizationTarget: float + @typing.type_check_only class CsvExportOptions(typing_extensions.TypedDict, total=False): escapeCharacter: str @@ -437,6 +479,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 ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): @@ -527,6 +570,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): upgradeClusterStatus: UpgradeClusterStatus verb: str +@typing.type_check_only +class Policy(typing_extensions.TypedDict, total=False): + coolDownPeriodSec: str + cpuUtilization: CpuUtilization + enabled: bool + maxNodeCount: str + @typing.type_check_only class PrimaryConfig(typing_extensions.TypedDict, total=False): secondaryClusterNames: _list[str] @@ -580,6 +630,7 @@ class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ReadPoolConfig(typing_extensions.TypedDict, total=False): + autoScalingConfig: AutoScalingConfig nodeCount: int @typing.type_check_only @@ -595,6 +646,8 @@ class RestartInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestoreClusterRequest(typing_extensions.TypedDict, total=False): backupSource: BackupSource + backupdrBackupSource: BackupDrBackupSource + backupdrPitrSource: BackupDrPitrSource cluster: Cluster clusterId: str continuousBackupSource: ContinuousBackupSource @@ -607,6 +660,16 @@ class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): cluster: Cluster clusterId: str +@typing.type_check_only +class Schedule(typing_extensions.TypedDict, total=False): + cronExpression: str + description: str + disabled: bool + durationSec: str + minNodeCount: str + name: str + timeZone: str + @typing.type_check_only class SecondaryConfig(typing_extensions.TypedDict, total=False): primaryClusterName: str @@ -718,6 +781,23 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings pointInTimeRecoveryEnabled: bool +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( + typing_extensions.TypedDict, total=False +): + backupdrManaged: bool + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupRun( typing_extensions.TypedDict, total=False @@ -734,6 +814,23 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( standard: str version: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + ] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False @@ -746,6 +843,11 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( typing_extensions.TypedDict, total=False ): + backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata + configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData + databaseResourceSignalData: ( + StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + ) feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -753,6 +855,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( "OBSERVABILITY_DATA", "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", + "CONFIG_BASED_SIGNAL_DATA", + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA", ] observabilityMetricData: ( StorageDatabasecenterPartnerapiV1mainObservabilityMetricData @@ -765,6 +870,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( ) resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceMetadata: StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata + skipIngestion: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( @@ -897,6 +1003,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -926,6 +1040,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ) backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str currentState: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -937,7 +1052,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS" + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] expectedState: typing_extensions.Literal[ @@ -965,6 +1083,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration + maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct @@ -982,6 +1101,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels + zone: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( @@ -1093,6 +1213,34 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_HIGH_READ_PRESSURE", "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( + typing_extensions.TypedDict, total=False +): + fullResourceName: str + lastRefreshTime: str + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + signalBoolValue: bool + signalState: typing_extensions.Literal[ + "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" + ] + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", ] @typing.type_check_only @@ -1170,6 +1318,45 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( + typing_extensions.TypedDict, total=False +): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( + typing_extensions.TypedDict, total=False +): + denyMaintenanceSchedules: _list[ + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule + ] + maintenanceSchedule: ( + StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule + ) + maintenanceVersion: str + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( + typing_extensions.TypedDict, total=False +): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + phase: typing_extensions.Literal[ + "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" + ] + time: GoogleTypeTimeOfDay + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( typing_extensions.TypedDict, total=False @@ -1217,9 +1404,11 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_EXADATA_ORACLE", "ENGINE_ADB_SERVERLESS_ORACLE", ] + minorVersion: str type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", @@ -1234,6 +1423,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_FIRESTORE", "PRODUCT_TYPE_COMPUTE_ENGINE", "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_BIGQUERY", "PRODUCT_TYPE_OTHER", ] version: str diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi index 628bbf07..41f78fe8 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi @@ -1248,12 +1248,6 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): body: GoogleAnalyticsAdminV1alphaProperty = ..., **kwargs: typing.Any, ) -> GoogleAnalyticsAdminV1alphaPropertyHttpRequest: ... - def createConnectedSiteTag( - self, - *, - body: GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest = ..., - **kwargs: typing.Any, - ) -> GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponseHttpRequest: ... def createRollupProperty( self, *, @@ -1263,23 +1257,6 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleAnalyticsAdminV1alphaPropertyHttpRequest: ... - def deleteConnectedSiteTag( - self, - *, - body: GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def fetchAutomatedGa4ConfigurationOptOut( - self, - *, - body: GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest = ..., - **kwargs: typing.Any, - ) -> GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponseHttpRequest: ... - def fetchConnectedGa4Property( - self, *, property: str = ..., **kwargs: typing.Any - ) -> ( - GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponseHttpRequest - ): ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleAnalyticsAdminV1alphaPropertyHttpRequest: ... @@ -1309,12 +1286,6 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): previous_request: GoogleAnalyticsAdminV1alphaListPropertiesResponseHttpRequest, previous_response: GoogleAnalyticsAdminV1alphaListPropertiesResponse, ) -> GoogleAnalyticsAdminV1alphaListPropertiesResponseHttpRequest | None: ... - def listConnectedSiteTags( - self, - *, - body: GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponseHttpRequest: ... def patch( self, *, @@ -1336,12 +1307,13 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): body: GoogleAnalyticsAdminV1alphaRunAccessReportRequest = ..., **kwargs: typing.Any, ) -> GoogleAnalyticsAdminV1alphaRunAccessReportResponseHttpRequest: ... - def setAutomatedGa4ConfigurationOptOut( + def submitUserDeletion( self, *, - body: GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest = ..., + name: str, + body: GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest = ..., **kwargs: typing.Any, - ) -> GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponseHttpRequest: ... + ) -> GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponseHttpRequest: ... def updateAttributionSettings( self, *, @@ -1546,16 +1518,6 @@ class GoogleAnalyticsAdminV1alphaConversionEventHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaConversionEvent: ... -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse: ... - @typing.type_check_only class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1686,26 +1648,6 @@ class GoogleAnalyticsAdminV1alphaExpandedDataSetHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaExpandedDataSet: ... -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse: ... - -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse: ... - @typing.type_check_only class GoogleAnalyticsAdminV1alphaFirebaseLinkHttpRequest( googleapiclient.http.HttpRequest @@ -1834,16 +1776,6 @@ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponseHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaListChannelGroupsResponse: ... -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse: ... - @typing.type_check_only class GoogleAnalyticsAdminV1alphaListConversionEventsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2155,14 +2087,14 @@ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponseHttpRequest( ) -> GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse: ... @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponseHttpRequest( +class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse: ... + ) -> GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse: ... @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterHttpRequest( diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi index 43895fdf..9ffe1de3 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi @@ -622,13 +622,6 @@ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter( ] value: str -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaConnectedSiteTag( - typing_extensions.TypedDict, total=False -): - displayName: str - tagId: str - @typing.type_check_only class GoogleAnalyticsAdminV1alphaConversionEvent( typing_extensions.TypedDict, total=False @@ -674,18 +667,6 @@ class GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest( accessBinding: GoogleAnalyticsAdminV1alphaAccessBinding parent: str -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest( - typing_extensions.TypedDict, total=False -): - connectedSiteTag: GoogleAnalyticsAdminV1alphaConnectedSiteTag - property: str - -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse( - typing_extensions.TypedDict, total=False -): ... - @typing.type_check_only class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest( typing_extensions.TypedDict, total=False @@ -828,13 +809,6 @@ class GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest( ): name: str -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest( - typing_extensions.TypedDict, total=False -): - property: str - tagId: str - @typing.type_check_only class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( typing_extensions.TypedDict, total=False @@ -954,24 +928,6 @@ class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter( matchType: typing_extensions.Literal["MATCH_TYPE_UNSPECIFIED", "EXACT", "CONTAINS"] value: str -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest( - typing_extensions.TypedDict, total=False -): - property: str - -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse( - typing_extensions.TypedDict, total=False -): - optOut: bool - -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse( - typing_extensions.TypedDict, total=False -): - property: str - @typing.type_check_only class GoogleAnalyticsAdminV1alphaFirebaseLink(typing_extensions.TypedDict, total=False): createTime: str @@ -1113,18 +1069,6 @@ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse( channelGroups: _list[GoogleAnalyticsAdminV1alphaChannelGroup] nextPageToken: str -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest( - typing_extensions.TypedDict, total=False -): - property: str - -@typing.type_check_only -class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse( - typing_extensions.TypedDict, total=False -): - connectedSiteTags: _list[GoogleAnalyticsAdminV1alphaConnectedSiteTag] - @typing.type_check_only class GoogleAnalyticsAdminV1alphaListConversionEventsResponse( typing_extensions.TypedDict, total=False @@ -1572,16 +1516,19 @@ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse( nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest( +class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest( typing_extensions.TypedDict, total=False ): - optOut: bool - property: str + appInstanceId: str + clientId: str + userId: str + userProvidedData: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse( +class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse( typing_extensions.TypedDict, total=False -): ... +): + deletionRequestTime: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter( diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi index 3f0d2fe9..28ec2754 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi @@ -127,6 +127,58 @@ class AnalyticsHubResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class QueryTemplatesResource(googleapiclient.discovery.Resource): + def approve( + self, + *, + name: str, + body: ApproveQueryTemplateRequest = ..., + **kwargs: typing.Any, + ) -> QueryTemplateHttpRequest: ... + def create( + self, + *, + parent: str, + body: QueryTemplate = ..., + queryTemplateId: str = ..., + **kwargs: typing.Any, + ) -> QueryTemplateHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> QueryTemplateHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListQueryTemplatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListQueryTemplatesResponseHttpRequest, + previous_response: ListQueryTemplatesResponse, + ) -> ListQueryTemplatesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: QueryTemplate = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> QueryTemplateHttpRequest: ... + def submit( + self, + *, + name: str, + body: SubmitQueryTemplateRequest = ..., + **kwargs: typing.Any, + ) -> QueryTemplateHttpRequest: ... + def create( self, *, @@ -205,6 +257,7 @@ class AnalyticsHubResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... def listings(self) -> ListingsResource: ... + def queryTemplates(self) -> QueryTemplatesResource: ... @typing.type_check_only class SubscriptionsResource(googleapiclient.discovery.Resource): @@ -317,6 +370,14 @@ class ListOrgDataExchangesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOrgDataExchangesResponse: ... +@typing.type_check_only +class ListQueryTemplatesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListQueryTemplatesResponse: ... + @typing.type_check_only class ListSharedResourceSubscriptionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -359,6 +420,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class QueryTemplateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryTemplate: ... + @typing.type_check_only class RevokeSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi index f4a4d02d..66f91fc0 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi @@ -4,6 +4,9 @@ import typing_extensions _list = list +@typing.type_check_only +class ApproveQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -33,6 +36,8 @@ class BigQueryConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class BigQueryDatasetSource(typing_extensions.TypedDict, total=False): dataset: str + effectiveReplicas: _list[Replica] + replicaLocations: _list[str] restrictedExportPolicy: RestrictedExportPolicy selectedResources: _list[SelectedResource] @@ -95,6 +100,7 @@ class DestinationDataset(typing_extensions.TypedDict, total=False): friendlyName: str labels: dict[str, typing.Any] location: str + replicaLocations: _list[str] @typing.type_check_only class DestinationDatasetReference(typing_extensions.TypedDict, total=False): @@ -201,6 +207,11 @@ class ListOrgDataExchangesResponse(typing_extensions.TypedDict, total=False): dataExchanges: _list[DataExchange] nextPageToken: str +@typing.type_check_only +class ListQueryTemplatesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + queryTemplates: _list[QueryTemplate] + @typing.type_check_only class ListSharedResourceSubscriptionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -322,6 +333,21 @@ class PushConfig(typing_extensions.TypedDict, total=False): pubsubWrapper: PubsubWrapper pushEndpoint: str +@typing.type_check_only +class QueryTemplate(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + documentation: str + name: str + primaryContact: str + proposer: str + routine: Routine + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "DRAFTED", "PENDING", "DELETED", "APPROVED" + ] + updateTime: str + @typing.type_check_only class RefreshSubscriptionRequest(typing_extensions.TypedDict, total=False): ... @@ -329,6 +355,16 @@ class RefreshSubscriptionRequest(typing_extensions.TypedDict, total=False): ... class RefreshSubscriptionResponse(typing_extensions.TypedDict, total=False): subscription: Subscription +@typing.type_check_only +class Replica(typing_extensions.TypedDict, total=False): + location: str + primaryState: typing_extensions.Literal[ + "PRIMARY_STATE_UNSPECIFIED", "PRIMARY_REPLICA" + ] + replicaState: typing_extensions.Literal[ + "REPLICA_STATE_UNSPECIFIED", "READY_TO_USE", "UNAVAILABLE" + ] + @typing.type_check_only class RestrictedExportConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -353,6 +389,13 @@ class RevokeSubscriptionRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RevokeSubscriptionResponse(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Routine(typing_extensions.TypedDict, total=False): + definitionBody: str + routineType: typing_extensions.Literal[ + "ROUTINE_TYPE_UNSPECIFIED", "TABLE_VALUED_FUNCTION" + ] + @typing.type_check_only class SelectedResource(typing_extensions.TypedDict, total=False): routine: str @@ -374,6 +417,9 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class SubmitQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SubscribeDataExchangeRequest(typing_extensions.TypedDict, total=False): destination: str diff --git a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi index 00e115ce..15885bff 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi @@ -52,6 +52,7 @@ class DestinationDataset(typing_extensions.TypedDict, total=False): friendlyName: str labels: dict[str, typing.Any] location: str + replicaLocations: _list[str] @typing.type_check_only class DestinationDatasetReference(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi index d565f770..05cada70 100644 --- a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi @@ -198,8 +198,18 @@ class EnrollmentToken(typing_extensions.TypedDict, total=False): enrollmentTokenType: typing_extensions.Literal[ "enrollmentTokenTypeUnspecified", "userlessDevice", "userDevice" ] + googleAuthenticationOptions: EnrollmentTokenGoogleAuthenticationOptions token: str +@typing.type_check_only +class EnrollmentTokenGoogleAuthenticationOptions( + typing_extensions.TypedDict, total=False +): + authenticationRequirement: typing_extensions.Literal[ + "authenticationRequirementUnspecified", "optional", "required" + ] + requiredAccountEmail: str + @typing.type_check_only class Enterprise(typing_extensions.TypedDict, total=False): administrator: _list[Administrator] diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi index 95c98bb3..cce8f881 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi @@ -38,6 +38,7 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index 872e4067..ade0112f 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -245,6 +245,7 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): credentialProviderPolicy: typing_extensions.Literal[ "CREDENTIAL_PROVIDER_POLICY_UNSPECIFIED", "CREDENTIAL_PROVIDER_ALLOWED" ] + customAppConfig: CustomAppConfig defaultPermissionPolicy: typing_extensions.Literal[ "PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY" ] @@ -274,6 +275,7 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): "AVAILABLE", "REQUIRED_FOR_SETUP", "KIOSK", + "CUSTOM", ] lockTaskAllowed: bool managedConfiguration: dict[str, typing.Any] @@ -290,6 +292,8 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): "PREFERENTIAL_NETWORK_ID_FOUR", "PREFERENTIAL_NETWORK_ID_FIVE", ] + roles: _list[Role] + signingKeyCerts: _list[ApplicationSigningKeyCert] userControlSettings: typing_extensions.Literal[ "USER_CONTROL_SETTINGS_UNSPECIFIED", "USER_CONTROL_ALLOWED", @@ -313,6 +317,7 @@ class ApplicationReport(typing_extensions.TypedDict, total=False): "SYSTEM_APP_FACTORY_VERSION", "SYSTEM_APP_UPDATED_VERSION", "INSTALLED_FROM_PLAY_STORE", + "CUSTOM", ] displayName: str events: _list[ApplicationEvent] @@ -334,6 +339,10 @@ class ApplicationReport(typing_extensions.TypedDict, total=False): class ApplicationReportingSettings(typing_extensions.TypedDict, total=False): includeRemovedApps: bool +@typing.type_check_only +class ApplicationSigningKeyCert(typing_extensions.TypedDict, total=False): + signingKeyCertFingerprintSha256: str + @typing.type_check_only class BackupServiceToggledEvent(typing_extensions.TypedDict, total=False): adminPackageName: str @@ -516,12 +525,83 @@ class CrossProfilePolicies(typing_extensions.TypedDict, total=False): class CryptoSelfTestCompletedEvent(typing_extensions.TypedDict, total=False): success: bool +@typing.type_check_only +class CustomAppConfig(typing_extensions.TypedDict, total=False): + userUninstallSettings: typing_extensions.Literal[ + "USER_UNINSTALL_SETTINGS_UNSPECIFIED", + "DISALLOW_UNINSTALL_BY_USER", + "ALLOW_UNINSTALL_BY_USER", + ] + @typing.type_check_only class Date(typing_extensions.TypedDict, total=False): day: int month: int year: int +@typing.type_check_only +class DefaultApplication(typing_extensions.TypedDict, total=False): + packageName: str + +@typing.type_check_only +class DefaultApplicationContext(typing_extensions.TypedDict, total=False): + defaultApplicationScope: typing_extensions.Literal[ + "DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", + "SCOPE_FULLY_MANAGED", + "SCOPE_WORK_PROFILE", + "SCOPE_PERSONAL_PROFILE", + ] + +@typing.type_check_only +class DefaultApplicationInfo(typing_extensions.TypedDict, total=False): + defaultApplicationSettingAttempts: _list[DefaultApplicationSettingAttempt] + defaultApplicationType: typing_extensions.Literal[ + "DEFAULT_APPLICATION_TYPE_UNSPECIFIED", + "DEFAULT_ASSISTANT", + "DEFAULT_BROWSER", + "DEFAULT_CALL_REDIRECTION", + "DEFAULT_CALL_SCREENING", + "DEFAULT_DIALER", + "DEFAULT_HOME", + "DEFAULT_SMS", + "DEFAULT_WALLET", + ] + packageName: str + +@typing.type_check_only +class DefaultApplicationSetting(typing_extensions.TypedDict, total=False): + defaultApplicationScopes: _list[ + typing_extensions.Literal[ + "DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", + "SCOPE_FULLY_MANAGED", + "SCOPE_WORK_PROFILE", + "SCOPE_PERSONAL_PROFILE", + ] + ] + defaultApplicationType: typing_extensions.Literal[ + "DEFAULT_APPLICATION_TYPE_UNSPECIFIED", + "DEFAULT_ASSISTANT", + "DEFAULT_BROWSER", + "DEFAULT_CALL_REDIRECTION", + "DEFAULT_CALL_SCREENING", + "DEFAULT_DIALER", + "DEFAULT_HOME", + "DEFAULT_SMS", + "DEFAULT_WALLET", + ] + defaultApplications: _list[DefaultApplication] + +@typing.type_check_only +class DefaultApplicationSettingAttempt(typing_extensions.TypedDict, total=False): + attemptOutcome: typing_extensions.Literal[ + "ATTEMPT_OUTCOME_UNSPECIFIED", + "SUCCESS", + "APP_NOT_INSTALLED", + "APP_SIGNING_CERT_MISMATCH", + "OTHER_FAILURE", + ] + packageName: str + @typing.type_check_only class Device(typing_extensions.TypedDict, total=False): apiLevel: int @@ -540,6 +620,7 @@ class Device(typing_extensions.TypedDict, total=False): "DEACTIVATED_BY_DEVICE_FINANCE", ] commonCriteriaModeInfo: CommonCriteriaModeInfo + defaultApplicationInfo: _list[DefaultApplicationInfo] deviceSettings: DeviceSettings disabledReason: UserFacingMessage displays: _list[Display] @@ -1023,6 +1104,7 @@ class ListMigrationTokensResponse(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 ListPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -1181,6 +1263,7 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "APP_INCOMPATIBLE", "APP_NOT_UPDATED", "DEVICE_INCOMPATIBLE", + "APP_SIGNING_CERT_MISMATCH", "PROJECT_NOT_PERMITTED", ] packageName: str @@ -1199,6 +1282,8 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "PERMISSIBLE_USAGE_RESTRICTION", "REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE", "NEW_ACCOUNT_NOT_IN_ENTERPRISE", + "DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES", + "DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE", ] @typing.type_check_only @@ -1216,6 +1301,7 @@ class NonComplianceDetailCondition(typing_extensions.TypedDict, total=False): "APP_INCOMPATIBLE", "APP_NOT_UPDATED", "DEVICE_INCOMPATIBLE", + "APP_SIGNING_CERT_MISMATCH", "PROJECT_NOT_PERMITTED", ] packageName: str @@ -1406,6 +1492,7 @@ class Policy(typing_extensions.TypedDict, total=False): crossProfilePolicies: CrossProfilePolicies dataRoamingDisabled: bool debuggingFeaturesAllowed: bool + defaultApplicationSettings: _list[DefaultApplicationSetting] defaultPermissionPolicy: typing_extensions.Literal[ "PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY" ] @@ -1655,6 +1742,16 @@ class RequestDeviceInfoStatus(typing_extensions.TypedDict, total=False): "UNSUPPORTED", ] +@typing.type_check_only +class Role(typing_extensions.TypedDict, total=False): + roleType: typing_extensions.Literal[ + "ROLE_TYPE_UNSPECIFIED", + "COMPANION_APP", + "KIOSK", + "MOBILE_THREAT_DEFENSE_ENDPOINT_DETECTION_RESPONSE", + "SYSTEM_HEALTH_MONITORING", + ] + @typing.type_check_only class ScreenBrightnessSettings(typing_extensions.TypedDict, total=False): screenBrightness: int @@ -1726,6 +1823,7 @@ class SoftwareInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class SpecificNonComplianceContext(typing_extensions.TypedDict, total=False): + defaultApplicationContext: DefaultApplicationContext oncWifiContext: OncWifiContext passwordPoliciesContext: PasswordPoliciesContext @@ -1758,6 +1856,7 @@ class StatusReportingSettings(typing_extensions.TypedDict, total=False): applicationReportingSettings: ApplicationReportingSettings applicationReportsEnabled: bool commonCriteriaModeEnabled: bool + defaultApplicationInfoReportingEnabled: bool deviceSettingsEnabled: bool displayInfoEnabled: bool hardwareStatusEnabled: bool diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi index 8d53f806..a1d59997 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi @@ -578,6 +578,179 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): @typing.type_check_only class MonetizationResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OnetimeproductsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PurchaseOptionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OffersResource(googleapiclient.discovery.Resource): + def activate( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + offerId: str, + body: ActivateOneTimeProductOfferRequest = ..., + **kwargs: typing.Any, + ) -> OneTimeProductOfferHttpRequest: ... + def batchDelete( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + body: BatchDeleteOneTimeProductOffersRequest = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def batchGet( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + body: BatchGetOneTimeProductOffersRequest = ..., + **kwargs: typing.Any, + ) -> BatchGetOneTimeProductOffersResponseHttpRequest: ... + def batchUpdate( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + body: BatchUpdateOneTimeProductOffersRequest = ..., + **kwargs: typing.Any, + ) -> BatchUpdateOneTimeProductOffersResponseHttpRequest: ... + def batchUpdateStates( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + body: BatchUpdateOneTimeProductOfferStatesRequest = ..., + **kwargs: typing.Any, + ) -> BatchUpdateOneTimeProductOfferStatesResponseHttpRequest: ... + def cancel( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + offerId: str, + body: CancelOneTimeProductOfferRequest = ..., + **kwargs: typing.Any, + ) -> OneTimeProductOfferHttpRequest: ... + def deactivate( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + offerId: str, + body: DeactivateOneTimeProductOfferRequest = ..., + **kwargs: typing.Any, + ) -> OneTimeProductOfferHttpRequest: ... + def list( + self, + *, + packageName: str, + productId: str, + purchaseOptionId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOneTimeProductOffersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOneTimeProductOffersResponseHttpRequest, + previous_response: ListOneTimeProductOffersResponse, + ) -> ListOneTimeProductOffersResponseHttpRequest | None: ... + + def batchDelete( + self, + *, + packageName: str, + productId: str, + body: BatchDeletePurchaseOptionsRequest = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def batchUpdateStates( + self, + *, + packageName: str, + productId: str, + body: BatchUpdatePurchaseOptionStatesRequest = ..., + **kwargs: typing.Any, + ) -> BatchUpdatePurchaseOptionStatesResponseHttpRequest: ... + def offers(self) -> OffersResource: ... + + def batchDelete( + self, + *, + packageName: str, + body: BatchDeleteOneTimeProductsRequest = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def batchGet( + self, + *, + packageName: str, + productIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> BatchGetOneTimeProductsResponseHttpRequest: ... + def batchUpdate( + self, + *, + packageName: str, + body: BatchUpdateOneTimeProductsRequest = ..., + **kwargs: typing.Any, + ) -> BatchUpdateOneTimeProductsResponseHttpRequest: ... + def delete( + self, + *, + packageName: str, + productId: str, + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, packageName: str, productId: str, **kwargs: typing.Any + ) -> OneTimeProductHttpRequest: ... + def list( + self, + *, + packageName: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOneTimeProductsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOneTimeProductsResponseHttpRequest, + previous_response: ListOneTimeProductsResponse, + ) -> ListOneTimeProductsResponseHttpRequest | None: ... + def patch( + self, + *, + packageName: str, + productId: str, + body: OneTimeProduct = ..., + allowMissing: bool = ..., + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] = ..., + regionsVersion_version: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OneTimeProductHttpRequest: ... + def purchaseOptions(self) -> PurchaseOptionsResource: ... + @typing.type_check_only class SubscriptionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -823,6 +996,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): body: ConvertRegionPricesRequest = ..., **kwargs: typing.Any, ) -> ConvertRegionPricesResponseHttpRequest: ... + def onetimeproducts(self) -> OnetimeproductsResource: ... def subscriptions(self) -> SubscriptionsResource: ... @typing.type_check_only @@ -937,6 +1111,14 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): @typing.type_check_only class Subscriptionsv2Resource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + packageName: str, + token: str, + body: CancelSubscriptionPurchaseRequest = ..., + **kwargs: typing.Any, + ) -> CancelSubscriptionPurchaseResponseHttpRequest: ... def get( self, *, packageName: str, token: str, **kwargs: typing.Any ) -> SubscriptionPurchaseV2HttpRequest: ... @@ -1155,6 +1337,22 @@ class AppRecoveryActionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AppRecoveryAction: ... +@typing.type_check_only +class BatchGetOneTimeProductOffersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchGetOneTimeProductOffersResponse: ... + +@typing.type_check_only +class BatchGetOneTimeProductsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchGetOneTimeProductsResponse: ... + @typing.type_check_only class BatchGetOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1195,6 +1393,44 @@ class BatchUpdateBasePlanStatesResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> BatchUpdateBasePlanStatesResponse: ... +@typing.type_check_only +class BatchUpdateOneTimeProductOfferStatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdateOneTimeProductOfferStatesResponse: ... + +@typing.type_check_only +class BatchUpdateOneTimeProductOffersResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdateOneTimeProductOffersResponse: ... + +@typing.type_check_only +class BatchUpdateOneTimeProductsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdateOneTimeProductsResponse: ... + +@typing.type_check_only +class BatchUpdatePurchaseOptionStatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdatePurchaseOptionStatesResponse: ... + @typing.type_check_only class BatchUpdateSubscriptionOfferStatesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1247,6 +1483,14 @@ class CancelAppRecoveryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CancelAppRecoveryResponse: ... +@typing.type_check_only +class CancelSubscriptionPurchaseResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelSubscriptionPurchaseResponse: ... + @typing.type_check_only class ConvertRegionPricesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1399,6 +1643,22 @@ class ListDeviceTierConfigsResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListDeviceTierConfigsResponse: ... +@typing.type_check_only +class ListOneTimeProductOffersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOneTimeProductOffersResponse: ... + +@typing.type_check_only +class ListOneTimeProductsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOneTimeProductsResponse: ... + @typing.type_check_only class ListSubscriptionOffersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1447,6 +1707,22 @@ class MigrateBasePlanPricesResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> MigrateBasePlanPricesResponse: ... +@typing.type_check_only +class OneTimeProductHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OneTimeProduct: ... + +@typing.type_check_only +class OneTimeProductOfferHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OneTimeProductOffer: ... + @typing.type_check_only class OrderHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index fd8a02d3..5ae1ea77 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -36,6 +36,29 @@ class ActivateBasePlanRequest(typing_extensions.TypedDict, total=False): packageName: str productId: str +@typing.type_check_only +class ActivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + offerId: str + packageName: str + productId: str + purchaseOptionId: str + +@typing.type_check_only +class ActivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + packageName: str + productId: str + purchaseOptionId: str + @typing.type_check_only class ActivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): basePlanId: str @@ -186,6 +209,7 @@ class AutoRenewingPlan(typing_extensions.TypedDict, total=False): autoRenewEnabled: bool installmentDetails: InstallmentPlan priceChangeDetails: SubscriptionItemPriceChangeDetails + priceStepUpConsentDetails: PriceStepUpConsentDetails recurringPrice: Money @typing.type_check_only @@ -199,6 +223,30 @@ class BasePlan(typing_extensions.TypedDict, total=False): regionalConfigs: _list[RegionalBasePlanConfig] state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] +@typing.type_check_only +class BatchDeleteOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): + requests: _list[DeleteOneTimeProductOfferRequest] + +@typing.type_check_only +class BatchDeleteOneTimeProductsRequest(typing_extensions.TypedDict, total=False): + requests: _list[DeleteOneTimeProductRequest] + +@typing.type_check_only +class BatchDeletePurchaseOptionsRequest(typing_extensions.TypedDict, total=False): + requests: _list[DeletePurchaseOptionRequest] + +@typing.type_check_only +class BatchGetOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): + requests: _list[GetOneTimeProductOfferRequest] + +@typing.type_check_only +class BatchGetOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): + oneTimeProductOffers: _list[OneTimeProductOffer] + +@typing.type_check_only +class BatchGetOneTimeProductsResponse(typing_extensions.TypedDict, total=False): + oneTimeProducts: _list[OneTimeProduct] + @typing.type_check_only class BatchGetOrdersResponse(typing_extensions.TypedDict, total=False): orders: _list[Order] @@ -231,6 +279,42 @@ class BatchUpdateBasePlanStatesRequest(typing_extensions.TypedDict, total=False) class BatchUpdateBasePlanStatesResponse(typing_extensions.TypedDict, total=False): subscriptions: _list[Subscription] +@typing.type_check_only +class BatchUpdateOneTimeProductOfferStatesRequest( + typing_extensions.TypedDict, total=False +): + requests: _list[UpdateOneTimeProductOfferStateRequest] + +@typing.type_check_only +class BatchUpdateOneTimeProductOfferStatesResponse( + typing_extensions.TypedDict, total=False +): + oneTimeProductOffers: _list[OneTimeProductOffer] + +@typing.type_check_only +class BatchUpdateOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): + requests: _list[UpdateOneTimeProductOfferRequest] + +@typing.type_check_only +class BatchUpdateOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): + oneTimeProductOffers: _list[OneTimeProductOffer] + +@typing.type_check_only +class BatchUpdateOneTimeProductsRequest(typing_extensions.TypedDict, total=False): + requests: _list[UpdateOneTimeProductRequest] + +@typing.type_check_only +class BatchUpdateOneTimeProductsResponse(typing_extensions.TypedDict, total=False): + oneTimeProducts: _list[OneTimeProduct] + +@typing.type_check_only +class BatchUpdatePurchaseOptionStatesRequest(typing_extensions.TypedDict, total=False): + requests: _list[UpdatePurchaseOptionStateRequest] + +@typing.type_check_only +class BatchUpdatePurchaseOptionStatesResponse(typing_extensions.TypedDict, total=False): + oneTimeProducts: _list[OneTimeProduct] + @typing.type_check_only class BatchUpdateSubscriptionOfferStatesRequest( typing_extensions.TypedDict, total=False @@ -282,6 +366,25 @@ class CancelAppRecoveryRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CancelAppRecoveryResponse(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CancelOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + offerId: str + packageName: str + productId: str + purchaseOptionId: str + +@typing.type_check_only +class CancelSubscriptionPurchaseRequest(typing_extensions.TypedDict, total=False): + cancellationContext: CancellationContext + +@typing.type_check_only +class CancelSubscriptionPurchaseResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CancelSurveyResult(typing_extensions.TypedDict, total=False): reason: typing_extensions.Literal[ @@ -301,6 +404,14 @@ class CanceledStateContext(typing_extensions.TypedDict, total=False): systemInitiatedCancellation: SystemInitiatedCancellation userInitiatedCancellation: UserInitiatedCancellation +@typing.type_check_only +class CancellationContext(typing_extensions.TypedDict, total=False): + cancellationType: typing_extensions.Literal[ + "CANCELLATION_TYPE_UNSPECIFIED", + "USER_REQUESTED_STOP_RENEWALS", + "DEVELOPER_REQUESTED_STOP_PAYMENTS", + ] + @typing.type_check_only class CancellationEvent(typing_extensions.TypedDict, total=False): eventTime: str @@ -352,6 +463,29 @@ class DeactivateBasePlanRequest(typing_extensions.TypedDict, total=False): packageName: str productId: str +@typing.type_check_only +class DeactivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + offerId: str + packageName: str + productId: str + purchaseOptionId: str + +@typing.type_check_only +class DeactivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + packageName: str + productId: str + purchaseOptionId: str + @typing.type_check_only class DeactivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): basePlanId: str @@ -364,10 +498,47 @@ class DeactivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=Fals packageName: str productId: str +@typing.type_check_only +class DeferredItemRemoval(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class DeferredItemReplacement(typing_extensions.TypedDict, total=False): productId: str +@typing.type_check_only +class DeleteOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + offerId: str + packageName: str + productId: str + purchaseOptionId: str + +@typing.type_check_only +class DeleteOneTimeProductRequest(typing_extensions.TypedDict, total=False): + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + packageName: str + productId: str + +@typing.type_check_only +class DeletePurchaseOptionRequest(typing_extensions.TypedDict, total=False): + force: bool + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + packageName: str + productId: str + purchaseOptionId: str + @typing.type_check_only class DeobfuscationFile(typing_extensions.TypedDict, total=False): symbolType: typing_extensions.Literal[ @@ -581,6 +752,13 @@ class GeneratedStandaloneApk(typing_extensions.TypedDict, total=False): class GeneratedUniversalApk(typing_extensions.TypedDict, total=False): downloadId: str +@typing.type_check_only +class GetOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + offerId: str + packageName: str + productId: str + purchaseOptionId: str + @typing.type_check_only class GetSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): basePlanId: str @@ -768,6 +946,16 @@ class ListDeviceTierConfigsResponse(typing_extensions.TypedDict, total=False): deviceTierConfigs: _list[DeviceTierConfig] nextPageToken: str +@typing.type_check_only +class ListOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + oneTimeProductOffers: _list[OneTimeProductOffer] + +@typing.type_check_only +class ListOneTimeProductsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + oneTimeProducts: _list[OneTimeProduct] + @typing.type_check_only class ListSubscriptionOffersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -875,6 +1063,127 @@ class OneTimeCode(typing_extensions.TypedDict, total=False): ... class OneTimeExternalTransaction(typing_extensions.TypedDict, total=False): externalTransactionToken: str +@typing.type_check_only +class OneTimeProduct(typing_extensions.TypedDict, total=False): + listings: _list[OneTimeProductListing] + offerTags: _list[OfferTag] + packageName: str + productId: str + purchaseOptions: _list[OneTimeProductPurchaseOption] + regionsVersion: RegionsVersion + restrictedPaymentCountries: RestrictedPaymentCountries + taxAndComplianceSettings: OneTimeProductTaxAndComplianceSettings + +@typing.type_check_only +class OneTimeProductBuyPurchaseOption(typing_extensions.TypedDict, total=False): + legacyCompatible: bool + multiQuantityEnabled: bool + +@typing.type_check_only +class OneTimeProductDiscountedOffer(typing_extensions.TypedDict, total=False): + endTime: str + redemptionLimit: str + startTime: str + +@typing.type_check_only +class OneTimeProductListing(typing_extensions.TypedDict, total=False): + description: str + languageCode: str + title: str + +@typing.type_check_only +class OneTimeProductOffer(typing_extensions.TypedDict, total=False): + discountedOffer: OneTimeProductDiscountedOffer + offerId: str + offerTags: _list[OfferTag] + packageName: str + preOrderOffer: OneTimeProductPreOrderOffer + productId: str + purchaseOptionId: str + regionalPricingAndAvailabilityConfigs: _list[ + OneTimeProductOfferRegionalPricingAndAvailabilityConfig + ] + regionsVersion: RegionsVersion + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "CANCELLED", "INACTIVE" + ] + +@typing.type_check_only +class OneTimeProductOfferNoPriceOverrideOptions( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class OneTimeProductOfferRegionalPricingAndAvailabilityConfig( + typing_extensions.TypedDict, total=False +): + absoluteDiscount: Money + availability: typing_extensions.Literal[ + "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "NO_LONGER_AVAILABLE" + ] + noOverride: OneTimeProductOfferNoPriceOverrideOptions + regionCode: str + relativeDiscount: float + +@typing.type_check_only +class OneTimeProductPreOrderOffer(typing_extensions.TypedDict, total=False): + endTime: str + priceChangeBehavior: typing_extensions.Literal[ + "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED", + "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST", + "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY", + ] + releaseTime: str + startTime: str + +@typing.type_check_only +class OneTimeProductPurchaseOption(typing_extensions.TypedDict, total=False): + buyOption: OneTimeProductBuyPurchaseOption + newRegionsConfig: OneTimeProductPurchaseOptionNewRegionsConfig + offerTags: _list[OfferTag] + purchaseOptionId: str + regionalPricingAndAvailabilityConfigs: _list[ + OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig + ] + rentOption: OneTimeProductRentPurchaseOption + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE", "INACTIVE_PUBLISHED" + ] + taxAndComplianceSettings: PurchaseOptionTaxAndComplianceSettings + +@typing.type_check_only +class OneTimeProductPurchaseOptionNewRegionsConfig( + typing_extensions.TypedDict, total=False +): + availability: typing_extensions.Literal[ + "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "NO_LONGER_AVAILABLE" + ] + eurPrice: Money + usdPrice: Money + +@typing.type_check_only +class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig( + typing_extensions.TypedDict, total=False +): + availability: typing_extensions.Literal[ + "AVAILABILITY_UNSPECIFIED", + "AVAILABLE", + "NO_LONGER_AVAILABLE", + "AVAILABLE_IF_RELEASED", + ] + price: Money + regionCode: str + +@typing.type_check_only +class OneTimeProductRentPurchaseOption(typing_extensions.TypedDict, total=False): + expirationPeriod: str + rentalPeriod: str + +@typing.type_check_only +class OneTimeProductTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): + isTokenizedDigitalAsset: bool + regionalTaxConfigs: _list[RegionalTaxConfig] + @typing.type_check_only class OneTimePurchaseDetails(typing_extensions.TypedDict, total=False): offerId: str @@ -1004,6 +1313,14 @@ class Price(typing_extensions.TypedDict, total=False): currency: str priceMicros: str +@typing.type_check_only +class PriceStepUpConsentDetails(typing_extensions.TypedDict, total=False): + consentDeadlineTime: str + newPrice: Money + state: typing_extensions.Literal[ + "CONSENT_STATE_UNSPECIFIED", "PENDING", "CONFIRMED", "COMPLETED" + ] + @typing.type_check_only class ProcessedEvent(typing_extensions.TypedDict, total=False): eventTime: str @@ -1067,6 +1384,14 @@ class ProductPurchaseV2(typing_extensions.TypedDict, total=False): class ProductPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): developerPayload: str +@typing.type_check_only +class PurchaseOptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): + withdrawalRightType: typing_extensions.Literal[ + "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED", + "WITHDRAWAL_RIGHT_DIGITAL_CONTENT", + "WITHDRAWAL_RIGHT_SERVICE", + ] + @typing.type_check_only class PurchaseStateContext(typing_extensions.TypedDict, total=False): purchaseState: typing_extensions.Literal[ @@ -1138,6 +1463,28 @@ class RegionalSubscriptionOfferPhaseFreePriceOverride( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class RegionalTaxConfig(typing_extensions.TypedDict, total=False): + eligibleForStreamingServiceTaxRate: bool + regionCode: str + streamingTaxType: typing_extensions.Literal[ + "STREAMING_TAX_TYPE_UNSPECIFIED", + "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL", + "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES", + "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL", + "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL", + "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES", + "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL", + ] + taxTier: typing_extensions.Literal[ + "TAX_TIER_UNSPECIFIED", + "TAX_TIER_BOOKS_1", + "TAX_TIER_NEWS_1", + "TAX_TIER_NEWS_2", + "TAX_TIER_MUSIC_OR_AUDIO_1", + "TAX_TIER_LIVE_OR_BROADCAST_1", + ] + @typing.type_check_only class RegionalTaxRateInfo(typing_extensions.TypedDict, total=False): eligibleForStreamingServiceTaxRate: bool @@ -1426,6 +1773,7 @@ class SubscriptionPurchase(typing_extensions.TypedDict, total=False): @typing.type_check_only class SubscriptionPurchaseLineItem(typing_extensions.TypedDict, total=False): autoRenewingPlan: AutoRenewingPlan + deferredItemRemoval: DeferredItemRemoval deferredItemReplacement: DeferredItemReplacement expiryTime: str latestSuccessfulOrderId: str @@ -1629,6 +1977,41 @@ class UpdateBasePlanStateRequest(typing_extensions.TypedDict, total=False): activateBasePlanRequest: ActivateBasePlanRequest deactivateBasePlanRequest: DeactivateBasePlanRequest +@typing.type_check_only +class UpdateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): + allowMissing: bool + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + oneTimeProductOffer: OneTimeProductOffer + regionsVersion: RegionsVersion + updateMask: str + +@typing.type_check_only +class UpdateOneTimeProductOfferStateRequest(typing_extensions.TypedDict, total=False): + activateOneTimeProductOfferRequest: ActivateOneTimeProductOfferRequest + cancelOneTimeProductOfferRequest: CancelOneTimeProductOfferRequest + deactivateOneTimeProductOfferRequest: DeactivateOneTimeProductOfferRequest + +@typing.type_check_only +class UpdateOneTimeProductRequest(typing_extensions.TypedDict, total=False): + allowMissing: bool + latencyTolerance: typing_extensions.Literal[ + "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", + "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", + ] + oneTimeProduct: OneTimeProduct + regionsVersion: RegionsVersion + updateMask: str + +@typing.type_check_only +class UpdatePurchaseOptionStateRequest(typing_extensions.TypedDict, total=False): + activatePurchaseOptionRequest: ActivatePurchaseOptionRequest + deactivatePurchaseOptionRequest: DeactivatePurchaseOptionRequest + @typing.type_check_only class UpdateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): allowMissing: bool diff --git a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi index ac760092..808db0a4 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi @@ -229,6 +229,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ApigatewayListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi index 4a2e3202..b88964fe 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi @@ -122,6 +122,7 @@ class ApigatewayListLocationsResponse(typing_extensions.TypedDict, total=False): class ApigatewayListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[ApigatewayOperation] + unreachable: _list[str] @typing.type_check_only class ApigatewayLocation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi index ac760092..808db0a4 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi @@ -229,6 +229,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ApigatewayListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi index 55157771..8bfbf295 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi @@ -131,6 +131,7 @@ class ApigatewayListLocationsResponse(typing_extensions.TypedDict, total=False): class ApigatewayListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[ApigatewayOperation] + unreachable: _list[str] @typing.type_check_only class ApigatewayLocation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index 5cee2e13..58f6f046 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -2022,6 +2022,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2097,6 +2098,44 @@ class ApigeeResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class SecurityFeedbackResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1SecurityFeedback = ..., + securityFeedbackId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SecurityFeedbackHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1SecurityFeedbackHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ListSecurityFeedbackResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListSecurityFeedbackResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListSecurityFeedbackResponse, + ) -> GoogleCloudApigeeV1ListSecurityFeedbackResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApigeeV1SecurityFeedback = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SecurityFeedbackHttpRequest: ... + @typing.type_check_only class SecurityMonitoringConditionsResource(googleapiclient.discovery.Resource): def create( @@ -2577,6 +2616,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): def optimizedHostStats(self) -> OptimizedHostStatsResource: ... def reports(self) -> ReportsResource: ... def securityAssessmentResults(self) -> SecurityAssessmentResultsResource: ... + def securityFeedback(self) -> SecurityFeedbackResource: ... def securityMonitoringConditions( self, ) -> SecurityMonitoringConditionsResource: ... @@ -3434,6 +3474,16 @@ class GoogleCloudApigeeV1ListSecurityActionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListSecurityActionsResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListSecurityFeedbackResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListSecurityFeedbackResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListSecurityIncidentsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3646,6 +3696,14 @@ class GoogleCloudApigeeV1SecurityActionsConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1SecurityActionsConfig: ... +@typing.type_check_only +class GoogleCloudApigeeV1SecurityFeedbackHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1SecurityFeedback: ... + @typing.type_check_only class GoogleCloudApigeeV1SecurityIncidentHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index d229e84d..ba426a34 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -180,7 +180,7 @@ class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): proxies: _list[str] quota: str quotaCounterScope: typing_extensions.Literal[ - "QUOTA_COUNTER_SCOPE_UNSPECIFIED", "PROXY", "OPERATION" + "QUOTA_COUNTER_SCOPE_UNSPECIFIED", "PROXY", "OPERATION", "PRODUCT" ] quotaInterval: str quotaTimeUnit: str @@ -1093,8 +1093,10 @@ class GoogleCloudApigeeV1Instance(typing_extensions.TypedDict, total=False): displayName: str host: str ipRange: str + isVersionLocked: bool lastModifiedAt: str location: str + maintenanceUpdatePolicy: GoogleCloudApigeeV1MaintenanceUpdatePolicy name: str peeringCidrRange: typing_extensions.Literal[ "CIDR_RANGE_UNSPECIFIED", @@ -1108,6 +1110,7 @@ class GoogleCloudApigeeV1Instance(typing_extensions.TypedDict, total=False): ] port: str runtimeVersion: str + scheduledMaintenance: GoogleCloudApigeeV1ScheduledMaintenance serviceAttachment: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" @@ -1387,6 +1390,13 @@ class GoogleCloudApigeeV1ListSecurityActionsResponse( nextPageToken: str securityActions: _list[GoogleCloudApigeeV1SecurityAction] +@typing.type_check_only +class GoogleCloudApigeeV1ListSecurityFeedbackResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + securityFeedback: _list[GoogleCloudApigeeV1SecurityFeedback] + @typing.type_check_only class GoogleCloudApigeeV1ListSecurityIncidentsResponse( typing_extensions.TypedDict, total=False @@ -1447,6 +1457,33 @@ class GoogleCloudApigeeV1ListTraceConfigOverridesResponse( nextPageToken: str traceConfigOverrides: _list[GoogleCloudApigeeV1TraceConfigOverride] +@typing.type_check_only +class GoogleCloudApigeeV1MaintenanceUpdatePolicy( + typing_extensions.TypedDict, total=False +): + maintenanceChannel: typing_extensions.Literal[ + "MAINTENANCE_CHANNEL_UNSPECIFIED", "WEEK1", "WEEK2" + ] + maintenanceWindows: _list[ + GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow + ] + +@typing.type_check_only +class GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow( + typing_extensions.TypedDict, total=False +): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + startTime: GoogleTypeTimeOfDay + @typing.type_check_only class GoogleCloudApigeeV1Metadata(typing_extensions.TypedDict, total=False): errors: _list[str] @@ -1965,6 +2002,10 @@ class GoogleCloudApigeeV1RuntimeTraceSamplingConfig( sampler: typing_extensions.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"] samplingRate: float +@typing.type_check_only +class GoogleCloudApigeeV1ScheduledMaintenance(typing_extensions.TypedDict, total=False): + startTime: str + @typing.type_check_only class GoogleCloudApigeeV1Schema(typing_extensions.TypedDict, total=False): dimensions: _list[GoogleCloudApigeeV1SchemaSchemaElement] @@ -2135,6 +2176,38 @@ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommen text: str uri: str +@typing.type_check_only +class GoogleCloudApigeeV1SecurityFeedback(typing_extensions.TypedDict, total=False): + comment: str + createTime: str + displayName: str + feedbackContexts: _list[GoogleCloudApigeeV1SecurityFeedbackFeedbackContext] + feedbackType: typing_extensions.Literal[ + "FEEDBACK_TYPE_UNSPECIFIED", "EXCLUDED_DETECTION" + ] + name: str + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "INTERNAL_SYSTEM", + "NON_RISK_CLIENT", + "NAT", + "PENETRATION_TEST", + "OTHER", + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApigeeV1SecurityFeedbackFeedbackContext( + typing_extensions.TypedDict, total=False +): + attribute: typing_extensions.Literal[ + "ATTRIBUTE_UNSPECIFIED", + "ATTRIBUTE_ENVIRONMENTS", + "ATTRIBUTE_IP_ADDRESS_RANGES", + "ATTRIBUTE_API_KEYS", + ] + values: _list[str] + @typing.type_check_only class GoogleCloudApigeeV1SecurityIncident(typing_extensions.TypedDict, total=False): detectionTypes: _list[str] @@ -2551,6 +2624,7 @@ class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=F 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): @@ -2596,3 +2670,10 @@ class GoogleTypeMoney(typing_extensions.TypedDict, total=False): currencyCode: str nanos: int units: str + +@typing.type_check_only +class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int diff --git a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi index f44a5669..f538aa20 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi @@ -374,6 +374,57 @@ class APIHubResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudApihubV1DeploymentHttpRequest: ... + @typing.type_check_only + class DiscoveredApiObservationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DiscoveredApiOperationsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1DiscoveredApiOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListDiscoveredApiOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListDiscoveredApiOperationsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListDiscoveredApiOperationsResponse, + ) -> ( + GoogleCloudApihubV1ListDiscoveredApiOperationsResponseHttpRequest + | None + ): ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1DiscoveredApiObservationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApihubV1ListDiscoveredApiObservationsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListDiscoveredApiObservationsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListDiscoveredApiObservationsResponse, + ) -> ( + GoogleCloudApihubV1ListDiscoveredApiObservationsResponseHttpRequest + | None + ): ... + def discoveredApiOperations( + self, + ) -> DiscoveredApiOperationsResource: ... + @typing.type_check_only class ExternalApisResource(googleapiclient.discovery.Resource): def create( @@ -531,6 +582,13 @@ class APIHubResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudApihubV1ListPluginInstancesResponseHttpRequest | None ): ... + def manageSourceData( + self, + *, + name: str, + body: GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ManagePluginInstanceSourceDataResponseHttpRequest: ... def patch( self, *, @@ -687,6 +745,9 @@ class APIHubResource(googleapiclient.discovery.Resource): def curations(self) -> CurationsResource: ... def dependencies(self) -> DependenciesResource: ... def deployments(self) -> DeploymentsResource: ... + def discoveredApiObservations( + self, + ) -> DiscoveredApiObservationsResource: ... def externalApis(self) -> ExternalApisResource: ... def hostProjectRegistrations(self) -> HostProjectRegistrationsResource: ... def operations(self) -> OperationsResource: ... @@ -783,6 +844,26 @@ class GoogleCloudApihubV1DeploymentHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> GoogleCloudApihubV1Deployment: ... +@typing.type_check_only +class GoogleCloudApihubV1DiscoveredApiObservationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1DiscoveredApiObservation: ... + +@typing.type_check_only +class GoogleCloudApihubV1DiscoveredApiOperationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1DiscoveredApiOperation: ... + @typing.type_check_only class GoogleCloudApihubV1ExternalApiHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -859,6 +940,26 @@ class GoogleCloudApihubV1ListDeploymentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApihubV1ListDeploymentsResponse: ... +@typing.type_check_only +class GoogleCloudApihubV1ListDiscoveredApiObservationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListDiscoveredApiObservationsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListDiscoveredApiOperationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListDiscoveredApiOperationsResponse: ... + @typing.type_check_only class GoogleCloudApihubV1ListExternalApisResponseHttpRequest( googleapiclient.http.HttpRequest @@ -947,6 +1048,16 @@ class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse: ... +@typing.type_check_only +class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse: ... + @typing.type_check_only class GoogleCloudApihubV1PluginHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi index c1fc7fff..e4f9a719 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi @@ -354,6 +354,44 @@ class GoogleCloudApihubV1DisablePluginRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudApihubV1DiscoveredApiObservation( + typing_extensions.TypedDict, total=False +): + apiOperationCount: str + createTime: str + hostname: str + knownOperationsCount: str + lastEventDetectedTime: str + name: str + origin: str + serverIps: _list[str] + sourceLocations: _list[str] + sourceMetadata: GoogleCloudApihubV1SourceMetadata + sourceTypes: _list[ + typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "GCP_XLB", "GCP_ILB"] + ] + style: typing_extensions.Literal["STYLE_UNSPECIFIED", "REST", "GRPC", "GRAPHQL"] + unknownOperationsCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1DiscoveredApiOperation( + typing_extensions.TypedDict, total=False +): + classification: typing_extensions.Literal[ + "CLASSIFICATION_UNSPECIFIED", "KNOWN", "UNKNOWN" + ] + count: str + createTime: str + firstSeenTime: str + httpOperation: GoogleCloudApihubV1HttpOperationDetails + lastSeenTime: str + matchResults: _list[GoogleCloudApihubV1MatchResult] + name: str + sourceMetadata: GoogleCloudApihubV1SourceMetadata + updateTime: str + @typing.type_check_only class GoogleCloudApihubV1Documentation(typing_extensions.TypedDict, total=False): externalUri: str @@ -410,6 +448,14 @@ class GoogleCloudApihubV1GoogleServiceAccountConfig( ): serviceAccount: str +@typing.type_check_only +class GoogleCloudApihubV1Header(typing_extensions.TypedDict, total=False): + count: str + dataType: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" + ] + name: str + @typing.type_check_only class GoogleCloudApihubV1HostProjectRegistration( typing_extensions.TypedDict, total=False @@ -437,6 +483,23 @@ class GoogleCloudApihubV1HttpOperation(typing_extensions.TypedDict, total=False) ] path: GoogleCloudApihubV1Path +@typing.type_check_only +class GoogleCloudApihubV1HttpOperationDetails(typing_extensions.TypedDict, total=False): + httpOperation: GoogleCloudApihubV1HttpOperation + pathParams: _list[GoogleCloudApihubV1PathParam] + queryParams: dict[str, typing.Any] + request: GoogleCloudApihubV1HttpRequest + response: GoogleCloudApihubV1HttpResponse + +@typing.type_check_only +class GoogleCloudApihubV1HttpRequest(typing_extensions.TypedDict, total=False): + headers: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudApihubV1HttpResponse(typing_extensions.TypedDict, total=False): + headers: dict[str, typing.Any] + responseCodes: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudApihubV1Issue(typing_extensions.TypedDict, total=False): code: str @@ -512,6 +575,20 @@ class GoogleCloudApihubV1ListDeploymentsResponse( deployments: _list[GoogleCloudApihubV1Deployment] nextPageToken: str +@typing.type_check_only +class GoogleCloudApihubV1ListDiscoveredApiObservationsResponse( + typing_extensions.TypedDict, total=False +): + discoveredApiObservations: _list[GoogleCloudApihubV1DiscoveredApiObservation] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListDiscoveredApiOperationsResponse( + typing_extensions.TypedDict, total=False +): + discoveredApiOperations: _list[GoogleCloudApihubV1DiscoveredApiOperation] + nextPageToken: str + @typing.type_check_only class GoogleCloudApihubV1ListExternalApisResponse( typing_extensions.TypedDict, total=False @@ -567,6 +644,30 @@ class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse( ): runtimeProjectAttachment: GoogleCloudApihubV1RuntimeProjectAttachment +@typing.type_check_only +class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest( + typing_extensions.TypedDict, total=False +): + action: typing_extensions.Literal["ACTION_UNSPECIFIED", "UPLOAD", "DELETE"] + data: str + dataType: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", + "PROXY_DEPLOYMENT_MANIFEST", + "ENVIRONMENT_MANIFEST", + "PROXY_BUNDLE", + "SHARED_FLOW_BUNDLE", + ] + relativePath: str + +@typing.type_check_only +class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudApihubV1MatchResult(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class GoogleCloudApihubV1MultiIntValues(typing_extensions.TypedDict, total=False): values: _list[int] @@ -624,6 +725,13 @@ class GoogleCloudApihubV1Path(typing_extensions.TypedDict, total=False): description: str path: str +@typing.type_check_only +class GoogleCloudApihubV1PathParam(typing_extensions.TypedDict, total=False): + dataType: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" + ] + position: int + @typing.type_check_only class GoogleCloudApihubV1Plugin(typing_extensions.TypedDict, total=False): actionsConfig: _list[GoogleCloudApihubV1PluginActionConfig] @@ -719,6 +827,14 @@ class GoogleCloudApihubV1Point(typing_extensions.TypedDict, total=False): character: int line: int +@typing.type_check_only +class GoogleCloudApihubV1QueryParam(typing_extensions.TypedDict, total=False): + count: str + dataType: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" + ] + name: str + @typing.type_check_only class GoogleCloudApihubV1Range(typing_extensions.TypedDict, total=False): end: GoogleCloudApihubV1Point diff --git a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi index 2483491c..8d6799a3 100644 --- a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi @@ -162,6 +162,7 @@ class APIManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -173,6 +174,9 @@ class APIManagementResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getEntitlement( + self, *, name: str, **kwargs: typing.Any + ) -> EntitlementHttpRequest: ... def list( self, *, @@ -253,6 +257,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class EntitlementHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Entitlement: ... + @typing.type_check_only class ListApiObservationTagsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi index 58042fb3..078ea42a 100644 --- a/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi @@ -50,6 +50,14 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class EnableObservationJobRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Entitlement(typing_extensions.TypedDict, total=False): + apiObservationEntitled: bool + billingProjectNumber: str + createTime: str + name: str + updateTime: str + @typing.type_check_only class GclbObservationSource(typing_extensions.TypedDict, total=False): pscNetworkConfigs: _list[GclbObservationSourcePscNetworkConfig] @@ -147,6 +155,7 @@ class ListObservationSourcesResponse(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/appengine/v1/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi index a08e6ba0..68054b62 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi @@ -203,6 +203,7 @@ class AppengineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -492,6 +493,15 @@ class AppengineResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, @@ -501,6 +511,17 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + body: DomainMapping = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi index b302d3a3..440392f6 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi @@ -314,6 +314,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi index 418ae0b7..a9a4aef9 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi @@ -159,6 +159,7 @@ class AppengineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -276,6 +277,15 @@ class AppengineResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, @@ -285,6 +295,18 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + body: DomainMapping = ..., + noManagedCertificate: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def authorizedCertificates(self) -> AuthorizedCertificatesResource: ... def authorizedDomains(self) -> AuthorizedDomainsResource: ... @@ -308,6 +330,7 @@ class AppengineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi index 37a3171f..0d818d0c 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi @@ -89,6 +89,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/appengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi index d16e0c8c..1c3832ee 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi @@ -203,6 +203,7 @@ class AppengineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -506,6 +507,15 @@ class AppengineResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, @@ -515,6 +525,17 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + body: DomainMapping = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): @@ -599,6 +620,7 @@ class AppengineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index dc36e416..ca160032 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -328,6 +328,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): @@ -616,6 +617,11 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class SubnetworkKey(typing_extensions.TypedDict, total=False): + hostProjectId: str + subnet: str + @typing.type_check_only class TrafficSplit(typing_extensions.TypedDict, total=False): allocations: dict[str, typing.Any] @@ -713,6 +719,7 @@ class Version(typing_extensions.TypedDict, total=False): versionUrl: str vm: bool vpcAccessConnector: VpcAccessConnector + vpcEgress: VpcEgress zones: _list[str] @typing.type_check_only @@ -728,6 +735,18 @@ class VpcAccessConnector(typing_extensions.TypedDict, total=False): ] name: str +@typing.type_check_only +class VpcEgress(typing_extensions.TypedDict, total=False): + egressSetting: typing_extensions.Literal[ + "EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" + ] + networkTags: _list[VpcNetworkTag] + subnetworkKey: SubnetworkKey + +@typing.type_check_only +class VpcNetworkTag(typing_extensions.TypedDict, total=False): + value: str + @typing.type_check_only class ZipInfo(typing_extensions.TypedDict, total=False): filesCount: int diff --git a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi index eeb9495d..29f500a4 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi @@ -236,6 +236,7 @@ class AppHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi index e0fcf4df..2d0f6512 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi @@ -123,6 +123,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 ListServiceProjectAttachmentsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi index d478d212..ff6fd3e1 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi @@ -266,6 +266,7 @@ class AppHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi index 22b49def..10f03b20 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi @@ -143,6 +143,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 ListServiceProjectAttachmentsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi index 80df7a36..9931b762 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi @@ -29,6 +29,7 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index af425210..5d9b3e19 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -504,6 +504,7 @@ class GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions( 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/assuredworkloads/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi index 9d28f074..54376449 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi @@ -29,6 +29,7 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index c066ed25..d5e9c84e 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -541,6 +541,7 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions( 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/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index 5a2a7900..4f4d781f 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -430,6 +430,13 @@ class BackupdrResource(googleapiclient.discovery.Resource): previous_request: ListManagementServersResponseHttpRequest, previous_response: ListManagementServersResponse, ) -> ListManagementServersResponseHttpRequest | None: ... + def msComplianceMetadata( + self, + *, + parent: str, + body: FetchMsComplianceMetadataRequest = ..., + **kwargs: typing.Any, + ) -> FetchMsComplianceMetadataResponseHttpRequest: ... def setIamPolicy( self, *, @@ -467,6 +474,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -503,9 +511,22 @@ class BackupdrResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class TrialResource(googleapiclient.discovery.Resource): + def subscribe( + self, + *, + parent: str, + body: SubscribeTrialRequest = ..., + **kwargs: typing.Any, + ) -> TrialHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getTrial( + self, *, name: str, **kwargs: typing.Any + ) -> TrialHttpRequest: ... def list( self, *, @@ -529,6 +550,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def resourceBackupConfigs(self) -> ResourceBackupConfigsResource: ... def serviceConfig(self) -> ServiceConfigResource: ... + def trial(self) -> TrialResource: ... def locations(self) -> LocationsResource: ... @@ -638,6 +660,14 @@ class FetchDataSourceReferencesForResourceTypeResponseHttpRequest( num_retries: int = 0, ) -> FetchDataSourceReferencesForResourceTypeResponse: ... +@typing.type_check_only +class FetchMsComplianceMetadataResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchMsComplianceMetadataResponse: ... + @typing.type_check_only class FetchUsableBackupVaultsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -773,3 +803,11 @@ class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> TestIamPermissionsResponse: ... + +@typing.type_check_only +class TrialHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Trial: ... diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index 6cb596c1..4a68235b 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -48,6 +48,17 @@ class AllocationAffinity(typing_extensions.TypedDict, total=False): key: str values: _list[str] +@typing.type_check_only +class AlloyDBClusterDataSourceProperties(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class AlloyDbClusterBackupProperties(typing_extensions.TypedDict, total=False): + chainId: str + databaseVersion: str + description: str + storedBytes: str + @typing.type_check_only class AttachedDisk(typing_extensions.TypedDict, total=False): autoDelete: bool @@ -88,6 +99,7 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): + alloyDbBackupProperties: AlloyDbClusterBackupProperties backupApplianceBackupProperties: BackupApplianceBackupProperties backupApplianceLocks: _list[BackupLock] backupType: typing_extensions.Literal[ @@ -173,7 +185,6 @@ class BackupConfigInfo(typing_extensions.TypedDict, total=False): "PERMISSION_DENIED", ] lastSuccessfulBackupConsistencyTime: str - lastSuccessfulLogBackupConsistencyTime: str @typing.type_check_only class BackupDrPlanConfig(typing_extensions.TypedDict, total=False): @@ -454,6 +465,7 @@ class DataSourceBackupConfigInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class DataSourceGcpResource(typing_extensions.TypedDict, total=False): + alloyDbClusterDatasourceProperties: AlloyDBClusterDataSourceProperties cloudSqlInstanceDatasourceProperties: CloudSqlInstanceDataSourceProperties computeInstanceDatasourceProperties: ComputeInstanceDataSourceProperties diskDatasourceProperties: DiskDataSourceProperties @@ -482,16 +494,23 @@ class DataSourceReference(typing_extensions.TypedDict, total=False): @typing.type_check_only class DiskBackupProperties(typing_extensions.TypedDict, total=False): + accessMode: str architecture: typing_extensions.Literal[ "ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64" ] description: str + enableConfidentialCompute: bool guestOsFeature: _list[GuestOsFeature] + labels: dict[str, typing.Any] licenses: _list[str] + physicalBlockSizeBytes: str + provisionedIops: str + provisionedThroughput: str region: str replicaZones: _list[str] sizeGb: str sourceDisk: str + storagePool: str type: str zone: str @@ -575,6 +594,14 @@ class FetchDataSourceReferencesForResourceTypeResponse( dataSourceReferences: _list[DataSourceReference] nextPageToken: str +@typing.type_check_only +class FetchMsComplianceMetadataRequest(typing_extensions.TypedDict, total=False): + projectId: str + +@typing.type_check_only +class FetchMsComplianceMetadataResponse(typing_extensions.TypedDict, total=False): + isAssuredWorkload: bool + @typing.type_check_only class FetchUsableBackupVaultsResponse(typing_extensions.TypedDict, total=False): backupVaults: _list[BackupVault] @@ -710,6 +737,7 @@ class ListManagementServersResponse(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 ListResourceBackupConfigsResponse(typing_extensions.TypedDict, total=False): @@ -724,6 +752,17 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class LocationMetadata(typing_extensions.TypedDict, total=False): + unsupportedFeatures: _list[ + typing_extensions.Literal[ + "FEATURE_UNSPECIFIED", + "MANAGEMENT_SERVER", + "COMPUTE_INSTANCE", + "PROTECTION_SUMMARY", + ] + ] + @typing.type_check_only class ManagementServer(typing_extensions.TypedDict, total=False): baProxyUri: _list[str] @@ -850,7 +889,11 @@ class ResourceBackupConfig(typing_extensions.TypedDict, total=False): targetResourceDisplayName: str targetResourceLabels: dict[str, typing.Any] targetResourceType: typing_extensions.Literal[ - "RESOURCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "COMPUTE_ENGINE_VM" + "RESOURCE_TYPE_UNSPECIFIED", + "CLOUD_SQL_INSTANCE", + "COMPUTE_ENGINE_VM", + "COMPUTE_ENGINE_DISK", + "COMPUTE_ENGINE_REGIONAL_DISK", ] uid: str vaulted: bool @@ -974,6 +1017,9 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class SubscribeTrialRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Tags(typing_extensions.TypedDict, total=False): items: _list[str] @@ -990,6 +1036,23 @@ class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class Trial(typing_extensions.TypedDict, total=False): + endReason: typing_extensions.Literal[ + "END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED" + ] + endTime: str + name: str + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "SUBSCRIBED", + "UNSUBSCRIBED", + "EXPIRED", + "ELIGIBLE", + "NOT_ELIGIBLE", + ] + @typing.type_check_only class TriggerBackupRequest(typing_extensions.TypedDict, total=False): requestId: str diff --git a/googleapiclient-stubs/_apis/batch/v1/resources.pyi b/googleapiclient-stubs/_apis/batch/v1/resources.pyi index 1c152e8a..d6e93ad9 100644 --- a/googleapiclient-stubs/_apis/batch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/resources.pyi @@ -107,6 +107,7 @@ class BatchResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi index f30ac26a..8192367d 100644 --- a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi @@ -193,7 +193,11 @@ class InstancePolicy(typing_extensions.TypedDict, total=False): machineType: str minCpuPlatform: str provisioningModel: typing_extensions.Literal[ - "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", "PREEMPTIBLE" + "PROVISIONING_MODEL_UNSPECIFIED", + "STANDARD", + "SPOT", + "PREEMPTIBLE", + "RESERVATION_BOUND", ] reservation: str @@ -210,7 +214,11 @@ class InstanceStatus(typing_extensions.TypedDict, total=False): bootDisk: Disk machineType: str provisioningModel: typing_extensions.Literal[ - "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", "PREEMPTIBLE" + "PROVISIONING_MODEL_UNSPECIFIED", + "STANDARD", + "SPOT", + "PREEMPTIBLE", + "RESERVATION_BOUND", ] taskPack: str @@ -275,6 +283,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 ListTasksResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi index 080e55e6..02ea8c62 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi @@ -39,6 +39,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -311,6 +312,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi index ee9275d9..93177221 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi @@ -387,7 +387,84 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1Application( displayName: str endpointMatchers: _list[GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher] name: str + schema: typing_extensions.Literal[ + "SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY" + ] updateTime: str + upstreams: _list[GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream( + typing_extensions.TypedDict, total=False +): + egressPolicy: GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy + external: GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal + network: GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork + proxyProtocol: GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal( + typing_extensions.TypedDict, total=False +): + endpoints: _list[GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders( + typing_extensions.TypedDict, total=False +): + deviceInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo + ) + groupInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo + ) + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + userInfo: GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy( + typing_extensions.TypedDict, total=False +): + regions: _list[str] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint( + typing_extensions.TypedDict, total=False +): + hostname: str + port: int @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher( @@ -424,15 +501,30 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse( securityGateways: _list[GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway] unreachable: _list[str] +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig( + typing_extensions.TypedDict, total=False +): + allowedClientHeaders: _list[str] + clientIp: bool + contextualHeaders: GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders + gatewayIdentity: typing_extensions.Literal[ + "GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME" + ] + metadataHeaders: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway( typing_extensions.TypedDict, total=False ): createTime: str + delegatingServiceAccount: str displayName: str externalIps: _list[str] hubs: dict[str, typing.Any] name: str + proxyProtocolConfig: GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig + serviceDiscovery: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -456,6 +548,24 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata( target: str verb: str +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery( + typing_extensions.TypedDict, total=False +): + apiGateway: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway( + typing_extensions.TypedDict, total=False +): + resourceOverride: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor( + typing_extensions.TypedDict, total=False +): + path: str + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata( typing_extensions.TypedDict, total=False @@ -530,6 +640,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/beyondcorp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi index 188c638a..dc2fc2c4 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi @@ -145,6 +145,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -742,6 +743,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi index 35493440..bd07297e 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi @@ -614,7 +614,86 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication( displayName: str endpointMatchers: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher] name: str + schema: typing_extensions.Literal[ + "SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY" + ] updateTime: str + upstreams: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream( + typing_extensions.TypedDict, total=False +): + egressPolicy: GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy + external: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal + network: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork + proxyProtocol: GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal( + typing_extensions.TypedDict, total=False +): + endpoints: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders( + typing_extensions.TypedDict, total=False +): + deviceInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo + ) + groupInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo + ) + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + userInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo + ) + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo( + typing_extensions.TypedDict, total=False +): + outputType: typing_extensions.Literal[ + "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" + ] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy( + typing_extensions.TypedDict, total=False +): + regions: _list[str] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint( + typing_extensions.TypedDict, total=False +): + hostname: str + port: int @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher( @@ -651,15 +730,30 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse( securityGateways: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] unreachable: _list[str] +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig( + typing_extensions.TypedDict, total=False +): + allowedClientHeaders: _list[str] + clientIp: bool + contextualHeaders: GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders + gatewayIdentity: typing_extensions.Literal[ + "GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME" + ] + metadataHeaders: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( typing_extensions.TypedDict, total=False ): createTime: str + delegatingServiceAccount: str displayName: str externalIps: _list[str] hubs: dict[str, typing.Any] name: str + proxyProtocolConfig: GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig + serviceDiscovery: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -683,6 +777,24 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetada target: str verb: str +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery( + typing_extensions.TypedDict, total=False +): + apiGateway: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway( + typing_extensions.TypedDict, total=False +): + resourceOverride: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor( + typing_extensions.TypedDict, total=False +): + path: str + @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False @@ -745,6 +857,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/bigquery/v2/resources.pyi b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi index 14d8b0b0..d66e6818 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi @@ -127,6 +127,12 @@ class BigqueryResource(googleapiclient.discovery.Resource): *, projectId: str, jobId: str, + formatOptions_timestampOutputFormat: typing_extensions.Literal[ + "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", + "FLOAT64", + "INT64", + "ISO8601_STRING", + ] = ..., formatOptions_useInt64Timestamp: bool = ..., location: str = ..., maxResults: int = ..., @@ -381,6 +387,12 @@ class BigqueryResource(googleapiclient.discovery.Resource): projectId: str, datasetId: str, tableId: str, + formatOptions_timestampOutputFormat: typing_extensions.Literal[ + "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", + "FLOAT64", + "INT64", + "ISO8601_STRING", + ] = ..., formatOptions_useInt64Timestamp: bool = ..., maxResults: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index 7cfa7f61..384f2421 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -56,6 +56,7 @@ class ArimaForecastingMetrics(typing_extensions.TypedDict, total=False): "MONTHLY", "QUARTERLY", "YEARLY", + "HOURLY", ] ] timeSeriesId: _list[str] @@ -78,6 +79,7 @@ class ArimaModelInfo(typing_extensions.TypedDict, total=False): "MONTHLY", "QUARTERLY", "YEARLY", + "HOURLY", ] ] timeSeriesId: str @@ -101,6 +103,7 @@ class ArimaResult(typing_extensions.TypedDict, total=False): "MONTHLY", "QUARTERLY", "YEARLY", + "HOURLY", ] ] @@ -121,6 +124,7 @@ class ArimaSingleModelForecastingMetrics(typing_extensions.TypedDict, total=Fals "MONTHLY", "QUARTERLY", "YEARLY", + "HOURLY", ] ] timeSeriesId: str @@ -311,6 +315,9 @@ class CsvOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class DataFormatOptions(typing_extensions.TypedDict, total=False): + timestampOutputFormat: typing_extensions.Literal[ + "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", "FLOAT64", "INT64", "ISO8601_STRING" + ] useInt64Timestamp: bool @typing.type_check_only @@ -560,6 +567,7 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): timeFormat: str timeZone: str timestampFormat: str + timestampTargetPrecision: _list[int] @typing.type_check_only class ExternalDatasetReference(typing_extensions.TypedDict, total=False): @@ -576,6 +584,7 @@ class ExternalRuntimeOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExternalServiceCost(typing_extensions.TypedDict, total=False): + billingMethod: str bytesBilled: str bytesProcessed: str externalService: str @@ -695,6 +704,18 @@ class HparamTuningTrial(typing_extensions.TypedDict, total=False): trainingLoss: float trialId: str +@typing.type_check_only +class IncrementalResultStats(typing_extensions.TypedDict, total=False): + disabledReason: typing_extensions.Literal["DISABLED_REASON_UNSPECIFIED", "OTHER"] + resultSetLastModifyTime: str + resultSetLastReplaceTime: str + +@typing.type_check_only +class IndexPruningStats(typing_extensions.TypedDict, total=False): + baseTable: TableReference + postIndexPruningParallelInputCount: str + preIndexPruningParallelInputCount: str + @typing.type_check_only class IndexUnusedReason(typing_extensions.TypedDict, total=False): baseTable: TableReference @@ -790,6 +811,7 @@ class JobConfiguration(typing_extensions.TypedDict, total=False): jobType: str labels: dict[str, typing.Any] load: JobConfigurationLoad + maxSlots: int query: JobConfigurationQuery reservation: str @@ -861,6 +883,7 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): timePartitioning: TimePartitioning timeZone: str timestampFormat: str + timestampTargetPrecision: _list[int] useAvroLogicalTypes: bool writeDisposition: str @@ -945,6 +968,7 @@ class JobStatistics(typing_extensions.TypedDict, total=False): parentJobId: str query: JobStatistics2 quotaDeferments: _list[str] + reservationGroupPath: _list[str] reservationUsage: _list[dict[str, typing.Any]] reservation_id: str rowLevelSecurityStatistics: RowLevelSecurityStatistics @@ -974,6 +998,7 @@ class JobStatistics2(typing_extensions.TypedDict, total=False): estimatedBytesProcessed: str exportDataStatistics: ExportDataStatistics externalServiceCosts: _list[ExternalServiceCost] + incrementalResultStats: IncrementalResultStats loadQueryStatistics: LoadQueryStatistics materializedViewStatistics: MaterializedViewStatistics metadataCacheStatistics: MetadataCacheStatistics @@ -997,6 +1022,7 @@ class JobStatistics2(typing_extensions.TypedDict, total=False): totalBytesProcessed: str totalBytesProcessedAccuracy: str totalPartitionsProcessed: str + totalServicesSkuSlotMs: str totalSlotMs: str transferredBytes: str undeclaredQueryParameters: _list[QueryParameter] @@ -1293,6 +1319,12 @@ class ProjectList(typing_extensions.TypedDict, total=False): class ProjectReference(typing_extensions.TypedDict, total=False): projectId: str +@typing.type_check_only +class PruningStats(typing_extensions.TypedDict, total=False): + postCmetaPruningParallelInputCount: str + postCmetaPruningPartitionCount: str + preCmetaPruningParallelInputCount: str + @typing.type_check_only class PythonOptions(typing_extensions.TypedDict, total=False): entryPoint: str @@ -1313,6 +1345,7 @@ class QueryParameterType(typing_extensions.TypedDict, total=False): arrayType: QueryParameterType rangeElementType: QueryParameterType structTypes: _list[dict[str, typing.Any]] + timestampPrecision: str type: str @typing.type_check_only @@ -1341,6 +1374,7 @@ class QueryRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] location: str maxResults: int + maxSlots: int maximumBytesBilled: str parameterMode: str preserveNulls: bool @@ -1534,6 +1568,7 @@ class ScriptStatistics(typing_extensions.TypedDict, total=False): @typing.type_check_only class SearchStatistics(typing_extensions.TypedDict, total=False): + indexPruningStats: _list[IndexPruningStats] indexUnusedReasons: _list[IndexUnusedReason] indexUsageMode: typing_extensions.Literal[ "INDEX_USAGE_MODE_UNSPECIFIED", "UNUSED", "PARTIALLY_USED", "FULLY_USED" @@ -1794,6 +1829,7 @@ class TableFieldSchema(typing_extensions.TypedDict, total=False): "ROUNDING_MODE_UNSPECIFIED", "ROUND_HALF_AWAY_FROM_ZERO", "ROUND_HALF_EVEN" ] scale: str + timestampPrecision: str type: str @typing.type_check_only @@ -1807,6 +1843,7 @@ class TableList(typing_extensions.TypedDict, total=False): @typing.type_check_only class TableMetadataCacheUsage(typing_extensions.TypedDict, total=False): explanation: str + pruningStats: PruningStats staleness: str tableReference: TableReference tableType: str @@ -1920,6 +1957,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): dropout: float earlyStop: bool enableGlobalExplain: bool + endpointIdleTtl: str feedbackType: typing_extensions.Literal[ "FEEDBACK_TYPE_UNSPECIFIED", "IMPLICIT", "EXPLICIT" ] @@ -2093,6 +2131,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): "AVERAGE_RANK", ] ] + huggingFaceModelId: str includeDrift: bool initialLearnRate: float inputLabelColumns: _list[str] @@ -2118,15 +2157,19 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): lossType: typing_extensions.Literal[ "LOSS_TYPE_UNSPECIFIED", "MEAN_SQUARED_LOSS", "MEAN_LOG_LOSS" ] + machineType: str maxIterations: str maxParallelTrials: str + maxReplicaCount: str maxTimeSeriesLength: str maxTreeDepth: str minAprioriSupport: float minRelativeProgress: float + minReplicaCount: str minSplitLoss: float minTimeSeriesLength: str minTreeChildWeight: str + modelGardenModelName: str modelRegistry: typing_extensions.Literal["MODEL_REGISTRY_UNSPECIFIED", "VERTEX_AI"] modelUri: str nonSeasonalOrder: ArimaOrder @@ -2141,6 +2184,14 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): optimizer: str pcaExplainedVarianceRatio: float pcaSolver: typing_extensions.Literal["UNSPECIFIED", "FULL", "RANDOMIZED", "AUTO"] + reservationAffinityKey: str + reservationAffinityType: typing_extensions.Literal[ + "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", + "NO_RESERVATION", + "ANY_RESERVATION", + "SPECIFIC_RESERVATION", + ] + reservationAffinityValues: _list[str] sampledShapleyNumPaths: str scaleFeatures: bool standardizeFeatures: bool diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/__init__.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi new file mode 100644 index 00000000..7fe0084e --- /dev/null +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi @@ -0,0 +1,150 @@ +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 BigQueryDataPolicyServiceResource(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 DataPoliciesResource(googleapiclient.discovery.Resource): + def addGrantees( + self, + *, + dataPolicy: str, + body: AddGranteesRequest = ..., + **kwargs: typing.Any, + ) -> DataPolicyHttpRequest: ... + def create( + self, + *, + parent: str, + body: CreateDataPolicyRequest = ..., + **kwargs: typing.Any, + ) -> DataPolicyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DataPolicyHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDataPoliciesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDataPoliciesResponseHttpRequest, + previous_response: ListDataPoliciesResponse, + ) -> ListDataPoliciesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DataPolicy = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DataPolicyHttpRequest: ... + def removeGrantees( + self, + *, + dataPolicy: str, + body: RemoveGranteesRequest = ..., + **kwargs: typing.Any, + ) -> DataPolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + + def dataPolicies(self) -> DataPoliciesResource: ... + + 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 DataPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DataPolicy: ... + +@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 ListDataPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDataPoliciesResponse: ... + +@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 TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi new file mode 100644 index 00000000..80d54006 --- /dev/null +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi @@ -0,0 +1,110 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AddGranteesRequest(typing_extensions.TypedDict, total=False): + grantees: _list[str] + +@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 CreateDataPolicyRequest(typing_extensions.TypedDict, total=False): + dataPolicy: DataPolicy + dataPolicyId: str + +@typing.type_check_only +class DataMaskingPolicy(typing_extensions.TypedDict, total=False): + predefinedExpression: typing_extensions.Literal[ + "PREDEFINED_EXPRESSION_UNSPECIFIED", + "SHA256", + "ALWAYS_NULL", + "DEFAULT_MASKING_VALUE", + "LAST_FOUR_CHARACTERS", + "FIRST_FOUR_CHARACTERS", + "EMAIL_MASK", + "DATE_YEAR_MASK", + "RANDOM_HASH", + ] + routine: str + +@typing.type_check_only +class DataPolicy(typing_extensions.TypedDict, total=False): + dataMaskingPolicy: DataMaskingPolicy + dataPolicyId: str + dataPolicyType: typing_extensions.Literal[ + "DATA_POLICY_TYPE_UNSPECIFIED", + "DATA_MASKING_POLICY", + "RAW_DATA_ACCESS_POLICY", + "COLUMN_LEVEL_SECURITY_POLICY", + ] + etag: str + grantees: _list[str] + name: str + policyTag: str + version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1", "V2"] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Expr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): + options: GetPolicyOptions + +@typing.type_check_only +class GetPolicyOptions(typing_extensions.TypedDict, total=False): + requestedPolicyVersion: int + +@typing.type_check_only +class ListDataPoliciesResponse(typing_extensions.TypedDict, total=False): + dataPolicies: _list[DataPolicy] + nextPageToken: str + +@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 RemoveGranteesRequest(typing_extensions.TypedDict, total=False): + grantees: _list[str] + +@typing.type_check_only +class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: Policy + updateMask: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi index 8a5c960a..e1a0095c 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi @@ -49,6 +49,7 @@ class DataSourceParameter(typing_extensions.TypedDict, total=False): displayName: str fields: _list[DataSourceParameter] immutable: bool + maxListSize: str maxValue: float minValue: float paramId: str diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi index 54122e31..fcb991e3 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi @@ -15,8 +15,12 @@ class Assignment(typing_extensions.TypedDict, total=False): "ML_EXTERNAL", "BACKGROUND", "CONTINUOUS", + "BACKGROUND_CHANGE_DATA_CAPTURE", + "BACKGROUND_COLUMN_METADATA_INDEX", + "BACKGROUND_SEARCH_INDEX_REFRESH", ] name: str + schedulingPolicy: SchedulingPolicy state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] @typing.type_check_only @@ -165,6 +169,7 @@ class Reservation(typing_extensions.TypedDict, total=False): scalingMode: typing_extensions.Literal[ "SCALING_MODE_UNSPECIFIED", "AUTOSCALE_ONLY", "IDLE_SLOTS_ONLY", "ALL_SLOTS" ] + schedulingPolicy: SchedulingPolicy secondaryLocation: str slotCapacity: str updateTime: str @@ -173,6 +178,11 @@ class Reservation(typing_extensions.TypedDict, total=False): class ReservationGroup(typing_extensions.TypedDict, total=False): name: str +@typing.type_check_only +class SchedulingPolicy(typing_extensions.TypedDict, total=False): + concurrency: str + maxSlots: str + @typing.type_check_only class SearchAllAssignmentsResponse(typing_extensions.TypedDict, total=False): assignments: _list[Assignment] diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi index 67604cbf..5e20efe9 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi @@ -26,6 +26,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -36,8 +37,6 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... - 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 projects(self) -> ProjectsResource: ... @@ -282,7 +281,13 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): self, *, name: str, etag: str = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "VIEW_UNSPECIFIED", "SCHEMA_VIEW", "REPLICATION_VIEW", "FULL" + ] = ..., + **kwargs: typing.Any, ) -> MaterializedViewHttpRequest: ... def getIamPolicy( self, @@ -297,6 +302,9 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "VIEW_UNSPECIFIED", "SCHEMA_VIEW", "REPLICATION_VIEW", "FULL" + ] = ..., **kwargs: typing.Any, ) -> ListMaterializedViewsResponseHttpRequest: ... def list_next( @@ -427,6 +435,12 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "SCHEMA_BUNDLE_VIEW_UNSPECIFIED", + "NAME_ONLY", + "BASIC", + "FULL", + ] = ..., **kwargs: typing.Any, ) -> ListSchemaBundlesResponseHttpRequest: ... def list_next( @@ -641,9 +655,6 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> LocationHttpRequest: ... def list( self, *, @@ -838,14 +849,6 @@ class ListTablesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListTablesResponse: ... -@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 LogicalViewHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi index 64394953..eb559c51 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi @@ -172,7 +172,9 @@ class CreateAuthorizedViewRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CreateBackupMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str name: str + requestTime: str sourceTable: str startTime: str @@ -205,7 +207,9 @@ class CreateInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CreateLogicalViewMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str originalRequest: CreateLogicalViewRequest + requestTime: str startTime: str @typing.type_check_only @@ -217,7 +221,9 @@ class CreateLogicalViewRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CreateMaterializedViewMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str originalRequest: CreateMaterializedViewRequest + requestTime: str startTime: str @typing.type_check_only @@ -228,9 +234,9 @@ class CreateMaterializedViewRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CreateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): - endTime: str + finishTime: str name: str - startTime: str + requestTime: str @typing.type_check_only class CreateTableRequest(typing_extensions.TypedDict, total=False): @@ -312,6 +318,14 @@ class GoogleBigtableAdminV2AuthorizedViewSubsetView( familySubsets: dict[str, typing.Any] rowPrefixes: _list[str] +@typing.type_check_only +class GoogleBigtableAdminV2MaterializedViewClusterState( + typing_extensions.TypedDict, total=False +): + replicationState: typing_extensions.Literal[ + "STATE_NOT_KNOWN", "INITIALIZING", "READY" + ] + @typing.type_check_only class GoogleBigtableAdminV2TypeAggregate(typing_extensions.TypedDict, total=False): hllppUniqueCount: GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount @@ -365,6 +379,11 @@ class GoogleBigtableAdminV2TypeBytesEncodingRaw( @typing.type_check_only class GoogleBigtableAdminV2TypeDate(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleBigtableAdminV2TypeEnum(typing_extensions.TypedDict, total=False): + enumName: str + schemaBundleId: str + @typing.type_check_only class GoogleBigtableAdminV2TypeFloat32(typing_extensions.TypedDict, total=False): ... @@ -396,6 +415,11 @@ class GoogleBigtableAdminV2TypeMap(typing_extensions.TypedDict, total=False): keyType: Type valueType: Type +@typing.type_check_only +class GoogleBigtableAdminV2TypeProto(typing_extensions.TypedDict, total=False): + messageName: str + schemaBundleId: str + @typing.type_check_only class GoogleBigtableAdminV2TypeString(typing_extensions.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeStringEncoding @@ -477,6 +501,7 @@ class Instance(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool state: typing_extensions.Literal["STATE_NOT_KNOWN", "READY", "CREATING"] + tags: dict[str, typing.Any] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT"] @typing.type_check_only @@ -535,6 +560,7 @@ class ListMaterializedViewsResponse(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 ListSchemaBundlesResponse(typing_extensions.TypedDict, total=False): @@ -563,6 +589,7 @@ class LogicalView(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaterializedView(typing_extensions.TypedDict, total=False): + clusterStates: dict[str, typing.Any] deletionProtection: bool etag: str name: str @@ -742,10 +769,12 @@ class Type(typing_extensions.TypedDict, total=False): boolType: GoogleBigtableAdminV2TypeBool bytesType: GoogleBigtableAdminV2TypeBytes dateType: GoogleBigtableAdminV2TypeDate + enumType: GoogleBigtableAdminV2TypeEnum float32Type: GoogleBigtableAdminV2TypeFloat32 float64Type: GoogleBigtableAdminV2TypeFloat64 int64Type: GoogleBigtableAdminV2TypeInt64 mapType: GoogleBigtableAdminV2TypeMap + protoType: GoogleBigtableAdminV2TypeProto stringType: GoogleBigtableAdminV2TypeString structType: GoogleBigtableAdminV2TypeStruct timestampType: GoogleBigtableAdminV2TypeTimestamp @@ -753,7 +782,9 @@ class Type(typing_extensions.TypedDict, total=False): @typing.type_check_only class UndeleteTableMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str name: str + requestTime: str startTime: str @typing.type_check_only @@ -793,7 +824,9 @@ class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateLogicalViewMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str originalRequest: UpdateLogicalViewRequest + requestTime: str startTime: str @typing.type_check_only @@ -803,12 +836,14 @@ class UpdateLogicalViewRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): - endTime: str + finishTime: str name: str - startTime: str + requestTime: str @typing.type_check_only class UpdateTableMetadata(typing_extensions.TypedDict, total=False): endTime: str + finishTime: str name: str + requestTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi index 2a54ca20..af890465 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi @@ -242,6 +242,7 @@ class CertificateManagerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi index 4e32fc27..d76719ed 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi @@ -10,6 +10,7 @@ class AllowlistedCertificate(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthorizationAttemptInfo(typing_extensions.TypedDict, total=False): + attemptTime: str details: str domain: str failureReason: typing_extensions.Literal[ @@ -18,6 +19,13 @@ class AuthorizationAttemptInfo(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "AUTHORIZING", "AUTHORIZED", "FAILED" ] + troubleshooting: Troubleshooting + +@typing.type_check_only +class CNAME(typing_extensions.TypedDict, total=False): + expectedData: str + name: str + resolvedData: _list[str] @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -110,6 +118,12 @@ class GclbTarget(typing_extensions.TypedDict, total=False): targetHttpsProxy: str targetSslProxy: str +@typing.type_check_only +class IPs(typing_extensions.TypedDict, total=False): + resolved: _list[str] + serving: _list[str] + servingOnAltPorts: _list[str] + @typing.type_check_only class IntermediateCA(typing_extensions.TypedDict, total=False): pemCertificate: str @@ -158,6 +172,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 ListTrustConfigsResponse(typing_extensions.TypedDict, total=False): @@ -220,6 +235,21 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class Troubleshooting(typing_extensions.TypedDict, total=False): + cname: CNAME + ips: IPs + issues: _list[ + typing_extensions.Literal[ + "ISSUE_UNSPECIFIED", + "CNAME_MISMATCH", + "RESOLVED_TO_NOT_SERVING", + "RESOLVED_TO_SERVING_ON_ALT_PORTS", + "NO_RESOLVED_IPS", + "CERTIFICATE_NOT_ATTACHED", + ] + ] + @typing.type_check_only class TrustAnchor(typing_extensions.TypedDict, total=False): pemCertificate: str diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index f55fb1e4..ff9a2dab 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -108,6 +108,11 @@ class Button(typing_extensions.TypedDict, total=False): imageButton: ImageButton textButton: TextButton +@typing.type_check_only +class CalendarEventLinkData(typing_extensions.TypedDict, total=False): + calendarId: str + eventId: str + @typing.type_check_only class Card(typing_extensions.TypedDict, total=False): cardActions: _list[CardAction] @@ -330,6 +335,7 @@ class GoogleAppsCardV1Card(typing_extensions.TypedDict, total=False): displayStyle: typing_extensions.Literal[ "DISPLAY_STYLE_UNSPECIFIED", "PEEK", "REPLACE" ] + expressionData: _list[GoogleAppsCardV1ExpressionData] fixedFooter: GoogleAppsCardV1CardFixedFooter header: GoogleAppsCardV1CardHeader name: str @@ -409,8 +415,23 @@ class GoogleAppsCardV1Column(typing_extensions.TypedDict, total=False): class GoogleAppsCardV1Columns(typing_extensions.TypedDict, total=False): columnItems: _list[GoogleAppsCardV1Column] +@typing.type_check_only +class GoogleAppsCardV1CommonWidgetAction(typing_extensions.TypedDict, total=False): + updateVisibilityAction: GoogleAppsCardV1UpdateVisibilityAction + +@typing.type_check_only +class GoogleAppsCardV1Condition(typing_extensions.TypedDict, total=False): + actionRuleId: str + expressionDataCondition: GoogleAppsCardV1ExpressionDataCondition + +@typing.type_check_only +class GoogleAppsCardV1DataSourceConfig(typing_extensions.TypedDict, total=False): + platformDataSource: GoogleAppsCardV1PlatformDataSource + remoteDataSource: GoogleAppsCardV1Action + @typing.type_check_only class GoogleAppsCardV1DateTimePicker(typing_extensions.TypedDict, total=False): + hostAppDataSource: HostAppDataSourceMarkup label: str name: str onChangeAction: GoogleAppsCardV1Action @@ -421,19 +442,46 @@ class GoogleAppsCardV1DateTimePicker(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleAppsCardV1DecoratedText(typing_extensions.TypedDict, total=False): bottomLabel: str + bottomLabelText: GoogleAppsCardV1TextParagraph button: GoogleAppsCardV1Button + contentText: GoogleAppsCardV1TextParagraph endIcon: GoogleAppsCardV1Icon icon: GoogleAppsCardV1Icon onClick: GoogleAppsCardV1OnClick startIcon: GoogleAppsCardV1Icon + startIconVerticalAlignment: typing_extensions.Literal[ + "VERTICAL_ALIGNMENT_UNSPECIFIED", "TOP", "MIDDLE", "BOTTOM" + ] switchControl: GoogleAppsCardV1SwitchControl text: str topLabel: str + topLabelText: GoogleAppsCardV1TextParagraph wrapText: bool @typing.type_check_only class GoogleAppsCardV1Divider(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleAppsCardV1EventAction(typing_extensions.TypedDict, total=False): + actionRuleId: str + commonWidgetAction: GoogleAppsCardV1CommonWidgetAction + postEventTriggers: _list[GoogleAppsCardV1Trigger] + +@typing.type_check_only +class GoogleAppsCardV1ExpressionData(typing_extensions.TypedDict, total=False): + conditions: _list[GoogleAppsCardV1Condition] + eventActions: _list[GoogleAppsCardV1EventAction] + expression: str + id: str + +@typing.type_check_only +class GoogleAppsCardV1ExpressionDataCondition(typing_extensions.TypedDict, total=False): + conditionType: typing_extensions.Literal[ + "CONDITION_TYPE_UNSPECIFIED", + "EXPRESSION_EVALUATION_SUCCESS", + "EXPRESSION_EVALUATION_FAILURE", + ] + @typing.type_check_only class GoogleAppsCardV1Grid(typing_extensions.TypedDict, total=False): borderStyle: GoogleAppsCardV1BorderStyle @@ -532,11 +580,13 @@ class GoogleAppsCardV1Section(typing_extensions.TypedDict, total=False): collapseControl: GoogleAppsCardV1CollapseControl collapsible: bool header: str + id: str uncollapsibleWidgetsCount: int widgets: _list[GoogleAppsCardV1Widget] @typing.type_check_only class GoogleAppsCardV1SelectionInput(typing_extensions.TypedDict, total=False): + dataSourceConfigs: _list[GoogleAppsCardV1DataSourceConfig] externalDataSource: GoogleAppsCardV1Action hintText: str items: _list[GoogleAppsCardV1SelectionItem] @@ -578,6 +628,7 @@ class GoogleAppsCardV1SwitchControl(typing_extensions.TypedDict, total=False): class GoogleAppsCardV1TextInput(typing_extensions.TypedDict, total=False): autoCompleteAction: GoogleAppsCardV1Action hintText: str + hostAppDataSource: HostAppDataSourceMarkup initialSuggestions: GoogleAppsCardV1Suggestions label: str name: str @@ -591,6 +642,15 @@ class GoogleAppsCardV1TextInput(typing_extensions.TypedDict, total=False): class GoogleAppsCardV1TextParagraph(typing_extensions.TypedDict, total=False): maxLines: int text: str + textSyntax: typing_extensions.Literal["TEXT_SYNTAX_UNSPECIFIED", "HTML", "MARKDOWN"] + +@typing.type_check_only +class GoogleAppsCardV1Trigger(typing_extensions.TypedDict, total=False): + actionRuleId: str + +@typing.type_check_only +class GoogleAppsCardV1UpdateVisibilityAction(typing_extensions.TypedDict, total=False): + visibility: typing_extensions.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] @typing.type_check_only class GoogleAppsCardV1Validation(typing_extensions.TypedDict, total=False): @@ -608,14 +668,17 @@ class GoogleAppsCardV1Widget(typing_extensions.TypedDict, total=False): dateTimePicker: GoogleAppsCardV1DateTimePicker decoratedText: GoogleAppsCardV1DecoratedText divider: GoogleAppsCardV1Divider + eventActions: _list[GoogleAppsCardV1EventAction] grid: GoogleAppsCardV1Grid horizontalAlignment: typing_extensions.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] + id: str image: GoogleAppsCardV1Image selectionInput: GoogleAppsCardV1SelectionInput textInput: GoogleAppsCardV1TextInput textParagraph: GoogleAppsCardV1TextParagraph + visibility: typing_extensions.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] @typing.type_check_only class GoogleAppsCardV1Widgets(typing_extensions.TypedDict, total=False): @@ -635,6 +698,7 @@ class Group(typing_extensions.TypedDict, total=False): @typing.type_check_only class HostAppDataSourceMarkup(typing_extensions.TypedDict, total=False): chatDataSource: ChatClientDataSourceMarkup + workflowDataSource: WorkflowDataSourceMarkup @typing.type_check_only class Image(typing_extensions.TypedDict, total=False): @@ -769,6 +833,14 @@ class MatchedUrl(typing_extensions.TypedDict, total=False): class Media(typing_extensions.TypedDict, total=False): resourceName: str +@typing.type_check_only +class MeetSpaceLinkData(typing_extensions.TypedDict, total=False): + huddleStatus: typing_extensions.Literal[ + "HUDDLE_STATUS_UNSPECIFIED", "STARTED", "ENDED", "MISSED" + ] + meetingCode: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MEETING", "HUDDLE"] + @typing.type_check_only class Membership(typing_extensions.TypedDict, total=False): createTime: str @@ -919,10 +991,16 @@ class ReactionDeletedEventData(typing_extensions.TypedDict, total=False): @typing.type_check_only class RichLinkMetadata(typing_extensions.TypedDict, total=False): + calendarEventLinkData: CalendarEventLinkData chatSpaceLinkData: ChatSpaceLinkData driveLinkData: DriveLinkData + meetSpaceLinkData: MeetSpaceLinkData richLinkType: typing_extensions.Literal[ - "RICH_LINK_TYPE_UNSPECIFIED", "DRIVE_FILE", "CHAT_SPACE" + "RICH_LINK_TYPE_UNSPECIFIED", + "DRIVE_FILE", + "CHAT_SPACE", + "MEET_SPACE", + "CALENDAR_EVENT", ] uri: str @@ -964,6 +1042,7 @@ class Space(typing_extensions.TypedDict, total=False): accessSettings: AccessSettings adminInstalled: bool createTime: str + customer: str displayName: str externalUserAllowed: bool importMode: bool @@ -1126,3 +1205,8 @@ class WidgetMarkup(typing_extensions.TypedDict, total=False): image: Image keyValue: KeyValue textParagraph: TextParagraph + +@typing.type_check_only +class WorkflowDataSourceMarkup(typing_extensions.TypedDict, total=False): + includeVariables: bool + type: typing_extensions.Literal["UNKNOWN", "USER", "SPACE", "USER_WITH_FREE_FORM"] diff --git a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi index 094f6d18..f2e6e49d 100644 --- a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi @@ -39,6 +39,7 @@ class ChecksServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi index 1719a962..0f86b12e 100644 --- a/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi @@ -770,6 +770,7 @@ class GoogleChecksReportV1alphaSdk(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/chromemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi index facb1477..18f7e500 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi @@ -94,6 +94,51 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): def chrome(self) -> ChromeResource: ... def web(self) -> WebResource: ... + @typing.type_check_only + class CertificateProvisioningProcessesResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def claim( + self, + *, + name: str, + body: GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleChromeManagementVersionsV1CertificateProvisioningProcessHttpRequest: ... + def setFailure( + self, + *, + name: str, + body: GoogleChromeManagementVersionsV1SetFailureRequest = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementVersionsV1SetFailureResponseHttpRequest: ... + def signData( + self, + *, + name: str, + body: GoogleChromeManagementVersionsV1SignDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def uploadCertificate( + self, + *, + name: str, + body: GoogleChromeManagementVersionsV1UploadCertificateRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleChromeManagementVersionsV1UploadCertificateResponseHttpRequest + ): ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class ProfilesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -415,10 +460,52 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): def notificationConfigs(self) -> NotificationConfigsResource: ... def users(self) -> UsersResource: ... + @typing.type_check_only + class ThirdPartyProfileUsersResource(googleapiclient.discovery.Resource): + def move( + self, + *, + name: str, + body: GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponseHttpRequest: ... + def apps(self) -> AppsResource: ... + def certificateProvisioningProcesses( + self, + ) -> CertificateProvisioningProcessesResource: ... def profiles(self) -> ProfilesResource: ... def reports(self) -> ReportsResource: ... def telemetry(self) -> TelemetryResource: ... + def thirdPartyProfileUsers(self) -> ThirdPartyProfileUsersResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: GoogleLongrunningCancelOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 new_batch_http_request( self, @@ -433,6 +520,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def customers(self) -> CustomersResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class GoogleChromeManagementV1AppDetailsHttpRequest(googleapiclient.http.HttpRequest): @@ -654,6 +742,16 @@ class GoogleChromeManagementV1TelemetryUserHttpRequest( num_retries: int = 0, ) -> GoogleChromeManagementV1TelemetryUser: ... +@typing.type_check_only +class GoogleChromeManagementVersionsV1CertificateProvisioningProcessHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1CertificateProvisioningProcess: ... + @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeBrowserProfileHttpRequest( googleapiclient.http.HttpRequest @@ -674,6 +772,18 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandHttpRequest( num_retries: int = 0, ) -> GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand: ... +@typing.type_check_only +class GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ( + GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse + ): ... + @typing.type_check_only class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -694,6 +804,54 @@ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponseHttpReque num_retries: int = 0, ) -> GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse: ... +@typing.type_check_only +class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse: ... + +@typing.type_check_only +class GoogleChromeManagementVersionsV1SetFailureResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1SetFailureResponse: ... + +@typing.type_check_only +class GoogleChromeManagementVersionsV1UploadCertificateResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1UploadCertificateResponse: ... + +@typing.type_check_only +class GoogleLongrunningListOperationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> 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 GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi index 0a666902..0bed19d7 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi @@ -601,8 +601,12 @@ class GoogleChromeManagementV1NetworkStatusReport( ] encryptionOn: bool gatewayIpAddress: str + gatewayIpv6Address: str guid: str + ipv6Address: _list[str] lanIpAddress: str + linkDownSpeedKbps: str + metered: bool receivingBitRateMbps: str reportTime: str sampleFrequency: str @@ -948,7 +952,10 @@ class GoogleChromeManagementV1TelemetryEvent(typing_extensions.TypedDict, total= "APP_UNINSTALLED", "APP_LAUNCHED", "OS_CRASH", + "EXTERNAL_DISPLAY_CONNECTED", + "EXTERNAL_DISPLAY_DISCONNECTED", ] + externalDisplaysEvent: GoogleChromeManagementV1TelemetryExternalDisplayEvent httpsLatencyChangeEvent: GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent name: str networkStateChangeEvent: ( @@ -982,9 +989,28 @@ class GoogleChromeManagementV1TelemetryEventNotificationFilter( "APP_UNINSTALLED", "APP_LAUNCHED", "OS_CRASH", + "EXTERNAL_DISPLAY_CONNECTED", + "EXTERNAL_DISPLAY_DISCONNECTED", ] ] +@typing.type_check_only +class GoogleChromeManagementV1TelemetryExternalDisplayData( + typing_extensions.TypedDict, total=False +): + displayName: str + edidVersion: str + refreshRate: str + resolutionHorizontal: int + resolutionVertical: int + serialNumber: int + +@typing.type_check_only +class GoogleChromeManagementV1TelemetryExternalDisplayEvent( + typing_extensions.TypedDict, total=False +): + externalDisplayData: _list[GoogleChromeManagementV1TelemetryExternalDisplayData] + @typing.type_check_only class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent( typing_extensions.TypedDict, total=False @@ -1181,10 +1207,14 @@ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess( issuedCertificate: str name: str provisioningProfileId: str + scepCaConnection: GoogleChromeManagementVersionsV1ScepCaConnection + scepProfile: GoogleChromeManagementVersionsV1ScepProfile signData: str signature: str signatureAlgorithm: typing_extensions.Literal[ - "SIGNATURE_ALGORITHM_UNSPECIFIED", "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256" + "SIGNATURE_ALGORITHM_UNSPECIFIED", + "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", + "SIGNATURE_ALGORITHM_ECDSA_SHA256", ] startTime: str subjectPublicKeyInfo: str @@ -1228,6 +1258,7 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfile( profileId: str profilePermanentId: str reportingData: GoogleChromeManagementVersionsV1ReportingData + supportsFcmNotifications: bool userEmail: str userId: str @@ -1272,6 +1303,17 @@ class GoogleChromeManagementVersionsV1ChromeOsUserSession( userDirectoryApiId: str userPrimaryEmail: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest( + typing_extensions.TypedDict, total=False +): + callerInstanceId: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleChromeManagementVersionsV1DeviceInfo( typing_extensions.TypedDict, total=False @@ -1311,6 +1353,18 @@ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse( nextPageToken: str totalSize: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest( + typing_extensions.TypedDict, total=False +): + destinationOrgUnit: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse( + typing_extensions.TypedDict, total=False +): + thirdPartyProfileUser: GoogleChromeManagementVersionsV1ThirdPartyProfileUser + @typing.type_check_only class GoogleChromeManagementVersionsV1ReportingData( typing_extensions.TypedDict, total=False @@ -1388,12 +1442,58 @@ class GoogleChromeManagementVersionsV1ReportingDataPolicyData( ] value: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1ScepCaConnection( + typing_extensions.TypedDict, total=False +): + caConnectionAdapterConfigReference: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ScepProfile( + typing_extensions.TypedDict, total=False +): + certificateTemplateName: str + country: str + keyUsages: _list[ + typing_extensions.Literal[ + "KEY_USAGE_UNSPECIFIED", "KEY_USAGE_SIGNING", "KEY_USAGE_KEY_ENCIPHERMENT" + ] + ] + locality: str + organization: str + organizationalUnits: _list[str] + state: str + subjectAltNames: _list[GoogleChromeManagementVersionsV1SubjectAltName] + subjectCommonName: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1SetFailureRequest( + typing_extensions.TypedDict, total=False +): + errorMessage: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1SetFailureResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleChromeManagementVersionsV1SignDataMetadata( typing_extensions.TypedDict, total=False ): startTime: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1SignDataRequest( + typing_extensions.TypedDict, total=False +): + signData: str + signatureAlgorithm: typing_extensions.Literal[ + "SIGNATURE_ALGORITHM_UNSPECIFIED", + "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", + "SIGNATURE_ALGORITHM_ECDSA_SHA256", + ] + @typing.type_check_only class GoogleChromeManagementVersionsV1SignDataResponse( typing_extensions.TypedDict, total=False @@ -1402,6 +1502,56 @@ class GoogleChromeManagementVersionsV1SignDataResponse( GoogleChromeManagementVersionsV1CertificateProvisioningProcess ) +@typing.type_check_only +class GoogleChromeManagementVersionsV1SubjectAltName( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "SUBJECT_ALT_NAME_TYPE_UNSPECIFIED", + "RFC822_NAME", + "DNS_NAME", + "OTHER_NAME_USER_PRINCIPAL_NAME", + "UNIFORM_RESOURCE_IDENTIFIER", + ] + value: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ThirdPartyProfileUser( + typing_extensions.TypedDict, total=False +): + name: str + orgUnitId: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1UploadCertificateRequest( + typing_extensions.TypedDict, total=False +): + certificatePem: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1UploadCertificateResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleLongrunningCancelOperationRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +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): + done: bool + error: GoogleRpcStatus + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/chromewebstore/__init__.pyi b/googleapiclient-stubs/_apis/chromewebstore/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/chromewebstore/v1_1/__init__.pyi b/googleapiclient-stubs/_apis/chromewebstore/v1_1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/v1_1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi b/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi new file mode 100644 index 00000000..d3df8194 --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi @@ -0,0 +1,70 @@ +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 ItemsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + itemId: str, + projection: typing_extensions.Literal["DRAFT", "PUBLISHED"] = ..., + **kwargs: typing.Any, + ) -> ItemHttpRequest: ... + def insert( + self, *, publisherEmail: str = ..., **kwargs: typing.Any + ) -> ItemHttpRequest: ... + def publish( + self, + *, + itemId: str, + body: PublishRequest = ..., + deployPercentage: int = ..., + publishTarget: str = ..., + reviewExemption: bool = ..., + **kwargs: typing.Any, + ) -> Item2HttpRequest: ... + def update( + self, *, itemId: str, body: Item = ..., **kwargs: typing.Any + ) -> ItemHttpRequest: ... + + 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 items(self) -> ItemsResource: ... + +@typing.type_check_only +class ItemHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Item: ... + +@typing.type_check_only +class Item2HttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Item2: ... diff --git a/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi b/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi new file mode 100644 index 00000000..b4a3b672 --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi @@ -0,0 +1,32 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Item(typing_extensions.TypedDict, total=False): + crxVersion: str + id: str + itemError: _list[ItemError] + kind: str + publicKey: str + uploadState: str + +@typing.type_check_only +class Item2(typing_extensions.TypedDict, total=False): + item_id: str + kind: str + status: _list[str] + statusDetail: _list[str] + +@typing.type_check_only +class ItemError(typing_extensions.TypedDict, total=False): + error_code: str + error_detail: str + +@typing.type_check_only +class PublishRequest(typing_extensions.TypedDict, total=False): + deployPercentage: int + reviewExemption: bool + target: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi index 5db2d68c..e8b22922 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi @@ -72,6 +72,7 @@ class Asset(typing_extensions.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] + assetExceptions: _list[AssetException] assetType: str iamPolicy: Policy name: str @@ -87,6 +88,11 @@ class Asset(typing_extensions.TypedDict, total=False): class AssetEnrichment(typing_extensions.TypedDict, total=False): resourceOwners: ResourceOwners +@typing.type_check_only +class AssetException(typing_extensions.TypedDict, total=False): + details: str + exceptionType: typing_extensions.Literal["EXCEPTION_TYPE_UNSPECIFIED", "TRUNCATION"] + @typing.type_check_only class AttachedResource(typing_extensions.TypedDict, total=False): assetType: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi index a626c07f..6b7d551b 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi @@ -936,6 +936,7 @@ class WebhookConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkerConfig(typing_extensions.TypedDict, total=False): diskSizeGb: str + enableNestedVirtualization: bool machineType: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi index f1163210..5d5473d8 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi @@ -50,11 +50,6 @@ class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class Capabilities(typing_extensions.TypedDict, total=False): - add: _list[str] - drop: _list[str] - @typing.type_check_only class ChildStatusReference(typing_extensions.TypedDict, total=False): name: str @@ -436,7 +431,6 @@ class Security(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityContext(typing_extensions.TypedDict, total=False): allowPrivilegeEscalation: bool - capabilities: Capabilities privileged: bool runAsGroup: str runAsNonRoot: bool diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi index 07260c36..8d5983f0 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi @@ -614,6 +614,7 @@ class CloudchannelResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi index 210c2ace..df7ea8ae 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi @@ -241,6 +241,19 @@ class GoogleCloudChannelV1DateRange(typing_extensions.TypedDict, total=False): usageEndDateTime: GoogleTypeDateTime usageStartDateTime: GoogleTypeDateTime +@typing.type_check_only +class GoogleCloudChannelV1DiscountComponent(typing_extensions.TypedDict, total=False): + discountAbsolute: GoogleTypeMoney + discountPercentage: float + discountType: typing_extensions.Literal[ + "DISCOUNT_TYPE_UNSPECIFIED", + "REGIONAL_DISCOUNT", + "PROMOTIONAL_DISCOUNT", + "SALES_DISCOUNT", + "RESELLER_MARGIN", + "DEAL_CODE", + ] + @typing.type_check_only class GoogleCloudChannelV1EduData(typing_extensions.TypedDict, total=False): instituteSize: typing_extensions.Literal[ @@ -615,8 +628,10 @@ class GoogleCloudChannelV1Plan(typing_extensions.TypedDict, total=False): class GoogleCloudChannelV1Price(typing_extensions.TypedDict, total=False): basePrice: GoogleTypeMoney discount: float + discountComponents: _list[GoogleCloudChannelV1DiscountComponent] effectivePrice: GoogleTypeMoney externalPriceUri: str + pricePeriod: GoogleCloudChannelV1Period @typing.type_check_only class GoogleCloudChannelV1PriceByResource(typing_extensions.TypedDict, total=False): @@ -1160,6 +1175,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/cloudcommerceprocurement/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi index 68602095..d64ac1cc 100644 --- a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi @@ -26,7 +26,17 @@ class CloudCommercePartnerProcurementServiceResource( body: ApproveAccountRequest = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... - def get(self, *, name: str, **kwargs: typing.Any) -> AccountHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "ACCOUNT_VIEW_UNSPECIFIED", + "ACCOUNT_VIEW_BASIC", + "ACCOUNT_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> AccountHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi index 1b535ebb..19e633fb 100644 --- a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi @@ -11,6 +11,7 @@ class Account(typing_extensions.TypedDict, total=False): inputProperties: dict[str, typing.Any] name: str provider: str + resellerParentBillingAccount: str state: typing_extensions.Literal[ "ACCOUNT_STATE_UNSPECIFIED", "ACCOUNT_ACTIVATION_REQUESTED", "ACCOUNT_ACTIVE" ] @@ -37,6 +38,7 @@ class ApproveEntitlementPlanChangeRequest(typing_extensions.TypedDict, total=Fal @typing.type_check_only class ApproveEntitlementRequest(typing_extensions.TypedDict, total=False): + entitlementMigrated: str properties: dict[str, typing.Any] @typing.type_check_only @@ -49,15 +51,22 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Entitlement(typing_extensions.TypedDict, total=False): account: str + cancellationReason: str consumers: _list[Consumer] createTime: str + entitlementBenefitIds: _list[str] inputProperties: dict[str, typing.Any] messageToUser: str name: str + newOfferEndTime: str + newOfferStartTime: str newPendingOffer: str + newPendingOfferDuration: str newPendingPlan: str offer: str + offerDuration: str offerEndTime: str + orderId: str plan: str product: str productExternalName: str diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi index 37c1a129..21730d0f 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi @@ -472,6 +472,7 @@ class CloudDeployResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi index 69e22da2..fb84764e 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi @@ -632,6 +632,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 ListReleasesResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi index f3208801..add72a14 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi @@ -23,6 +23,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi index ee8e1c24..d4ba79ba 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi @@ -150,6 +150,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/cloudfunctions/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi index fc2668ae..579b4ab2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi @@ -146,6 +146,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index f9ed3ff1..dedc5ca9 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -205,6 +205,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): @@ -389,6 +390,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): upgradeState: typing_extensions.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi index fc2668ae..579b4ab2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi @@ -146,6 +146,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi index 575a7f03..508af137 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi @@ -209,6 +209,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): @@ -393,6 +394,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): upgradeState: typing_extensions.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi index fc2668ae..579b4ab2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi @@ -146,6 +146,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi index f770b176..964ee3e3 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi @@ -209,6 +209,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): @@ -393,6 +394,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): upgradeState: typing_extensions.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi index 007b3e4d..57fa65fc 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi @@ -145,8 +145,10 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): *, parent: str, androidId: str = ..., + iosDeviceId: str = ..., pageSize: int = ..., pageToken: str = ..., + partner: str = ..., rawResourceId: str = ..., userId: str = ..., **kwargs: typing.Any, @@ -379,6 +381,39 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def memberships(self) -> MembershipsResource: ... + @typing.type_check_only + class InboundOidcSsoProfilesResource(googleapiclient.discovery.Resource): + def create( + self, *, body: InboundOidcSsoProfile = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> InboundOidcSsoProfileHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInboundOidcSsoProfilesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInboundOidcSsoProfilesResponseHttpRequest, + previous_response: ListInboundOidcSsoProfilesResponse, + ) -> ListInboundOidcSsoProfilesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InboundOidcSsoProfile = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class InboundSamlSsoProfilesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -507,6 +542,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): def customers(self) -> CustomersResource: ... def devices(self) -> DevicesResource: ... def groups(self) -> GroupsResource: ... + def inboundOidcSsoProfiles(self) -> InboundOidcSsoProfilesResource: ... def inboundSamlSsoProfiles(self) -> InboundSamlSsoProfilesResource: ... def inboundSsoAssignments(self) -> InboundSsoAssignmentsResource: ... def policies(self) -> PoliciesResource: ... @@ -605,6 +641,14 @@ class IdpCredentialHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> IdpCredential: ... +@typing.type_check_only +class InboundOidcSsoProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InboundOidcSsoProfile: ... + @typing.type_check_only class InboundSamlSsoProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -645,6 +689,14 @@ class ListIdpCredentialsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListIdpCredentialsResponse: ... +@typing.type_check_only +class ListInboundOidcSsoProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInboundOidcSsoProfilesResponse: ... + @typing.type_check_only class ListInboundSamlSsoProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi index fe4a5dd3..e1dbe904 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi @@ -22,6 +22,12 @@ class CheckTransitiveMembershipResponse(typing_extensions.TypedDict, total=False @typing.type_check_only class CreateGroupMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CreateInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): + state: str + @typing.type_check_only class CreateInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False @@ -44,6 +50,11 @@ class DeleteIdpCredentialOperationMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class DeleteInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class DeleteInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False @@ -508,6 +519,14 @@ class IdpCredential(typing_extensions.TypedDict, total=False): rsaKeyInfo: RsaPublicKeyInfo updateTime: str +@typing.type_check_only +class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): + customer: str + displayName: str + idpConfig: OidcIdpConfig + name: str + rpConfig: OidcRpConfig + @typing.type_check_only class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): customer: str @@ -520,11 +539,16 @@ class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): class InboundSsoAssignment(typing_extensions.TypedDict, total=False): customer: str name: str + oidcSsoInfo: OidcSsoInfo rank: int samlSsoInfo: SamlSsoInfo signInBehavior: SignInBehavior ssoMode: typing_extensions.Literal[ - "SSO_MODE_UNSPECIFIED", "SSO_OFF", "SAML_SSO", "DOMAIN_WIDE_SAML_IF_ENABLED" + "SSO_MODE_UNSPECIFIED", + "SSO_OFF", + "SAML_SSO", + "OIDC_SSO", + "DOMAIN_WIDE_SAML_IF_ENABLED", ] targetGroup: str targetOrgUnit: str @@ -543,6 +567,11 @@ class ListIdpCredentialsResponse(typing_extensions.TypedDict, total=False): idpCredentials: _list[IdpCredential] nextPageToken: str +@typing.type_check_only +class ListInboundOidcSsoProfilesResponse(typing_extensions.TypedDict, total=False): + inboundOidcSsoProfiles: _list[InboundOidcSsoProfile] + nextPageToken: str + @typing.type_check_only class ListInboundSamlSsoProfilesResponse(typing_extensions.TypedDict, total=False): inboundSamlSsoProfiles: _list[InboundSamlSsoProfile] @@ -656,6 +685,21 @@ class ModifyMembershipRolesRequest(typing_extensions.TypedDict, total=False): class ModifyMembershipRolesResponse(typing_extensions.TypedDict, total=False): membership: Membership +@typing.type_check_only +class OidcIdpConfig(typing_extensions.TypedDict, total=False): + changePasswordUri: str + issuerUri: str + +@typing.type_check_only +class OidcRpConfig(typing_extensions.TypedDict, total=False): + clientId: str + clientSecret: str + redirectUris: _list[str] + +@typing.type_check_only +class OidcSsoInfo(typing_extensions.TypedDict, total=False): + inboundOidcSsoProfile: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -765,6 +809,12 @@ class TransitiveMembershipRole(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateGroupMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UpdateInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): + state: str + @typing.type_check_only class UpdateInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi index a56efc0d..e5612e7c 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi @@ -122,8 +122,10 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): *, parent: str, androidId: str = ..., + iosDeviceId: str = ..., pageSize: int = ..., pageToken: str = ..., + partner: str = ..., rawResourceId: str = ..., userId: str = ..., **kwargs: typing.Any, @@ -342,6 +344,39 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def memberships(self) -> MembershipsResource: ... + @typing.type_check_only + class InboundOidcSsoProfilesResource(googleapiclient.discovery.Resource): + def create( + self, *, body: InboundOidcSsoProfile = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> InboundOidcSsoProfileHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInboundOidcSsoProfilesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInboundOidcSsoProfilesResponseHttpRequest, + previous_response: ListInboundOidcSsoProfilesResponse, + ) -> ListInboundOidcSsoProfilesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InboundOidcSsoProfile = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class InboundSamlSsoProfilesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -499,6 +534,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): def customers(self) -> CustomersResource: ... def devices(self) -> DevicesResource: ... def groups(self) -> GroupsResource: ... + def inboundOidcSsoProfiles(self) -> InboundOidcSsoProfilesResource: ... def inboundSamlSsoProfiles(self) -> InboundSamlSsoProfilesResource: ... def inboundSsoAssignments(self) -> InboundSsoAssignmentsResource: ... def orgUnits(self) -> OrgUnitsResource: ... @@ -552,6 +588,14 @@ class IdpCredentialHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> IdpCredential: ... +@typing.type_check_only +class InboundOidcSsoProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InboundOidcSsoProfile: ... + @typing.type_check_only class InboundSamlSsoProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -608,6 +652,14 @@ class ListIdpCredentialsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListIdpCredentialsResponse: ... +@typing.type_check_only +class ListInboundOidcSsoProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInboundOidcSsoProfilesResponse: ... + @typing.type_check_only class ListInboundSamlSsoProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi index 31bd52a9..9fd86e7a 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi @@ -153,6 +153,12 @@ class CreateDeviceRequest(typing_extensions.TypedDict, total=False): customer: str device: Device +@typing.type_check_only +class CreateInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): + state: str + @typing.type_check_only class CreateInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False @@ -175,6 +181,11 @@ class DeleteIdpCredentialOperationMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class DeleteInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class DeleteInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False @@ -670,6 +681,14 @@ class IdpCredential(typing_extensions.TypedDict, total=False): rsaKeyInfo: RsaPublicKeyInfo updateTime: str +@typing.type_check_only +class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): + customer: str + displayName: str + idpConfig: OidcIdpConfig + name: str + rpConfig: OidcRpConfig + @typing.type_check_only class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): customer: str @@ -682,11 +701,16 @@ class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): class InboundSsoAssignment(typing_extensions.TypedDict, total=False): customer: str name: str + oidcSsoInfo: OidcSsoInfo rank: int samlSsoInfo: SamlSsoInfo signInBehavior: SignInBehavior ssoMode: typing_extensions.Literal[ - "SSO_MODE_UNSPECIFIED", "SSO_OFF", "SAML_SSO", "DOMAIN_WIDE_SAML_IF_ENABLED" + "SSO_MODE_UNSPECIFIED", + "SSO_OFF", + "SAML_SSO", + "OIDC_SSO", + "DOMAIN_WIDE_SAML_IF_ENABLED", ] targetGroup: str targetOrgUnit: str @@ -720,6 +744,11 @@ class ListIdpCredentialsResponse(typing_extensions.TypedDict, total=False): idpCredentials: _list[IdpCredential] nextPageToken: str +@typing.type_check_only +class ListInboundOidcSsoProfilesResponse(typing_extensions.TypedDict, total=False): + inboundOidcSsoProfiles: _list[InboundOidcSsoProfile] + nextPageToken: str + @typing.type_check_only class ListInboundSamlSsoProfilesResponse(typing_extensions.TypedDict, total=False): inboundSamlSsoProfiles: _list[InboundSamlSsoProfile] @@ -850,6 +879,21 @@ class MoveOrgMembershipRequest(typing_extensions.TypedDict, total=False): customer: str destinationOrgUnit: str +@typing.type_check_only +class OidcIdpConfig(typing_extensions.TypedDict, total=False): + changePasswordUri: str + issuerUri: str + +@typing.type_check_only +class OidcRpConfig(typing_extensions.TypedDict, total=False): + clientId: str + clientSecret: str + redirectUris: _list[str] + +@typing.type_check_only +class OidcSsoInfo(typing_extensions.TypedDict, total=False): + inboundOidcSsoProfile: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -969,6 +1013,12 @@ class Status(typing_extensions.TypedDict, total=False): class TransitiveMembershipRole(typing_extensions.TypedDict, total=False): role: str +@typing.type_check_only +class UpdateInboundOidcSsoProfileOperationMetadata( + typing_extensions.TypedDict, total=False +): + state: str + @typing.type_check_only class UpdateInboundSamlSsoProfileOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index e255126e..54f99d73 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -196,6 +196,13 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: CryptoKeyVersion = ..., **kwargs: typing.Any, ) -> CryptoKeyVersionHttpRequest: ... + def decapsulate( + self, + *, + name: str, + body: DecapsulateRequest = ..., + **kwargs: typing.Any, + ) -> DecapsulateResponseHttpRequest: ... def destroy( self, *, @@ -211,7 +218,11 @@ class CloudKMSResource(googleapiclient.discovery.Resource): *, name: str, publicKeyFormat: typing_extensions.Literal[ - "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "NIST_PQC" + "PUBLIC_KEY_FORMAT_UNSPECIFIED", + "PEM", + "DER", + "NIST_PQC", + "XWING_RAW_BYTES", ] = ..., **kwargs: typing.Any, ) -> PublicKeyHttpRequest: ... @@ -514,6 +525,9 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def keyRings(self) -> KeyRingsResource: ... def operations(self) -> OperationsResource: ... + def getAutokeyConfig( + self, *, name: str, **kwargs: typing.Any + ) -> AutokeyConfigHttpRequest: ... def getKajPolicyConfig( self, *, name: str, **kwargs: typing.Any ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... @@ -528,6 +542,14 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def showEffectiveKeyAccessJustificationsPolicyConfig( self, *, project: str, **kwargs: typing.Any ) -> ShowEffectiveKeyAccessJustificationsPolicyConfigResponseHttpRequest: ... + def updateAutokeyConfig( + self, + *, + name: str, + body: AutokeyConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AutokeyConfigHttpRequest: ... def updateKajPolicyConfig( self, *, @@ -594,6 +616,14 @@ class CryptoKeyVersionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CryptoKeyVersion: ... +@typing.type_check_only +class DecapsulateResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DecapsulateResponse: ... + @typing.type_check_only class DecryptResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index a319b279..e421838f 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -104,6 +104,7 @@ class CryptoKey(typing_extensions.TypedDict, total=False): "ASYMMETRIC_DECRYPT", "RAW_ENCRYPT_DECRYPT", "MAC", + "KEY_ENCAPSULATION", ] rotationPeriod: str versionTemplate: CryptoKeyVersionTemplate @@ -147,6 +148,9 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "ML_KEM_768", + "ML_KEM_1024", + "KEM_XWING", "PQ_SIGN_ML_DSA_65", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", @@ -220,6 +224,9 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "ML_KEM_768", + "ML_KEM_1024", + "KEM_XWING", "PQ_SIGN_ML_DSA_65", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", @@ -228,6 +235,21 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" ] +@typing.type_check_only +class DecapsulateRequest(typing_extensions.TypedDict, total=False): + ciphertext: str + ciphertextCrc32c: str + +@typing.type_check_only +class DecapsulateResponse(typing_extensions.TypedDict, total=False): + name: str + protectionLevel: typing_extensions.Literal[ + "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + ] + sharedSecret: str + sharedSecretCrc32c: str + verifiedCiphertextCrc32c: bool + @typing.type_check_only class DecryptRequest(typing_extensions.TypedDict, total=False): additionalAuthenticatedData: str @@ -350,6 +372,9 @@ class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "ML_KEM_768", + "ML_KEM_1024", + "KEM_XWING", "PQ_SIGN_ML_DSA_65", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", @@ -572,6 +597,9 @@ class PublicKey(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "ML_KEM_768", + "ML_KEM_1024", + "KEM_XWING", "PQ_SIGN_ML_DSA_65", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", @@ -584,7 +612,7 @@ class PublicKey(typing_extensions.TypedDict, total=False): ] publicKey: ChecksummedData publicKeyFormat: typing_extensions.Literal[ - "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "NIST_PQC" + "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", "NIST_PQC", "XWING_RAW_BYTES" ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/__init__.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi new file mode 100644 index 00000000..5cfa5c27 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi @@ -0,0 +1,129 @@ +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 CloudLocationFinderResource(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 CloudLocationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CloudLocationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCloudLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCloudLocationsResponseHttpRequest, + previous_response: ListCloudLocationsResponse, + ) -> ListCloudLocationsResponseHttpRequest | None: ... + def search( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., + sourceCloudLocation: str = ..., + **kwargs: typing.Any, + ) -> SearchCloudLocationsResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchCloudLocationsResponseHttpRequest, + previous_response: SearchCloudLocationsResponse, + ) -> SearchCloudLocationsResponseHttpRequest | 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 cloudLocations(self) -> CloudLocationsResource: ... + + 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 CloudLocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CloudLocation: ... + +@typing.type_check_only +class ListCloudLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCloudLocationsResponse: ... + +@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 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 SearchCloudLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchCloudLocationsResponse: ... diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi new file mode 100644 index 00000000..c0aab279 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi @@ -0,0 +1,50 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CloudLocation(typing_extensions.TypedDict, total=False): + carbonFreeEnergyPercentage: float + cloudLocationType: typing_extensions.Literal[ + "CLOUD_LOCATION_TYPE_UNSPECIFIED", + "CLOUD_LOCATION_TYPE_REGION", + "CLOUD_LOCATION_TYPE_ZONE", + "CLOUD_LOCATION_TYPE_REGION_EXTENSION", + "CLOUD_LOCATION_TYPE_GDCC_ZONE", + ] + cloudProvider: typing_extensions.Literal[ + "CLOUD_PROVIDER_UNSPECIFIED", + "CLOUD_PROVIDER_GCP", + "CLOUD_PROVIDER_AWS", + "CLOUD_PROVIDER_AZURE", + "CLOUD_PROVIDER_OCI", + ] + containingCloudLocation: str + displayName: str + name: str + territoryCode: str + +@typing.type_check_only +class ListCloudLocationsResponse(typing_extensions.TypedDict, total=False): + cloudLocations: _list[CloudLocation] + nextPageToken: str + +@typing.type_check_only +class ListLocationsResponse(typing_extensions.TypedDict, total=False): + locations: _list[Location] + nextPageToken: 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 SearchCloudLocationsResponse(typing_extensions.TypedDict, total=False): + cloudLocations: _list[CloudLocation] + nextPageToken: str diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi index e8867c0d..c0aab279 100644 --- a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi @@ -12,6 +12,7 @@ class CloudLocation(typing_extensions.TypedDict, total=False): "CLOUD_LOCATION_TYPE_REGION", "CLOUD_LOCATION_TYPE_ZONE", "CLOUD_LOCATION_TYPE_REGION_EXTENSION", + "CLOUD_LOCATION_TYPE_GDCC_ZONE", ] cloudProvider: typing_extensions.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi index d9427e06..4d17b66b 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi @@ -13,28 +13,6 @@ _list = list @typing.type_check_only class CloudSchedulerResource(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 = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... - @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -87,6 +65,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: ... @@ -106,6 +115,7 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def jobs(self) -> JobsResource: ... + def operations(self) -> OperationsResource: ... def locations(self) -> LocationsResource: ... @@ -121,7 +131,6 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... - def operations(self) -> OperationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi index 1783aee9..3320e6cd 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi @@ -86,6 +86,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/cloudshell/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi index 456bf136..3d3ad813 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi @@ -27,6 +27,7 @@ class CloudShellResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi index 4302b51b..feb1ea55 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi @@ -57,6 +57,7 @@ class Environment(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/cloudsupport/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi index 22982c63..b4879c5c 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi @@ -36,6 +36,9 @@ class CloudSupportResource(googleapiclient.discovery.Resource): class CasesResource(googleapiclient.discovery.Resource): @typing.type_check_only class AttachmentsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AttachmentHttpRequest: ... def list( self, *, @@ -55,6 +58,7 @@ class CloudSupportResource(googleapiclient.discovery.Resource): def create( self, *, parent: str, body: Comment = ..., **kwargs: typing.Any ) -> CommentHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> CommentHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/composer/v1/resources.pyi b/googleapiclient-stubs/_apis/composer/v1/resources.pyi index c373281f..1848a316 100644 --- a/googleapiclient-stubs/_apis/composer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/resources.pyi @@ -237,6 +237,7 @@ class CloudComposerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi index 13b5d096..a39c6480 100644 --- a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi @@ -25,6 +25,7 @@ class CheckUpgradeRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): buildLogUri: str + configConflicts: _list[ConfigConflict] containsPypiModulesConflict: typing_extensions.Literal[ "CONFLICT_RESULT_UNSPECIFIED", "CONFLICT", "NO_CONFLICT" ] @@ -71,6 +72,13 @@ class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): ] statusMessage: str +@typing.type_check_only +class ConfigConflict(typing_extensions.TypedDict, total=False): + message: str + type: typing_extensions.Literal[ + "CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING" + ] + @typing.type_check_only class DagProcessorResource(typing_extensions.TypedDict, total=False): count: int @@ -211,6 +219,7 @@ class ListImageVersionsResponse(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 ListUserWorkloadsConfigMapsResponse(typing_extensions.TypedDict, total=False): @@ -291,6 +300,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): "SAVE_SNAPSHOT", "LOAD_SNAPSHOT", "DATABASE_FAILOVER", + "MIGRATE", ] resource: str resourceUuid: str diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi index c373281f..1848a316 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi @@ -237,6 +237,7 @@ class CloudComposerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi index a671f01a..54898ccd 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi @@ -25,6 +25,7 @@ class CheckUpgradeRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): buildLogUri: str + configConflicts: _list[ConfigConflict] containsPypiModulesConflict: typing_extensions.Literal[ "CONFLICT_RESULT_UNSPECIFIED", "CONFLICT", "NO_CONFLICT" ] @@ -71,6 +72,13 @@ class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): ] statusMessage: str +@typing.type_check_only +class ConfigConflict(typing_extensions.TypedDict, total=False): + message: str + type: typing_extensions.Literal[ + "CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING" + ] + @typing.type_check_only class DagProcessorResource(typing_extensions.TypedDict, total=False): count: int @@ -212,6 +220,7 @@ class ListImageVersionsResponse(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 ListUserWorkloadsConfigMapsResponse(typing_extensions.TypedDict, total=False): @@ -293,6 +302,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): "SAVE_SNAPSHOT", "LOAD_SNAPSHOT", "DATABASE_FAILOVER", + "MIGRATE", ] resource: str resourceUuid: str diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 016fa37f..00e170a3 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -157,7 +157,6 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, region: str, - size: int, body: CapacityAdviceRequest = ..., **kwargs: typing.Any, ) -> CapacityAdviceResponseHttpRequest: ... @@ -261,6 +260,24 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> BackendBucketAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: BackendBucketAggregatedListHttpRequest, + previous_response: BackendBucketAggregatedList, + ) -> BackendBucketAggregatedListHttpRequest | None: ... def delete( self, *, @@ -838,6 +855,15 @@ class ComputeResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def updateKmsKey( + self, + *, + project: str, + zone: str, + disk: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def waitForReplicationCatchUp( self, *, @@ -941,6 +967,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def delete( self, *, firewallPolicy: str, requestId: str = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def forceStartProgressiveRollout( + self, *, firewallPolicy: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def get( self, *, firewallPolicy: str, **kwargs: typing.Any ) -> FirewallPolicyHttpRequest: ... @@ -985,7 +1014,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, @@ -1378,6 +1411,28 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class GlobalFolderOperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, folder: str, operation: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + folder: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> OperationListHttpRequest: ... + def list_next( + self, + previous_request: OperationListHttpRequest, + previous_response: OperationList, + ) -> OperationListHttpRequest | None: ... + @typing.type_check_only class GlobalForwardingRulesResource(googleapiclient.discovery.Resource): def delete( @@ -1641,6 +1696,139 @@ 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, + 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 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 HaControllersResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + haController: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def failover( + self, + *, + project: str, + region: str, + haController: str, + body: HaControllersFailoverRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, haController: str, **kwargs: typing.Any + ) -> HaControllerHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: HaController = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> HaControllersListHttpRequest: ... + def list_next( + self, + previous_request: HaControllersListHttpRequest, + previous_response: HaControllersList, + ) -> HaControllersListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + haController: str, + body: HaController = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class HealthChecksResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -2095,6 +2283,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, *, @@ -4432,6 +4625,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, *, @@ -4966,6 +5168,7 @@ class ComputeResource(googleapiclient.discovery.Resource): securityPolicy: str, body: SecurityPolicy = ..., requestId: str = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def patchRule( @@ -4975,6 +5178,7 @@ class ComputeResource(googleapiclient.discovery.Resource): body: SecurityPolicyRule = ..., priority: int = ..., requestId: str = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def removeAssociation( @@ -6155,6 +6359,15 @@ class ComputeResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def updateKmsKey( + self, + *, + project: str, + region: str, + disk: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def waitForReplicationCatchUp( self, *, @@ -6168,6 +6381,24 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class RegionHealthAggregationPoliciesResource(googleapiclient.discovery.Resource): + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> HealthAggregationPolicyAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: HealthAggregationPolicyAggregatedListHttpRequest, + previous_response: HealthAggregationPolicyAggregatedList, + ) -> HealthAggregationPolicyAggregatedListHttpRequest | None: ... def delete( self, *, @@ -7437,6 +7668,144 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RegionNetworkPoliciesResource(googleapiclient.discovery.Resource): + def addAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyAssociation = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def addTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyTrafficClassificationRule = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: NetworkPolicyAggregatedListHttpRequest, + previous_response: NetworkPolicyAggregatedList, + ) -> NetworkPolicyAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + networkPolicy: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, networkPolicy: str, **kwargs: typing.Any + ) -> NetworkPolicyHttpRequest: ... + def getAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + name: str = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyAssociationHttpRequest: ... + def getTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + priority: int = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyTrafficClassificationRuleHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: NetworkPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyListHttpRequest: ... + def list_next( + self, + previous_request: NetworkPolicyListHttpRequest, + previous_response: NetworkPolicyList, + ) -> NetworkPolicyListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patchTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyTrafficClassificationRule = ..., + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + name: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class RegionNotificationEndpointsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -7741,6 +8110,15 @@ class ComputeResource(googleapiclient.discovery.Resource): body: TestPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + def updateKmsKey( + self, + *, + project: str, + region: str, + snapshot: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class RegionSslCertificatesResource(googleapiclient.discovery.Resource): @@ -8274,6 +8652,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 list( @@ -8304,6 +8687,17 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def reportFaulty( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + body: ReservationSubBlocksReportFaultyRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): @@ -9234,6 +9628,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: TestPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + def updateKmsKey( + self, + *, + project: str, + snapshot: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class SslCertificatesResource(googleapiclient.discovery.Resource): @@ -10734,6 +11136,29 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ZoneFolderOperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, folder: str, zone: str, operation: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + folder: str, + zone: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> OperationListHttpRequest: ... + def list_next( + self, + previous_request: OperationListHttpRequest, + previous_response: OperationList, + ) -> OperationListHttpRequest | None: ... + @typing.type_check_only class ZoneOperationsResource(googleapiclient.discovery.Resource): def delete( @@ -10763,6 +11188,29 @@ class ComputeResource(googleapiclient.discovery.Resource): self, *, project: str, zone: str, operation: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class ZoneOrganizationOperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, organization: str, zone: str, operation: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + organization: str, + zone: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> OperationListHttpRequest: ... + def list_next( + self, + previous_request: OperationListHttpRequest, + previous_response: OperationList, + ) -> OperationListHttpRequest | None: ... + @typing.type_check_only class ZoneQueuedResourcesResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -10831,6 +11279,62 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_response: QueuedResourceList, ) -> QueuedResourceListHttpRequest | None: ... + @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( @@ -10879,6 +11383,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def forwardingRules(self) -> ForwardingRulesResource: ... def futureReservations(self) -> FutureReservationsResource: ... def globalAddresses(self) -> GlobalAddressesResource: ... + def globalFolderOperations(self) -> GlobalFolderOperationsResource: ... def globalForwardingRules(self) -> GlobalForwardingRulesResource: ... def globalNetworkEndpointGroups(self) -> GlobalNetworkEndpointGroupsResource: ... def globalOperations(self) -> GlobalOperationsResource: ... @@ -10886,6 +11391,8 @@ class ComputeResource(googleapiclient.discovery.Resource): def globalPublicDelegatedPrefixes( self, ) -> GlobalPublicDelegatedPrefixesResource: ... + def globalVmExtensionPolicies(self) -> GlobalVmExtensionPoliciesResource: ... + def haControllers(self) -> HaControllersResource: ... def healthChecks(self) -> HealthChecksResource: ... def httpHealthChecks(self) -> HttpHealthChecksResource: ... def httpsHealthChecks(self) -> HttpsHealthChecksResource: ... @@ -10956,6 +11463,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionNetworkFirewallPolicies( self, ) -> RegionNetworkFirewallPoliciesResource: ... + def regionNetworkPolicies(self) -> RegionNetworkPoliciesResource: ... def regionNotificationEndpoints(self) -> RegionNotificationEndpointsResource: ... def regionOperations(self) -> RegionOperationsResource: ... def regionSecurityPolicies(self) -> RegionSecurityPoliciesResource: ... @@ -10998,8 +11506,11 @@ class ComputeResource(googleapiclient.discovery.Resource): def vpnGateways(self) -> VpnGatewaysResource: ... def vpnTunnels(self) -> VpnTunnelsResource: ... def wireGroups(self) -> WireGroupsResource: ... + def zoneFolderOperations(self) -> ZoneFolderOperationsResource: ... def zoneOperations(self) -> ZoneOperationsResource: ... + def zoneOrganizationOperations(self) -> ZoneOrganizationOperationsResource: ... def zoneQueuedResources(self) -> ZoneQueuedResourcesResource: ... + def zoneVmExtensionPolicies(self) -> ZoneVmExtensionPoliciesResource: ... def zones(self) -> ZonesResource: ... @typing.type_check_only @@ -11082,6 +11593,14 @@ class BackendBucketHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackendBucket: ... +@typing.type_check_only +class BackendBucketAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackendBucketAggregatedList: ... + @typing.type_check_only class BackendBucketListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11432,6 +11951,22 @@ class GetOwnerInstanceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GetOwnerInstanceResponse: ... +@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( @@ -11440,6 +11975,22 @@ class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GuestAttributes: ... +@typing.type_check_only +class HaControllerHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HaController: ... + +@typing.type_check_only +class HaControllersListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HaControllersList: ... + @typing.type_check_only class HealthAggregationPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11448,6 +11999,16 @@ class HealthAggregationPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HealthAggregationPolicy: ... +@typing.type_check_only +class HealthAggregationPolicyAggregatedListHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicyAggregatedList: ... + @typing.type_check_only class HealthAggregationPolicyListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11666,6 +12227,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 @@ -12172,6 +12743,48 @@ class NetworkListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> NetworkList: ... +@typing.type_check_only +class NetworkPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicy: ... + +@typing.type_check_only +class NetworkPolicyAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyAggregatedList: ... + +@typing.type_check_only +class NetworkPolicyAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyAssociation: ... + +@typing.type_check_only +class NetworkPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyList: ... + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyTrafficClassificationRule: ... + @typing.type_check_only class NetworkProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13318,6 +13931,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/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index da790f2f..e499fe3a 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/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", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" + ] + @typing.type_check_only class AcceleratorType(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -83,6 +105,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 @@ -99,10 +122,13 @@ class Address(typing_extensions.TypedDict, total=False): ] prefixLength: int purpose: typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -163,6 +189,9 @@ class AliasIpRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): + hostCount: int + inUseHostCount: int + inUseInstanceCount: int inUseResources: _list[AllocationAggregateReservationReservedResourceInfo] reservedResources: _list[AllocationAggregateReservationReservedResourceInfo] vmFamily: typing_extensions.Literal[ @@ -173,6 +202,7 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -198,6 +228,7 @@ class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=Fals @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): aggregateAllocation: AllocationResourceStatusAggregateAllocation + healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @@ -208,6 +239,14 @@ class AllocationResourceStatusAggregateAllocation( ): utilizations: dict[str, typing.Any] +@typing.type_check_only +class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): + degradedBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyBlockCount: int + @typing.type_check_only class AllocationResourceStatusSpecificSKUAllocation( typing_extensions.TypedDict, total=False @@ -456,7 +495,7 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) @typing.type_check_only class Backend(typing_extensions.TypedDict, total=False): balancingMode: typing_extensions.Literal[ - "CONNECTION", "CUSTOM_METRICS", "RATE", "UTILIZATION" + "CONNECTION", "CUSTOM_METRICS", "IN_FLIGHT", "RATE", "UTILIZATION" ] capacityScaler: float customMetrics: _list[BackendCustomMetric] @@ -466,6 +505,9 @@ class Backend(typing_extensions.TypedDict, total=False): maxConnections: int maxConnectionsPerEndpoint: int maxConnectionsPerInstance: int + maxInFlightRequests: int + maxInFlightRequestsPerEndpoint: int + maxInFlightRequestsPerInstance: int maxRate: int maxRatePerEndpoint: float maxRatePerInstance: float @@ -473,6 +515,9 @@ class Backend(typing_extensions.TypedDict, total=False): preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] + trafficDuration: typing_extensions.Literal[ + "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" + ] @typing.type_check_only class BackendBucket(typing_extensions.TypedDict, total=False): @@ -490,11 +535,21 @@ class BackendBucket(typing_extensions.TypedDict, total=False): "EXTERNAL_MANAGED", "INTERNAL_MANAGED" ] name: str + params: BackendBucketParams region: str selfLink: str selfLinkWithId: str usedBy: _list[BackendBucketUsedBy] +@typing.type_check_only +class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[BackendBucketCdnPolicyBypassCacheOnRequestHeader] @@ -551,10 +606,19 @@ class BackendBucketListUsable(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): reference: str +@typing.type_check_only +class BackendBucketsScopedList(typing_extensions.TypedDict, total=False): + backendBuckets: _list[BackendBucket] + warning: dict[str, typing.Any] + @typing.type_check_only class BackendCustomMetric(typing_extensions.TypedDict, total=False): dryRun: bool @@ -564,6 +628,7 @@ class BackendCustomMetric(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackendService(typing_extensions.TypedDict, total=False): affinityCookieTtlSec: int + allowMultinetwork: bool backends: _list[Backend] cdnPolicy: BackendServiceCdnPolicy circuitBreakers: CircuitBreakers @@ -599,6 +664,7 @@ class BackendService(typing_extensions.TypedDict, total=False): loadBalancingScheme: typing_extensions.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", + "EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -613,6 +679,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -623,6 +690,7 @@ class BackendService(typing_extensions.TypedDict, total=False): network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy outlierDetection: OutlierDetection + params: BackendServiceParams port: int portName: str protocol: typing_extensions.Literal[ @@ -827,6 +895,7 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -866,6 +935,10 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( ] spilloverRatio: float +@typing.type_check_only +class BackendServiceParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendServiceReference(typing_extensions.TypedDict, total=False): backendService: str @@ -873,6 +946,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] @@ -980,6 +1054,7 @@ class BgpRoute(typing_extensions.TypedDict, total=False): @typing.type_check_only class BgpRouteAsPath(typing_extensions.TypedDict, total=False): asns: _list[int] + asns32: _list[int] type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only @@ -1081,6 +1156,7 @@ class CapacityAdviceRequest(typing_extensions.TypedDict, total=False): distributionPolicy: CapacityAdviceRequestDistributionPolicy instanceFlexibilityPolicy: CapacityAdviceRequestInstanceFlexibilityPolicy instanceProperties: CapacityAdviceRequestInstanceProperties + size: int @typing.type_check_only class CapacityAdviceRequestDistributionPolicy(typing_extensions.TypedDict, total=False): @@ -1133,7 +1209,7 @@ class CapacityAdviceResponseRecommendationScores( typing_extensions.TypedDict, total=False ): obtainability: float - spotPreemption: float + uptimeScore: float @typing.type_check_only class CapacityAdviceResponseRecommendationShard( @@ -1183,7 +1259,9 @@ class Commitment(typing_extensions.TypedDict, total=False): licenseResource: LicenseResourceCommitment mergeSourceCommitments: _list[str] name: str - plan: typing_extensions.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] + plan: typing_extensions.Literal[ + "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + ] region: str reservations: _list[Reservation] resourceStatus: CommitmentResourceStatus @@ -1223,8 +1301,10 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", "GENERAL_PURPOSE_N4", + "GENERAL_PURPOSE_N4D", "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", + "GRAPHICS_OPTIMIZED_G4", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", @@ -1292,7 +1372,6 @@ class CompositeHealthCheck(typing_extensions.TypedDict, total=False): @typing.type_check_only class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=False): - etag: str id: str items: dict[str, typing.Any] kind: str @@ -1303,18 +1382,16 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals @typing.type_check_only class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): - etag: str id: str items: _list[CompositeHealthCheck] kind: str nextPageToken: str selfLink: str - unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): - resources: _list[CompositeHealthCheck] + compositeHealthChecks: _list[CompositeHealthCheck] warning: dict[str, typing.Any] @typing.type_check_only @@ -1725,6 +1802,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" ] @@ -1746,6 +1824,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 @@ -1818,7 +1900,10 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str - policyType: typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] + policyType: typing_extensions.Literal[ + "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + ] region: str ruleTupleCount: int rules: _list[FirewallPolicyRule] @@ -1929,8 +2014,12 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): allowGlobalAccess: bool allowPscGlobalAccess: bool allowPscPacketInjection: bool + availabilityGroup: typing_extensions.Literal[ + "AVAILABILITY_GROUP0", "AVAILABILITY_GROUP1", "AVAILABILITY_GROUP_UNSPECIFIED" + ] backendService: str baseForwardingRule: str + childForwardingRules: _list[str] creationTimestamp: str description: str externalManagedBackendBucketMigrationState: typing_extensions.Literal[ @@ -1948,6 +2037,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): loadBalancingScheme: typing_extensions.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", + "EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -1964,6 +2054,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): "STANDARD_OVERRIDES_FIXED_STANDARD", ] noAutomateDnsZone: bool + parentForwardingRule: str portRange: str ports: _list[str] pscConnectionId: str @@ -2041,6 +2132,9 @@ class FutureReservation(typing_extensions.TypedDict, total=False): planningStatus: typing_extensions.Literal[ "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" ] + protectionTier: typing_extensions.Literal[ + "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" + ] reservationMode: typing_extensions.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] @@ -2061,7 +2155,7 @@ class FutureReservation(typing_extensions.TypedDict, total=False): class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): commitmentName: str commitmentPlan: typing_extensions.Literal[ - "INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", "TWELVE_MONTH" ] previousCommitmentTerms: typing_extensions.Literal[ "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" @@ -2230,6 +2324,7 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -2319,6 +2414,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 @@ -2416,6 +2594,124 @@ class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): response: str weightReportMode: typing_extensions.Literal["DISABLE", "DRY_RUN", "ENABLE"] +@typing.type_check_only +class HaController(typing_extensions.TypedDict, total=False): + backendServices: _list[str] + creationTimestamp: str + description: str + failoverInitiation: typing_extensions.Literal[ + "FAILOVER_INITIATION_UNSPECIFIED", "MANUAL_ONLY" + ] + id: str + instanceName: str + kind: str + name: str + networkingAutoConfiguration: HaControllerNetworkingAutoConfiguration + region: str + secondaryZoneCapacity: typing_extensions.Literal[ + "BEST_EFFORT", "SECONDARY_ZONE_CAPACITY_UNSPECIFIED" + ] + selfLink: str + selfLinkWithId: str + status: HaControllerStatus + zoneConfigurations: dict[str, typing.Any] + +@typing.type_check_only +class HaControllerNetworkingAutoConfiguration(typing_extensions.TypedDict, total=False): + internal: HaControllerNetworkingAutoConfigurationInternal + +@typing.type_check_only +class HaControllerNetworkingAutoConfigurationInternal( + typing_extensions.TypedDict, total=False +): + ipAddress: str + ipv6Address: str + stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + +@typing.type_check_only +class HaControllerStatus(typing_extensions.TypedDict, total=False): + failoverProgress: HaControllerStatusFailoverProgress + lastFailoverInfo: HaControllerStatusFailoverProgress + ongoingFailover: bool + primaryInstance: str + primaryZone: str + readyForFailover: bool + zoneStatus: dict[str, typing.Any] + +@typing.type_check_only +class HaControllerStatusFailoverProgress(typing_extensions.TypedDict, total=False): + failoverCompleteTimestamp: str + failoverTrigger: typing_extensions.Literal[ + "AUTOMATIC", "FAILOVER_TRIGGER_UNSPECIFIED", "MANUAL" + ] + failoverTriggerTimestamp: str + lastFailoverAttempt: HaControllerStatusFailoverProgressLastFailoverAttempt + +@typing.type_check_only +class HaControllerStatusFailoverProgressLastFailoverAttempt( + typing_extensions.TypedDict, total=False +): + errors: dict[str, typing.Any] + timestamp: str + +@typing.type_check_only +class HaControllerStatusZoneStatus(typing_extensions.TypedDict, total=False): + isPrimary: bool + isZoneReady: bool + lastError: HaControllerStatusZoneStatusLastError + +@typing.type_check_only +class HaControllerStatusZoneStatusLastError(typing_extensions.TypedDict, total=False): + errors: dict[str, typing.Any] + timestamp: str + +@typing.type_check_only +class HaControllerZoneConfiguration(typing_extensions.TypedDict, total=False): + nodeAffinities: _list[HaControllerZoneConfigurationNodeAffinity] + reservationAffinity: HaControllerZoneConfigurationReservationAffinity + +@typing.type_check_only +class HaControllerZoneConfigurationNodeAffinity( + typing_extensions.TypedDict, total=False +): + key: str + operator: typing_extensions.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] + values: _list[str] + +@typing.type_check_only +class HaControllerZoneConfigurationReservationAffinity( + typing_extensions.TypedDict, total=False +): + consumeReservationType: typing_extensions.Literal[ + "ANY_RESERVATION", + "NO_RESERVATION", + "SPECIFIC_RESERVATION", + "SPECIFIC_THEN_ANY_RESERVATION", + "SPECIFIC_THEN_NO_RESERVATION", + "UNSPECIFIED", + ] + key: str + values: _list[str] + +@typing.type_check_only +class HaControllersFailoverRequest(typing_extensions.TypedDict, total=False): + primaryZone: str + +@typing.type_check_only +class HaControllersList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[HaController] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): + healthAggregationPolicies: _list[HealthAggregationPolicy] + warning: dict[str, typing.Any] + @typing.type_check_only class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -2433,15 +2729,23 @@ class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str +@typing.type_check_only +class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): - etag: str id: str items: _list[HealthAggregationPolicy] kind: str nextPageToken: str selfLink: str - unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -2574,7 +2878,6 @@ class HealthSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): - etag: str id: str items: dict[str, typing.Any] kind: str @@ -2585,18 +2888,16 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class HealthSourceList(typing_extensions.TypedDict, total=False): - etag: str id: str items: _list[HealthSource] kind: str nextPageToken: str selfLink: str - unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): - resources: _list[HealthSource] + healthSources: _list[HealthSource] warning: dict[str, typing.Any] @typing.type_check_only @@ -2887,6 +3188,8 @@ class Instance(typing_extensions.TypedDict, total=False): guestAccelerators: _list[AcceleratorConfig] hostname: str id: str + identity: str + identityCertificate: bool instanceEncryptionKey: CustomerEncryptionKey keyRevocationActionType: typing_extensions.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" @@ -2934,6 +3237,7 @@ class Instance(typing_extensions.TypedDict, total=False): startRestricted: bool status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -2980,6 +3284,7 @@ class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): class InstanceFlexibilityPolicyInstanceSelection( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineTypes: _list[str] rank: str @@ -3337,6 +3642,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] @@ -3537,6 +3857,8 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): disks: _list[AttachedDisk] displayDevice: DisplayDevice guestAccelerators: _list[AcceleratorConfig] + identity: str + identityCertificate: bool keyRevocationActionType: typing_extensions.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] @@ -3631,6 +3953,7 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): namedPorts: _list[NamedPort] status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -3890,6 +4213,7 @@ 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 @@ -3903,6 +4227,7 @@ class Interconnect(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] wireGroups: _list[str] @typing.type_check_only @@ -3951,6 +4276,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "BPS_20G", "BPS_2G", "BPS_300M", + "BPS_400G", "BPS_400M", "BPS_500M", "BPS_50G", @@ -3990,6 +4316,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): name: str operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str + params: InterconnectAttachmentParams partnerAsn: str partnerMetadata: InterconnectAttachmentPartnerMetadata privateInterconnectInfo: InterconnectAttachmentPrivateInfo @@ -4167,6 +4494,7 @@ class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput( "BPS_20G", "BPS_2G", "BPS_300M", + "BPS_400G", "BPS_400M", "BPS_500M", "BPS_50G", @@ -4309,6 +4637,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 @@ -4582,6 +4914,7 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): regionInfos: _list[InterconnectLocationRegionInfo] selfLink: str selfLinkWithId: str + singleRegionProductionCriticalPeerLocations: _list[str] status: typing_extensions.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool @@ -4646,6 +4979,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 @@ -4664,6 +5001,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int + maxLagSize400Gbps: int name: str peeringdbFacilityId: str permittedConnections: _list[InterconnectRemoteLocationPermittedConnections] @@ -5001,6 +5339,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): instanceHealth: _list[ManagedInstanceInstanceHealth] instanceStatus: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -5123,19 +5462,16 @@ class MultiMig(typing_extensions.TypedDict, total=False): region: str resourcePolicies: MultiMigResourcePolicies selfLink: str - selfLinkWithId: str status: MultiMigStatus @typing.type_check_only class MultiMigMember(typing_extensions.TypedDict, total=False): creationTimestamp: str - description: str id: str kind: str name: str region: str selfLink: str - selfLinkWithId: str status: MultiMigMemberStatus @typing.type_check_only @@ -5157,18 +5493,39 @@ class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiMigStatus(typing_extensions.TypedDict, total=False): + appliedAcceleratorTopologies: _list[MultiMigStatusAcceleratorTopology] memberInstanceGroupManagers: _list[str] membersCount: int +@typing.type_check_only +class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False): + acceleratorTopology: str + acceleratorTopologyState: typing_extensions.Literal[ + "ACTIVATING", + "ACTIVE", + "ACTIVE_DEGRADED", + "DEACTIVATING", + "FAILED", + "INCOMPLETE", + ] + acceleratorTopologyStateLastCheck: ( + MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck + ) + +@typing.type_check_only +class MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck( + typing_extensions.TypedDict, total=False +): + error: dict[str, typing.Any] + timestamp: str + @typing.type_check_only class MultiMigsList(typing_extensions.TypedDict, total=False): - etag: str id: str items: _list[MultiMig] kind: str nextPageToken: str selfLink: str - unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -5182,6 +5539,7 @@ class NamedPort(typing_extensions.TypedDict, total=False): @typing.type_check_only class NamedSet(typing_extensions.TypedDict, total=False): + description: str elements: _list[Expr] fingerprint: str name: str @@ -5493,6 +5851,7 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] + enableVpcScopedDns: bool fingerprint: str igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int @@ -5567,7 +5926,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[ @@ -5592,6 +5953,96 @@ class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): externalIpEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] +@typing.type_check_only +class NetworkPoliciesScopedList(typing_extensions.TypedDict, total=False): + networkPolicies: _list[NetworkPolicy] + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicy(typing_extensions.TypedDict, total=False): + associations: _list[NetworkPolicyAssociation] + creationTimestamp: str + description: str + id: str + kind: str + name: str + region: str + ruleTupleCount: int + selfLink: str + selfLinkWithId: str + trafficClassificationRules: _list[NetworkPolicyTrafficClassificationRule] + +@typing.type_check_only +class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicyAssociation(typing_extensions.TypedDict, total=False): + attachmentTarget: str + name: str + +@typing.type_check_only +class NetworkPolicyList(typing_extensions.TypedDict, total=False): + id: str + items: _list[NetworkPolicy] + kind: str + nextPageToken: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total=False): + action: NetworkPolicyTrafficClassificationRuleAction + description: str + disabled: bool + kind: str + match: NetworkPolicyTrafficClassificationRuleMatcher + priority: int + ruleName: str + ruleTupleCount: int + targetSecureTags: _list[NetworkPolicyTrafficClassificationRuleSecureTag] + targetServiceAccounts: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleAction( + typing_extensions.TypedDict, total=False +): + 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 + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleMatcher( + typing_extensions.TypedDict, total=False +): + destIpRanges: _list[str] + layer4Configs: _list[NetworkPolicyTrafficClassificationRuleMatcherLayer4Config] + srcIpRanges: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleMatcherLayer4Config( + typing_extensions.TypedDict, total=False +): + ipProtocol: str + ports: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleSecureTag( + typing_extensions.TypedDict, total=False +): + name: str + state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] + @typing.type_check_only class NetworkProfile(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -5614,10 +6065,13 @@ class NetworkProfileLocation(typing_extensions.TypedDict, total=False): class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): addressPurposes: _list[ typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -5644,6 +6098,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" ] @@ -5676,10 +6133,16 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowSubInterfaces: typing_extensions.Literal[ "SUBINTERFACES_ALLOWED", "SUBINTERFACES_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", "ULL_POLICY", "VPC_POLICY"] + ] interfaceTypes: _list[ typing_extensions.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" @@ -5720,7 +6183,7 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): @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"] @@ -5753,6 +6216,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] @@ -6330,7 +6799,6 @@ class PreviewFeatureList(typing_extensions.TypedDict, total=False): @typing.type_check_only class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): rolloutInput: PreviewFeatureRolloutOperationRolloutInput - rolloutStatus: PreviewFeatureRolloutOperationRolloutStatus @typing.type_check_only class PreviewFeatureRolloutOperationRolloutInput( @@ -6342,22 +6810,6 @@ class PreviewFeatureRolloutOperationRolloutInput( "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", ] - retryUuid: str - -@typing.type_check_only -class PreviewFeatureRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False -): - ongoingRollouts: _list[PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata] - previousRollout: PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata - -@typing.type_check_only -class PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False -): - rollout: str - rolloutPlan: str - status: PreviewFeatureStatus @typing.type_check_only class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): @@ -6367,9 +6819,7 @@ class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): - stage: typing_extensions.Literal[ - "DEPRECATED", "GA", "INTERNAL", "PREVIEW", "STAGE_UNSPECIFIED" - ] + stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] updateDate: Date @typing.type_check_only @@ -6517,6 +6967,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 @@ -6532,6 +6983,11 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): name: str parentPrefix: str publicDelegatedSubPrefixs: _list[PublicDelegatedPrefixPublicDelegatedSubPrefix] + purpose: typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", + ] region: str selfLink: str selfLinkWithId: str @@ -6571,6 +7027,7 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( allocatablePrefixLength: int delegateeProject: str description: str + enableEnhancedIpv4Allocation: bool ipCidrRange: str ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isAddress: bool @@ -6581,6 +7038,11 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str + purpose: typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", + ] region: str status: typing_extensions.Literal["ACTIVE", "INACTIVE"] @@ -6790,6 +7252,8 @@ class Quota(typing_extensions.TypedDict, total=False): "REGIONAL_INTERNAL_LB_BACKEND_SERVICES", "REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES", "REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES", + "REGION_EXTERNAL_MANAGED_BACKEND_BUCKETS", + "REGION_INTERNAL_MANAGED_BACKEND_BUCKETS", "RESERVATIONS", "RESOURCE_POLICIES", "ROUTERS", @@ -7304,6 +7768,7 @@ class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): + advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str creationTimestamp: str @@ -7341,6 +7806,14 @@ class Reservation(typing_extensions.TypedDict, total=False): ] zone: str +@typing.type_check_only +class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): + reservationOperationalMode: typing_extensions.Literal[ + "ALL_CAPACITY", + "HIGHLY_AVAILABLE_CAPACITY", + "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", + ] + @typing.type_check_only class ReservationAffinity(typing_extensions.TypedDict, total=False): consumeReservationType: typing_extensions.Literal[ @@ -7368,8 +7841,10 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): class ReservationBlock(typing_extensions.TypedDict, total=False): count: int creationTimestamp: str + healthInfo: ReservationBlockHealthInfo id: str inUseCount: int + inUseHostCount: int kind: str locationPrefix: str name: str @@ -7382,6 +7857,14 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedSubBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthySubBlockCount: int + @typing.type_check_only class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -7427,10 +7910,13 @@ class ReservationList(typing_extensions.TypedDict, total=False): @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 @@ -7440,6 +7926,16 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedHostCount: int + degradedInfraCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyHostCount: int + healthyInfraCount: int + @typing.type_check_only class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -7459,6 +7955,25 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" + ] + failureComponent: typing_extensions.Literal[ + "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" + ] + faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] + +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequestFaultReason( + typing_extensions.TypedDict, total=False +): + behavior: typing_extensions.Literal[ + "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + ] + description: str + @typing.type_check_only class ReservationsBlocksPerformMaintenanceRequest( typing_extensions.TypedDict, total=False @@ -7675,6 +8190,7 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): acceleratorTopology: str + acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @@ -7687,6 +8203,7 @@ class ResourceStatus(typing_extensions.TypedDict, total=False): lastInstanceTerminationDetails: ResourceStatusLastInstanceTerminationDetails physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology + reservationConsumptionInfo: ResourceStatusReservationConsumptionInfo scheduling: ResourceStatusScheduling serviceIntegrationStatuses: dict[str, typing.Any] shutdownDetails: ResourceStatusShutdownDetails @@ -7745,7 +8262,7 @@ class ResourceStatusLastInstanceTerminationDetails( "SCHEDULED_STOP", "SHUTDOWN_DUE_TO_HOST_ERROR", "SHUTDOWN_DUE_TO_MAINTENANCE", - "SHUTDOWN_DUE_TO_POWER_EVENT", + "SHUTDOWN_DUE_TO_SHEDDING_EVENT", "USER_TERMINATED", ] @@ -7756,6 +8273,14 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals host: str subblock: str +@typing.type_check_only +class ResourceStatusReservationConsumptionInfo( + typing_extensions.TypedDict, total=False +): + consumedReservation: str + consumedReservationBlock: str + consumedReservationSubBlock: str + @typing.type_check_only class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int @@ -7949,6 +8474,7 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): ipAddress: str ipv4NexthopAddress: str ipv6NexthopAddress: str + linkedCustomHardware: str managementType: typing_extensions.Literal[ "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" ] @@ -8100,6 +8626,7 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): ipAddress: str ipv4NexthopAddress: str ipv6NexthopAddress: str + linkedCustomHardware: str linkedVpnTunnel: str md5AuthEnabled: bool name: str @@ -8264,6 +8791,7 @@ class Scheduling(typing_extensions.TypedDict, total=False): onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool + preemptionNoticeDuration: Duration provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -8720,6 +9248,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str + metadata: dict[str, typing.Any] name: str natSubnets: _list[str] producerForwardingRule: str @@ -8745,6 +9274,7 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): consumerNetwork: str endpoint: str + endpointWithId: str natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str @@ -8760,6 +9290,7 @@ class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ServiceAttachmentConsumerProjectLimit(typing_extensions.TypedDict, total=False): connectionLimit: int + endpointUrl: str networkUrl: str projectIdOrNum: str @@ -9164,9 +9695,11 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2"] + minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - profile: typing_extensions.Literal["COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED"] + profile: typing_extensions.Literal[ + "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" + ] region: str selfLink: str selfLinkWithId: str @@ -9208,6 +9741,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): ] creationTimestamp: str description: str + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb id: str kind: str labelFingerprint: str @@ -9257,6 +9791,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 @@ -9284,6 +9824,10 @@ class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): aggregateDiskProvisionedIops: str aggregateDiskSizeGb: str diskCount: str + exapoolMaxReadIops: str + exapoolMaxReadThroughput: str + exapoolMaxWriteIops: str + exapoolMaxWriteThroughput: str lastResizeTimestamp: str maxAggregateDiskSizeGb: str maxTotalProvisionedDiskCapacityGb: str @@ -9405,6 +9949,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 @@ -9875,6 +10420,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"] @@ -9899,6 +10445,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] @@ -9968,6 +10518,8 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): typing_extensions.Literal[ "FAILURE_DISK", "FAILURE_GPU", + "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", + "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED", "FAILURE_GPU_TEMPERATURE", "FAILURE_GPU_XID", "FAILURE_INFRA", @@ -9975,14 +10527,20 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "FAILURE_MEMORY", "FAILURE_NETWORK", "FAILURE_NVLINK", + "FAILURE_REDUNDANT_HARDWARE_FAULT", + "FAILURE_TPU", "INFRASTRUCTURE_RELOCATION", "MAINTENANCE_REASON_UNKNOWN", + "PLANNED_NETWORK_UPDATE", + "PLANNED_UPDATE", ] ] maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] startTimeWindow: UpcomingMaintenanceTimeWindow time: str - type: typing_extensions.Literal["SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] + type: typing_extensions.Literal[ + "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" + ] windowEndTime: str windowStartTime: str @@ -10163,6 +10721,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 @@ -10174,6 +10789,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"] @@ -10198,6 +10814,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] @@ -10253,6 +10873,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 @@ -10306,6 +10927,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/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index cb6e6f98..5adc7786 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -252,6 +252,24 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> BackendBucketAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: BackendBucketAggregatedListHttpRequest, + previous_response: BackendBucketAggregatedList, + ) -> BackendBucketAggregatedListHttpRequest | None: ... def delete( self, *, @@ -4757,6 +4775,7 @@ class ComputeResource(googleapiclient.discovery.Resource): securityPolicy: str, body: SecurityPolicy = ..., requestId: str = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def patchRule( @@ -4766,6 +4785,7 @@ class ComputeResource(googleapiclient.discovery.Resource): body: SecurityPolicyRule = ..., priority: int = ..., requestId: str = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def removeAssociation( @@ -5242,6 +5262,102 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionBackendBucketsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + backendBucket: str, + forceDelete: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, backendBucket: str, **kwargs: typing.Any + ) -> BackendBucketHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: BackendBucket = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> BackendBucketListHttpRequest: ... + def list_next( + self, + previous_request: BackendBucketListHttpRequest, + previous_response: BackendBucketList, + ) -> BackendBucketListHttpRequest | None: ... + def listUsable( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> BackendBucketListUsableHttpRequest: ... + def listUsable_next( + self, + previous_request: BackendBucketListUsableHttpRequest, + previous_response: BackendBucketListUsable, + ) -> BackendBucketListUsableHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + backendBucket: str, + body: BackendBucket = ..., + requestId: 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 RegionBackendServicesResource(googleapiclient.discovery.Resource): def delete( @@ -5452,6 +5568,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionCompositeHealthChecksResource(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, + ) -> CompositeHealthCheckAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: CompositeHealthCheckAggregatedListHttpRequest, + previous_response: CompositeHealthCheckAggregatedList, + ) -> CompositeHealthCheckAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + compositeHealthCheck: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + compositeHealthCheck: str, + **kwargs: typing.Any, + ) -> CompositeHealthCheckHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: CompositeHealthCheck = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> CompositeHealthCheckListHttpRequest: ... + def list_next( + self, + previous_request: CompositeHealthCheckListHttpRequest, + previous_response: CompositeHealthCheckList, + ) -> CompositeHealthCheckListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + compositeHealthCheck: str, + body: CompositeHealthCheck = ..., + 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 RegionDiskSettingsResource(googleapiclient.discovery.Resource): def get( @@ -5657,6 +5856,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionHealthAggregationPoliciesResource(googleapiclient.discovery.Resource): + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> HealthAggregationPolicyAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: HealthAggregationPolicyAggregatedListHttpRequest, + previous_response: HealthAggregationPolicyAggregatedList, + ) -> HealthAggregationPolicyAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + **kwargs: typing.Any, + ) -> HealthAggregationPolicyHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: HealthAggregationPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> HealthAggregationPolicyListHttpRequest: ... + def list_next( + self, + previous_request: HealthAggregationPolicyListHttpRequest, + previous_response: HealthAggregationPolicyList, + ) -> HealthAggregationPolicyListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + body: HealthAggregationPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class RegionHealthCheckServicesResource(googleapiclient.discovery.Resource): def delete( @@ -5793,19 +6075,97 @@ class ComputeResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... @typing.type_check_only - class RegionInstanceGroupManagerResizeRequestsResource( - googleapiclient.discovery.Resource - ): - def cancel( + class RegionHealthSourcesResource(googleapiclient.discovery.Resource): + def aggregatedList( self, *, project: str, - region: str, - instanceGroupManager: str, - resizeRequest: str, - requestId: str = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> HealthSourceAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: HealthSourceAggregatedListHttpRequest, + previous_response: HealthSourceAggregatedList, + ) -> HealthSourceAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + healthSource: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, healthSource: str, **kwargs: typing.Any + ) -> HealthSourceHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: HealthSource = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> HealthSourceListHttpRequest: ... + def list_next( + self, + previous_request: HealthSourceListHttpRequest, + previous_response: HealthSourceList, + ) -> HealthSourceListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + healthSource: str, + body: HealthSource = ..., + 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 RegionInstanceGroupManagerResizeRequestsResource( + googleapiclient.discovery.Resource + ): + def cancel( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, *, @@ -6663,6 +7023,144 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RegionNetworkPoliciesResource(googleapiclient.discovery.Resource): + def addAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyAssociation = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def addTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyTrafficClassificationRule = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: NetworkPolicyAggregatedListHttpRequest, + previous_response: NetworkPolicyAggregatedList, + ) -> NetworkPolicyAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + networkPolicy: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, networkPolicy: str, **kwargs: typing.Any + ) -> NetworkPolicyHttpRequest: ... + def getAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + name: str = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyAssociationHttpRequest: ... + def getTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + priority: int = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyTrafficClassificationRuleHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: NetworkPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> NetworkPolicyListHttpRequest: ... + def list_next( + self, + previous_request: NetworkPolicyListHttpRequest, + previous_response: NetworkPolicyList, + ) -> NetworkPolicyListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patchTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + body: NetworkPolicyTrafficClassificationRule = ..., + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeAssociation( + self, + *, + project: str, + region: str, + networkPolicy: str, + name: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeTrafficClassificationRule( + self, + *, + project: str, + region: str, + networkPolicy: str, + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class RegionNotificationEndpointsResource(googleapiclient.discovery.Resource): def delete( @@ -7420,6 +7918,16 @@ class ComputeResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -7449,6 +7957,26 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: ZoneSetNestedPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class ReservationSubBlocksResource(googleapiclient.discovery.Resource): @@ -7461,6 +7989,16 @@ class ComputeResource(googleapiclient.discovery.Resource): reservationSubBlock: str, **kwargs: typing.Any, ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -7489,6 +8027,37 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def reportFaulty( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + body: ReservationSubBlocksReportFaultyRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: ZoneSetNestedPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): @@ -8129,6 +8698,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, serviceAttachment: str, + showNatIps: bool = ..., **kwargs: typing.Any, ) -> ServiceAttachmentHttpRequest: ... def getIamPolicy( @@ -8642,7 +9212,14 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, project: str, region: str, subnetwork: str, **kwargs: typing.Any + self, + *, + project: str, + region: str, + subnetwork: str, + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., + **kwargs: typing.Any, ) -> SubnetworkHttpRequest: ... def getIamPolicy( self, @@ -8672,6 +9249,8 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageToken: str = ..., returnPartialSuccess: bool = ..., + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., **kwargs: typing.Any, ) -> SubnetworkListHttpRequest: ... def list_next( @@ -9902,13 +10481,19 @@ class ComputeResource(googleapiclient.discovery.Resource): def publicAdvertisedPrefixes(self) -> PublicAdvertisedPrefixesResource: ... def publicDelegatedPrefixes(self) -> PublicDelegatedPrefixesResource: ... def regionAutoscalers(self) -> RegionAutoscalersResource: ... + def regionBackendBuckets(self) -> RegionBackendBucketsResource: ... def regionBackendServices(self) -> RegionBackendServicesResource: ... def regionCommitments(self) -> RegionCommitmentsResource: ... + def regionCompositeHealthChecks(self) -> RegionCompositeHealthChecksResource: ... def regionDiskSettings(self) -> RegionDiskSettingsResource: ... def regionDiskTypes(self) -> RegionDiskTypesResource: ... def regionDisks(self) -> RegionDisksResource: ... + def regionHealthAggregationPolicies( + self, + ) -> RegionHealthAggregationPoliciesResource: ... def regionHealthCheckServices(self) -> RegionHealthCheckServicesResource: ... def regionHealthChecks(self) -> RegionHealthChecksResource: ... + def regionHealthSources(self) -> RegionHealthSourcesResource: ... def regionInstanceGroupManagerResizeRequests( self, ) -> RegionInstanceGroupManagerResizeRequestsResource: ... @@ -9922,6 +10507,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionNetworkFirewallPolicies( self, ) -> RegionNetworkFirewallPoliciesResource: ... + def regionNetworkPolicies(self) -> RegionNetworkPoliciesResource: ... def regionNotificationEndpoints(self) -> RegionNotificationEndpointsResource: ... def regionOperations(self) -> RegionOperationsResource: ... def regionSecurityPolicies(self) -> RegionSecurityPoliciesResource: ... @@ -10045,6 +10631,14 @@ class BackendBucketHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackendBucket: ... +@typing.type_check_only +class BackendBucketAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackendBucketAggregatedList: ... + @typing.type_check_only class BackendBucketListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10143,6 +10737,30 @@ class CommitmentListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CommitmentList: ... +@typing.type_check_only +class CompositeHealthCheckHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompositeHealthCheck: ... + +@typing.type_check_only +class CompositeHealthCheckAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompositeHealthCheckAggregatedList: ... + +@typing.type_check_only +class CompositeHealthCheckListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompositeHealthCheckList: ... + @typing.type_check_only class CrossSiteNetworkHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10355,6 +10973,32 @@ class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GuestAttributes: ... +@typing.type_check_only +class HealthAggregationPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicy: ... + +@typing.type_check_only +class HealthAggregationPolicyAggregatedListHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicyAggregatedList: ... + +@typing.type_check_only +class HealthAggregationPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicyList: ... + @typing.type_check_only class HealthCheckHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10395,6 +11039,30 @@ class HealthChecksAggregatedListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HealthChecksAggregatedList: ... +@typing.type_check_only +class HealthSourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthSource: ... + +@typing.type_check_only +class HealthSourceAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthSourceAggregatedList: ... + +@typing.type_check_only +class HealthSourceListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthSourceList: ... + @typing.type_check_only class HttpHealthCheckHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10983,6 +11651,48 @@ class NetworkListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> NetworkList: ... +@typing.type_check_only +class NetworkPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicy: ... + +@typing.type_check_only +class NetworkPolicyAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyAggregatedList: ... + +@typing.type_check_only +class NetworkPolicyAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyAssociation: ... + +@typing.type_check_only +class NetworkPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyList: ... + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPolicyTrafficClassificationRule: ... + @typing.type_check_only class NetworkProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index fad6a157..9f084cb4 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -74,6 +74,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 @@ -146,6 +147,9 @@ class AliasIpRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): + hostCount: int + inUseHostCount: int + inUseInstanceCount: int inUseResources: _list[AllocationAggregateReservationReservedResourceInfo] reservedResources: _list[AllocationAggregateReservationReservedResourceInfo] vmFamily: typing_extensions.Literal[ @@ -156,6 +160,7 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -180,10 +185,19 @@ class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=Fals @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): + healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation +@typing.type_check_only +class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): + degradedBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyBlockCount: int + @typing.type_check_only class AllocationResourceStatusSpecificSKUAllocation( typing_extensions.TypedDict, total=False @@ -413,7 +427,7 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) @typing.type_check_only class Backend(typing_extensions.TypedDict, total=False): balancingMode: typing_extensions.Literal[ - "CONNECTION", "CUSTOM_METRICS", "RATE", "UTILIZATION" + "CONNECTION", "CUSTOM_METRICS", "IN_FLIGHT", "RATE", "UTILIZATION" ] capacityScaler: float customMetrics: _list[BackendCustomMetric] @@ -423,6 +437,9 @@ class Backend(typing_extensions.TypedDict, total=False): maxConnections: int maxConnectionsPerEndpoint: int maxConnectionsPerInstance: int + maxInFlightRequests: int + maxInFlightRequestsPerEndpoint: int + maxInFlightRequestsPerInstance: int maxRate: int maxRatePerEndpoint: float maxRatePerInstance: float @@ -430,6 +447,9 @@ class Backend(typing_extensions.TypedDict, total=False): preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] + trafficDuration: typing_extensions.Literal[ + "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" + ] @typing.type_check_only class BackendBucket(typing_extensions.TypedDict, total=False): @@ -443,11 +463,23 @@ class BackendBucket(typing_extensions.TypedDict, total=False): enableCdn: bool id: str kind: str - loadBalancingScheme: typing_extensions.Literal["INTERNAL_MANAGED"] + loadBalancingScheme: typing_extensions.Literal[ + "EXTERNAL_MANAGED", "INTERNAL_MANAGED" + ] name: str + params: BackendBucketParams selfLink: str usedBy: _list[BackendBucketUsedBy] +@typing.type_check_only +class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[BackendBucketCdnPolicyBypassCacheOnRequestHeader] @@ -504,10 +536,19 @@ class BackendBucketListUsable(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): reference: str +@typing.type_check_only +class BackendBucketsScopedList(typing_extensions.TypedDict, total=False): + backendBuckets: _list[BackendBucket] + warning: dict[str, typing.Any] + @typing.type_check_only class BackendCustomMetric(typing_extensions.TypedDict, total=False): dryRun: bool @@ -566,6 +607,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -576,6 +618,7 @@ class BackendService(typing_extensions.TypedDict, total=False): network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy outlierDetection: OutlierDetection + params: BackendServiceParams port: int portName: str protocol: typing_extensions.Literal[ @@ -760,6 +803,7 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -790,6 +834,10 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( ] spilloverRatio: float +@typing.type_check_only +class BackendServiceParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendServiceReference(typing_extensions.TypedDict, total=False): backendService: str @@ -900,6 +948,7 @@ class BgpRoute(typing_extensions.TypedDict, total=False): @typing.type_check_only class BgpRouteAsPath(typing_extensions.TypedDict, total=False): asns: _list[int] + asns32: _list[int] type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only @@ -1084,6 +1133,43 @@ class CommitmentsScopedList(typing_extensions.TypedDict, total=False): commitments: _list[Commitment] warning: dict[str, typing.Any] +@typing.type_check_only +class CompositeHealthCheck(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + fingerprint: str + healthDestination: str + healthSources: _list[str] + id: str + kind: str + name: str + region: str + selfLink: str + selfLinkWithId: str + +@typing.type_check_only +class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): + id: str + items: _list[CompositeHealthCheck] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): + compositeHealthChecks: _list[CompositeHealthCheck] + warning: dict[str, typing.Any] + @typing.type_check_only class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): confidentialInstanceType: typing_extensions.Literal[ @@ -1545,6 +1631,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str + policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] policyType: typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] region: str ruleTupleCount: int @@ -1583,9 +1670,11 @@ class FirewallPolicyRule(typing_extensions.TypedDict, total=False): ruleName: str ruleTupleCount: int securityProfileGroup: str + targetForwardingRules: _list[str] targetResources: _list[str] targetSecureTags: _list[FirewallPolicyRuleSecureTag] targetServiceAccounts: _list[str] + targetType: typing_extensions.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] tlsInspect: bool @typing.type_check_only @@ -1759,6 +1848,9 @@ class FutureReservation(typing_extensions.TypedDict, total=False): planningStatus: typing_extensions.Literal[ "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" ] + protectionTier: typing_extensions.Literal[ + "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" + ] reservationMode: typing_extensions.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] @@ -1948,6 +2040,7 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -2116,6 +2209,47 @@ class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): requestPath: str response: str +@typing.type_check_only +class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): + healthAggregationPolicies: _list[HealthAggregationPolicy] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + fingerprint: str + healthyPercentThreshold: int + id: str + kind: str + minHealthyThreshold: int + name: str + policyType: typing_extensions.Literal[ + "BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY" + ] + region: str + selfLink: str + selfLinkWithId: str + +@typing.type_check_only +class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): + id: str + items: _list[HealthAggregationPolicy] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class HealthCheck(typing_extensions.TypedDict, total=False): checkIntervalSec: int @@ -2203,6 +2337,44 @@ class HealthChecksScopedList(typing_extensions.TypedDict, total=False): healthChecks: _list[HealthCheck] warning: dict[str, typing.Any] +@typing.type_check_only +class HealthSource(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + fingerprint: str + healthAggregationPolicy: str + id: str + kind: str + name: str + region: str + selfLink: str + selfLinkWithId: str + sourceType: typing_extensions.Literal["BACKEND_SERVICE"] + sources: _list[str] + +@typing.type_check_only +class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthSourceList(typing_extensions.TypedDict, total=False): + id: str + items: _list[HealthSource] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): + healthSources: _list[HealthSource] + warning: dict[str, typing.Any] + @typing.type_check_only class HealthStatus(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -2427,6 +2599,7 @@ class Image(typing_extensions.TypedDict, total=False): licenses: _list[str] locked: bool name: str + params: ImageParams rawDisk: dict[str, typing.Any] rolloutOverride: RolloutPolicy satisfiesPzi: bool @@ -2460,6 +2633,10 @@ class ImageList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ImageParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InitialStateConfig(typing_extensions.TypedDict, total=False): dbs: _list[FileContentBuffer] @@ -2526,6 +2703,7 @@ class Instance(typing_extensions.TypedDict, total=False): startRestricted: bool status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -3074,6 +3252,7 @@ class InstanceMoveRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceParams(typing_extensions.TypedDict, total=False): + requestValidForDuration: Duration resourceManagerTags: dict[str, typing.Any] @typing.type_check_only @@ -3175,6 +3354,7 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): namedPorts: _list[NamedPort] status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -3392,6 +3572,7 @@ 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 @@ -3402,6 +3583,7 @@ class Interconnect(typing_extensions.TypedDict, total=False): satisfiesPzs: bool selfLink: str state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] wireGroups: _list[str] @typing.type_check_only @@ -3487,6 +3669,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): name: str operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str + params: InterconnectAttachmentParams partnerAsn: str partnerMetadata: InterconnectAttachmentPartnerMetadata privateInterconnectInfo: InterconnectAttachmentPrivateInfo @@ -3703,6 +3886,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 @@ -3971,6 +4158,7 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): peeringdbFacilityId: str regionInfos: _list[InterconnectLocationRegionInfo] selfLink: str + singleRegionProductionCriticalPeerLocations: _list[str] status: typing_extensions.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool @@ -4033,6 +4221,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 @@ -4051,6 +4243,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int + maxLagSize400Gbps: int name: str peeringdbFacilityId: str permittedConnections: _list[InterconnectRemoteLocationPermittedConnections] @@ -4288,6 +4481,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): instanceHealth: _list[ManagedInstanceInstanceHealth] instanceStatus: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PENDING_STOP", "PROVISIONING", "REPAIRING", @@ -4304,6 +4498,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromConfig: PreservedState preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy + scheduling: ManagedInstanceScheduling targetStatus: typing_extensions.Literal[ "ABANDONED", "DELETED", "RUNNING", "STOPPED", "SUSPENDED" ] @@ -4333,6 +4528,10 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] +@typing.type_check_only +class ManagedInstanceScheduling(typing_extensions.TypedDict, total=False): + terminationTimestamp: str + @typing.type_check_only class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): instanceTemplate: str @@ -4364,20 +4563,45 @@ class MultiMig(typing_extensions.TypedDict, total=False): region: str resourcePolicies: MultiMigResourcePolicies selfLink: str + status: MultiMigStatus @typing.type_check_only class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): workloadPolicy: str +@typing.type_check_only +class MultiMigStatus(typing_extensions.TypedDict, total=False): + appliedAcceleratorTopologies: _list[MultiMigStatusAcceleratorTopology] + +@typing.type_check_only +class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False): + acceleratorTopology: str + acceleratorTopologyState: typing_extensions.Literal[ + "ACTIVATING", + "ACTIVE", + "ACTIVE_DEGRADED", + "DEACTIVATING", + "FAILED", + "INCOMPLETE", + ] + acceleratorTopologyStateLastCheck: ( + MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck + ) + +@typing.type_check_only +class MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck( + typing_extensions.TypedDict, total=False +): + error: dict[str, typing.Any] + timestamp: str + @typing.type_check_only class MultiMigsList(typing_extensions.TypedDict, total=False): - etag: str id: str items: _list[MultiMig] kind: str nextPageToken: str selfLink: str - unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -4775,6 +4999,92 @@ class NetworkPeeringConnectionStatusTrafficConfiguration( class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] +@typing.type_check_only +class NetworkPoliciesScopedList(typing_extensions.TypedDict, total=False): + networkPolicies: _list[NetworkPolicy] + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicy(typing_extensions.TypedDict, total=False): + associations: _list[NetworkPolicyAssociation] + creationTimestamp: str + description: str + id: str + kind: str + name: str + region: str + ruleTupleCount: int + selfLink: str + selfLinkWithId: str + trafficClassificationRules: _list[NetworkPolicyTrafficClassificationRule] + +@typing.type_check_only +class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicyAssociation(typing_extensions.TypedDict, total=False): + attachmentTarget: str + name: str + +@typing.type_check_only +class NetworkPolicyList(typing_extensions.TypedDict, total=False): + id: str + items: _list[NetworkPolicy] + kind: str + nextPageToken: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total=False): + action: NetworkPolicyTrafficClassificationRuleAction + description: str + disabled: bool + kind: str + match: NetworkPolicyTrafficClassificationRuleMatcher + priority: int + ruleName: str + ruleTupleCount: int + targetSecureTags: _list[NetworkPolicyTrafficClassificationRuleSecureTag] + targetServiceAccounts: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleAction( + typing_extensions.TypedDict, total=False +): + dscpMode: typing_extensions.Literal["AUTO", "CUSTOM"] + dscpValue: int + trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + type: str + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleMatcher( + typing_extensions.TypedDict, total=False +): + destIpRanges: _list[str] + layer4Configs: _list[NetworkPolicyTrafficClassificationRuleMatcherLayer4Config] + srcIpRanges: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleMatcherLayer4Config( + typing_extensions.TypedDict, total=False +): + ipProtocol: str + ports: _list[str] + +@typing.type_check_only +class NetworkPolicyTrafficClassificationRuleSecureTag( + typing_extensions.TypedDict, total=False +): + name: str + state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] + @typing.type_check_only class NetworkProfile(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -4784,6 +5094,7 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): kind: str location: NetworkProfileLocation name: str + profileType: NetworkProfileProfileType selfLink: str selfLinkWithId: str @@ -4825,6 +5136,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" ] @@ -4861,6 +5175,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "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" @@ -4895,6 +5212,13 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] +@typing.type_check_only +class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): + networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] + rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE"] + ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] + vpcSubtype: typing_extensions.Literal["REGIONAL"] + @typing.type_check_only class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): etag: str @@ -5453,7 +5777,6 @@ class PreviewFeatureList(typing_extensions.TypedDict, total=False): @typing.type_check_only class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): rolloutInput: PreviewFeatureRolloutOperationRolloutInput - rolloutStatus: PreviewFeatureRolloutOperationRolloutStatus @typing.type_check_only class PreviewFeatureRolloutOperationRolloutInput( @@ -5465,33 +5788,16 @@ class PreviewFeatureRolloutOperationRolloutInput( "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", ] - retryUuid: str - -@typing.type_check_only -class PreviewFeatureRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False -): - ongoingRollouts: _list[PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata] - previousRollout: PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata - -@typing.type_check_only -class PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False -): - rollout: str - rolloutPlan: str - status: PreviewFeatureStatus @typing.type_check_only class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): description: str + helpLink: str releaseStatus: PreviewFeatureStatusReleaseStatus @typing.type_check_only class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): - stage: typing_extensions.Literal[ - "DEPRECATED", "GA", "INTERNAL", "PREVIEW", "STAGE_UNSPECIFIED" - ] + stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] updateDate: Date @typing.type_check_only @@ -5568,6 +5874,7 @@ class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): fingerprint: str id: str ipCidrRange: str + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] kind: str name: str pdpScope: typing_extensions.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] @@ -5611,15 +5918,18 @@ 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 + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isLiveMigration: bool kind: str mode: typing_extensions.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", + "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str parentPrefix: str @@ -5627,6 +5937,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): region: str selfLink: str status: typing_extensions.Literal[ + "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", "ANNOUNCED_TO_INTERNET", @@ -5661,12 +5972,15 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( allocatablePrefixLength: int delegateeProject: str description: str + enableEnhancedIpv4Allocation: bool ipCidrRange: str + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isAddress: bool mode: typing_extensions.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", + "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str region: str @@ -6188,6 +6502,7 @@ class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): + advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str creationTimestamp: str @@ -6202,6 +6517,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" + ] reservationMode: typing_extensions.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] @@ -6209,6 +6527,9 @@ class Reservation(typing_extensions.TypedDict, total=False): resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] selfLink: str shareSettings: ShareSettings specificReservation: AllocationSpecificSKUReservation @@ -6218,6 +6539,14 @@ class Reservation(typing_extensions.TypedDict, total=False): ] zone: str +@typing.type_check_only +class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): + reservationOperationalMode: typing_extensions.Literal[ + "ALL_CAPACITY", + "HIGHLY_AVAILABLE_CAPACITY", + "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", + ] + @typing.type_check_only class ReservationAffinity(typing_extensions.TypedDict, total=False): consumeReservationType: typing_extensions.Literal[ @@ -6245,8 +6574,10 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): class ReservationBlock(typing_extensions.TypedDict, total=False): count: int creationTimestamp: str + healthInfo: ReservationBlockHealthInfo id: str inUseCount: int + inUseHostCount: int kind: str name: str physicalTopology: ReservationBlockPhysicalTopology @@ -6258,6 +6589,14 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedSubBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthySubBlockCount: int + @typing.type_check_only class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -6305,8 +6644,10 @@ class ReservationList(typing_extensions.TypedDict, total=False): class ReservationSubBlock(typing_extensions.TypedDict, total=False): count: int creationTimestamp: str + healthInfo: ReservationSubBlockHealthInfo id: str inUseCount: int + inUseHostCount: int kind: str name: str physicalTopology: ReservationSubBlockPhysicalTopology @@ -6316,6 +6657,16 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedHostCount: int + degradedInfraCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyHostCount: int + healthyInfraCount: int + @typing.type_check_only class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -6335,6 +6686,25 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" + ] + failureComponent: typing_extensions.Literal[ + "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" + ] + faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] + +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequestFaultReason( + typing_extensions.TypedDict, total=False +): + behavior: typing_extensions.Literal[ + "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + ] + description: str + @typing.type_check_only class ReservationsBlocksPerformMaintenanceRequest( typing_extensions.TypedDict, total=False @@ -6524,17 +6894,31 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): acceleratorTopology: str + acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @typing.type_check_only class ResourceStatus(typing_extensions.TypedDict, total=False): + effectiveInstanceMetadata: ResourceStatusEffectiveInstanceMetadata physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology + reservationConsumptionInfo: ResourceStatusReservationConsumptionInfo scheduling: ResourceStatusScheduling shutdownDetails: ResourceStatusShutdownDetails upcomingMaintenance: UpcomingMaintenance +@typing.type_check_only +class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total=False): + blockProjectSshKeysMetadataValue: bool + enableGuestAttributesMetadataValue: bool + enableOsInventoryMetadataValue: bool + enableOsconfigMetadataValue: bool + enableOsloginMetadataValue: bool + serialPortEnableMetadataValue: bool + serialPortLoggingEnableMetadataValue: bool + vmDnsSettingMetadataValue: str + @typing.type_check_only class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): block: str @@ -6542,6 +6926,12 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals host: str subblock: str +@typing.type_check_only +class ResourceStatusReservationConsumptionInfo( + typing_extensions.TypedDict, total=False +): + consumedReservation: str + @typing.type_check_only class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int @@ -7378,6 +7768,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str + metadata: dict[str, typing.Any] name: str natSubnets: _list[str] producerForwardingRule: str @@ -7403,6 +7794,8 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): consumerNetwork: str endpoint: str + endpointWithId: str + natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str status: typing_extensions.Literal[ @@ -7417,6 +7810,7 @@ class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ServiceAttachmentConsumerProjectLimit(typing_extensions.TypedDict, total=False): connectionLimit: int + endpointUrl: str networkUrl: str projectIdOrNum: str @@ -7541,6 +7935,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): licenses: _list[str] locationHint: str name: str + params: SnapshotParams region: str satisfiesPzi: bool satisfiesPzs: bool @@ -7584,6 +7979,10 @@ class SnapshotList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class SnapshotParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class SnapshotSettings(typing_extensions.TypedDict, total=False): accessLocation: SnapshotSettingsAccessLocation @@ -7753,9 +8152,11 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2"] + minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - profile: typing_extensions.Literal["COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED"] + profile: typing_extensions.Literal[ + "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" + ] region: str selfLink: str warnings: _list[dict[str, typing.Any]] @@ -7967,6 +8368,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 @@ -7974,6 +8376,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["DRAINING", "READY"] systemReservedExternalIpv6Ranges: _list[str] systemReservedInternalIpv6Ranges: _list[str] + utilizationDetails: SubnetworkUtilizationDetails @typing.type_check_only class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): @@ -8022,6 +8425,28 @@ class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): rangeName: str reservedInternalRange: str +@typing.type_check_only +class SubnetworkUtilizationDetails(typing_extensions.TypedDict, total=False): + externalIpv6InstanceUtilization: SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6LbUtilization: SubnetworkUtilizationDetailsIPV6Utilization + internalIpv6Utilization: SubnetworkUtilizationDetailsIPV6Utilization + ipv4Utilizations: _list[SubnetworkUtilizationDetailsIPV4Utilization] + +@typing.type_check_only +class SubnetworkUtilizationDetailsIPV4Utilization( + typing_extensions.TypedDict, total=False +): + rangeName: str + totalAllocatedIp: str + totalFreeIp: str + +@typing.type_check_only +class SubnetworkUtilizationDetailsIPV6Utilization( + typing_extensions.TypedDict, total=False +): + totalAllocatedIp: Uint128 + totalFreeIp: Uint128 + @typing.type_check_only class SubnetworksExpandIpCidrRangeRequest(typing_extensions.TypedDict, total=False): ipCidrRange: str @@ -8467,8 +8892,30 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str maintenanceOnShutdown: bool + maintenanceReasons: _list[ + typing_extensions.Literal[ + "FAILURE_DISK", + "FAILURE_GPU", + "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", + "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED", + "FAILURE_GPU_TEMPERATURE", + "FAILURE_GPU_XID", + "FAILURE_INFRA", + "FAILURE_INTERFACE", + "FAILURE_MEMORY", + "FAILURE_NETWORK", + "FAILURE_NVLINK", + "FAILURE_REDUNDANT_HARDWARE_FAULT", + "INFRASTRUCTURE_RELOCATION", + "MAINTENANCE_REASON_UNKNOWN", + "PLANNED_NETWORK_UPDATE", + "PLANNED_UPDATE", + ] + ] maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] - type: typing_extensions.Literal["SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] + type: typing_extensions.Literal[ + "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" + ] windowEndTime: str windowStartTime: str @@ -8880,6 +9327,9 @@ class WireGroupTopologyEndpoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class WireProperties(typing_extensions.TypedDict, total=False): + bandwidthAllocation: typing_extensions.Literal[ + "ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP" + ] bandwidthUnmetered: str faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] @@ -8925,6 +9375,12 @@ class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] +@typing.type_check_only +class ZoneSetNestedPolicyRequest(typing_extensions.TypedDict, total=False): + bindings: _list[Binding] + etag: str + policy: Policy + @typing.type_check_only class ZoneSetPolicyRequest(typing_extensions.TypedDict, total=False): bindings: _list[Binding] diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 768f386f..3e40d032 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -132,6 +132,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 AutoscalersResource(googleapiclient.discovery.Resource): @@ -368,6 +377,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, backendService: str, **kwargs: typing.Any ) -> BackendServiceHttpRequest: ... + def getEffectiveSecurityPolicies( + self, *, project: str, backendService: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... def getHealth( self, *, @@ -477,6 +489,56 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class CrossSiteNetworksResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + crossSiteNetwork: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, crossSiteNetwork: str, **kwargs: typing.Any + ) -> CrossSiteNetworkHttpRequest: ... + def insert( + self, + *, + project: str, + body: CrossSiteNetwork = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> CrossSiteNetworkListHttpRequest: ... + def list_next( + self, + previous_request: CrossSiteNetworkListHttpRequest, + previous_response: CrossSiteNetworkList, + ) -> CrossSiteNetworkListHttpRequest | None: ... + def patch( + self, + *, + project: str, + crossSiteNetwork: str, + body: CrossSiteNetwork = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class DiskTypesResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -1046,6 +1108,90 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class FutureReservationsResource(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, + ) -> FutureReservationsAggregatedListResponseHttpRequest: ... + def aggregatedList_next( + self, + previous_request: FutureReservationsAggregatedListResponseHttpRequest, + previous_response: FutureReservationsAggregatedListResponse, + ) -> FutureReservationsAggregatedListResponseHttpRequest | None: ... + def cancel( + self, + *, + project: str, + zone: str, + futureReservation: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + zone: str, + futureReservation: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + zone: str, + futureReservation: str, + **kwargs: typing.Any, + ) -> FutureReservationHttpRequest: ... + def insert( + self, + *, + project: str, + zone: str, + body: FutureReservation = ..., + 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, + ) -> FutureReservationsListResponseHttpRequest: ... + def list_next( + self, + previous_request: FutureReservationsListResponseHttpRequest, + previous_response: FutureReservationsListResponse, + ) -> FutureReservationsListResponseHttpRequest | None: ... + def update( + self, + *, + project: str, + zone: str, + futureReservation: str, + body: FutureReservation = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GlobalAddressesResource(googleapiclient.discovery.Resource): def delete( @@ -1100,6 +1246,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: GlobalSetLabelsRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class GlobalForwardingRulesResource(googleapiclient.discovery.Resource): @@ -2083,6 +2237,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: ... @typing.type_check_only class InstanceSettingsResource(googleapiclient.discovery.Resource): @@ -2193,6 +2356,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def addNetworkInterface( + self, + *, + project: str, + zone: str, + instance: str, + body: NetworkInterface = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def addResourcePolicies( self, *, @@ -2261,6 +2434,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def deleteNetworkInterface( + self, + *, + project: str, + zone: str, + instance: str, + networkInterfaceName: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def detachDisk( self, *, @@ -3904,6 +4087,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def requestRemovePeering( + self, + *, + project: str, + network: str, + body: NetworksRequestRemovePeeringRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def switchToCustomMode( self, *, @@ -4214,6 +4406,125 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_response: NodeTypeList, ) -> NodeTypeListHttpRequest | None: ... + @typing.type_check_only + class OrganizationSecurityPoliciesResource(googleapiclient.discovery.Resource): + def addAssociation( + self, + *, + securityPolicy: str, + body: SecurityPolicyAssociation = ..., + replaceExistingAssociation: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def addRule( + self, + *, + securityPolicy: str, + body: SecurityPolicyRule = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def copyRules( + self, + *, + securityPolicy: str, + requestId: str = ..., + sourceSecurityPolicy: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, securityPolicy: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, securityPolicy: str, **kwargs: typing.Any + ) -> SecurityPolicyHttpRequest: ... + def getAssociation( + self, *, securityPolicy: str, name: str = ..., **kwargs: typing.Any + ) -> SecurityPolicyAssociationHttpRequest: ... + def getRule( + self, *, securityPolicy: str, priority: int = ..., **kwargs: typing.Any + ) -> SecurityPolicyRuleHttpRequest: ... + def insert( + self, + *, + body: SecurityPolicy = ..., + parentId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + parentId: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> SecurityPolicyListHttpRequest: ... + def list_next( + self, + previous_request: SecurityPolicyListHttpRequest, + previous_response: SecurityPolicyList, + ) -> SecurityPolicyListHttpRequest | None: ... + def listAssociations( + self, *, targetResource: str = ..., **kwargs: typing.Any + ) -> OrganizationSecurityPoliciesListAssociationsResponseHttpRequest: ... + def listPreconfiguredExpressionSets( + self, + *, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + parentId: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> SecurityPoliciesListPreconfiguredExpressionSetsResponseHttpRequest: ... + def move( + self, + *, + securityPolicy: str, + parentId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patch( + self, + *, + securityPolicy: str, + body: SecurityPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patchRule( + self, + *, + securityPolicy: str, + body: SecurityPolicyRule = ..., + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeAssociation( + self, + *, + securityPolicy: str, + name: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeRule( + self, + *, + securityPolicy: str, + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class PacketMirroringsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -4297,6 +4608,37 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class PreviewFeaturesResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, previewFeature: str, **kwargs: typing.Any + ) -> PreviewFeatureHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> PreviewFeatureListHttpRequest: ... + def list_next( + self, + previous_request: PreviewFeatureListHttpRequest, + previous_response: PreviewFeatureList, + ) -> PreviewFeatureListHttpRequest | None: ... + def update( + self, + *, + project: str, + previewFeature: str, + body: PreviewFeature = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): def disableXpnHost( @@ -5429,6 +5771,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 RegionInstanceTemplatesResource(googleapiclient.discovery.Resource): @@ -6413,6 +6764,16 @@ class ComputeResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -6442,6 +6803,26 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: ZoneSetNestedPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class ReservationSubBlocksResource(googleapiclient.discovery.Resource): @@ -6454,6 +6835,16 @@ class ComputeResource(googleapiclient.discovery.Resource): reservationSubBlock: str, **kwargs: typing.Any, ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -6482,6 +6873,37 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def reportFaulty( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + body: ReservationSubBlocksReportFaultyRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: ZoneSetNestedPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + parentResource: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): @@ -7097,6 +7519,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, serviceAttachment: str, + showNatIps: bool = ..., **kwargs: typing.Any, ) -> ServiceAttachmentHttpRequest: ... def getIamPolicy( @@ -7576,7 +7999,14 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, project: str, region: str, subnetwork: str, **kwargs: typing.Any + self, + *, + project: str, + region: str, + subnetwork: str, + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., + **kwargs: typing.Any, ) -> SubnetworkHttpRequest: ... def getIamPolicy( self, @@ -7606,6 +8036,8 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageToken: str = ..., returnPartialSuccess: bool = ..., + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., **kwargs: typing.Any, ) -> SubnetworkListHttpRequest: ... def list_next( @@ -7622,6 +8054,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageToken: str = ..., returnPartialSuccess: bool = ..., + serviceProject: str = ..., **kwargs: typing.Any, ) -> UsableSubnetworksAggregatedListHttpRequest: ... def listUsable_next( @@ -7968,6 +8401,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: ... @typing.type_check_only class TargetPoolsResource(googleapiclient.discovery.Resource): @@ -8097,6 +8539,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 TargetSslProxiesResource(googleapiclient.discovery.Resource): @@ -8568,6 +9019,65 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class WireGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + crossSiteNetwork: str, + wireGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + crossSiteNetwork: str, + wireGroup: str, + **kwargs: typing.Any, + ) -> WireGroupHttpRequest: ... + def insert( + self, + *, + project: str, + crossSiteNetwork: str, + body: WireGroup = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + crossSiteNetwork: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> WireGroupListHttpRequest: ... + def list_next( + self, + previous_request: WireGroupListHttpRequest, + previous_response: WireGroupList, + ) -> WireGroupListHttpRequest | None: ... + def patch( + self, + *, + project: str, + crossSiteNetwork: str, + wireGroup: str, + body: WireGroup = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ZoneOperationsResource(googleapiclient.discovery.Resource): def delete( @@ -8634,12 +9144,14 @@ class ComputeResource(googleapiclient.discovery.Resource): def autoscalers(self) -> AutoscalersResource: ... def backendBuckets(self) -> BackendBucketsResource: ... def backendServices(self) -> BackendServicesResource: ... + def crossSiteNetworks(self) -> CrossSiteNetworksResource: ... def diskTypes(self) -> DiskTypesResource: ... def disks(self) -> DisksResource: ... def externalVpnGateways(self) -> ExternalVpnGatewaysResource: ... def firewallPolicies(self) -> FirewallPoliciesResource: ... def firewalls(self) -> FirewallsResource: ... def forwardingRules(self) -> ForwardingRulesResource: ... + def futureReservations(self) -> FutureReservationsResource: ... def globalAddresses(self) -> GlobalAddressesResource: ... def globalForwardingRules(self) -> GlobalForwardingRulesResource: ... def globalNetworkEndpointGroups(self) -> GlobalNetworkEndpointGroupsResource: ... @@ -8681,7 +9193,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def nodeGroups(self) -> NodeGroupsResource: ... def nodeTemplates(self) -> NodeTemplatesResource: ... def nodeTypes(self) -> NodeTypesResource: ... + def organizationSecurityPolicies(self) -> OrganizationSecurityPoliciesResource: ... def packetMirrorings(self) -> PacketMirroringsResource: ... + def previewFeatures(self) -> PreviewFeaturesResource: ... def projects(self) -> ProjectsResource: ... def publicAdvertisedPrefixes(self) -> PublicAdvertisedPrefixesResource: ... def publicDelegatedPrefixes(self) -> PublicDelegatedPrefixesResource: ... @@ -8738,6 +9252,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def urlMaps(self) -> UrlMapsResource: ... def vpnGateways(self) -> VpnGatewaysResource: ... def vpnTunnels(self) -> VpnTunnelsResource: ... + def wireGroups(self) -> WireGroupsResource: ... def zoneOperations(self) -> ZoneOperationsResource: ... def zones(self) -> ZonesResource: ... @@ -8893,6 +9408,22 @@ class CommitmentListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CommitmentList: ... +@typing.type_check_only +class CrossSiteNetworkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CrossSiteNetwork: ... + +@typing.type_check_only +class CrossSiteNetworkListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CrossSiteNetworkList: ... + @typing.type_check_only class DiskHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9047,6 +9578,32 @@ class ForwardingRuleListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ForwardingRuleList: ... +@typing.type_check_only +class FutureReservationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FutureReservation: ... + +@typing.type_check_only +class FutureReservationsAggregatedListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FutureReservationsAggregatedListResponse: ... + +@typing.type_check_only +class FutureReservationsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FutureReservationsListResponse: ... + @typing.type_check_only class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9813,6 +10370,16 @@ class OperationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> OperationList: ... +@typing.type_check_only +class OrganizationSecurityPoliciesListAssociationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OrganizationSecurityPoliciesListAssociationsResponse: ... + @typing.type_check_only class PacketMirroringHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9845,6 +10412,22 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class PreviewFeatureHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PreviewFeature: ... + +@typing.type_check_only +class PreviewFeatureListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PreviewFeatureList: ... + @typing.type_check_only class ProjectHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10191,6 +10774,14 @@ class SecurityPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SecurityPolicy: ... +@typing.type_check_only +class SecurityPolicyAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SecurityPolicyAssociation: ... + @typing.type_check_only class SecurityPolicyListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10705,6 +11296,22 @@ class VpnTunnelListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VpnTunnelList: ... +@typing.type_check_only +class WireGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WireGroup: ... + +@typing.type_check_only +class WireGroupListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WireGroupList: ... + @typing.type_check_only class XpnHostListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 57755a44..efbe6efd 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -156,6 +156,7 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -180,10 +181,19 @@ class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=Fals @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): + healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation +@typing.type_check_only +class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): + degradedBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyBlockCount: int + @typing.type_check_only class AllocationResourceStatusSpecificSKUAllocation( typing_extensions.TypedDict, total=False @@ -430,6 +440,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): kind: str loadBalancingScheme: typing_extensions.Literal["INTERNAL_MANAGED"] name: str + params: BackendBucketParams selfLink: str usedBy: _list[BackendBucketUsedBy] @@ -480,6 +491,10 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): reference: str @@ -541,6 +556,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -550,6 +566,7 @@ class BackendService(typing_extensions.TypedDict, total=False): name: str network: str outlierDetection: OutlierDetection + params: BackendServiceParams port: int portName: str protocol: typing_extensions.Literal[ @@ -724,6 +741,7 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( "RANDOM", "RING_HASH", "ROUND_ROBIN", + "WEIGHTED_GCP_RENDEZVOUS", "WEIGHTED_MAGLEV", "WEIGHTED_ROUND_ROBIN", ] @@ -737,6 +755,10 @@ class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): ] sampleRate: float +@typing.type_check_only +class BackendServiceParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class BackendServiceReference(typing_extensions.TypedDict, total=False): backendService: str @@ -841,6 +863,7 @@ class BgpRoute(typing_extensions.TypedDict, total=False): @typing.type_check_only class BgpRouteAsPath(typing_extensions.TypedDict, total=False): asns: _list[int] + asns32: _list[int] type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only @@ -1043,6 +1066,26 @@ class CorsPolicy(typing_extensions.TypedDict, total=False): exposeHeaders: _list[str] maxAge: int +@typing.type_check_only +class CrossSiteNetwork(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + name: str + selfLink: str + +@typing.type_check_only +class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[CrossSiteNetwork] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class CustomErrorResponsePolicy(typing_extensions.TypedDict, total=False): errorResponseRules: _list[CustomErrorResponsePolicyCustomErrorResponseRule] @@ -1069,6 +1112,12 @@ class CustomerEncryptionKeyProtectedDisk(typing_extensions.TypedDict, total=Fals diskEncryptionKey: CustomerEncryptionKey source: str +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class DeprecationStatus(typing_extensions.TypedDict, total=False): deleted: str @@ -1417,6 +1466,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str + policyType: typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] region: str ruleTupleCount: int rules: _list[FirewallPolicyRule] @@ -1593,6 +1643,166 @@ class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): forwardingRules: _list[ForwardingRule] warning: dict[str, typing.Any] +@typing.type_check_only +class FutureReservation(typing_extensions.TypedDict, total=False): + aggregateReservation: AllocationAggregateReservation + autoCreatedReservationsDeleteTime: str + autoCreatedReservationsDuration: Duration + autoDeleteAutoCreatedReservations: bool + commitmentInfo: FutureReservationCommitmentInfo + creationTimestamp: str + deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] + description: str + enableEmergentMaintenance: bool + id: str + kind: str + name: str + namePrefix: str + planningStatus: typing_extensions.Literal[ + "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" + ] + reservationName: str + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] + selfLink: str + selfLinkWithId: str + shareSettings: ShareSettings + specificReservationRequired: bool + specificSkuProperties: FutureReservationSpecificSKUProperties + status: FutureReservationStatus + timeWindow: FutureReservationTimeWindow + zone: str + +@typing.type_check_only +class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): + commitmentName: str + commitmentPlan: typing_extensions.Literal[ + "INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + ] + previousCommitmentTerms: typing_extensions.Literal[ + "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" + ] + +@typing.type_check_only +class FutureReservationSpecificSKUProperties(typing_extensions.TypedDict, total=False): + instanceProperties: AllocationSpecificSKUAllocationReservedInstanceProperties + sourceInstanceTemplate: str + totalCount: str + +@typing.type_check_only +class FutureReservationStatus(typing_extensions.TypedDict, total=False): + amendmentStatus: typing_extensions.Literal[ + "AMENDMENT_APPROVED", + "AMENDMENT_DECLINED", + "AMENDMENT_IN_REVIEW", + "AMENDMENT_STATUS_UNSPECIFIED", + ] + autoCreatedReservations: _list[str] + existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo + fulfilledCount: str + lastKnownGoodState: FutureReservationStatusLastKnownGoodState + lockTime: str + procurementStatus: typing_extensions.Literal[ + "APPROVED", + "CANCELLED", + "COMMITTED", + "DECLINED", + "DRAFTING", + "FAILED", + "FAILED_PARTIALLY_FULFILLED", + "FULFILLED", + "PENDING_AMENDMENT_APPROVAL", + "PENDING_APPROVAL", + "PROCUREMENT_STATUS_UNSPECIFIED", + "PROCURING", + "PROVISIONING", + ] + specificSkuProperties: FutureReservationStatusSpecificSKUProperties + +@typing.type_check_only +class FutureReservationStatusExistingMatchingUsageInfo( + typing_extensions.TypedDict, total=False +): + count: str + timestamp: str + +@typing.type_check_only +class FutureReservationStatusLastKnownGoodState( + typing_extensions.TypedDict, total=False +): + description: str + existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo + futureReservationSpecs: ( + FutureReservationStatusLastKnownGoodStateFutureReservationSpecs + ) + lockTime: str + namePrefix: str + procurementStatus: typing_extensions.Literal[ + "APPROVED", + "CANCELLED", + "COMMITTED", + "DECLINED", + "DRAFTING", + "FAILED", + "FAILED_PARTIALLY_FULFILLED", + "FULFILLED", + "PENDING_AMENDMENT_APPROVAL", + "PENDING_APPROVAL", + "PROCUREMENT_STATUS_UNSPECIFIED", + "PROCURING", + "PROVISIONING", + ] + +@typing.type_check_only +class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs( + typing_extensions.TypedDict, total=False +): + shareSettings: ShareSettings + specificSkuProperties: FutureReservationSpecificSKUProperties + timeWindow: FutureReservationTimeWindow + +@typing.type_check_only +class FutureReservationStatusSpecificSKUProperties( + typing_extensions.TypedDict, total=False +): + sourceInstanceTemplateId: str + +@typing.type_check_only +class FutureReservationTimeWindow(typing_extensions.TypedDict, total=False): + duration: Duration + endTime: str + startTime: str + +@typing.type_check_only +class FutureReservationsAggregatedListResponse( + 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 FutureReservationsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[FutureReservation] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): + futureReservations: _list[FutureReservation] + warning: dict[str, typing.Any] + @typing.type_check_only class GRPCHealthCheck(typing_extensions.TypedDict, total=False): grpcServiceName: str @@ -2024,6 +2234,7 @@ class Image(typing_extensions.TypedDict, total=False): licenseCodes: _list[str] licenses: _list[str] name: str + params: ImageParams rawDisk: dict[str, typing.Any] satisfiesPzi: bool satisfiesPzs: bool @@ -2055,6 +2266,10 @@ class ImageList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ImageParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InitialStateConfig(typing_extensions.TypedDict, total=False): dbs: _list[FileContentBuffer] @@ -2114,6 +2329,7 @@ class Instance(typing_extensions.TypedDict, total=False): startRestricted: bool status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PROVISIONING", "REPAIRING", "RUNNING", @@ -2589,6 +2805,7 @@ class InstanceMoveRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceParams(typing_extensions.TypedDict, total=False): + requestValidForDuration: Duration resourceManagerTags: dict[str, typing.Any] @typing.type_check_only @@ -2684,6 +2901,7 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): namedPorts: _list[NamedPort] status: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PROVISIONING", "REPAIRING", "RUNNING", @@ -2854,8 +3072,12 @@ class Int64RangeMatch(typing_extensions.TypedDict, total=False): @typing.type_check_only class Interconnect(typing_extensions.TypedDict, total=False): + aaiEnabled: bool adminEnabled: bool - availableFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + applicationAwareInterconnect: InterconnectApplicationAwareInterconnect + availableFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str customerName: str @@ -2884,11 +3106,48 @@ class Interconnect(typing_extensions.TypedDict, total=False): peerIpAddress: str provisionedLinkCount: int remoteLocation: str - requestedFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + requestedFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + ] requestedLinkCount: int satisfiesPzs: bool selfLink: str state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] + wireGroups: _list[str] + +@typing.type_check_only +class InterconnectApplicationAwareInterconnect( + typing_extensions.TypedDict, total=False +): + bandwidthPercentagePolicy: ( + InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy + ) + profileDescription: str + shapeAveragePercentages: _list[ + InterconnectApplicationAwareInterconnectBandwidthPercentage + ] + strictPriorityPolicy: InterconnectApplicationAwareInterconnectStrictPriorityPolicy + +@typing.type_check_only +class InterconnectApplicationAwareInterconnectBandwidthPercentage( + typing_extensions.TypedDict, total=False +): + percentage: int + trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + +@typing.type_check_only +class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( + typing_extensions.TypedDict, total=False +): + bandwidthPercentages: _list[ + InterconnectApplicationAwareInterconnectBandwidthPercentage + ] + +@typing.type_check_only +class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( + typing_extensions.TypedDict, total=False +): ... @typing.type_check_only class InterconnectAttachment(typing_extensions.TypedDict, total=False): @@ -3327,7 +3586,9 @@ class InterconnectGroupsCreateMembersInterconnectInput( name: str nocContactEmail: str remoteLocation: str - requestedFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + requestedFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + ] requestedLinkCount: int @typing.type_check_only @@ -3384,7 +3645,9 @@ class InterconnectList(typing_extensions.TypedDict, total=False): class InterconnectLocation(typing_extensions.TypedDict, total=False): address: str availabilityZone: str - availableFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + availableFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + ] availableLinkTypes: _list[ typing_extensions.Literal[ "LINK_TYPE_ETHERNET_100G_LR", @@ -3406,6 +3669,7 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): "SOUTH_AMERICA", ] creationTimestamp: str + crossSiteInterconnectInfos: _list[InterconnectLocationCrossSiteInterconnectInfo] description: str facilityProvider: str facilityProviderFacilityId: str @@ -3415,9 +3679,16 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): peeringdbFacilityId: str regionInfos: _list[InterconnectLocationRegionInfo] selfLink: str + singleRegionProductionCriticalPeerLocations: _list[str] status: typing_extensions.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool +@typing.type_check_only +class InterconnectLocationCrossSiteInterconnectInfo( + typing_extensions.TypedDict, total=False +): + city: str + @typing.type_check_only class InterconnectLocationList(typing_extensions.TypedDict, total=False): id: str @@ -3489,6 +3760,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int + maxLagSize400Gbps: int name: str peeringdbFacilityId: str permittedConnections: _list[InterconnectRemoteLocationPermittedConnections] @@ -3725,6 +3997,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): instanceHealth: _list[ManagedInstanceInstanceHealth] instanceStatus: typing_extensions.Literal[ "DEPROVISIONING", + "PENDING", "PROVISIONING", "REPAIRING", "RUNNING", @@ -4072,9 +4345,11 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): nicType: typing_extensions.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] + parentNicName: str queueCount: int stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str + vlan: int @typing.type_check_only class NetworkList(typing_extensions.TypedDict, total=False): @@ -4092,6 +4367,7 @@ class NetworkParams(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkPeering(typing_extensions.TypedDict, total=False): autoCreateRoutes: bool + connectionStatus: NetworkPeeringConnectionStatus exchangeSubnetRoutes: bool exportCustomRoutes: bool exportSubnetRoutesWithPublicIp: bool @@ -4103,6 +4379,40 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] state: typing_extensions.Literal["ACTIVE", "INACTIVE"] stateDetails: str + updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + +@typing.type_check_only +class NetworkPeeringConnectionStatus(typing_extensions.TypedDict, total=False): + consensusState: NetworkPeeringConnectionStatusConsensusState + trafficConfiguration: NetworkPeeringConnectionStatusTrafficConfiguration + updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + +@typing.type_check_only +class NetworkPeeringConnectionStatusConsensusState( + typing_extensions.TypedDict, total=False +): + deleteStatus: typing_extensions.Literal[ + "DELETE_ACKNOWLEDGED", + "DELETE_STATUS_UNSPECIFIED", + "LOCAL_DELETE_REQUESTED", + "PEER_DELETE_REQUESTED", + ] + updateStatus: typing_extensions.Literal[ + "IN_SYNC", + "PENDING_LOCAL_ACKNOWLEDMENT", + "PENDING_PEER_ACKNOWLEDGEMENT", + "UPDATE_STATUS_UNSPECIFIED", + ] + +@typing.type_check_only +class NetworkPeeringConnectionStatusTrafficConfiguration( + typing_extensions.TypedDict, total=False +): + exportCustomRoutesToPeer: bool + exportSubnetRoutesWithPublicIpToPeer: bool + importCustomRoutesFromPeer: bool + importSubnetRoutesWithPublicIpFromPeer: bool + stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] @typing.type_check_only class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): @@ -4117,6 +4427,7 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): kind: str location: NetworkProfileLocation name: str + profileType: NetworkProfileProfileType selfLink: str selfLinkWithId: str @@ -4228,6 +4539,13 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] +@typing.type_check_only +class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): + networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] + rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE"] + ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] + vpcSubtype: typing_extensions.Literal["REGIONAL"] + @typing.type_check_only class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): etag: str @@ -4276,6 +4594,10 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( class NetworksRemovePeeringRequest(typing_extensions.TypedDict, total=False): name: str +@typing.type_check_only +class NetworksRequestRemovePeeringRequest(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class NetworksUpdatePeeringRequest(typing_extensions.TypedDict, total=False): networkPeering: NetworkPeering @@ -4567,6 +4889,13 @@ class OperationsScopedList(typing_extensions.TypedDict, total=False): operations: _list[Operation] warning: dict[str, typing.Any] +@typing.type_check_only +class OrganizationSecurityPoliciesListAssociationsResponse( + typing_extensions.TypedDict, total=False +): + associations: _list[SecurityPolicyAssociation] + kind: str + @typing.type_check_only class OutlierDetection(typing_extensions.TypedDict, total=False): baseEjectionTime: Duration @@ -4733,6 +5062,56 @@ class PreservedStatePreservedNetworkIpIpAddress( address: str literal: str +@typing.type_check_only +class PreviewFeature(typing_extensions.TypedDict, total=False): + activationStatus: typing_extensions.Literal[ + "ACTIVATION_STATE_UNSPECIFIED", "DISABLED", "ENABLED" + ] + creationTimestamp: str + description: str + id: str + kind: str + name: str + rolloutOperation: PreviewFeatureRolloutOperation + selfLink: str + status: PreviewFeatureStatus + +@typing.type_check_only +class PreviewFeatureList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[PreviewFeature] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): + rolloutInput: PreviewFeatureRolloutOperationRolloutInput + +@typing.type_check_only +class PreviewFeatureRolloutOperationRolloutInput( + typing_extensions.TypedDict, total=False +): + name: str + predefinedRolloutPlan: typing_extensions.Literal[ + "ROLLOUT_PLAN_FAST_ROLLOUT", + "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", + "ROLLOUT_PLAN_UNSPECIFIED", + ] + +@typing.type_check_only +class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): + description: str + helpLink: str + releaseStatus: PreviewFeatureStatusReleaseStatus + +@typing.type_check_only +class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): + stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] + updateDate: Date + @typing.type_check_only class Project(typing_extensions.TypedDict, total=False): cloudArmorTier: typing_extensions.Literal[ @@ -4798,6 +5177,7 @@ class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): fingerprint: str id: str ipCidrRange: str + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] kind: str name: str pdpScope: typing_extensions.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] @@ -4844,12 +5224,14 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): fingerprint: str id: str ipCidrRange: str + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isLiveMigration: bool kind: str mode: typing_extensions.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", + "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str parentPrefix: str @@ -4857,6 +5239,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): region: str selfLink: str status: typing_extensions.Literal[ + "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", "ANNOUNCED_TO_INTERNET", @@ -4892,11 +5275,13 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( delegateeProject: str description: str ipCidrRange: str + ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isAddress: bool mode: typing_extensions.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", + "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str region: str @@ -5381,9 +5766,11 @@ class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): backendService: str + mirrorPercent: float @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): + advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str creationTimestamp: str @@ -5400,6 +5787,9 @@ class Reservation(typing_extensions.TypedDict, total=False): resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] selfLink: str shareSettings: ShareSettings specificReservation: AllocationSpecificSKUReservation @@ -5409,6 +5799,14 @@ class Reservation(typing_extensions.TypedDict, total=False): ] zone: str +@typing.type_check_only +class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): + reservationOperationalMode: typing_extensions.Literal[ + "ALL_CAPACITY", + "HIGHLY_AVAILABLE_CAPACITY", + "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", + ] + @typing.type_check_only class ReservationAffinity(typing_extensions.TypedDict, total=False): consumeReservationType: typing_extensions.Literal[ @@ -5431,6 +5829,7 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): class ReservationBlock(typing_extensions.TypedDict, total=False): count: int creationTimestamp: str + healthInfo: ReservationBlockHealthInfo id: str inUseCount: int kind: str @@ -5444,6 +5843,14 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedSubBlockCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthySubBlockCount: int + @typing.type_check_only class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -5491,6 +5898,7 @@ class ReservationList(typing_extensions.TypedDict, total=False): class ReservationSubBlock(typing_extensions.TypedDict, total=False): count: int creationTimestamp: str + healthInfo: ReservationSubBlockHealthInfo id: str inUseCount: int kind: str @@ -5502,6 +5910,16 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str +@typing.type_check_only +class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): + degradedHostCount: int + degradedInfraCount: int + healthStatus: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + healthyHostCount: int + healthyInfraCount: int + @typing.type_check_only class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str @@ -5521,6 +5939,25 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" + ] + failureComponent: typing_extensions.Literal[ + "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" + ] + faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] + +@typing.type_check_only +class ReservationSubBlocksReportFaultyRequestFaultReason( + typing_extensions.TypedDict, total=False +): + behavior: typing_extensions.Literal[ + "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + ] + description: str + @typing.type_check_only class ReservationsBlocksPerformMaintenanceRequest( typing_extensions.TypedDict, total=False @@ -5711,11 +6148,24 @@ class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceStatus(typing_extensions.TypedDict, total=False): + effectiveInstanceMetadata: ResourceStatusEffectiveInstanceMetadata physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology + reservationConsumptionInfo: ResourceStatusReservationConsumptionInfo scheduling: ResourceStatusScheduling upcomingMaintenance: UpcomingMaintenance +@typing.type_check_only +class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total=False): + blockProjectSshKeysMetadataValue: bool + enableGuestAttributesMetadataValue: bool + enableOsInventoryMetadataValue: bool + enableOsconfigMetadataValue: bool + enableOsloginMetadataValue: bool + serialPortEnableMetadataValue: bool + serialPortLoggingEnableMetadataValue: bool + vmDnsSettingMetadataValue: str + @typing.type_check_only class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): block: str @@ -5723,6 +6173,12 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals host: str subblock: str +@typing.type_check_only +class ResourceStatusReservationConsumptionInfo( + typing_extensions.TypedDict, total=False +): + consumedReservation: str + @typing.type_check_only class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int @@ -5806,6 +6262,7 @@ class Router(typing_extensions.TypedDict, total=False): name: str nats: _list[RouterNat] network: str + params: RouterParams region: str selfLink: str @@ -5973,6 +6430,10 @@ class RouterNatSubnetworkToNat(typing_extensions.TypedDict, total=False): class RouterNatSubnetworkToNat64(typing_extensions.TypedDict, total=False): name: str +@typing.type_check_only +class RouterParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class RouterStatus(typing_extensions.TypedDict, total=False): bestRoutes: _list[Route] @@ -6132,8 +6593,9 @@ class Scheduling(typing_extensions.TypedDict, total=False): onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool provisioningModel: typing_extensions.Literal[ - "RESERVATION_BOUND", "SPOT", "STANDARD" + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] + skipGuestOsShutdown: bool terminationTime: str @typing.type_check_only @@ -6181,6 +6643,7 @@ class SecurityPoliciesWafConfig(typing_extensions.TypedDict, total=False): class SecurityPolicy(typing_extensions.TypedDict, total=False): adaptiveProtectionConfig: SecurityPolicyAdaptiveProtectionConfig advancedOptionsConfig: SecurityPolicyAdvancedOptionsConfig + associations: _list[SecurityPolicyAssociation] creationTimestamp: str ddosProtectionConfig: SecurityPolicyDdosProtectionConfig description: str @@ -6194,6 +6657,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): region: str rules: _list[SecurityPolicyRule] selfLink: str + shortName: str type: typing_extensions.Literal[ "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_NETWORK" ] @@ -6254,6 +6718,16 @@ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig( ): contentTypes: _list[str] +@typing.type_check_only +class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): + attachmentId: str + displayName: str + excludedFolders: _list[str] + excludedProjects: _list[str] + name: str + securityPolicyId: str + shortName: str + @typing.type_check_only class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): ddosProtection: typing_extensions.Literal[ @@ -6480,6 +6954,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str + metadata: dict[str, typing.Any] name: str natSubnets: _list[str] producerForwardingRule: str @@ -6504,6 +6979,7 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): consumerNetwork: str endpoint: str + natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str status: typing_extensions.Literal[ @@ -6611,6 +7087,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): licenses: _list[str] locationHint: str name: str + params: SnapshotParams satisfiesPzi: bool satisfiesPzs: bool selfLink: str @@ -6641,6 +7118,10 @@ class SnapshotList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class SnapshotParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class SnapshotSettings(typing_extensions.TypedDict, total=False): storageLocation: SnapshotSettingsStorageLocationSettings @@ -6788,9 +7269,11 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2"] + minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - profile: typing_extensions.Literal["COMPATIBLE", "CUSTOM", "MODERN", "RESTRICTED"] + profile: typing_extensions.Literal[ + "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" + ] region: str selfLink: str warnings: _list[dict[str, typing.Any]] @@ -7004,6 +7487,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["DRAINING", "READY"] systemReservedExternalIpv6Ranges: _list[str] systemReservedInternalIpv6Ranges: _list[str] + utilizationDetails: SubnetworkUtilizationDetails @typing.type_check_only class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): @@ -7052,6 +7536,28 @@ class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): rangeName: str reservedInternalRange: str +@typing.type_check_only +class SubnetworkUtilizationDetails(typing_extensions.TypedDict, total=False): + externalIpv6InstanceUtilization: SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6LbUtilization: SubnetworkUtilizationDetailsIPV6Utilization + internalIpv6Utilization: SubnetworkUtilizationDetailsIPV6Utilization + ipv4Utilizations: _list[SubnetworkUtilizationDetailsIPV4Utilization] + +@typing.type_check_only +class SubnetworkUtilizationDetailsIPV4Utilization( + typing_extensions.TypedDict, total=False +): + rangeName: str + totalAllocatedIp: str + totalFreeIp: str + +@typing.type_check_only +class SubnetworkUtilizationDetailsIPV6Utilization( + typing_extensions.TypedDict, total=False +): + totalAllocatedIp: Uint128 + totalFreeIp: Uint128 + @typing.type_check_only class SubnetworksExpandIpCidrRangeRequest(typing_extensions.TypedDict, total=False): ipCidrRange: str @@ -7490,8 +7996,31 @@ class Uint128(typing_extensions.TypedDict, total=False): class UpcomingMaintenance(typing_extensions.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str + maintenanceOnShutdown: bool + maintenanceReasons: _list[ + typing_extensions.Literal[ + "FAILURE_DISK", + "FAILURE_GPU", + "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", + "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED", + "FAILURE_GPU_TEMPERATURE", + "FAILURE_GPU_XID", + "FAILURE_INFRA", + "FAILURE_INTERFACE", + "FAILURE_MEMORY", + "FAILURE_NETWORK", + "FAILURE_NVLINK", + "FAILURE_REDUNDANT_HARDWARE_FAULT", + "INFRASTRUCTURE_RELOCATION", + "MAINTENANCE_REASON_UNKNOWN", + "PLANNED_NETWORK_UPDATE", + "PLANNED_UPDATE", + ] + ] maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] - type: typing_extensions.Literal["SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] + type: typing_extensions.Literal[ + "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" + ] windowEndTime: str windowStartTime: str @@ -7741,6 +8270,7 @@ class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class VpnTunnel(typing_extensions.TypedDict, total=False): + cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str detailedStatus: str @@ -7790,6 +8320,11 @@ class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class VpnTunnelCipherSuite(typing_extensions.TypedDict, total=False): + phase1: VpnTunnelPhase1Algorithms + phase2: VpnTunnelPhase2Algorithms + @typing.type_check_only class VpnTunnelList(typing_extensions.TypedDict, total=False): id: str @@ -7799,6 +8334,19 @@ class VpnTunnelList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VpnTunnelPhase1Algorithms(typing_extensions.TypedDict, total=False): + dh: _list[str] + encryption: _list[str] + integrity: _list[str] + prf: _list[str] + +@typing.type_check_only +class VpnTunnelPhase2Algorithms(typing_extensions.TypedDict, total=False): + encryption: _list[str] + integrity: _list[str] + pfs: _list[str] + @typing.type_check_only class VpnTunnelsScopedList(typing_extensions.TypedDict, total=False): vpnTunnels: _list[VpnTunnel] @@ -7821,6 +8369,70 @@ class WeightedBackendService(typing_extensions.TypedDict, total=False): headerAction: HttpHeaderAction weight: int +@typing.type_check_only +class Wire(typing_extensions.TypedDict, total=False): + adminEnabled: bool + endpoints: _list[WireEndpoint] + label: str + wireProperties: WireProperties + +@typing.type_check_only +class WireEndpoint(typing_extensions.TypedDict, total=False): + interconnect: str + vlanTag: int + +@typing.type_check_only +class WireGroup(typing_extensions.TypedDict, total=False): + adminEnabled: bool + creationTimestamp: str + description: str + endpoints: dict[str, typing.Any] + id: str + kind: str + name: str + reconciling: bool + selfLink: str + topology: WireGroupTopology + wireProperties: WireProperties + wires: _list[Wire] + +@typing.type_check_only +class WireGroupEndpoint(typing_extensions.TypedDict, total=False): + interconnects: dict[str, typing.Any] + +@typing.type_check_only +class WireGroupEndpointInterconnect(typing_extensions.TypedDict, total=False): + interconnect: str + vlanTags: _list[int] + +@typing.type_check_only +class WireGroupList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[WireGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class WireGroupTopology(typing_extensions.TypedDict, total=False): + endpoints: _list[WireGroupTopologyEndpoint] + +@typing.type_check_only +class WireGroupTopologyEndpoint(typing_extensions.TypedDict, total=False): + city: str + label: str + +@typing.type_check_only +class WireProperties(typing_extensions.TypedDict, total=False): + bandwidthAllocation: typing_extensions.Literal[ + "ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP" + ] + bandwidthUnmetered: str + faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] + @typing.type_check_only class XpnHostList(typing_extensions.TypedDict, total=False): id: str @@ -7863,6 +8475,12 @@ class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] +@typing.type_check_only +class ZoneSetNestedPolicyRequest(typing_extensions.TypedDict, total=False): + bindings: _list[Binding] + etag: str + policy: Policy + @typing.type_check_only class ZoneSetPolicyRequest(typing_extensions.TypedDict, total=False): bindings: _list[Binding] diff --git a/googleapiclient-stubs/_apis/config/v1/resources.pyi b/googleapiclient-stubs/_apis/config/v1/resources.pyi index c4955a83..059e2edf 100644 --- a/googleapiclient-stubs/_apis/config/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/config/v1/resources.pyi @@ -199,6 +199,7 @@ class ConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/config/v1/schemas.pyi b/googleapiclient-stubs/_apis/config/v1/schemas.pyi index 55fbf910..5281ace0 100644 --- a/googleapiclient-stubs/_apis/config/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/config/v1/schemas.pyi @@ -66,6 +66,7 @@ class Deployment(typing_extensions.TypedDict, total=False): "UNLOCK_FAILED", ] name: str + providerConfig: ProviderConfig quotaValidation: typing_extensions.Literal[ "QUOTA_VALIDATION_UNSPECIFIED", "ENABLED", "ENFORCED" ] @@ -158,6 +159,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 ListPreviewsResponse(typing_extensions.TypedDict, total=False): @@ -267,6 +269,7 @@ class Preview(typing_extensions.TypedDict, total=False): previewMode: typing_extensions.Literal[ "PREVIEW_MODE_UNSPECIFIED", "DEFAULT", "DELETE" ] + providerConfig: ProviderConfig serviceAccount: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -329,6 +332,12 @@ class PropertyDrift(typing_extensions.TypedDict, total=False): beforeSensitivePaths: _list[str] path: str +@typing.type_check_only +class ProviderConfig(typing_extensions.TypedDict, total=False): + sourceType: typing_extensions.Literal[ + "PROVIDER_SOURCE_UNSPECIFIED", "SERVICE_MAINTAINED" + ] + @typing.type_check_only class Resource(typing_extensions.TypedDict, total=False): caiAssets: dict[str, typing.Any] @@ -400,6 +409,7 @@ class Revision(typing_extensions.TypedDict, total=False): importExistingResources: bool logs: str name: str + providerConfig: ProviderConfig quotaValidation: typing_extensions.Literal[ "QUOTA_VALIDATION_UNSPECIFIED", "ENABLED", "ENFORCED" ] diff --git a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi index 686a9982..0f7c721a 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi @@ -212,7 +212,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... def get( self, @@ -554,6 +554,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index aa6d8002..b6bde665 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -287,11 +287,7 @@ class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): maxInstanceRequestConcurrency: int migrateDeploymentModel: bool migrateTls: bool - networkEgressMode: typing_extensions.Literal[ - "NETWORK_EGRESS_MODE_UNSPECIFIED", - "SERVERLESS_VPC_ACCESS_CONNECTOR", - "DIRECT_VPC_EGRESS", - ] + networkEgressModeOverride: NetworkEgressModeOverride provisionCloudSpanner: bool provisionMemstore: bool ratelimitThreshold: str @@ -1106,6 +1102,7 @@ class ListManagedZonesResponse(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 ListProvidersResponse(typing_extensions.TypedDict, total=False): @@ -1216,6 +1213,16 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): "NETWORK_EGRESS_MODE_UNSPECIFIED", "AUTO_IP", "STATIC_IP" ] +@typing.type_check_only +class NetworkEgressModeOverride(typing_extensions.TypedDict, total=False): + isEventingOverrideEnabled: bool + isJobsOverrideEnabled: bool + networkEgressMode: typing_extensions.Literal[ + "NETWORK_EGRESS_MODE_UNSPECIFIED", + "SERVERLESS_VPC_ACCESS_CONNECTOR", + "DIRECT_VPC_EGRESS", + ] + @typing.type_check_only class NodeConfig(typing_extensions.TypedDict, total=False): maxNodeCount: int diff --git a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi index db5f4f9d..c4e73e19 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi @@ -114,6 +114,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, + contextMetadata: str = ..., view: typing_extensions.Literal[ "ENTITY_TYPE_SCHEMA_VIEW_UNSPECIFIED", "ENTITY_TYPE_SCHEMA_VIEW_BASIC", @@ -141,6 +142,48 @@ class ConnectorsResource(googleapiclient.discovery.Resource): ) -> ListEntityTypesResponseHttpRequest | None: ... def entities(self) -> EntitiesResource: ... + @typing.type_check_only + class ResourcesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GetResourceResponseHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListResourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListResourcesResponseHttpRequest, + previous_response: ListResourcesResponse, + ) -> ListResourcesResponseHttpRequest | None: ... + + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + def execute( + self, + *, + name: str, + body: ExecuteToolRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteToolResponseHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListToolsResponseHttpRequest, + previous_response: ListToolsResponse, + ) -> ListToolsResponseHttpRequest | None: ... + def checkReadiness( self, *, name: str, **kwargs: typing.Any ) -> CheckReadinessResponseHttpRequest: ... @@ -170,6 +213,8 @@ class ConnectorsResource(googleapiclient.discovery.Resource): ) -> RefreshAccessTokenResponseHttpRequest: ... def actions(self) -> ActionsResource: ... def entityTypes(self) -> EntityTypesResource: ... + def resources(self) -> ResourcesResource: ... + def tools(self) -> ToolsResource: ... def connections(self) -> ConnectionsResource: ... @@ -261,6 +306,22 @@ class ExecuteSqlQueryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ExecuteSqlQueryResponse: ... +@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 GetResourceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetResourceResponse: ... + @typing.type_check_only class ListActionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -285,6 +346,22 @@ class ListEntityTypesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListEntityTypesResponse: ... +@typing.type_check_only +class ListResourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListResourcesResponse: ... + +@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 RefreshAccessTokenResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index a4ef2ef6..2ac760eb 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -16,6 +16,7 @@ class Action(typing_extensions.TypedDict, total=False): displayName: str inputJsonSchema: JsonSchema inputParameters: _list[InputParameter] + metadata: dict[str, typing.Any] name: str resultJsonSchema: JsonSchema resultMetadata: _list[ResultMetadata] @@ -34,6 +35,7 @@ class CheckReadinessResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class CheckStatusResponse(typing_extensions.TypedDict, total=False): description: str + metadata: dict[str, typing.Any] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ERROR", "AUTH_ERROR" ] @@ -61,12 +63,15 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Entity(typing_extensions.TypedDict, total=False): fields: dict[str, typing.Any] + metadata: dict[str, typing.Any] name: str @typing.type_check_only class EntityType(typing_extensions.TypedDict, total=False): + defaultSortBy: str fields: _list[Field] jsonSchema: JsonSchema + metadata: dict[str, typing.Any] name: str operations: _list[ typing_extensions.Literal[ @@ -81,6 +86,7 @@ class ExchangeAuthCodeRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExchangeAuthCodeResponse(typing_extensions.TypedDict, total=False): accessCredentials: AccessCredentials + metadata: dict[str, typing.Any] @typing.type_check_only class ExecuteActionRequest(typing_extensions.TypedDict, total=False): @@ -88,6 +94,7 @@ class ExecuteActionRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecuteActionResponse(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] results: _list[dict[str, typing.Any]] @typing.type_check_only @@ -98,6 +105,15 @@ class ExecuteSqlQueryRequest(typing_extensions.TypedDict, total=False): class ExecuteSqlQueryResponse(typing_extensions.TypedDict, total=False): results: _list[dict[str, typing.Any]] +@typing.type_check_only +class ExecuteToolRequest(typing_extensions.TypedDict, total=False): + parameters: 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 Field(typing_extensions.TypedDict, total=False): additionalDetails: dict[str, typing.Any] @@ -156,6 +172,12 @@ class Field(typing_extensions.TypedDict, total=False): nullable: bool reference: Reference +@typing.type_check_only +class GetResourceResponse(typing_extensions.TypedDict, total=False): + data: str + metadata: dict[str, typing.Any] + mimeType: str + @typing.type_check_only class InputParameter(typing_extensions.TypedDict, total=False): additionalDetails: dict[str, typing.Any] @@ -303,20 +325,35 @@ class JsonSchema(typing_extensions.TypedDict, total=False): @typing.type_check_only class ListActionsResponse(typing_extensions.TypedDict, total=False): actions: _list[Action] + metadata: dict[str, typing.Any] nextPageToken: str unsupportedActionNames: _list[str] @typing.type_check_only class ListEntitiesResponse(typing_extensions.TypedDict, total=False): entities: _list[Entity] + metadata: dict[str, typing.Any] nextPageToken: str @typing.type_check_only class ListEntityTypesResponse(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] nextPageToken: str types: _list[EntityType] unsupportedTypeNames: _list[str] +@typing.type_check_only +class ListResourcesResponse(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] + nextPageToken: str + resources: _list[Resource] + +@typing.type_check_only +class ListToolsResponse(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] + nextPageToken: str + tools: _list[Tool] + @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): createTime: str @@ -435,6 +472,15 @@ class RefreshAccessTokenRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RefreshAccessTokenResponse(typing_extensions.TypedDict, total=False): accessCredentials: AccessCredentials + metadata: dict[str, typing.Any] + +@typing.type_check_only +class Resource(typing_extensions.TypedDict, total=False): + description: str + mimeType: str + name: str + size: str + uri: str @typing.type_check_only class ResultMetadata(typing_extensions.TypedDict, total=False): @@ -524,8 +570,26 @@ class TimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class Tool(typing_extensions.TypedDict, total=False): + annotations: ToolAnnotations + dependsOn: _list[str] + description: str + inputSchema: JsonSchema + name: str + outputSchema: JsonSchema + +@typing.type_check_only +class ToolAnnotations(typing_extensions.TypedDict, total=False): + destructiveHint: bool + idempotentHint: bool + openWorldHint: bool + readOnlyHint: bool + title: str + @typing.type_check_only class UpdateEntitiesWithConditionsResponse(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] response: dict[str, typing.Any] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi index 3178b17b..aada505c 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi @@ -81,6 +81,7 @@ class CCAIPlatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi index b7697162..e901f610 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi @@ -27,6 +27,7 @@ class ContactCenter(typing_extensions.TypedDict, total=False): customerDomainPrefix: str displayName: str early: Early + featureConfig: FeatureConfig instanceConfig: InstanceConfig kmsKey: str labels: dict[str, typing.Any] @@ -69,6 +70,10 @@ class Early(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class FeatureConfig(typing_extensions.TypedDict, total=False): + agentDesktopEnabled: bool + @typing.type_check_only class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): apiVersion: str @@ -116,6 +121,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/contactcenterinsights/v1/resources.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi index bee03851..9c6417b3 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi @@ -361,6 +361,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -389,6 +390,13 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest ): ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -449,6 +457,20 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponseHttpRequest | None ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def conversations(self) -> ConversationsResource: ... def operations(self) -> OperationsResource: ... @@ -735,9 +757,17 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleCloudContactcenterinsightsV1Conversation = ..., + allowMissing: bool = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1ConversationHttpRequest: ... + def sample( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1SampleConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def upload( self, *, @@ -895,6 +925,13 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest | None ): ... + def sample( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1SampleConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def analyses(self) -> AnalysesResource: ... def feedbackLabels(self) -> FeedbackLabelsResource: ... @@ -929,6 +966,39 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Dataset = ..., + datasetId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1DatasetHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1DatasetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1ListDatasetsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListDatasetsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListDatasetsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListDatasetsResponseHttpRequest + | None + ): ... def listAllFeedbackLabels( self, *, @@ -946,6 +1016,14 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1Dataset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1DatasetHttpRequest: ... def conversations(self) -> ConversationsResource: ... def insightsdata(self) -> InsightsdataResource: ... @@ -1074,6 +1152,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1236,6 +1315,18 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + qaScorecardSources: typing_extensions.Literal[ + "QA_SCORECARD_SOURCE_UNSPECIFIED", + "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", + "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + ] + | _list[ + typing_extensions.Literal[ + "QA_SCORECARD_SOURCE_UNSPECIFIED", + "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", + "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + ] + ] = ..., **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponseHttpRequest: ... def list_next( @@ -1284,6 +1375,18 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + qaScorecardSources: typing_extensions.Literal[ + "QA_SCORECARD_SOURCE_UNSPECIFIED", + "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", + "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + ] + | _list[ + typing_extensions.Literal[ + "QA_SCORECARD_SOURCE_UNSPECIFIED", + "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", + "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + ] + ] = ..., **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1ListQaScorecardsResponseHttpRequest: ... def list_next( @@ -1530,6 +1633,16 @@ class GoogleCloudContactcenterinsightsV1ConversationHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1Conversation: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DatasetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1Dataset: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1EncryptionSpecHttpRequest( googleapiclient.http.HttpRequest @@ -1650,6 +1763,16 @@ class GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListConversationsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListDatasetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListDatasetsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1840,6 +1963,24 @@ class GoogleCloudContactcenterinsightsV1ViewHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1View: ... +@typing.type_check_only +class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleIamV1Policy: ... + +@typing.type_check_only +class GoogleIamV1TestIamPermissionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleIamV1TestIamPermissionsResponse: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi index 4d299669..6ec65d76 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi @@ -463,6 +463,7 @@ class GoogleCloudContactcenterinsightsV1ConversationQualityMetadata( GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo ] customerSatisfactionRating: int + feedbackLabels: _list[GoogleCloudContactcenterinsightsV1FeedbackLabel] menuPath: str waitDuration: str @@ -474,11 +475,15 @@ class GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo( 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 GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData( @@ -669,8 +674,12 @@ class GoogleCloudContactcenterinsightsV1Dimension( "AGENT_TEAM", "QA_QUESTION_ID", "QA_QUESTION_ANSWER_VALUE", + "QA_SCORECARD_ID", "CONVERSATION_PROFILE_ID", "MEDIUM", + "AGENT_VERSION_ID", + "AGENT_DEPLOYMENT_ID", + "AGENT_ASSIST_SUPERVISOR_ID", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata @@ -681,14 +690,21 @@ class GoogleCloudContactcenterinsightsV1Dimension( qaQuestionDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata ) + qaScorecardDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata + ) @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata( typing_extensions.TypedDict, total=False ): + agentDeploymentDisplayName: str + agentDeploymentId: str agentDisplayName: str agentId: str agentTeam: str + agentVersionDisplayName: str + agentVersionId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata( @@ -715,6 +731,12 @@ class GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata( qaScorecardId: str questionBody: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata( + typing_extensions.TypedDict, total=False +): + qaScorecardId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1EncryptionSpec( typing_extensions.TypedDict, total=False @@ -787,6 +809,10 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( "EXPORT_V5", "EXPORT_V6", "EXPORT_V7", + "EXPORT_V8", + "EXPORT_V9", + "EXPORT_V10", + "EXPORT_V11", "EXPORT_VERSION_LATEST_AVAILABLE", ] filter: str @@ -913,6 +939,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata( ingestConversationsStats: GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1IngestConversationsRequest + sampledConversations: _list[str] @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats( @@ -956,6 +983,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource( bucketUri: str customMetadataKeys: _list[str] metadataBucketUri: str + transcriptBucketUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig( @@ -1138,6 +1166,13 @@ class GoogleCloudContactcenterinsightsV1ListConversationsResponse( conversations: _list[GoogleCloudContactcenterinsightsV1Conversation] nextPageToken: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListDatasetsResponse( + typing_extensions.TypedDict, total=False +): + datasets: _list[GoogleCloudContactcenterinsightsV1Dataset] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse( typing_extensions.TypedDict, total=False @@ -1320,6 +1355,7 @@ class GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue( numValue: float potentialScore: float score: float + skipValue: bool strValue: str @typing.type_check_only @@ -1369,6 +1405,8 @@ 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 @@ -1406,6 +1444,11 @@ class GoogleCloudContactcenterinsightsV1QaScorecard( displayName: str isDefault: bool name: str + source: typing_extensions.Literal[ + "QA_SCORECARD_SOURCE_UNSPECIFIED", + "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", + "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + ] updateTime: str @typing.type_check_only @@ -1686,6 +1729,7 @@ class GoogleCloudContactcenterinsightsV1Settings( name: str pubsubNotificationSettings: dict[str, typing.Any] redactionConfig: GoogleCloudContactcenterinsightsV1RedactionConfig + screenRecordingBucketUri: str speechConfig: GoogleCloudContactcenterinsightsV1SpeechConfig updateTime: str @@ -2079,6 +2123,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata( GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo ] customerSatisfactionRating: int + feedbackLabels: _list[GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel] menuPath: str waitDuration: str @@ -2090,11 +2135,15 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentIn 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 GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData( @@ -2280,8 +2329,12 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( "AGENT_TEAM", "QA_QUESTION_ID", "QA_QUESTION_ANSWER_VALUE", + "QA_SCORECARD_ID", "CONVERSATION_PROFILE_ID", "MEDIUM", + "AGENT_VERSION_ID", + "AGENT_DEPLOYMENT_ID", + "AGENT_ASSIST_SUPERVISOR_ID", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata @@ -2290,14 +2343,21 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( qaQuestionDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata ) + qaScorecardDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata + ) @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata( typing_extensions.TypedDict, total=False ): + agentDeploymentDisplayName: str + agentDeploymentId: str agentDisplayName: str agentId: str agentTeam: str + agentVersionDisplayName: str + agentVersionId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata( @@ -2324,6 +2384,12 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetada qaScorecardId: str questionBody: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata( + typing_extensions.TypedDict, total=False +): + qaScorecardId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec( typing_extensions.TypedDict, total=False @@ -2388,6 +2454,10 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( "EXPORT_V5", "EXPORT_V6", "EXPORT_V7", + "EXPORT_V8", + "EXPORT_V9", + "EXPORT_V10", + "EXPORT_V11", "EXPORT_VERSION_LATEST_AVAILABLE", ] filter: str @@ -2509,6 +2579,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata( ingestConversationsStats: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest + sampledConversations: _list[str] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats( @@ -2552,6 +2623,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSourc bucketUri: str customMetadataKeys: _list[str] metadataBucketUri: str + transcriptBucketUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig( @@ -2732,6 +2804,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue( numValue: float potentialScore: float score: float + skipValue: bool strValue: str @typing.type_check_only @@ -3031,10 +3104,49 @@ class GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest( redactionConfig: GoogleCloudContactcenterinsightsV1alpha1RedactionConfig speechConfig: GoogleCloudContactcenterinsightsV1alpha1SpeechConfig +@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 GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: GoogleIamV1Policy + updateMask: str + +@typing.type_check_only +class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] + @typing.type_check_only 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): @@ -3053,6 +3165,13 @@ class GoogleRpcStatus(typing_extensions.TypedDict, total=False): 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 + @typing.type_check_only class GoogleTypeInterval(typing_extensions.TypedDict, total=False): endTime: str diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index 74407acf..0407ba9f 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -82,7 +82,8 @@ class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): securityGroup: str @typing.type_check_only -class AutoIpamConfig(typing_extensions.TypedDict, total=False): ... +class AutoIpamConfig(typing_extensions.TypedDict, total=False): + enabled: bool @typing.type_check_only class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): @@ -96,6 +97,7 @@ class AutoUpgradeOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class Autopilot(typing_extensions.TypedDict, total=False): enabled: bool + privilegedAdmissionConfig: PrivilegedAdmissionConfig workloadPolicyConfig: WorkloadPolicyConfig @typing.type_check_only @@ -130,6 +132,10 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False) shieldedInstanceConfig: ShieldedInstanceConfig upgradeSettings: UpgradeSettings +@typing.type_check_only +class AutoscaledRolloutPolicy(typing_extensions.TypedDict, total=False): + waitForDrainDuration: str + @typing.type_check_only class BestEffortProvisioning(typing_extensions.TypedDict, total=False): enabled: bool @@ -165,6 +171,7 @@ class BlueGreenInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class BlueGreenSettings(typing_extensions.TypedDict, total=False): + autoscaledRolloutPolicy: AutoscaledRolloutPolicy nodePoolSoakDuration: str standardRolloutPolicy: StandardRolloutPolicy @@ -307,6 +314,7 @@ class ClusterAutoscaling(typing_extensions.TypedDict, total=False): autoscalingProfile: typing_extensions.Literal[ "PROFILE_UNSPECIFIED", "OPTIMIZE_UTILIZATION", "BALANCED" ] + defaultComputeClassConfig: DefaultComputeClassConfig enableNodeAutoprovisioning: bool resourceLimits: _list[ResourceLimit] @@ -364,6 +372,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredMonitoringConfig: MonitoringConfig desiredMonitoringService: str desiredNetworkPerformanceConfig: ClusterNetworkPerformanceConfig + desiredNetworkTierConfig: NetworkTierConfig desiredNodeKubeletConfig: NodeKubeletConfig desiredNodePoolAutoConfigKubeletConfig: NodeKubeletConfig desiredNodePoolAutoConfigLinuxNodeConfig: LinuxNodeConfig @@ -463,6 +472,7 @@ class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContainerdConfig(typing_extensions.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig + writableCgroups: WritableCgroups @typing.type_check_only class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): @@ -502,6 +512,8 @@ class DNSConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class DNSEndpointConfig(typing_extensions.TypedDict, total=False): allowExternalTraffic: bool + enableK8sCertsViaDns: bool + enableK8sTokensViaDns: bool endpoint: str @typing.type_check_only @@ -525,6 +537,10 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): lastOperationErrors: _list[OperationError] state: typing_extensions.Literal["UNKNOWN", "ENCRYPTED", "DECRYPTED"] +@typing.type_check_only +class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class DefaultSnatStatus(typing_extensions.TypedDict, total=False): disabled: bool @@ -606,6 +622,9 @@ class Filter(typing_extensions.TypedDict, total=False): @typing.type_check_only class Fleet(typing_extensions.TypedDict, total=False): membership: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] preRegistered: bool project: str @@ -715,6 +734,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal[ "IPV6_ACCESS_TYPE_UNSPECIFIED", "INTERNAL", "EXTERNAL" ] + networkTierConfig: NetworkTierConfig nodeIpv4Cidr: str nodeIpv4CidrBlock: str podCidrOverprovisionConfig: PodCIDROverprovisionConfig @@ -980,6 +1000,15 @@ class NetworkPolicyConfig(typing_extensions.TypedDict, total=False): class NetworkTags(typing_extensions.TypedDict, total=False): tags: _list[str] +@typing.type_check_only +class NetworkTierConfig(typing_extensions.TypedDict, total=False): + networkTier: typing_extensions.Literal[ + "NETWORK_TIER_UNSPECIFIED", + "NETWORK_TIER_DEFAULT", + "NETWORK_TIER_PREMIUM", + "NETWORK_TIER_STANDARD", + ] + @typing.type_check_only class NodeAffinity(typing_extensions.TypedDict, total=False): key: str @@ -1089,6 +1118,7 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): createPodRange: bool enablePrivateNodes: bool networkPerformanceConfig: NetworkPerformanceConfig + networkTierConfig: NetworkTierConfig podCidrOverprovisionConfig: PodCIDROverprovisionConfig podIpv4CidrBlock: str podIpv4RangeUtilization: float @@ -1293,6 +1323,10 @@ class PrivateRegistryAccessConfig(typing_extensions.TypedDict, total=False): certificateAuthorityDomainConfig: _list[CertificateAuthorityDomainConfig] enabled: bool +@typing.type_check_only +class PrivilegedAdmissionConfig(typing_extensions.TypedDict, total=False): + allowlistPaths: _list[str] + @typing.type_check_only class PubSub(typing_extensions.TypedDict, total=False): enabled: bool @@ -1384,6 +1418,11 @@ class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): respectPdb: bool zone: str +@typing.type_check_only +class RotationConfig(typing_extensions.TypedDict, total=False): + enabled: bool + rotationInterval: str + @typing.type_check_only class SandboxConfig(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["UNSPECIFIED", "GVISOR"] @@ -1399,6 +1438,7 @@ class SecondaryBootDiskUpdateStrategy(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecretManagerConfig(typing_extensions.TypedDict, total=False): enabled: bool + rotationConfig: RotationConfig @typing.type_check_only class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): @@ -1806,3 +1846,7 @@ class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): allowNetAdmin: bool autopilotCompatibilityAuditingEnabled: bool + +@typing.type_check_only +class WritableCgroups(typing_extensions.TypedDict, total=False): + enabled: bool diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 8df4bcd8..1ddfab95 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -85,7 +85,8 @@ class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): securityGroup: str @typing.type_check_only -class AutoIpamConfig(typing_extensions.TypedDict, total=False): ... +class AutoIpamConfig(typing_extensions.TypedDict, total=False): + enabled: bool @typing.type_check_only class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): @@ -100,6 +101,7 @@ class AutoUpgradeOptions(typing_extensions.TypedDict, total=False): class Autopilot(typing_extensions.TypedDict, total=False): conversionStatus: AutopilotConversionStatus enabled: bool + privilegedAdmissionConfig: PrivilegedAdmissionConfig workloadPolicyConfig: WorkloadPolicyConfig @typing.type_check_only @@ -139,7 +141,8 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False) upgradeSettings: UpgradeSettings @typing.type_check_only -class AutoscaledRolloutPolicy(typing_extensions.TypedDict, total=False): ... +class AutoscaledRolloutPolicy(typing_extensions.TypedDict, total=False): + waitForDrainDuration: str @typing.type_check_only class AvailableVersion(typing_extensions.TypedDict, total=False): @@ -308,6 +311,7 @@ class Cluster(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool secretManagerConfig: SecretManagerConfig + secretSyncConfig: SecretSyncConfig securityPostureConfig: SecurityPostureConfig selfLink: str servicesIpv4Cidr: str @@ -339,6 +343,7 @@ class ClusterAutoscaling(typing_extensions.TypedDict, total=False): autoscalingProfile: typing_extensions.Literal[ "PROFILE_UNSPECIFIED", "OPTIMIZE_UTILIZATION", "BALANCED" ] + defaultComputeClassConfig: DefaultComputeClassConfig enableNodeAutoprovisioning: bool resourceLimits: _list[ResourceLimit] @@ -403,6 +408,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredMonitoringConfig: MonitoringConfig desiredMonitoringService: str desiredNetworkPerformanceConfig: ClusterNetworkPerformanceConfig + desiredNetworkTierConfig: NetworkTierConfig desiredNodeKubeletConfig: NodeKubeletConfig desiredNodePoolAutoConfigKubeletConfig: NodeKubeletConfig desiredNodePoolAutoConfigLinuxNodeConfig: LinuxNodeConfig @@ -508,6 +514,7 @@ class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContainerdConfig(typing_extensions.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig + writableCgroups: WritableCgroups @typing.type_check_only class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): @@ -547,6 +554,8 @@ class DNSConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class DNSEndpointConfig(typing_extensions.TypedDict, total=False): allowExternalTraffic: bool + enableK8sCertsViaDns: bool + enableK8sTokensViaDns: bool endpoint: str @typing.type_check_only @@ -576,6 +585,10 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class DefaultSnatStatus(typing_extensions.TypedDict, total=False): disabled: bool @@ -661,6 +674,9 @@ class Filter(typing_extensions.TypedDict, total=False): @typing.type_check_only class Fleet(typing_extensions.TypedDict, total=False): membership: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] preRegistered: bool project: str @@ -778,6 +794,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal[ "IPV6_ACCESS_TYPE_UNSPECIFIED", "INTERNAL", "EXTERNAL" ] + networkTierConfig: NetworkTierConfig nodeIpv4Cidr: str nodeIpv4CidrBlock: str podCidrOverprovisionConfig: PodCIDROverprovisionConfig @@ -1070,6 +1087,15 @@ class NetworkPolicyConfig(typing_extensions.TypedDict, total=False): class NetworkTags(typing_extensions.TypedDict, total=False): tags: _list[str] +@typing.type_check_only +class NetworkTierConfig(typing_extensions.TypedDict, total=False): + networkTier: typing_extensions.Literal[ + "NETWORK_TIER_UNSPECIFIED", + "NETWORK_TIER_DEFAULT", + "NETWORK_TIER_PREMIUM", + "NETWORK_TIER_STANDARD", + ] + @typing.type_check_only class NodeAffinity(typing_extensions.TypedDict, total=False): key: str @@ -1182,6 +1208,7 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): createPodRange: bool enablePrivateNodes: bool networkPerformanceConfig: NetworkPerformanceConfig + networkTierConfig: NetworkTierConfig podCidrOverprovisionConfig: PodCIDROverprovisionConfig podIpv4CidrBlock: str podIpv4RangeUtilization: float @@ -1400,6 +1427,10 @@ class PrivateRegistryAccessConfig(typing_extensions.TypedDict, total=False): certificateAuthorityDomainConfig: _list[CertificateAuthorityDomainConfig] enabled: bool +@typing.type_check_only +class PrivilegedAdmissionConfig(typing_extensions.TypedDict, total=False): + allowlistPaths: _list[str] + @typing.type_check_only class ProtectConfig(typing_extensions.TypedDict, total=False): workloadConfig: WorkloadConfig @@ -1522,6 +1553,11 @@ class SecretManagerConfig(typing_extensions.TypedDict, total=False): enabled: bool rotationConfig: RotationConfig +@typing.type_check_only +class SecretSyncConfig(typing_extensions.TypedDict, total=False): + enabled: bool + rotationConfig: SyncRotationConfig + @typing.type_check_only class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): affectedSupportedMinors: _list[str] @@ -1737,6 +1773,11 @@ class StatusCondition(typing_extensions.TypedDict, total=False): ] message: str +@typing.type_check_only +class SyncRotationConfig(typing_extensions.TypedDict, total=False): + enabled: bool + rotationInterval: str + @typing.type_check_only class TimeWindow(typing_extensions.TypedDict, total=False): endTime: str @@ -1965,3 +2006,7 @@ class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): allowNetAdmin: bool autopilotCompatibilityAuditingEnabled: bool + +@typing.type_check_only +class WritableCgroups(typing_extensions.TypedDict, total=False): + enabled: bool diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index 9102861b..f2902a9a 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -125,6 +125,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): id: str name: str pullTiming: TimeSpan + remoteConfig: str results: _list[StepResult] script: str secretEnv: _list[str] @@ -150,6 +151,10 @@ class BuildStep(typing_extensions.TypedDict, total=False): class BuilderConfig(typing_extensions.TypedDict, total=False): id: str +@typing.type_check_only +class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): + knownRansomwareCampaignUse: str + @typing.type_check_only class CVSS(typing_extensions.TypedDict, total=False): attackComplexity: typing_extensions.Literal[ @@ -902,6 +907,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): + percentile: float + score: float + @typing.type_check_only class ExportSBOMRequest(typing_extensions.TypedDict, total=False): cloudStorageLocation: CloudStorageLocation @@ -1337,6 +1347,11 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Risk(typing_extensions.TypedDict, total=False): + cisaKev: CISAKnownExploitedVulnerabilities + epss: ExploitPredictionScoringSystem + @typing.type_check_only class RunDetails(typing_extensions.TypedDict, total=False): builder: ProvenanceBuilder @@ -1388,6 +1403,26 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", + "SECRET_KIND_GCP_API_KEY", + "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", + "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", + "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", + "SECRET_KIND_ANTHROPIC_API_KEY", + "SECRET_KIND_AZURE_ACCESS_TOKEN", + "SECRET_KIND_AZURE_IDENTITY_TOKEN", + "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", + "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_OAUTH_TOKEN", + "SECRET_KIND_HUGGINGFACE_API_KEY", + "SECRET_KIND_OPENAI_API_KEY", + "SECRET_KIND_PERPLEXITY_API_KEY", + "SECRET_KIND_STRIPE_SECRET_KEY", + "SECRET_KIND_STRIPE_RESTRICTED_KEY", + "SECRET_KIND_STRIPE_WEBHOOK_SECRET", ] locations: _list[SecretLocation] statuses: _list[SecretStatus] @@ -1591,6 +1626,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): longDescription: str packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] + risk: Risk severity: typing_extensions.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index c849ab18..c9e3c68e 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -117,6 +117,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): id: str name: str pullTiming: TimeSpan + remoteConfig: str results: _list[StepResult] script: str secretEnv: _list[str] @@ -147,6 +148,10 @@ class BuildType(typing_extensions.TypedDict, total=False): class BuilderConfig(typing_extensions.TypedDict, total=False): id: str +@typing.type_check_only +class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): + knownRansomwareCampaignUse: str + @typing.type_check_only class CVSS(typing_extensions.TypedDict, total=False): attackComplexity: typing_extensions.Literal[ @@ -876,6 +881,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): + percentile: float + score: float + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -1150,6 +1160,7 @@ class Layer(typing_extensions.TypedDict, total=False): @typing.type_check_only class LayerDetails(typing_extensions.TypedDict, total=False): baseImages: _list[BaseImage] + chainId: str command: str diffId: str index: int @@ -1546,6 +1557,11 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Risk(typing_extensions.TypedDict, total=False): + cisaKev: CISAKnownExploitedVulnerabilities + epss: ExploitPredictionScoringSystem + @typing.type_check_only class RunDetails(typing_extensions.TypedDict, total=False): builder: ProvenanceBuilder @@ -1605,6 +1621,26 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", + "SECRET_KIND_GCP_API_KEY", + "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", + "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", + "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", + "SECRET_KIND_ANTHROPIC_API_KEY", + "SECRET_KIND_AZURE_ACCESS_TOKEN", + "SECRET_KIND_AZURE_IDENTITY_TOKEN", + "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", + "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_OAUTH_TOKEN", + "SECRET_KIND_HUGGINGFACE_API_KEY", + "SECRET_KIND_OPENAI_API_KEY", + "SECRET_KIND_PERPLEXITY_API_KEY", + "SECRET_KIND_STRIPE_SECRET_KEY", + "SECRET_KIND_STRIPE_RESTRICTED_KEY", + "SECRET_KIND_STRIPE_WEBHOOK_SECRET", ] locations: _list[SecretLocation] statuses: _list[SecretStatus] @@ -1810,6 +1846,7 @@ class VulnerabilityDetails(typing_extensions.TypedDict, total=False): ] extraDetails: str packageIssue: _list[PackageIssue] + risk: Risk severity: typing_extensions.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index 4c926ae9..ac7c9786 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi @@ -133,6 +133,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): id: str name: str pullTiming: TimeSpan + remoteConfig: str results: _list[StepResult] script: str secretEnv: _list[str] @@ -837,6 +838,7 @@ class Discovery(typing_extensions.TypedDict, total=False): "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] @typing.type_check_only @@ -915,6 +917,10 @@ class File(typing_extensions.TypedDict, total=False): class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] +@typing.type_check_only +class FileLocation(typing_extensions.TypedDict, total=False): + filePath: str + @typing.type_check_only class FileNote(typing_extensions.TypedDict, total=False): checksum: _list[str] @@ -1202,6 +1208,7 @@ class Note(typing_extensions.TypedDict, total=False): "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] longDescription: str name: str @@ -1210,6 +1217,7 @@ class Note(typing_extensions.TypedDict, total=False): relatedUrl: _list[RelatedUrl] sbom: DocumentNote sbomReference: SBOMReferenceNote + secret: SecretNote shortDescription: str spdxFile: FileNote spdxPackage: PackageInfoNote @@ -1245,6 +1253,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] name: str noteName: str @@ -1252,6 +1261,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): resource: Resource sbom: DocumentOccurrence sbomReference: SBOMReferenceOccurrence + secret: SecretOccurrence spdxFile: FileOccurrence spdxPackage: PackageInfoOccurrence spdxRelationship: RelationshipOccurrence @@ -1535,6 +1545,51 @@ class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): mimeType: str referrerId: str +@typing.type_check_only +class SecretLocation(typing_extensions.TypedDict, total=False): + fileLocation: FileLocation + +@typing.type_check_only +class SecretNote(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class SecretOccurrence(typing_extensions.TypedDict, total=False): + kind: typing_extensions.Literal[ + "SECRET_KIND_UNSPECIFIED", + "SECRET_KIND_UNKNOWN", + "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", + "SECRET_KIND_GCP_API_KEY", + "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", + "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", + "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", + "SECRET_KIND_ANTHROPIC_API_KEY", + "SECRET_KIND_AZURE_ACCESS_TOKEN", + "SECRET_KIND_AZURE_IDENTITY_TOKEN", + "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", + "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_OAUTH_TOKEN", + "SECRET_KIND_HUGGINGFACE_API_KEY", + "SECRET_KIND_OPENAI_API_KEY", + "SECRET_KIND_PERPLEXITY_API_KEY", + "SECRET_KIND_STRIPE_SECRET_KEY", + "SECRET_KIND_STRIPE_RESTRICTED_KEY", + "SECRET_KIND_STRIPE_WEBHOOK_SECRET", + ] + locations: _list[SecretLocation] + statuses: _list[SecretStatus] + +@typing.type_check_only +class SecretStatus(typing_extensions.TypedDict, total=False): + message: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" + ] + updateTime: str + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi index 605c09b0..ac564719 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi @@ -313,6 +313,7 @@ class DataCatalogResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi index 9fa080d3..aeac5b2c 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi @@ -915,6 +915,7 @@ class GoogleCloudDatacatalogV1ViewSpec(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/dataflow/v1b3/resources.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi index c393ea84..99a2ccde 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi @@ -27,14 +27,6 @@ class DataflowResource(googleapiclient.discovery.Resource): body: GetDebugConfigRequest = ..., **kwargs: typing.Any, ) -> GetDebugConfigResponseHttpRequest: ... - def getWorkerStacktraces( - self, - *, - projectId: str, - jobId: str, - body: GetWorkerStacktracesRequest = ..., - **kwargs: typing.Any, - ) -> GetWorkerStacktracesResponseHttpRequest: ... def sendCapture( self, *, @@ -225,6 +217,15 @@ class DataflowResource(googleapiclient.discovery.Resource): body: GetDebugConfigRequest = ..., **kwargs: typing.Any, ) -> GetDebugConfigResponseHttpRequest: ... + def getWorkerStacktraces( + self, + *, + projectId: str, + location: str, + jobId: str, + body: GetWorkerStacktracesRequest = ..., + **kwargs: typing.Any, + ) -> GetWorkerStacktracesResponseHttpRequest: ... def sendCapture( self, *, diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index f2abd5b3..775fb9c4 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -341,6 +341,8 @@ class ExecutionStageState(typing_extensions.TypedDict, total=False): "JOB_STATE_CANCELLING", "JOB_STATE_QUEUED", "JOB_STATE_RESOURCE_CLEANING_UP", + "JOB_STATE_PAUSING", + "JOB_STATE_PAUSED", ] @typing.type_check_only @@ -528,6 +530,8 @@ class Job(typing_extensions.TypedDict, total=False): "JOB_STATE_CANCELLING", "JOB_STATE_QUEUED", "JOB_STATE_RESOURCE_CLEANING_UP", + "JOB_STATE_PAUSING", + "JOB_STATE_PAUSED", ] currentStateTime: str environment: Environment @@ -555,6 +559,8 @@ class Job(typing_extensions.TypedDict, total=False): "JOB_STATE_CANCELLING", "JOB_STATE_QUEUED", "JOB_STATE_RESOURCE_CLEANING_UP", + "JOB_STATE_PAUSING", + "JOB_STATE_PAUSED", ] runtimeUpdatableParams: RuntimeUpdatableParams satisfiesPzi: bool diff --git a/googleapiclient-stubs/_apis/dataform/v1/__init__.pyi b/googleapiclient-stubs/_apis/dataform/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/dataform/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/dataform/v1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1/resources.pyi new file mode 100644 index 00000000..bb590571 --- /dev/null +++ b/googleapiclient-stubs/_apis/dataform/v1/resources.pyi @@ -0,0 +1,986 @@ +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 DataformResource(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 FoldersResource(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 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 RepositoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CompilationResultsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: CompilationResult = ..., + **kwargs: typing.Any, + ) -> CompilationResultHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CompilationResultHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCompilationResultsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCompilationResultsResponseHttpRequest, + previous_response: ListCompilationResultsResponse, + ) -> ListCompilationResultsResponseHttpRequest | None: ... + def query( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryCompilationResultActionsResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryCompilationResultActionsResponseHttpRequest, + previous_response: QueryCompilationResultActionsResponse, + ) -> QueryCompilationResultActionsResponseHttpRequest | None: ... + + @typing.type_check_only + class ReleaseConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ReleaseConfig = ..., + releaseConfigId: str = ..., + **kwargs: typing.Any, + ) -> ReleaseConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ReleaseConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListReleaseConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListReleaseConfigsResponseHttpRequest, + previous_response: ListReleaseConfigsResponse, + ) -> ListReleaseConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ReleaseConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ReleaseConfigHttpRequest: ... + + @typing.type_check_only + class WorkflowConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: WorkflowConfig = ..., + workflowConfigId: str = ..., + **kwargs: typing.Any, + ) -> WorkflowConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkflowConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListWorkflowConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkflowConfigsResponseHttpRequest, + previous_response: ListWorkflowConfigsResponse, + ) -> ListWorkflowConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: WorkflowConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> WorkflowConfigHttpRequest: ... + + @typing.type_check_only + class WorkflowInvocationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelWorkflowInvocationRequest = ..., + **kwargs: typing.Any, + ) -> CancelWorkflowInvocationResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: WorkflowInvocation = ..., + **kwargs: typing.Any, + ) -> WorkflowInvocationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkflowInvocationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListWorkflowInvocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkflowInvocationsResponseHttpRequest, + previous_response: ListWorkflowInvocationsResponse, + ) -> ListWorkflowInvocationsResponseHttpRequest | None: ... + def query( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryWorkflowInvocationActionsResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryWorkflowInvocationActionsResponseHttpRequest, + previous_response: QueryWorkflowInvocationActionsResponse, + ) -> QueryWorkflowInvocationActionsResponseHttpRequest | None: ... + + @typing.type_check_only + class WorkspacesResource(googleapiclient.discovery.Resource): + def commit( + self, + *, + name: str, + body: CommitWorkspaceChangesRequest = ..., + **kwargs: typing.Any, + ) -> CommitWorkspaceChangesResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: Workspace = ..., + workspaceId: str = ..., + **kwargs: typing.Any, + ) -> WorkspaceHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def fetchFileDiff( + self, *, workspace: str, path: str = ..., **kwargs: typing.Any + ) -> FetchFileDiffResponseHttpRequest: ... + def fetchFileGitStatuses( + self, *, name: str, **kwargs: typing.Any + ) -> FetchFileGitStatusesResponseHttpRequest: ... + def fetchGitAheadBehind( + self, + *, + name: str, + remoteBranch: str = ..., + **kwargs: typing.Any, + ) -> FetchGitAheadBehindResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkspaceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def installNpmPackages( + self, + *, + workspace: str, + body: InstallNpmPackagesRequest = ..., + **kwargs: typing.Any, + ) -> InstallNpmPackagesResponseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListWorkspacesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkspacesResponseHttpRequest, + previous_response: ListWorkspacesResponse, + ) -> ListWorkspacesResponseHttpRequest | None: ... + def makeDirectory( + self, + *, + workspace: str, + body: MakeDirectoryRequest = ..., + **kwargs: typing.Any, + ) -> MakeDirectoryResponseHttpRequest: ... + def moveDirectory( + self, + *, + workspace: str, + body: MoveDirectoryRequest = ..., + **kwargs: typing.Any, + ) -> MoveDirectoryResponseHttpRequest: ... + def moveFile( + self, + *, + workspace: str, + body: MoveFileRequest = ..., + **kwargs: typing.Any, + ) -> MoveFileResponseHttpRequest: ... + def pull( + self, + *, + name: str, + body: PullGitCommitsRequest = ..., + **kwargs: typing.Any, + ) -> PullGitCommitsResponseHttpRequest: ... + def push( + self, + *, + name: str, + body: PushGitCommitsRequest = ..., + **kwargs: typing.Any, + ) -> PushGitCommitsResponseHttpRequest: ... + def queryDirectoryContents( + self, + *, + workspace: str, + pageSize: int = ..., + pageToken: str = ..., + path: str = ..., + **kwargs: typing.Any, + ) -> QueryDirectoryContentsResponseHttpRequest: ... + def queryDirectoryContents_next( + self, + previous_request: QueryDirectoryContentsResponseHttpRequest, + previous_response: QueryDirectoryContentsResponse, + ) -> QueryDirectoryContentsResponseHttpRequest | None: ... + def readFile( + self, + *, + workspace: str, + path: str = ..., + revision: str = ..., + **kwargs: typing.Any, + ) -> ReadFileResponseHttpRequest: ... + def removeDirectory( + self, + *, + workspace: str, + body: RemoveDirectoryRequest = ..., + **kwargs: typing.Any, + ) -> RemoveDirectoryResponseHttpRequest: ... + def removeFile( + self, + *, + workspace: str, + body: RemoveFileRequest = ..., + **kwargs: typing.Any, + ) -> RemoveFileResponseHttpRequest: ... + def reset( + self, + *, + name: str, + body: ResetWorkspaceChangesRequest = ..., + **kwargs: typing.Any, + ) -> ResetWorkspaceChangesResponseHttpRequest: ... + def searchFiles( + self, + *, + workspace: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> SearchFilesResponseHttpRequest: ... + def searchFiles_next( + self, + previous_request: SearchFilesResponseHttpRequest, + previous_response: SearchFilesResponse, + ) -> SearchFilesResponseHttpRequest | None: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def writeFile( + self, + *, + workspace: str, + body: WriteFileRequest = ..., + **kwargs: typing.Any, + ) -> WriteFileResponseHttpRequest: ... + + def commit( + self, + *, + name: str, + body: CommitRepositoryChangesRequest = ..., + **kwargs: typing.Any, + ) -> CommitRepositoryChangesResponseHttpRequest: ... + def computeAccessTokenStatus( + self, *, name: str, **kwargs: typing.Any + ) -> ComputeRepositoryAccessTokenStatusResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: Repository = ..., + repositoryId: str = ..., + **kwargs: typing.Any, + ) -> RepositoryHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def fetchHistory( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> FetchRepositoryHistoryResponseHttpRequest: ... + def fetchHistory_next( + self, + previous_request: FetchRepositoryHistoryResponseHttpRequest, + previous_response: FetchRepositoryHistoryResponse, + ) -> FetchRepositoryHistoryResponseHttpRequest | None: ... + def fetchRemoteBranches( + self, *, name: str, **kwargs: typing.Any + ) -> FetchRemoteBranchesResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RepositoryHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRepositoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRepositoriesResponseHttpRequest, + previous_response: ListRepositoriesResponse, + ) -> ListRepositoriesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Repository = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> RepositoryHttpRequest: ... + def queryDirectoryContents( + self, + *, + name: str, + commitSha: str = ..., + pageSize: int = ..., + pageToken: str = ..., + path: str = ..., + **kwargs: typing.Any, + ) -> QueryRepositoryDirectoryContentsResponseHttpRequest: ... + def queryDirectoryContents_next( + self, + previous_request: QueryRepositoryDirectoryContentsResponseHttpRequest, + previous_response: QueryRepositoryDirectoryContentsResponse, + ) -> QueryRepositoryDirectoryContentsResponseHttpRequest | None: ... + def readFile( + self, + *, + name: str, + commitSha: str = ..., + path: str = ..., + **kwargs: typing.Any, + ) -> ReadRepositoryFileResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def compilationResults(self) -> CompilationResultsResource: ... + def releaseConfigs(self) -> ReleaseConfigsResource: ... + def workflowConfigs(self) -> WorkflowConfigsResource: ... + def workflowInvocations(self) -> WorkflowInvocationsResource: ... + def workspaces(self) -> WorkspacesResource: ... + + @typing.type_check_only + class TeamFoldersResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def getConfig( + self, *, name: str, **kwargs: typing.Any + ) -> ConfigHttpRequest: ... + 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 updateConfig( + self, + *, + name: str, + body: Config = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ConfigHttpRequest: ... + def folders(self) -> FoldersResource: ... + def operations(self) -> OperationsResource: ... + def repositories(self) -> RepositoriesResource: ... + def teamFolders(self) -> TeamFoldersResource: ... + + 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 CancelWorkflowInvocationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelWorkflowInvocationResponse: ... + +@typing.type_check_only +class CommitRepositoryChangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CommitRepositoryChangesResponse: ... + +@typing.type_check_only +class CommitWorkspaceChangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CommitWorkspaceChangesResponse: ... + +@typing.type_check_only +class CompilationResultHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompilationResult: ... + +@typing.type_check_only +class ComputeRepositoryAccessTokenStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ComputeRepositoryAccessTokenStatusResponse: ... + +@typing.type_check_only +class ConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Config: ... + +@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 FetchFileDiffResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchFileDiffResponse: ... + +@typing.type_check_only +class FetchFileGitStatusesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchFileGitStatusesResponse: ... + +@typing.type_check_only +class FetchGitAheadBehindResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchGitAheadBehindResponse: ... + +@typing.type_check_only +class FetchRemoteBranchesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchRemoteBranchesResponse: ... + +@typing.type_check_only +class FetchRepositoryHistoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchRepositoryHistoryResponse: ... + +@typing.type_check_only +class InstallNpmPackagesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstallNpmPackagesResponse: ... + +@typing.type_check_only +class ListCompilationResultsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCompilationResultsResponse: ... + +@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 ListReleaseConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListReleaseConfigsResponse: ... + +@typing.type_check_only +class ListRepositoriesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRepositoriesResponse: ... + +@typing.type_check_only +class ListWorkflowConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkflowConfigsResponse: ... + +@typing.type_check_only +class ListWorkflowInvocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkflowInvocationsResponse: ... + +@typing.type_check_only +class ListWorkspacesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkspacesResponse: ... + +@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 MakeDirectoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MakeDirectoryResponse: ... + +@typing.type_check_only +class MoveDirectoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MoveDirectoryResponse: ... + +@typing.type_check_only +class MoveFileResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MoveFileResponse: ... + +@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( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Policy: ... + +@typing.type_check_only +class PullGitCommitsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PullGitCommitsResponse: ... + +@typing.type_check_only +class PushGitCommitsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PushGitCommitsResponse: ... + +@typing.type_check_only +class QueryCompilationResultActionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryCompilationResultActionsResponse: ... + +@typing.type_check_only +class QueryDirectoryContentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryDirectoryContentsResponse: ... + +@typing.type_check_only +class QueryRepositoryDirectoryContentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryRepositoryDirectoryContentsResponse: ... + +@typing.type_check_only +class QueryWorkflowInvocationActionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryWorkflowInvocationActionsResponse: ... + +@typing.type_check_only +class ReadFileResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReadFileResponse: ... + +@typing.type_check_only +class ReadRepositoryFileResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReadRepositoryFileResponse: ... + +@typing.type_check_only +class ReleaseConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReleaseConfig: ... + +@typing.type_check_only +class RemoveDirectoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemoveDirectoryResponse: ... + +@typing.type_check_only +class RemoveFileResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemoveFileResponse: ... + +@typing.type_check_only +class RepositoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Repository: ... + +@typing.type_check_only +class ResetWorkspaceChangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ResetWorkspaceChangesResponse: ... + +@typing.type_check_only +class SearchFilesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchFilesResponse: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... + +@typing.type_check_only +class WorkflowConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkflowConfig: ... + +@typing.type_check_only +class WorkflowInvocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkflowInvocation: ... + +@typing.type_check_only +class WorkspaceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Workspace: ... + +@typing.type_check_only +class WriteFileResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WriteFileResponse: ... diff --git a/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi new file mode 100644 index 00000000..44f430a5 --- /dev/null +++ b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi @@ -0,0 +1,691 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class ActionErrorTable(typing_extensions.TypedDict, total=False): + retentionDays: int + target: Target + +@typing.type_check_only +class ActionIncrementalLoadMode(typing_extensions.TypedDict, total=False): + column: str + +@typing.type_check_only +class ActionLoadConfig(typing_extensions.TypedDict, total=False): + append: ActionSimpleLoadMode + maximum: ActionIncrementalLoadMode + replace: ActionSimpleLoadMode + unique: ActionIncrementalLoadMode + +@typing.type_check_only +class ActionSimpleLoadMode(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ActionSqlDefinition(typing_extensions.TypedDict, total=False): + errorTable: ActionErrorTable + loadConfig: ActionLoadConfig + query: str + +@typing.type_check_only +class Assertion(typing_extensions.TypedDict, total=False): + dependencyTargets: _list[Target] + disabled: bool + parentAction: Target + relationDescriptor: RelationDescriptor + selectQuery: str + tags: _list[str] + +@typing.type_check_only +class BigQueryAction(typing_extensions.TypedDict, total=False): + jobId: str + sqlScript: str + +@typing.type_check_only +class Binding(typing_extensions.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelWorkflowInvocationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelWorkflowInvocationResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CodeCompilationConfig(typing_extensions.TypedDict, total=False): + assertionSchema: str + builtinAssertionNamePrefix: str + databaseSuffix: str + defaultDatabase: str + defaultLocation: str + defaultNotebookRuntimeOptions: NotebookRuntimeOptions + defaultSchema: str + schemaSuffix: str + tablePrefix: str + vars: dict[str, typing.Any] + +@typing.type_check_only +class ColumnDescriptor(typing_extensions.TypedDict, total=False): + bigqueryPolicyTags: _list[str] + description: str + path: _list[str] + +@typing.type_check_only +class CommitAuthor(typing_extensions.TypedDict, total=False): + emailAddress: str + name: str + +@typing.type_check_only +class CommitLogEntry(typing_extensions.TypedDict, total=False): + author: CommitAuthor + commitMessage: str + commitSha: str + commitTime: str + +@typing.type_check_only +class CommitMetadata(typing_extensions.TypedDict, total=False): + author: CommitAuthor + commitMessage: str + +@typing.type_check_only +class CommitRepositoryChangesRequest(typing_extensions.TypedDict, total=False): + commitMetadata: CommitMetadata + fileOperations: dict[str, typing.Any] + requiredHeadCommitSha: str + +@typing.type_check_only +class CommitRepositoryChangesResponse(typing_extensions.TypedDict, total=False): + commitSha: str + +@typing.type_check_only +class CommitWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): + author: CommitAuthor + commitMessage: str + paths: _list[str] + +@typing.type_check_only +class CommitWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CompilationError(typing_extensions.TypedDict, total=False): + actionTarget: Target + message: str + path: str + stack: str + +@typing.type_check_only +class CompilationResult(typing_extensions.TypedDict, total=False): + codeCompilationConfig: CodeCompilationConfig + compilationErrors: _list[CompilationError] + createTime: str + dataEncryptionState: DataEncryptionState + dataformCoreVersion: str + gitCommitish: str + internalMetadata: str + name: str + releaseConfig: str + resolvedGitCommitSha: str + workspace: str + +@typing.type_check_only +class CompilationResultAction(typing_extensions.TypedDict, total=False): + assertion: Assertion + canonicalTarget: Target + dataPreparation: DataPreparation + declaration: Declaration + filePath: str + internalMetadata: str + notebook: Notebook + operations: Operations + relation: Relation + target: Target + +@typing.type_check_only +class ComputeRepositoryAccessTokenStatusResponse( + typing_extensions.TypedDict, total=False +): + tokenStatus: typing_extensions.Literal[ + "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID" + ] + +@typing.type_check_only +class Config(typing_extensions.TypedDict, total=False): + defaultKmsKeyName: str + internalMetadata: str + name: str + +@typing.type_check_only +class DataEncryptionState(typing_extensions.TypedDict, total=False): + kmsKeyVersionName: str + +@typing.type_check_only +class DataPreparation(typing_extensions.TypedDict, total=False): + contentsSql: SqlDefinition + contentsYaml: str + dependencyTargets: _list[Target] + disabled: bool + tags: _list[str] + +@typing.type_check_only +class DataPreparationAction(typing_extensions.TypedDict, total=False): + contentsSql: ActionSqlDefinition + contentsYaml: str + generatedSql: str + jobId: str + +@typing.type_check_only +class Declaration(typing_extensions.TypedDict, total=False): + relationDescriptor: RelationDescriptor + +@typing.type_check_only +class DeleteFile(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DirectoryEntry(typing_extensions.TypedDict, total=False): + directory: str + file: str + +@typing.type_check_only +class DirectorySearchResult(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ErrorTable(typing_extensions.TypedDict, total=False): + retentionDays: int + target: Target + +@typing.type_check_only +class Expr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class FetchFileDiffResponse(typing_extensions.TypedDict, total=False): + formattedDiff: str + +@typing.type_check_only +class FetchFileGitStatusesResponse(typing_extensions.TypedDict, total=False): + uncommittedFileChanges: _list[UncommittedFileChange] + +@typing.type_check_only +class FetchGitAheadBehindResponse(typing_extensions.TypedDict, total=False): + commitsAhead: int + commitsBehind: int + +@typing.type_check_only +class FetchRemoteBranchesResponse(typing_extensions.TypedDict, total=False): + branches: _list[str] + +@typing.type_check_only +class FetchRepositoryHistoryResponse(typing_extensions.TypedDict, total=False): + commits: _list[CommitLogEntry] + nextPageToken: str + +@typing.type_check_only +class FileOperation(typing_extensions.TypedDict, total=False): + deleteFile: DeleteFile + writeFile: WriteFile + +@typing.type_check_only +class FileSearchResult(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class GitRemoteSettings(typing_extensions.TypedDict, total=False): + authenticationTokenSecretVersion: str + defaultBranch: str + sshAuthenticationConfig: SshAuthenticationConfig + tokenStatus: typing_extensions.Literal[ + "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID" + ] + url: str + +@typing.type_check_only +class IamPolicyOverrideView(typing_extensions.TypedDict, total=False): + iamPolicyName: PolicyName + isActive: bool + +@typing.type_check_only +class IncrementalLoadMode(typing_extensions.TypedDict, total=False): + column: str + +@typing.type_check_only +class IncrementalTableConfig(typing_extensions.TypedDict, total=False): + incrementalPostOperations: _list[str] + incrementalPreOperations: _list[str] + incrementalSelectQuery: str + refreshDisabled: bool + uniqueKeyParts: _list[str] + updatePartitionFilter: str + +@typing.type_check_only +class InstallNpmPackagesRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class InstallNpmPackagesResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class InvocationConfig(typing_extensions.TypedDict, total=False): + fullyRefreshIncrementalTablesEnabled: bool + includedTags: _list[str] + includedTargets: _list[Target] + queryPriority: typing_extensions.Literal[ + "QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH" + ] + serviceAccount: str + transitiveDependenciesIncluded: bool + transitiveDependentsIncluded: bool + +@typing.type_check_only +class ListCompilationResultsResponse(typing_extensions.TypedDict, total=False): + compilationResults: _list[CompilationResult] + 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 ListReleaseConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + releaseConfigs: _list[ReleaseConfig] + unreachable: _list[str] + +@typing.type_check_only +class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + repositories: _list[Repository] + unreachable: _list[str] + +@typing.type_check_only +class ListWorkflowConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + workflowConfigs: _list[WorkflowConfig] + +@typing.type_check_only +class ListWorkflowInvocationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + workflowInvocations: _list[WorkflowInvocation] + +@typing.type_check_only +class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + workspaces: _list[Workspace] + +@typing.type_check_only +class LoadConfig(typing_extensions.TypedDict, total=False): + append: SimpleLoadMode + maximum: IncrementalLoadMode + replace: SimpleLoadMode + unique: IncrementalLoadMode + +@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 MakeDirectoryRequest(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class MakeDirectoryResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MoveDirectoryRequest(typing_extensions.TypedDict, total=False): + newPath: str + path: str + +@typing.type_check_only +class MoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MoveFileRequest(typing_extensions.TypedDict, total=False): + newPath: str + path: str + +@typing.type_check_only +class MoveFileResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Notebook(typing_extensions.TypedDict, total=False): + contents: str + dependencyTargets: _list[Target] + disabled: bool + tags: _list[str] + +@typing.type_check_only +class NotebookAction(typing_extensions.TypedDict, total=False): + contents: str + jobId: str + +@typing.type_check_only +class NotebookRuntimeOptions(typing_extensions.TypedDict, total=False): + aiPlatformNotebookRuntimeTemplate: str + gcsOutputBucket: 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 + cancelRequested: bool + createTime: str + endTime: str + statusDetail: str + target: str + verb: str + +@typing.type_check_only +class Operations(typing_extensions.TypedDict, total=False): + dependencyTargets: _list[Target] + disabled: bool + hasOutput: bool + queries: _list[str] + relationDescriptor: RelationDescriptor + tags: _list[str] + +@typing.type_check_only +class Policy(typing_extensions.TypedDict, total=False): + bindings: _list[Binding] + etag: str + version: int + +@typing.type_check_only +class PolicyName(typing_extensions.TypedDict, total=False): + id: str + region: str + type: str + +@typing.type_check_only +class PullGitCommitsRequest(typing_extensions.TypedDict, total=False): + author: CommitAuthor + remoteBranch: str + +@typing.type_check_only +class PullGitCommitsResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class PushGitCommitsRequest(typing_extensions.TypedDict, total=False): + remoteBranch: str + +@typing.type_check_only +class PushGitCommitsResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class QueryCompilationResultActionsResponse(typing_extensions.TypedDict, total=False): + compilationResultActions: _list[CompilationResultAction] + nextPageToken: str + +@typing.type_check_only +class QueryDirectoryContentsResponse(typing_extensions.TypedDict, total=False): + directoryEntries: _list[DirectoryEntry] + nextPageToken: str + +@typing.type_check_only +class QueryRepositoryDirectoryContentsResponse( + typing_extensions.TypedDict, total=False +): + directoryEntries: _list[DirectoryEntry] + nextPageToken: str + +@typing.type_check_only +class QueryWorkflowInvocationActionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + workflowInvocationActions: _list[WorkflowInvocationAction] + +@typing.type_check_only +class ReadFileResponse(typing_extensions.TypedDict, total=False): + fileContents: str + +@typing.type_check_only +class ReadRepositoryFileResponse(typing_extensions.TypedDict, total=False): + contents: str + +@typing.type_check_only +class Relation(typing_extensions.TypedDict, total=False): + additionalOptions: dict[str, typing.Any] + clusterExpressions: _list[str] + dependencyTargets: _list[Target] + disabled: bool + incrementalTableConfig: IncrementalTableConfig + partitionExpirationDays: int + partitionExpression: str + postOperations: _list[str] + preOperations: _list[str] + relationDescriptor: RelationDescriptor + relationType: typing_extensions.Literal[ + "RELATION_TYPE_UNSPECIFIED", + "TABLE", + "VIEW", + "INCREMENTAL_TABLE", + "MATERIALIZED_VIEW", + ] + requirePartitionFilter: bool + selectQuery: str + tags: _list[str] + +@typing.type_check_only +class RelationDescriptor(typing_extensions.TypedDict, total=False): + bigqueryLabels: dict[str, typing.Any] + columns: _list[ColumnDescriptor] + description: str + +@typing.type_check_only +class ReleaseConfig(typing_extensions.TypedDict, total=False): + codeCompilationConfig: CodeCompilationConfig + cronSchedule: str + disabled: bool + gitCommitish: str + internalMetadata: str + name: str + recentScheduledReleaseRecords: _list[ScheduledReleaseRecord] + releaseCompilationResult: str + timeZone: str + +@typing.type_check_only +class RemoveDirectoryRequest(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class RemoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RemoveFileRequest(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class RemoveFileResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Repository(typing_extensions.TypedDict, total=False): + createTime: str + dataEncryptionState: DataEncryptionState + displayName: str + gitRemoteSettings: GitRemoteSettings + internalMetadata: str + kmsKeyName: str + labels: dict[str, typing.Any] + name: str + npmrcEnvironmentVariablesSecretVersion: str + serviceAccount: str + setAuthenticatedUserAdmin: bool + workspaceCompilationOverrides: WorkspaceCompilationOverrides + +@typing.type_check_only +class ResetWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): + clean: bool + paths: _list[str] + +@typing.type_check_only +class ResetWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ScheduledExecutionRecord(typing_extensions.TypedDict, total=False): + errorStatus: Status + executionTime: str + workflowInvocation: str + +@typing.type_check_only +class ScheduledReleaseRecord(typing_extensions.TypedDict, total=False): + compilationResult: str + errorStatus: Status + releaseTime: str + +@typing.type_check_only +class SearchFilesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + searchResults: _list[SearchResult] + +@typing.type_check_only +class SearchResult(typing_extensions.TypedDict, total=False): + directory: DirectorySearchResult + file: FileSearchResult + +@typing.type_check_only +class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: Policy + +@typing.type_check_only +class SimpleLoadMode(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class SqlDefinition(typing_extensions.TypedDict, total=False): + errorTable: ErrorTable + load: LoadConfig + query: str + +@typing.type_check_only +class SshAuthenticationConfig(typing_extensions.TypedDict, total=False): + hostPublicKey: str + userPrivateKeySecretVersion: 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 Target(typing_extensions.TypedDict, total=False): + database: str + name: str + schema: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class UncommittedFileChange(typing_extensions.TypedDict, total=False): + path: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ADDED", "DELETED", "MODIFIED", "HAS_CONFLICTS" + ] + +@typing.type_check_only +class WorkflowConfig(typing_extensions.TypedDict, total=False): + createTime: str + cronSchedule: str + disabled: bool + internalMetadata: str + invocationConfig: InvocationConfig + name: str + recentScheduledExecutionRecords: _list[ScheduledExecutionRecord] + releaseConfig: str + timeZone: str + updateTime: str + +@typing.type_check_only +class WorkflowInvocation(typing_extensions.TypedDict, total=False): + compilationResult: str + dataEncryptionState: DataEncryptionState + internalMetadata: str + invocationConfig: InvocationConfig + invocationTiming: Interval + name: str + resolvedCompilationResult: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED", "CANCELING" + ] + workflowConfig: str + +@typing.type_check_only +class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): + bigqueryAction: BigQueryAction + canonicalTarget: Target + dataPreparationAction: DataPreparationAction + failureReason: str + internalMetadata: str + invocationTiming: Interval + notebookAction: NotebookAction + state: typing_extensions.Literal[ + "PENDING", "RUNNING", "SKIPPED", "DISABLED", "SUCCEEDED", "CANCELLED", "FAILED" + ] + target: Target + +@typing.type_check_only +class Workspace(typing_extensions.TypedDict, total=False): + createTime: str + dataEncryptionState: DataEncryptionState + internalMetadata: str + name: str + +@typing.type_check_only +class WorkspaceCompilationOverrides(typing_extensions.TypedDict, total=False): + defaultDatabase: str + schemaSuffix: str + tablePrefix: str + +@typing.type_check_only +class WriteFile(typing_extensions.TypedDict, total=False): + contents: str + +@typing.type_check_only +class WriteFileRequest(typing_extensions.TypedDict, total=False): + contents: str + path: str + +@typing.type_check_only +class WriteFileResponse(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi index 69ced3b3..bb590571 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi @@ -17,6 +17,61 @@ class DataformResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FoldersResource(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 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 RepositoriesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -480,6 +535,30 @@ class DataformResource(googleapiclient.discovery.Resource): def workflowInvocations(self) -> WorkflowInvocationsResource: ... def workspaces(self) -> WorkspacesResource: ... + @typing.type_check_only + class TeamFoldersResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -509,7 +588,10 @@ class DataformResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> ConfigHttpRequest: ... + def folders(self) -> FoldersResource: ... + def operations(self) -> OperationsResource: ... def repositories(self) -> RepositoriesResource: ... + def teamFolders(self) -> TeamFoldersResource: ... def locations(self) -> LocationsResource: ... @@ -649,6 +731,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 ListReleaseConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -721,6 +811,14 @@ class MoveFileResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MoveFileResponse: ... +@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/dataform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi index c6a36647..44f430a5 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi @@ -49,6 +49,9 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CancelWorkflowInvocationRequest(typing_extensions.TypedDict, total=False): ... @@ -155,6 +158,7 @@ class ComputeRepositoryAccessTokenStatusResponse( @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): defaultKmsKeyName: str + internalMetadata: str name: str @typing.type_check_only @@ -282,6 +286,9 @@ class InvocationConfig(typing_extensions.TypedDict, total=False): fullyRefreshIncrementalTablesEnabled: bool includedTags: _list[str] includedTargets: _list[Target] + queryPriority: typing_extensions.Literal[ + "QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH" + ] serviceAccount: str transitiveDependenciesIncluded: bool transitiveDependentsIncluded: bool @@ -297,6 +304,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 ListReleaseConfigsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -382,6 +395,14 @@ class NotebookRuntimeOptions(typing_extensions.TypedDict, total=False): aiPlatformNotebookRuntimeTemplate: str gcsOutputBucket: 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/datafusion/v1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi index 0bcb3dbd..8060d809 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi @@ -76,7 +76,9 @@ class Instance(typing_extensions.TypedDict, total=False): dataprocServiceAccount: str description: str disabledReason: _list[ - typing_extensions.Literal["DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] + typing_extensions.Literal[ + "DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE", "PROJECT_STATE_OFF" + ] ] displayName: str enableRbac: bool @@ -111,6 +113,7 @@ class Instance(typing_extensions.TypedDict, total=False): "AUTO_UPDATING", "AUTO_UPGRADING", "DISABLED", + "ENABLING", ] stateMessage: str tags: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi index 780a5fa6..75df002d 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi @@ -81,7 +81,9 @@ class Instance(typing_extensions.TypedDict, total=False): dataprocServiceAccount: str description: str disabledReason: _list[ - typing_extensions.Literal["DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] + typing_extensions.Literal[ + "DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE", "PROJECT_STATE_OFF" + ] ] displayName: str enableRbac: bool @@ -116,6 +118,7 @@ class Instance(typing_extensions.TypedDict, total=False): "AUTO_UPDATING", "AUTO_UPGRADING", "DISABLED", + "ENABLING", ] stateMessage: str tags: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi index 6ef9380d..dd8ad7a1 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi @@ -39,6 +39,7 @@ class DatalineageResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi index 4c5a4832..46acd37e 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi @@ -163,6 +163,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/datamanager/__init__.pyi b/googleapiclient-stubs/_apis/datamanager/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/datamanager/v1/__init__.pyi b/googleapiclient-stubs/_apis/datamanager/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/datamanager/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi new file mode 100644 index 00000000..bee3882f --- /dev/null +++ b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi @@ -0,0 +1,83 @@ +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 DataManagerResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AudienceMembersResource(googleapiclient.discovery.Resource): + def ingest( + self, *, body: IngestAudienceMembersRequest = ..., **kwargs: typing.Any + ) -> IngestAudienceMembersResponseHttpRequest: ... + def remove( + self, *, body: RemoveAudienceMembersRequest = ..., **kwargs: typing.Any + ) -> RemoveAudienceMembersResponseHttpRequest: ... + + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def ingest( + self, *, body: IngestEventsRequest = ..., **kwargs: typing.Any + ) -> IngestEventsResponseHttpRequest: ... + + @typing.type_check_only + class RequestStatusResource(googleapiclient.discovery.Resource): + def retrieve( + self, *, requestId: str = ..., **kwargs: typing.Any + ) -> RetrieveRequestStatusResponseHttpRequest: ... + + 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 audienceMembers(self) -> AudienceMembersResource: ... + def events(self) -> EventsResource: ... + def requestStatus(self) -> RequestStatusResource: ... + +@typing.type_check_only +class IngestAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> IngestAudienceMembersResponse: ... + +@typing.type_check_only +class IngestEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> IngestEventsResponse: ... + +@typing.type_check_only +class RemoveAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemoveAudienceMembersResponse: ... + +@typing.type_check_only +class RetrieveRequestStatusResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveRequestStatusResponse: ... diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi new file mode 100644 index 00000000..5ff29019 --- /dev/null +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -0,0 +1,327 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AdIdentifiers(typing_extensions.TypedDict, total=False): + gbraid: str + gclid: str + landingPageDeviceInfo: DeviceInfo + sessionAttributes: str + wbraid: str + +@typing.type_check_only +class AddressInfo(typing_extensions.TypedDict, total=False): + familyName: str + givenName: str + postalCode: str + regionCode: str + +@typing.type_check_only +class AudienceMember(typing_extensions.TypedDict, total=False): + consent: Consent + destinationReferences: _list[str] + mobileData: MobileData + pairData: PairData + userData: UserData + +@typing.type_check_only +class CartData(typing_extensions.TypedDict, total=False): + items: _list[Item] + merchantFeedLabel: str + merchantFeedLanguageCode: str + merchantId: str + transactionDiscount: float + +@typing.type_check_only +class Consent(typing_extensions.TypedDict, total=False): + adPersonalization: typing_extensions.Literal[ + "CONSENT_STATUS_UNSPECIFIED", "CONSENT_GRANTED", "CONSENT_DENIED" + ] + adUserData: typing_extensions.Literal[ + "CONSENT_STATUS_UNSPECIFIED", "CONSENT_GRANTED", "CONSENT_DENIED" + ] + +@typing.type_check_only +class CustomVariable(typing_extensions.TypedDict, total=False): + destinationReferences: _list[str] + value: str + variable: str + +@typing.type_check_only +class Destination(typing_extensions.TypedDict, total=False): + linkedAccount: ProductAccount + loginAccount: ProductAccount + operatingAccount: ProductAccount + productDestinationId: str + reference: str + +@typing.type_check_only +class DeviceInfo(typing_extensions.TypedDict, total=False): + ipAddress: str + userAgent: str + +@typing.type_check_only +class EncryptionInfo(typing_extensions.TypedDict, total=False): + gcpWrappedKeyInfo: GcpWrappedKeyInfo + +@typing.type_check_only +class ErrorCount(typing_extensions.TypedDict, total=False): + reason: typing_extensions.Literal[ + "PROCESSING_ERROR_REASON_UNSPECIFIED", + "PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE", + "PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED", + "PROCESSING_ERROR_REASON_EVENT_TOO_OLD", + "PROCESSING_ERROR_REASON_DENIED_CONSENT", + "PROCESSING_ERROR_REASON_NO_CONSENT", + "PROCESSING_ERROR_REASON_UNKNOWN_CONSENT", + "PROCESSING_ERROR_REASON_DUPLICATE_GCLID", + "PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID", + "PROCESSING_ERROR_REASON_INVALID_GBRAID", + "PROCESSING_ERROR_REASON_INVALID_GCLID", + "PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID", + "PROCESSING_ERROR_REASON_INVALID_WBRAID", + "PROCESSING_ERROR_REASON_INTERNAL_ERROR", + "PROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED", + "PROCESSING_ERROR_REASON_INVALID_EVENT", + "PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS", + "PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS", + "PROCESSING_ERROR_REASON_INVALID_FORMAT", + "PROCESSING_ERROR_REASON_DECRYPTION_ERROR", + "PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR", + "PROCESSING_ERROR_REASON_INVALID_WIP", + "PROCESSING_ERROR_REASON_INVALID_KEK", + "PROCESSING_ERROR_REASON_WIP_AUTH_FAILED", + "PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED", + "PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", + "PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER", + ] + recordCount: str + +@typing.type_check_only +class ErrorInfo(typing_extensions.TypedDict, total=False): + errorCounts: _list[ErrorCount] + +@typing.type_check_only +class Event(typing_extensions.TypedDict, total=False): + adIdentifiers: AdIdentifiers + cartData: CartData + consent: Consent + conversionValue: float + currency: str + customVariables: _list[CustomVariable] + destinationReferences: _list[str] + eventDeviceInfo: DeviceInfo + eventSource: typing_extensions.Literal[ + "EVENT_SOURCE_UNSPECIFIED", "WEB", "APP", "IN_STORE", "PHONE", "OTHER" + ] + eventTimestamp: str + experimentalFields: _list[ExperimentalField] + lastUpdatedTimestamp: str + transactionId: str + userData: UserData + userProperties: UserProperties + +@typing.type_check_only +class ExperimentalField(typing_extensions.TypedDict, total=False): + field: str + value: str + +@typing.type_check_only +class GcpWrappedKeyInfo(typing_extensions.TypedDict, total=False): + encryptedDek: str + kekUri: str + keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] + wipProvider: str + +@typing.type_check_only +class IngestAudienceMembersRequest(typing_extensions.TypedDict, total=False): + audienceMembers: _list[AudienceMember] + consent: Consent + destinations: _list[Destination] + encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encryptionInfo: EncryptionInfo + termsOfService: TermsOfService + validateOnly: bool + +@typing.type_check_only +class IngestAudienceMembersResponse(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class IngestAudienceMembersStatus(typing_extensions.TypedDict, total=False): + mobileDataIngestionStatus: IngestMobileDataStatus + pairDataIngestionStatus: IngestPairDataStatus + userDataIngestionStatus: IngestUserDataStatus + +@typing.type_check_only +class IngestEventsRequest(typing_extensions.TypedDict, total=False): + consent: Consent + destinations: _list[Destination] + encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encryptionInfo: EncryptionInfo + events: _list[Event] + validateOnly: bool + +@typing.type_check_only +class IngestEventsResponse(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class IngestEventsStatus(typing_extensions.TypedDict, total=False): + recordCount: str + +@typing.type_check_only +class IngestMobileDataStatus(typing_extensions.TypedDict, total=False): + mobileIdCount: str + recordCount: str + +@typing.type_check_only +class IngestPairDataStatus(typing_extensions.TypedDict, total=False): + pairIdCount: str + recordCount: str + +@typing.type_check_only +class IngestUserDataStatus(typing_extensions.TypedDict, total=False): + recordCount: str + uploadMatchRateRange: typing_extensions.Literal[ + "MATCH_RATE_RANGE_UNKNOWN", + "MATCH_RATE_RANGE_NOT_ELIGIBLE", + "MATCH_RATE_RANGE_LESS_THAN_20", + "MATCH_RATE_RANGE_20_TO_30", + "MATCH_RATE_RANGE_31_TO_40", + "MATCH_RATE_RANGE_41_TO_50", + "MATCH_RATE_RANGE_51_TO_60", + "MATCH_RATE_RANGE_61_TO_70", + "MATCH_RATE_RANGE_71_TO_80", + "MATCH_RATE_RANGE_81_TO_90", + "MATCH_RATE_RANGE_91_TO_100", + ] + userIdentifierCount: str + +@typing.type_check_only +class Item(typing_extensions.TypedDict, total=False): + merchantProductId: str + quantity: str + unitPrice: float + +@typing.type_check_only +class MobileData(typing_extensions.TypedDict, total=False): + mobileIds: _list[str] + +@typing.type_check_only +class PairData(typing_extensions.TypedDict, total=False): + pairIds: _list[str] + +@typing.type_check_only +class ProductAccount(typing_extensions.TypedDict, total=False): + accountId: str + accountType: typing_extensions.Literal[ + "ACCOUNT_TYPE_UNSPECIFIED", + "GOOGLE_ADS", + "DISPLAY_VIDEO_PARTNER", + "DISPLAY_VIDEO_ADVERTISER", + "DATA_PARTNER", + ] + product: typing_extensions.Literal[ + "PRODUCT_UNSPECIFIED", + "GOOGLE_ADS", + "DISPLAY_VIDEO_PARTNER", + "DISPLAY_VIDEO_ADVERTISER", + "DATA_PARTNER", + ] + +@typing.type_check_only +class RemoveAudienceMembersRequest(typing_extensions.TypedDict, total=False): + audienceMembers: _list[AudienceMember] + destinations: _list[Destination] + encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encryptionInfo: EncryptionInfo + validateOnly: bool + +@typing.type_check_only +class RemoveAudienceMembersResponse(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class RemoveAudienceMembersStatus(typing_extensions.TypedDict, total=False): + mobileDataRemovalStatus: RemoveMobileDataStatus + pairDataRemovalStatus: RemovePairDataStatus + userDataRemovalStatus: RemoveUserDataStatus + +@typing.type_check_only +class RemoveMobileDataStatus(typing_extensions.TypedDict, total=False): + mobileIdCount: str + recordCount: str + +@typing.type_check_only +class RemovePairDataStatus(typing_extensions.TypedDict, total=False): + pairIdCount: str + recordCount: str + +@typing.type_check_only +class RemoveUserDataStatus(typing_extensions.TypedDict, total=False): + recordCount: str + userIdentifierCount: str + +@typing.type_check_only +class RequestStatusPerDestination(typing_extensions.TypedDict, total=False): + audienceMembersIngestionStatus: IngestAudienceMembersStatus + audienceMembersRemovalStatus: RemoveAudienceMembersStatus + destination: Destination + errorInfo: ErrorInfo + eventsIngestionStatus: IngestEventsStatus + requestStatus: typing_extensions.Literal[ + "REQUEST_STATUS_UNKNOWN", "SUCCESS", "PROCESSING", "FAILED", "PARTIAL_SUCCESS" + ] + warningInfo: WarningInfo + +@typing.type_check_only +class RetrieveRequestStatusResponse(typing_extensions.TypedDict, total=False): + requestStatusPerDestination: _list[RequestStatusPerDestination] + +@typing.type_check_only +class TermsOfService(typing_extensions.TypedDict, total=False): + customerMatchTermsOfServiceStatus: typing_extensions.Literal[ + "TERMS_OF_SERVICE_STATUS_UNSPECIFIED", "ACCEPTED", "REJECTED" + ] + +@typing.type_check_only +class UserData(typing_extensions.TypedDict, total=False): + userIdentifiers: _list[UserIdentifier] + +@typing.type_check_only +class UserIdentifier(typing_extensions.TypedDict, total=False): + address: AddressInfo + emailAddress: str + phoneNumber: str + +@typing.type_check_only +class UserProperties(typing_extensions.TypedDict, total=False): + customerType: typing_extensions.Literal[ + "CUSTOMER_TYPE_UNSPECIFIED", "NEW", "RETURNING", "REENGAGED" + ] + customerValueBucket: typing_extensions.Literal[ + "CUSTOMER_VALUE_BUCKET_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" + ] + +@typing.type_check_only +class WarningCount(typing_extensions.TypedDict, total=False): + reason: typing_extensions.Literal[ + "PROCESSING_WARNING_REASON_UNSPECIFIED", + "PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED", + "PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR", + "PROCESSING_WARNING_REASON_DECRYPTION_ERROR", + "PROCESSING_WARNING_REASON_WIP_AUTH_FAILED", + "PROCESSING_WARNING_REASON_INVALID_WIP", + "PROCESSING_WARNING_REASON_INVALID_KEK", + "PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", + "PROCESSING_WARNING_REASON_INTERNAL_ERROR", + ] + recordCount: str + +@typing.type_check_only +class WarningInfo(typing_extensions.TypedDict, total=False): + warningCounts: _list[WarningCount] diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index 1a899f5f..82e3287f 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -577,6 +577,10 @@ class GoogleCloudClouddmsV1OperationMetadata(typing_extensions.TypedDict, total= target: str verb: str +@typing.type_check_only +class HeterogeneousMetadata(typing_extensions.TypedDict, total=False): + unsupportedEventsCount: str + @typing.type_check_only class ImportMappingRulesRequest(typing_extensions.TypedDict, total=False): autoCommit: bool @@ -809,6 +813,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): class MigrationJobObject(typing_extensions.TypedDict, total=False): createTime: str error: Status + heterogeneousMetadata: HeterogeneousMetadata name: str phase: typing_extensions.Literal[ "PHASE_UNSPECIFIED", @@ -1215,7 +1220,9 @@ class SqlServerBackups(typing_extensions.TypedDict, total=False): class SqlServerConnectionProfile(typing_extensions.TypedDict, total=False): backups: SqlServerBackups cloudSqlId: str + cloudSqlProjectId: str database: str + dbmPort: int forwardSshConnectivity: ForwardSshTunnelConnectivity host: str password: str @@ -1227,6 +1234,11 @@ class SqlServerConnectionProfile(typing_extensions.TypedDict, total=False): staticIpConnectivity: StaticIpConnectivity username: str +@typing.type_check_only +class SqlServerDagConfig(typing_extensions.TypedDict, total=False): + linkedServer: str + sourceAg: str + @typing.type_check_only class SqlServerDatabaseBackup(typing_extensions.TypedDict, total=False): database: str @@ -1241,6 +1253,7 @@ class SqlServerEncryptionOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class SqlServerHomogeneousMigrationJobConfig(typing_extensions.TypedDict, total=False): backupFilePattern: str + dagConfig: SqlServerDagConfig databaseBackups: _list[SqlServerDatabaseBackup] promoteWhenReady: bool useDiffBackup: bool diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index e50ceded..c33d02d0 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -102,6 +102,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -182,6 +183,30 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class ChangeRequestsResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only class DataAttributeBindingsResource(googleapiclient.discovery.Resource): def create( @@ -250,6 +275,41 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class DataProductsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DataAssetsResource(googleapiclient.discovery.Resource): + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def dataAssets(self) -> DataAssetsResource: ... + @typing.type_check_only class DataScansResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1668,6 +1728,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1724,7 +1785,9 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): previous_response: GoogleCloudDataplexV1SearchEntriesResponse, ) -> GoogleCloudDataplexV1SearchEntriesResponseHttpRequest | None: ... def aspectTypes(self) -> AspectTypesResource: ... + def changeRequests(self) -> ChangeRequestsResource: ... def dataAttributeBindings(self) -> DataAttributeBindingsResource: ... + def dataProducts(self) -> DataProductsResource: ... def dataScans(self) -> DataScansResource: ... def dataTaxonomies(self) -> DataTaxonomiesResource: ... def entryGroups(self) -> EntryGroupsResource: ... diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index e6ce4b0b..2f7883ae 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -104,6 +104,9 @@ class GoogleCloudDataplexV1AspectSource(typing_extensions.TypedDict, total=False class GoogleCloudDataplexV1AspectType(typing_extensions.TypedDict, total=False): authorization: GoogleCloudDataplexV1AspectTypeAuthorization createTime: str + dataClassification: typing_extensions.Literal[ + "DATA_CLASSIFICATION_UNSPECIFIED", "METADATA_AND_DATA" + ] description: str displayName: str etag: str @@ -427,6 +430,47 @@ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions( encoding: str typeInferenceDisabled: bool +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationResult( + typing_extensions.TypedDict, total=False +): + tableResult: GoogleCloudDataplexV1DataDocumentationResultTableResult + +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationResultField( + typing_extensions.TypedDict, total=False +): + description: str + fields: _list[GoogleCloudDataplexV1DataDocumentationResultField] + name: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationResultQuery( + typing_extensions.TypedDict, total=False +): + description: str + sql: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationResultSchema( + typing_extensions.TypedDict, total=False +): + fields: _list[GoogleCloudDataplexV1DataDocumentationResultField] + +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationResultTableResult( + typing_extensions.TypedDict, total=False +): + name: str + overview: str + queries: _list[GoogleCloudDataplexV1DataDocumentationResultQuery] + schema: GoogleCloudDataplexV1DataDocumentationResultSchema + +@typing.type_check_only +class GoogleCloudDataplexV1DataDocumentationSpec( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDataplexV1DataProfileResult(typing_extensions.TypedDict, total=False): postScanActionsResult: GoogleCloudDataplexV1DataProfileResultPostScanActionsResult @@ -789,6 +833,8 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): data: GoogleCloudDataplexV1DataSource dataDiscoveryResult: GoogleCloudDataplexV1DataDiscoveryResult dataDiscoverySpec: GoogleCloudDataplexV1DataDiscoverySpec + dataDocumentationResult: GoogleCloudDataplexV1DataDocumentationResult + dataDocumentationSpec: GoogleCloudDataplexV1DataDocumentationSpec dataProfileResult: GoogleCloudDataplexV1DataProfileResult dataProfileSpec: GoogleCloudDataplexV1DataProfileSpec dataQualityResult: GoogleCloudDataplexV1DataQualityResult @@ -803,7 +849,11 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] type: typing_extensions.Literal[ - "DATA_SCAN_TYPE_UNSPECIFIED", "DATA_QUALITY", "DATA_PROFILE", "DATA_DISCOVERY" + "DATA_SCAN_TYPE_UNSPECIFIED", + "DATA_QUALITY", + "DATA_PROFILE", + "DATA_DISCOVERY", + "DATA_DOCUMENTATION", ] uid: str updateTime: str @@ -833,7 +883,9 @@ class GoogleCloudDataplexV1DataScanEvent(typing_extensions.TypedDict, total=Fals state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED", "CANCELLED", "CREATED" ] - trigger: typing_extensions.Literal["TRIGGER_UNSPECIFIED", "ON_DEMAND", "SCHEDULE"] + trigger: typing_extensions.Literal[ + "TRIGGER_UNSPECIFIED", "ON_DEMAND", "SCHEDULE", "ONE_TIME" + ] type: typing_extensions.Literal[ "SCAN_TYPE_UNSPECIFIED", "DATA_PROFILE", "DATA_QUALITY", "DATA_DISCOVERY" ] @@ -907,6 +959,8 @@ class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False) createTime: str dataDiscoveryResult: GoogleCloudDataplexV1DataDiscoveryResult dataDiscoverySpec: GoogleCloudDataplexV1DataDiscoverySpec + dataDocumentationResult: GoogleCloudDataplexV1DataDocumentationResult + dataDocumentationSpec: GoogleCloudDataplexV1DataDocumentationSpec dataProfileResult: GoogleCloudDataplexV1DataProfileResult dataProfileSpec: GoogleCloudDataplexV1DataProfileSpec dataQualityResult: GoogleCloudDataplexV1DataQualityResult @@ -925,7 +979,11 @@ class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False) "PENDING", ] type: typing_extensions.Literal[ - "DATA_SCAN_TYPE_UNSPECIFIED", "DATA_QUALITY", "DATA_PROFILE", "DATA_DISCOVERY" + "DATA_SCAN_TYPE_UNSPECIFIED", + "DATA_QUALITY", + "DATA_PROFILE", + "DATA_DISCOVERY", + "DATA_DOCUMENTATION", ] uid: str @@ -1016,6 +1074,7 @@ class GoogleCloudDataplexV1DiscoveryEventTableDetails( @typing.type_check_only class GoogleCloudDataplexV1EncryptionConfig(typing_extensions.TypedDict, total=False): createTime: str + enableMetastoreEncryption: bool encryptionState: typing_extensions.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "ENCRYPTING", "COMPLETED", "FAILED" ] @@ -2102,6 +2161,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/dataproc/v1/resources.pyi b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi index 765deca1..1089e901 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi @@ -383,6 +383,7 @@ class DataprocResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1158,6 +1159,7 @@ class DataprocResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index 7cb17146..2137af06 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -95,6 +95,7 @@ class AccumulableInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class AnalyzeBatchRequest(typing_extensions.TypedDict, total=False): requestId: str + requestorId: str @typing.type_check_only class AnalyzeOperationMetadata(typing_extensions.TypedDict, total=False): @@ -925,6 +926,7 @@ class ListJobsResponse(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 ListSessionTemplatesResponse(typing_extensions.TypedDict, total=False): @@ -1253,6 +1255,7 @@ class RegexValidation(typing_extensions.TypedDict, total=False): class RepairClusterRequest(typing_extensions.TypedDict, total=False): cluster: ClusterToRepair clusterUuid: str + dataprocSuperUser: bool gracefulDecommissionTimeout: str nodePools: _list[NodePool] parentOperationId: str @@ -1575,6 +1578,7 @@ class SoftwareConfig(typing_extensions.TypedDict, total=False): "SOLR", "ZEPPELIN", "ZOOKEEPER", + "JUPYTER_KERNEL_GATEWAY", ] ] properties: dict[str, typing.Any] @@ -2121,7 +2125,6 @@ class UsageMetrics(typing_extensions.TypedDict, total=False): acceleratorType: str milliAcceleratorSeconds: str milliDcuSeconds: str - milliSlotSeconds: str shuffleStorageGbSeconds: str updateTime: str @@ -2131,7 +2134,6 @@ class UsageSnapshot(typing_extensions.TypedDict, total=False): milliAccelerator: str milliDcu: str milliDcuPremium: str - milliSlot: str shuffleStorageGb: str shuffleStorageGbPremium: str snapshotTime: str @@ -2231,6 +2233,7 @@ class WriteSparkApplicationContextResponse( @typing.type_check_only class YarnApplication(typing_extensions.TypedDict, total=False): + memoryMbSeconds: str name: str progress: float state: typing_extensions.Literal[ @@ -2245,3 +2248,4 @@ class YarnApplication(typing_extensions.TypedDict, total=False): "KILLED", ] trackingUrl: str + vcoreSeconds: str diff --git a/googleapiclient-stubs/_apis/datastore/v1/resources.pyi b/googleapiclient-stubs/_apis/datastore/v1/resources.pyi index fae5ff56..c324b664 100644 --- a/googleapiclient-stubs/_apis/datastore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1/resources.pyi @@ -63,6 +63,7 @@ class DatastoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi index 74df0f2a..09e115ce 100644 --- a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi @@ -367,6 +367,7 @@ class GoogleDatastoreAdminV1beta1Progress(typing_extensions.TypedDict, total=Fal 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/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index fde7c05b..15e9d853 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -39,6 +39,9 @@ class BackfillJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class BasicEncryption(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): appendOnly: AppendOnly @@ -137,6 +140,14 @@ class DropLargeObjects(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EncryptionAndServerValidation(typing_extensions.TypedDict, total=False): + caCertificate: str + serverCertificateHostname: str + +@typing.type_check_only +class EncryptionNotEnforced(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Error(typing_extensions.TypedDict, total=False): details: dict[str, typing.Any] @@ -250,6 +261,10 @@ class LookupStreamObjectRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Merge(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class MongodbChangeStreamPosition(typing_extensions.TypedDict, total=False): + startTime: str + @typing.type_check_only class MongodbCluster(typing_extensions.TypedDict, total=False): databases: _list[MongodbDatabase] @@ -469,6 +484,7 @@ class OracleSourceConfig(typing_extensions.TypedDict, total=False): class OracleSslConfig(typing_extensions.TypedDict, total=False): caCertificate: str caCertificateSet: bool + serverCertificateDistinguishedName: str @typing.type_check_only class OracleTable(typing_extensions.TypedDict, total=False): @@ -608,10 +624,12 @@ class ServerAndClientVerification(typing_extensions.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str + serverCertificateHostname: str @typing.type_check_only class ServerVerification(typing_extensions.TypedDict, total=False): caCertificate: str + serverCertificateHostname: str @typing.type_check_only class SingleTargetDataset(typing_extensions.TypedDict, total=False): @@ -643,6 +661,7 @@ class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): @typing.type_check_only class SpecificStartPosition(typing_extensions.TypedDict, total=False): + mongodbChangeStreamPosition: MongodbChangeStreamPosition mysqlGtidPosition: MysqlGtidPosition mysqlLogPosition: MysqlLogPosition oracleScnPosition: OracleScnPosition @@ -678,6 +697,7 @@ class SqlServerProfile(typing_extensions.TypedDict, total=False): password: str port: int secretManagerStoredPassword: str + sslConfig: SqlServerSslConfig username: str @typing.type_check_only @@ -698,6 +718,12 @@ class SqlServerSourceConfig(typing_extensions.TypedDict, total=False): maxConcurrentCdcTasks: int transactionLogs: SqlServerTransactionLogs +@typing.type_check_only +class SqlServerSslConfig(typing_extensions.TypedDict, total=False): + basicEncryption: BasicEncryption + encryptionAndServerValidation: EncryptionAndServerValidation + encryptionNotEnforced: EncryptionNotEnforced + @typing.type_check_only class SqlServerTable(typing_extensions.TypedDict, total=False): columns: _list[SqlServerColumn] diff --git a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi index 9e7b9939..b047e9a9 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi @@ -357,6 +357,7 @@ class ServiceAccount(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): zonalIgmIds: _list[str] + zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi index 90ed3d47..b5d53f00 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi @@ -245,6 +245,7 @@ class ResourcesListResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): zonalIgmIds: _list[str] + zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi index 9f620773..13f1607d 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi @@ -328,6 +328,7 @@ class ServiceAccount(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): zonalIgmIds: _list[str] + zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi index 1226788d..02a2f871 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi @@ -354,6 +354,7 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi index 05792d07..8a228982 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi @@ -133,7 +133,7 @@ class GitHubConfig(typing_extensions.TypedDict, total=False): appInstallationId: str authorizerCredential: OAuthCredential githubApp: typing_extensions.Literal[ - "GIT_HUB_APP_UNSPECIFIED", "DEVELOPER_CONNECT", "FIREBASE" + "GIT_HUB_APP_UNSPECIFIED", "DEVELOPER_CONNECT", "FIREBASE", "GEMINI_CODE_ASSIST" ] installationUri: str @@ -271,6 +271,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 ListUsersResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi index 8d6ec281..2a8a1cae 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi @@ -917,6 +917,39 @@ class DfareportingResource(googleapiclient.discovery.Resource): previous_response: DirectorySitesListResponse, ) -> DirectorySitesListResponseHttpRequest | None: ... + @typing.type_check_only + class DynamicFeedsResource(googleapiclient.discovery.Resource): + def get( + self, *, dynamicFeedId: str, **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def insert( + self, *, body: DynamicFeedsInsertRequest = ..., **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def retransform( + self, *, dynamicFeedId: str, **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def update( + self, *, body: DynamicFeed = ..., **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + + @typing.type_check_only + class DynamicProfilesResource(googleapiclient.discovery.Resource): + def generateCode( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> DynamicProfileGenerateCodeResponseHttpRequest: ... + def get( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + def insert( + self, *, body: DynamicProfile = ..., **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + def publish( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def update( + self, *, body: DynamicProfile = ..., **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + @typing.type_check_only class DynamicTargetingKeysResource(googleapiclient.discovery.Resource): def delete( @@ -1839,6 +1872,27 @@ class DfareportingResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> SizesListResponseHttpRequest: ... + @typing.type_check_only + class StudioCreativeAssetsResource(googleapiclient.discovery.Resource): + def insert( + self, + *, + body: DfareportingStudioCreativeAssetsInsertRequest = ..., + **kwargs: typing.Any, + ) -> StudioCreativeAssetsResponseHttpRequest: ... + + @typing.type_check_only + class StudioCreativesResource(googleapiclient.discovery.Resource): + def get( + self, *, studioCreativeId: str, **kwargs: typing.Any + ) -> StudioCreativeHttpRequest: ... + def insert( + self, *, body: StudioCreative = ..., **kwargs: typing.Any + ) -> StudioCreativeHttpRequest: ... + def publish( + self, *, studioCreativeId: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + @typing.type_check_only class SubaccountsResource(googleapiclient.discovery.Resource): def get( @@ -2067,6 +2121,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): def creatives(self) -> CreativesResource: ... def dimensionValues(self) -> DimensionValuesResource: ... def directorySites(self) -> DirectorySitesResource: ... + def dynamicFeeds(self) -> DynamicFeedsResource: ... + def dynamicProfiles(self) -> DynamicProfilesResource: ... def dynamicTargetingKeys(self) -> DynamicTargetingKeysResource: ... def eventTags(self) -> EventTagsResource: ... def files(self) -> FilesResource: ... @@ -2093,6 +2149,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): def reports(self) -> ReportsResource: ... def sites(self) -> SitesResource: ... def sizes(self) -> SizesResource: ... + def studioCreativeAssets(self) -> StudioCreativeAssetsResource: ... + def studioCreatives(self) -> StudioCreativesResource: ... def subaccounts(self) -> SubaccountsResource: ... def targetableRemarketingLists(self) -> TargetableRemarketingListsResource: ... def targetingTemplates(self) -> TargetingTemplatesResource: ... @@ -2514,6 +2572,30 @@ class DirectorySitesListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DirectorySitesListResponse: ... +@typing.type_check_only +class DynamicFeedHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicFeed: ... + +@typing.type_check_only +class DynamicProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicProfile: ... + +@typing.type_check_only +class DynamicProfileGenerateCodeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicProfileGenerateCodeResponse: ... + @typing.type_check_only class DynamicTargetingKeyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2924,6 +3006,22 @@ class SizesListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SizesListResponse: ... +@typing.type_check_only +class StudioCreativeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudioCreative: ... + +@typing.type_check_only +class StudioCreativeAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudioCreativeAssetsResponse: ... + @typing.type_check_only class SubaccountHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index d3b95b67..bf00037b 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -215,6 +215,10 @@ class Advertiser(typing_extensions.TypedDict, total=False): clickThroughUrlSuffix: str defaultClickThroughEventTagId: str defaultEmail: str + euPoliticalAdsDeclaration: typing_extensions.Literal[ + "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", + "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS", + ] floodlightConfigurationId: str floodlightConfigurationIdDimensionValue: DimensionValue id: str @@ -399,6 +403,9 @@ class Campaign(typing_extensions.TypedDict, total=False): defaultClickThroughEventTagProperties: DefaultClickThroughEventTagProperties defaultLandingPageId: str endDate: str + euPoliticalAdsDeclaration: typing_extensions.Literal[ + "CONTAINS_EU_POLITICAL_ADS", "DOES_NOT_CONTAIN_EU_POLITICAL_ADS" + ] eventTagOverrides: _list[EventTagOverride] externalId: str id: str @@ -554,6 +561,26 @@ class ContentCategory(typing_extensions.TypedDict, total=False): kind: str name: str +@typing.type_check_only +class ContentSource(typing_extensions.TypedDict, total=False): + contentSourceName: str + createInfo: LastModifiedInfo + lastModifiedInfo: LastModifiedInfo + metaData: ContentSourceMetaData + resourceLink: str + resourceType: typing_extensions.Literal[ + "RESOURCE_TYPE_UNSPECIFIED", + "RESOURCE_TYPE_GOOGLE_SPREADSHEET", + "RESOURCE_TYPE_REMOTE_FILE", + ] + +@typing.type_check_only +class ContentSourceMetaData(typing_extensions.TypedDict, total=False): + charset: str + fieldNames: _list[str] + rowNumber: int + separator: str + @typing.type_check_only class Conversion(typing_extensions.TypedDict, total=False): adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] @@ -653,6 +680,8 @@ class Creative(typing_extensions.TypedDict, total=False): "CREATIVE_AUTHORING_SOURCE_STUDIO", "CREATIVE_AUTHORING_SOURCE_GWD", "CREATIVE_AUTHORING_SOURCE_ACS", + "CREATIVE_AUTHORING_SOURCE_ADOBE", + "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", ] authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool @@ -1367,6 +1396,17 @@ class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): filteredEventIds: _list[DimensionValue] kind: str +@typing.type_check_only +class CustomRule(typing_extensions.TypedDict, total=False): + name: str + priority: int + ruleBlocks: _list[RuleBlock] + +@typing.type_check_only +class CustomValueField(typing_extensions.TypedDict, total=False): + fieldId: int + requestKey: str + @typing.type_check_only class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): configuration: CustomViewabilityMetricConfiguration @@ -1452,6 +1492,19 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): "AD_PRIORITY_16", ] +@typing.type_check_only +class DependentFieldValue(typing_extensions.TypedDict, total=False): + elementId: str + fieldId: int + +@typing.type_check_only +class DfareportingStudioCreativeAssetsInsertRequest( + typing_extensions.TypedDict, total=False +): + studioAccountId: str + studioAdvertiserId: str + studioCreativeId: str + @typing.type_check_only class DfpSettings(typing_extensions.TypedDict, total=False): dfpNetworkCode: str @@ -1535,6 +1588,71 @@ class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str +@typing.type_check_only +class DynamicFeed(typing_extensions.TypedDict, total=False): + contentSource: ContentSource + createInfo: LastModifiedInfo + dynamicFeedId: str + dynamicFeedName: str + element: Element + feedIngestionStatus: FeedIngestionStatus + feedSchedule: FeedSchedule + hasPublished: bool + lastModifiedInfo: LastModifiedInfo + status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + studioAdvertiserId: str + +@typing.type_check_only +class DynamicFeedsInsertRequest(typing_extensions.TypedDict, total=False): + dynamicFeed: DynamicFeed + dynamicProfileId: str + +@typing.type_check_only +class DynamicProfile(typing_extensions.TypedDict, total=False): + active: DynamicProfileVersion + archiveStatus: typing_extensions.Literal[ + "ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED" + ] + createInfo: LastModifiedInfo + description: str + draft: DynamicProfileVersion + dynamicProfileId: str + kind: str + lastModifiedInfo: LastModifiedInfo + name: str + status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + studioAdvertiserId: str + +@typing.type_check_only +class DynamicProfileFeedSettings(typing_extensions.TypedDict, total=False): + dynamicFeedId: str + dynamicRules: DynamicRules + quantity: int + +@typing.type_check_only +class DynamicProfileGenerateCodeResponse(typing_extensions.TypedDict, total=False): + code: str + +@typing.type_check_only +class DynamicProfileVersion(typing_extensions.TypedDict, total=False): + dynamicProfileFeedSettings: _list[DynamicProfileFeedSettings] + versionId: str + +@typing.type_check_only +class DynamicRules(typing_extensions.TypedDict, total=False): + autoTargetedFieldIds: _list[int] + customRules: _list[CustomRule] + customValueFields: _list[CustomValueField] + proximityFilter: ProximityFilter + remarketingValueAttributes: _list[RemarketingValueAttribute] + rotationType: typing_extensions.Literal[ + "ROTATION_TYPE_UNKNOWN", "RANDOM", "OPTIMIZED", "WEIGHTED" + ] + ruleType: typing_extensions.Literal[ + "RULE_SET_TYPE_UNKNOWN", "OPEN", "AUTO", "CUSTOM", "PROXIMITY_TARGETING" + ] + weightFieldId: int + @typing.type_check_only class DynamicTargetingKey(typing_extensions.TypedDict, total=False): kind: str @@ -1549,6 +1667,21 @@ class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False) dynamicTargetingKeys: _list[DynamicTargetingKey] kind: str +@typing.type_check_only +class Element(typing_extensions.TypedDict, total=False): + activeFieldId: int + createInfo: LastModifiedInfo + defaultFieldId: int + elementName: str + endTimestampFieldId: int + externalIdFieldId: int + feedFields: _list[FeedField] + isLocalTimestamp: bool + lastModifiedInfo: LastModifiedInfo + proximityTargetingFieldId: int + reportingLabelFieldId: int + startTimestampFieldId: int + @typing.type_check_only class EncryptionInfo(typing_extensions.TypedDict, total=False): encryptionEntityId: str @@ -1601,6 +1734,145 @@ class EventTagsListResponse(typing_extensions.TypedDict, total=False): eventTags: _list[EventTag] kind: str +@typing.type_check_only +class FeedField(typing_extensions.TypedDict, total=False): + defaultValue: str + filterable: bool + id: int + name: str + renderable: bool + required: bool + type: typing_extensions.Literal[ + "TYPE_UNKNOWN", + "STRING", + "LONG", + "GPA_SERVED_IMAGE_URL", + "GPA_SERVED_ASSET_URL", + "COUNTRY_CODE_ISO", + "FLOAT", + "CM360_KEYWORD", + "CM360_SITE_ID", + "BOOL", + "EXIT_URL", + "DATETIME", + "CM360_CREATIVE_ID", + "CM360_PLACEMENT_ID", + "CM360_AD_ID", + "CM360_ADVERTISER_ID", + "CM360_CAMPAIGN_ID", + "CITY", + "REGION", + "POSTAL_CODE", + "METRO", + "CUSTOM_VALUE", + "REMARKETING_VALUE", + "GEO_CANONICAL", + "WEIGHT", + "STRING_LIST", + "CREATIVE_DIMENSION", + "USERLIST_ID", + "ASSET_LIBRARY_DIRECTORY_HANDLE", + "ASSET_LIBRARY_VIDEO_HANDLE", + "ASSET_LIBRARY_HANDLE", + "THIRD_PARTY_SERVED_URL", + "CM360_DYNAMIC_TARGETING_KEY", + "DV360_LINE_ITEM_ID", + ] + +@typing.type_check_only +class FeedIngestionStatus(typing_extensions.TypedDict, total=False): + ingestionErrorRecords: _list[IngestionErrorRecord] + ingestionStatus: IngestionStatus + state: typing_extensions.Literal[ + "FEED_PROCESSING_STATE_UNKNOWN", + "CANCELLED", + "INGESTING_QUEUED", + "INGESTING", + "INGESTED_SUCCESS", + "INGESTED_FAILURE", + "REQUEST_TO_PUBLISH", + "PUBLISHING", + "PUBLISHED_SUCCESS", + "PUBLISHED_FAILURE", + ] + +@typing.type_check_only +class FeedSchedule(typing_extensions.TypedDict, total=False): + repeatValue: str + scheduleEnabled: bool + startHour: str + startMinute: str + timeZone: str + +@typing.type_check_only +class FieldError(typing_extensions.TypedDict, total=False): + fieldId: int + fieldName: str + fieldValues: _list[str] + ingestionError: typing_extensions.Literal[ + "UNKNOWN_PARSING_ERROR", + "MISSING_ID", + "MISSING_REPORTING_LABEL", + "EMPTY_VALUE", + "ASSET_DOWNLOAD_ERROR", + "ID_TOO_LONG", + "DUPLICATE_ID", + "PARSING_ERROR", + "COUNTRY_PARSING_ERROR", + "LONG_PARSING_ERROR", + "BOOL_PARSING_ERROR", + "EXPANDED_URL_PARSING_ERROR", + "FLOAT_PARSING_ERROR", + "DATETIME_PARSING_ERROR", + "INVALID_PREFERENCE_VALUE", + "GEO_NOT_FOUND_ERROR", + "GEO_PARSING_ERROR", + "GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR", + "POSTAL_CODE_PARSING_ERROR", + "METRO_CODE_PARSING_ERROR", + "DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR", + "WEIGHT_PARSING_ERROR", + "CREATIVE_DIMENSION_PARSING_ERROR", + "MULTIVALUE_ID", + "ENDTIME_BEFORE_STARTTIME", + "INVALID_ASSET_LIBRARY_HANDLE", + "INVALID_ASSET_LIBRARY_VIDEO_HANDLE", + "INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE", + "DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER", + "USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER", + "ENDTIME_PASSED", + "ENDTIME_TOO_SOON", + "TEXT_ASSET_REFERENCE", + "IMAGE_ASSET_SCS_REFERENCE", + "AIRPORT_GEO_TARGET", + "CANONICAL_NAME_QUERY_MISMATCH", + "NO_DEFAULT_ROW", + "NO_ACTIVE_DEFAULT_ROW", + "NO_DEFAULT_ROW_IN_DATE_RANGE", + "NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE", + "PAYLOAD_LIMIT_EXCEEDED", + "SSL_NOT_COMPLIANT", + ] + isError: bool + +@typing.type_check_only +class FieldFilter(typing_extensions.TypedDict, total=False): + boolValue: bool + dependentFieldValue: DependentFieldValue + fieldId: int + matchType: typing_extensions.Literal[ + "LHS_MATCH_TYPE_UNKNOWN", + "EQUALS_OR_UNRESTRICTED", + "EQUALS", + "UNRESTRICTED", + "NOT_EQUALS", + ] + requestValue: RequestValue + stringValue: str + valueType: typing_extensions.Literal[ + "RHS_VALUE_TYPE_UNKNOWN", "STRING", "REQUEST", "BOOL", "DEPENDENT" + ] + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): dateRange: DateRange @@ -1884,6 +2156,19 @@ class GeoTargeting(typing_extensions.TypedDict, total=False): postalCodes: _list[PostalCode] regions: _list[Region] +@typing.type_check_only +class IngestionErrorRecord(typing_extensions.TypedDict, total=False): + errors: _list[FieldError] + recordId: str + +@typing.type_check_only +class IngestionStatus(typing_extensions.TypedDict, total=False): + numActiveRows: str + numRowsProcessed: str + numRowsTotal: str + numRowsWithErrors: str + numWarningsTotal: str + @typing.type_check_only class InventoryItem(typing_extensions.TypedDict, total=False): accountId: str @@ -2079,6 +2364,8 @@ class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): "VPAID_ONLY_FILTERING", "VPAID_FILTERING", "NON_VPAID_FILTERING", + "BLOCKING_FILTERING_VPAID", + "BLOCKING_FILTERING_VPAID_ONLY", ] wrappedTag: str @@ -2275,6 +2562,7 @@ class Placement(typing_extensions.TypedDict, total=False): additionalSizes: _list[Size] advertiserId: str advertiserIdDimensionValue: DimensionValue + allowOnYoutube: bool campaignId: str campaignIdDimensionValue: DimensionValue comment: str @@ -2353,6 +2641,7 @@ class Placement(typing_extensions.TypedDict, total=False): videoSettings: VideoSettings vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] wrappingOptOut: bool + youtubeSettings: YoutubeSettings @typing.type_check_only class PlacementAssignment(typing_extensions.TypedDict, total=False): @@ -2572,6 +2861,22 @@ class ProjectsListResponse(typing_extensions.TypedDict, total=False): nextPageToken: str projects: _list[Project] +@typing.type_check_only +class ProximityFilter(typing_extensions.TypedDict, total=False): + fieldId: int + radiusBucketType: typing_extensions.Literal[ + "RADIUS_BUCKET_TYPE_UNKNOWN", + "SMALL", + "MEDIUM", + "LARGE", + "MULTI_REGIONAL", + "NATIONAL", + ] + radiusUnitType: typing_extensions.Literal[ + "RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES" + ] + radiusValue: int + @typing.type_check_only class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): dimensionFilters: _list[Dimension] @@ -2642,6 +2947,11 @@ class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): nextPageToken: str remarketingLists: _list[RemarketingList] +@typing.type_check_only +class RemarketingValueAttribute(typing_extensions.TypedDict, total=False): + fieldId: int + userAttributeIds: _list[str] + @typing.type_check_only class Report(typing_extensions.TypedDict, total=False): accountId: str @@ -2692,6 +3002,12 @@ class ReportsConfiguration(typing_extensions.TypedDict, total=False): lookbackConfiguration: LookbackConfiguration reportGenerationTimeZoneId: str +@typing.type_check_only +class RequestValue(typing_extensions.TypedDict, total=False): + excludeFromUserAttributeIds: _list[str] + key: str + userAttributeIds: _list[str] + @typing.type_check_only class RichMediaExitOverride(typing_extensions.TypedDict, total=False): clickThroughUrl: ClickThroughUrl @@ -2704,6 +3020,10 @@ class Rule(typing_extensions.TypedDict, total=False): name: str targetingTemplateId: str +@typing.type_check_only +class RuleBlock(typing_extensions.TypedDict, total=False): + fieldFilter: _list[FieldFilter] + @typing.type_check_only class Site(typing_extensions.TypedDict, total=False): accountId: str @@ -2805,6 +3125,53 @@ class SortedDimension(typing_extensions.TypedDict, total=False): name: str sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] +@typing.type_check_only +class StudioCreative(typing_extensions.TypedDict, total=False): + assetIds: _list[str] + backupImageAssetId: str + createdInfo: LastModifiedInfo + dimension: StudioCreativeDimension + dynamicProfileId: str + format: typing_extensions.Literal[ + "UNKNOWN", "BANNER", "EXPANDING", "INTERSTITIAL", "VPAID_LINEAR_VIDEO" + ] + id: str + lastModifiedInfo: LastModifiedInfo + name: str + status: typing_extensions.Literal[ + "UNKNOWN_STATUS", + "IN_DEVELOPMENT", + "PUBLISHED", + "QA_REJECTED", + "QA_APPROVED", + "TRAFFICKED", + ] + studioAccountId: str + studioAdvertiserId: str + studioCampaignId: str + +@typing.type_check_only +class StudioCreativeAsset(typing_extensions.TypedDict, total=False): + createInfo: LastModifiedInfo + filename: str + filesize: str + id: str + lastModifiedInfo: LastModifiedInfo + studioAccountId: str + studioAdvertiserId: str + studioCreativeId: str + type: typing_extensions.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] + videoProcessingData: VideoProcessingData + +@typing.type_check_only +class StudioCreativeAssetsResponse(typing_extensions.TypedDict, total=False): + assets: _list[StudioCreativeAsset] + +@typing.type_check_only +class StudioCreativeDimension(typing_extensions.TypedDict, total=False): + height: int + width: int + @typing.type_check_only class Subaccount(typing_extensions.TypedDict, total=False): accountId: str @@ -3207,6 +3574,13 @@ class VideoOffset(typing_extensions.TypedDict, total=False): offsetPercentage: int offsetSeconds: int +@typing.type_check_only +class VideoProcessingData(typing_extensions.TypedDict, total=False): + errorReason: str + processingState: typing_extensions.Literal[ + "UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class VideoSettings(typing_extensions.TypedDict, total=False): companionSettings: CompanionSetting @@ -3218,3 +3592,39 @@ class VideoSettings(typing_extensions.TypedDict, total=False): publisherSpecificationId: str skippableSettings: SkippableSetting transcodeSettings: TranscodeSetting + +@typing.type_check_only +class YoutubeSettings(typing_extensions.TypedDict, total=False): + businessLogoCreativeIds: _list[str] + businessName: str + callToActions: _list[ + typing_extensions.Literal[ + "CALL_TO_ACTION_UNKNOWN", + "CALL_TO_ACTION_LEARN_MORE", + "CALL_TO_ACTION_GET_QUOTE", + "CALL_TO_ACTION_APPLY_NOW", + "CALL_TO_ACTION_SIGN_UP", + "CALL_TO_ACTION_CONTACT_US", + "CALL_TO_ACTION_SUBSCRIBE", + "CALL_TO_ACTION_DOWNLOAD", + "CALL_TO_ACTION_BOOK_NOW", + "CALL_TO_ACTION_GET_OFFER", + "CALL_TO_ACTION_SHOP_NOW", + "CALL_TO_ACTION_VISIT_STORE", + "CALL_TO_ACTION_CALL_NOW", + "CALL_TO_ACTION_VIEW_MENU", + "CALL_TO_ACTION_TEST_DRIVE", + "CALL_TO_ACTION_SCHEDULE_NOW", + "CALL_TO_ACTION_BUY_NOW", + "CALL_TO_ACTION_DONATE_NOW", + "CALL_TO_ACTION_ORDER_NOW", + "CALL_TO_ACTION_PLAY_NOW", + "CALL_TO_ACTION_SEE_MORE", + "CALL_TO_ACTION_START_NOW", + "CALL_TO_ACTION_VISIT_SITE", + "CALL_TO_ACTION_WATCH_NOW", + ] + ] + descriptions: _list[str] + headlines: _list[str] + longHeadlines: _list[str] diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/__init__.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/dfareporting/v5/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi new file mode 100644 index 00000000..100bf543 --- /dev/null +++ b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi @@ -0,0 +1,3040 @@ +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 DfareportingResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountActiveAdSummariesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, summaryAccountId: str, **kwargs: typing.Any + ) -> AccountActiveAdSummaryHttpRequest: ... + + @typing.type_check_only + class AccountPermissionGroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AccountPermissionGroupHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> AccountPermissionGroupsListResponseHttpRequest: ... + + @typing.type_check_only + class AccountPermissionsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AccountPermissionHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> AccountPermissionsListResponseHttpRequest: ... + + @typing.type_check_only + class AccountUserProfilesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AccountUserProfileHttpRequest: ... + def insert( + self, + *, + profileId: str, + body: AccountUserProfile = ..., + **kwargs: typing.Any, + ) -> AccountUserProfileHttpRequest: ... + def list( + self, + *, + profileId: str, + active: bool = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + subaccountId: str = ..., + userRoleId: str = ..., + **kwargs: typing.Any, + ) -> AccountUserProfilesListResponseHttpRequest: ... + def list_next( + self, + previous_request: AccountUserProfilesListResponseHttpRequest, + previous_response: AccountUserProfilesListResponse, + ) -> AccountUserProfilesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: AccountUserProfile = ..., + **kwargs: typing.Any, + ) -> AccountUserProfileHttpRequest: ... + def update( + self, + *, + profileId: str, + body: AccountUserProfile = ..., + **kwargs: typing.Any, + ) -> AccountUserProfileHttpRequest: ... + + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AccountHttpRequest: ... + def list( + self, + *, + profileId: str, + active: bool = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> AccountsListResponseHttpRequest: ... + def list_next( + self, + previous_request: AccountsListResponseHttpRequest, + previous_response: AccountsListResponse, + ) -> AccountsListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: Account = ..., **kwargs: typing.Any + ) -> AccountHttpRequest: ... + def update( + self, *, profileId: str, body: Account = ..., **kwargs: typing.Any + ) -> AccountHttpRequest: ... + + @typing.type_check_only + class AdsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AdHttpRequest: ... + def insert( + self, *, profileId: str, body: Ad = ..., **kwargs: typing.Any + ) -> AdHttpRequest: ... + def list( + self, + *, + profileId: str, + active: bool = ..., + advertiserId: str = ..., + archived: bool = ..., + audienceSegmentIds: str | _list[str] = ..., + campaignIds: str | _list[str] = ..., + compatibility: typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] = ..., + creativeIds: str | _list[str] = ..., + creativeOptimizationConfigurationIds: str | _list[str] = ..., + dynamicClickTracker: bool = ..., + ids: str | _list[str] = ..., + landingPageIds: str | _list[str] = ..., + maxResults: int = ..., + overriddenEventTagId: str = ..., + pageToken: str = ..., + placementIds: str | _list[str] = ..., + remarketingListIds: str | _list[str] = ..., + searchString: str = ..., + sizeIds: str | _list[str] = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + sslCompliant: bool = ..., + sslRequired: bool = ..., + type: typing_extensions.Literal[ + "AD_SERVING_STANDARD_AD", + "AD_SERVING_DEFAULT_AD", + "AD_SERVING_CLICK_TRACKER", + "AD_SERVING_TRACKING", + "AD_SERVING_BRAND_SAFE_AD", + ] + | _list[ + typing_extensions.Literal[ + "AD_SERVING_STANDARD_AD", + "AD_SERVING_DEFAULT_AD", + "AD_SERVING_CLICK_TRACKER", + "AD_SERVING_TRACKING", + "AD_SERVING_BRAND_SAFE_AD", + ] + ] = ..., + **kwargs: typing.Any, + ) -> AdsListResponseHttpRequest: ... + def list_next( + self, + previous_request: AdsListResponseHttpRequest, + previous_response: AdsListResponse, + ) -> AdsListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: Ad = ..., **kwargs: typing.Any + ) -> AdHttpRequest: ... + def update( + self, *, profileId: str, body: Ad = ..., **kwargs: typing.Any + ) -> AdHttpRequest: ... + + @typing.type_check_only + class AdvertiserGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AdvertiserGroupHttpRequest: ... + def insert( + self, *, profileId: str, body: AdvertiserGroup = ..., **kwargs: typing.Any + ) -> AdvertiserGroupHttpRequest: ... + def list( + self, + *, + profileId: str, + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> AdvertiserGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: AdvertiserGroupsListResponseHttpRequest, + previous_response: AdvertiserGroupsListResponse, + ) -> AdvertiserGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: AdvertiserGroup = ..., + **kwargs: typing.Any, + ) -> AdvertiserGroupHttpRequest: ... + def update( + self, *, profileId: str, body: AdvertiserGroup = ..., **kwargs: typing.Any + ) -> AdvertiserGroupHttpRequest: ... + + @typing.type_check_only + class AdvertiserInvoicesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + profileId: str, + advertiserId: str, + issueMonth: str = ..., + maxResults: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> AdvertiserInvoicesListResponseHttpRequest: ... + def list_next( + self, + previous_request: AdvertiserInvoicesListResponseHttpRequest, + previous_response: AdvertiserInvoicesListResponse, + ) -> AdvertiserInvoicesListResponseHttpRequest | None: ... + + @typing.type_check_only + class AdvertiserLandingPagesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> LandingPageHttpRequest: ... + def insert( + self, *, profileId: str, body: LandingPage = ..., **kwargs: typing.Any + ) -> LandingPageHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserIds: str | _list[str] = ..., + archived: bool = ..., + campaignIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + subaccountId: str = ..., + **kwargs: typing.Any, + ) -> AdvertiserLandingPagesListResponseHttpRequest: ... + def list_next( + self, + previous_request: AdvertiserLandingPagesListResponseHttpRequest, + previous_response: AdvertiserLandingPagesListResponse, + ) -> AdvertiserLandingPagesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: LandingPage = ..., + **kwargs: typing.Any, + ) -> LandingPageHttpRequest: ... + def update( + self, *, profileId: str, body: LandingPage = ..., **kwargs: typing.Any + ) -> LandingPageHttpRequest: ... + + @typing.type_check_only + class AdvertisersResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> AdvertiserHttpRequest: ... + def insert( + self, *, profileId: str, body: Advertiser = ..., **kwargs: typing.Any + ) -> AdvertiserHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserGroupIds: str | _list[str] = ..., + floodlightConfigurationIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + includeAdvertisersWithoutGroupsOnly: bool = ..., + maxResults: int = ..., + onlyParent: bool = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + status: typing_extensions.Literal["APPROVED", "ON_HOLD"] = ..., + subaccountId: str = ..., + **kwargs: typing.Any, + ) -> AdvertisersListResponseHttpRequest: ... + def list_next( + self, + previous_request: AdvertisersListResponseHttpRequest, + previous_response: AdvertisersListResponse, + ) -> AdvertisersListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: Advertiser = ..., + **kwargs: typing.Any, + ) -> AdvertiserHttpRequest: ... + def update( + self, *, profileId: str, body: Advertiser = ..., **kwargs: typing.Any + ) -> AdvertiserHttpRequest: ... + + @typing.type_check_only + class BillingAssignmentsResource(googleapiclient.discovery.Resource): + def insert( + self, + *, + profileId: str, + billingProfileId: str, + body: BillingAssignment = ..., + **kwargs: typing.Any, + ) -> BillingAssignmentHttpRequest: ... + def list( + self, *, profileId: str, billingProfileId: str, **kwargs: typing.Any + ) -> BillingAssignmentsListResponseHttpRequest: ... + + @typing.type_check_only + class BillingProfilesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> BillingProfileHttpRequest: ... + def list( + self, + *, + profileId: str, + currency_code: str = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + name: str = ..., + onlySuggestion: bool = ..., + pageToken: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + | _list[ + typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + ] = ..., + subaccountIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> BillingProfilesListResponseHttpRequest: ... + def list_next( + self, + previous_request: BillingProfilesListResponseHttpRequest, + previous_response: BillingProfilesListResponse, + ) -> BillingProfilesListResponseHttpRequest | None: ... + def update( + self, *, profileId: str, body: BillingProfile = ..., **kwargs: typing.Any + ) -> BillingProfileHttpRequest: ... + + @typing.type_check_only + class BillingRatesResource(googleapiclient.discovery.Resource): + def list( + self, *, profileId: str, billingProfileId: str, **kwargs: typing.Any + ) -> BillingRatesListResponseHttpRequest: ... + + @typing.type_check_only + class BrowsersResource(googleapiclient.discovery.Resource): + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> BrowsersListResponseHttpRequest: ... + + @typing.type_check_only + class CampaignCreativeAssociationsResource(googleapiclient.discovery.Resource): + def insert( + self, + *, + profileId: str, + campaignId: str, + body: CampaignCreativeAssociation = ..., + **kwargs: typing.Any, + ) -> CampaignCreativeAssociationHttpRequest: ... + def list( + self, + *, + profileId: str, + campaignId: str, + maxResults: int = ..., + pageToken: str = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> CampaignCreativeAssociationsListResponseHttpRequest: ... + def list_next( + self, + previous_request: CampaignCreativeAssociationsListResponseHttpRequest, + previous_response: CampaignCreativeAssociationsListResponse, + ) -> CampaignCreativeAssociationsListResponseHttpRequest | None: ... + + @typing.type_check_only + class CampaignsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + def insert( + self, *, profileId: str, body: Campaign = ..., **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserGroupIds: str | _list[str] = ..., + advertiserIds: str | _list[str] = ..., + archived: bool = ..., + atLeastOneOptimizationActivity: bool = ..., + excludedIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + overriddenEventTagId: str = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + subaccountId: str = ..., + **kwargs: typing.Any, + ) -> CampaignsListResponseHttpRequest: ... + def list_next( + self, + previous_request: CampaignsListResponseHttpRequest, + previous_response: CampaignsListResponse, + ) -> CampaignsListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: Campaign = ..., **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + def update( + self, *, profileId: str, body: Campaign = ..., **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + + @typing.type_check_only + class ChangeLogsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> ChangeLogHttpRequest: ... + def list( + self, + *, + profileId: str, + action: typing_extensions.Literal[ + "ACTION_CREATE", + "ACTION_UPDATE", + "ACTION_DELETE", + "ACTION_ENABLE", + "ACTION_DISABLE", + "ACTION_ADD", + "ACTION_REMOVE", + "ACTION_MARK_AS_DEFAULT", + "ACTION_ASSOCIATE", + "ACTION_ASSIGN", + "ACTION_UNASSIGN", + "ACTION_SEND", + "ACTION_LINK", + "ACTION_UNLINK", + "ACTION_PUSH", + "ACTION_EMAIL_TAGS", + "ACTION_SHARE", + ] = ..., + ids: str | _list[str] = ..., + maxChangeTime: str = ..., + maxResults: int = ..., + minChangeTime: str = ..., + objectIds: str | _list[str] = ..., + objectType: typing_extensions.Literal[ + "OBJECT_ADVERTISER", + "OBJECT_FLOODLIGHT_CONFIGURATION", + "OBJECT_AD", + "OBJECT_FLOODLIGHT_ACTVITY", + "OBJECT_CAMPAIGN", + "OBJECT_FLOODLIGHT_ACTIVITY_GROUP", + "OBJECT_CREATIVE", + "OBJECT_PLACEMENT", + "OBJECT_DFA_SITE", + "OBJECT_USER_ROLE", + "OBJECT_USER_PROFILE", + "OBJECT_ADVERTISER_GROUP", + "OBJECT_ACCOUNT", + "OBJECT_SUBACCOUNT", + "OBJECT_RICHMEDIA_CREATIVE", + "OBJECT_INSTREAM_CREATIVE", + "OBJECT_MEDIA_ORDER", + "OBJECT_CONTENT_CATEGORY", + "OBJECT_PLACEMENT_STRATEGY", + "OBJECT_SD_SITE", + "OBJECT_SIZE", + "OBJECT_CREATIVE_GROUP", + "OBJECT_CREATIVE_ASSET", + "OBJECT_USER_PROFILE_FILTER", + "OBJECT_LANDING_PAGE", + "OBJECT_CREATIVE_FIELD", + "OBJECT_REMARKETING_LIST", + "OBJECT_PROVIDED_LIST_CLIENT", + "OBJECT_EVENT_TAG", + "OBJECT_CREATIVE_BUNDLE", + "OBJECT_BILLING_ACCOUNT_GROUP", + "OBJECT_BILLING_FEATURE", + "OBJECT_RATE_CARD", + "OBJECT_ACCOUNT_BILLING_FEATURE", + "OBJECT_BILLING_MINIMUM_FEE", + "OBJECT_BILLING_PROFILE", + "OBJECT_PLAYSTORE_LINK", + "OBJECT_TARGETING_TEMPLATE", + "OBJECT_SEARCH_LIFT_STUDY", + "OBJECT_FLOODLIGHT_DV360_LINK", + "OBJECT_ADVERTISER_CUSTOMER_LINK", + "OBJECT_CONVERSION_DOMAIN", + "OBJECT_ACCOUNT_CONVERSION_DOMAIN", + ] = ..., + pageToken: str = ..., + searchString: str = ..., + userProfileIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> ChangeLogsListResponseHttpRequest: ... + def list_next( + self, + previous_request: ChangeLogsListResponseHttpRequest, + previous_response: ChangeLogsListResponse, + ) -> ChangeLogsListResponseHttpRequest | None: ... + + @typing.type_check_only + class CitiesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + profileId: str, + countryDartIds: str | _list[str] = ..., + dartIds: str | _list[str] = ..., + namePrefix: str = ..., + regionDartIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> CitiesListResponseHttpRequest: ... + + @typing.type_check_only + class ConnectionTypesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> ConnectionTypeHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> ConnectionTypesListResponseHttpRequest: ... + + @typing.type_check_only + class ContentCategoriesResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> ContentCategoryHttpRequest: ... + def insert( + self, *, profileId: str, body: ContentCategory = ..., **kwargs: typing.Any + ) -> ContentCategoryHttpRequest: ... + def list( + self, + *, + profileId: str, + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> ContentCategoriesListResponseHttpRequest: ... + def list_next( + self, + previous_request: ContentCategoriesListResponseHttpRequest, + previous_response: ContentCategoriesListResponse, + ) -> ContentCategoriesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: ContentCategory = ..., + **kwargs: typing.Any, + ) -> ContentCategoryHttpRequest: ... + def update( + self, *, profileId: str, body: ContentCategory = ..., **kwargs: typing.Any + ) -> ContentCategoryHttpRequest: ... + + @typing.type_check_only + class ConversionsResource(googleapiclient.discovery.Resource): + def batchinsert( + self, + *, + profileId: str, + body: ConversionsBatchInsertRequest = ..., + **kwargs: typing.Any, + ) -> ConversionsBatchInsertResponseHttpRequest: ... + def batchupdate( + self, + *, + profileId: str, + body: ConversionsBatchUpdateRequest = ..., + **kwargs: typing.Any, + ) -> ConversionsBatchUpdateResponseHttpRequest: ... + + @typing.type_check_only + class CountriesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, dartId: str, **kwargs: typing.Any + ) -> CountryHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> CountriesListResponseHttpRequest: ... + + @typing.type_check_only + class CreativeAssetsResource(googleapiclient.discovery.Resource): + def insert( + self, + *, + profileId: str, + advertiserId: str, + body: CreativeAssetMetadata = ..., + **kwargs: typing.Any, + ) -> CreativeAssetMetadataHttpRequest: ... + + @typing.type_check_only + class CreativeFieldValuesResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, creativeFieldId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, creativeFieldId: str, id: str, **kwargs: typing.Any + ) -> CreativeFieldValueHttpRequest: ... + def insert( + self, + *, + profileId: str, + creativeFieldId: str, + body: CreativeFieldValue = ..., + **kwargs: typing.Any, + ) -> CreativeFieldValueHttpRequest: ... + def list( + self, + *, + profileId: str, + creativeFieldId: str, + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "VALUE"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> CreativeFieldValuesListResponseHttpRequest: ... + def list_next( + self, + previous_request: CreativeFieldValuesListResponseHttpRequest, + previous_response: CreativeFieldValuesListResponse, + ) -> CreativeFieldValuesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + creativeFieldId: str, + id: str, + body: CreativeFieldValue = ..., + **kwargs: typing.Any, + ) -> CreativeFieldValueHttpRequest: ... + def update( + self, + *, + profileId: str, + creativeFieldId: str, + body: CreativeFieldValue = ..., + **kwargs: typing.Any, + ) -> CreativeFieldValueHttpRequest: ... + + @typing.type_check_only + class CreativeFieldsResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> CreativeFieldHttpRequest: ... + def insert( + self, *, profileId: str, body: CreativeField = ..., **kwargs: typing.Any + ) -> CreativeFieldHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> CreativeFieldsListResponseHttpRequest: ... + def list_next( + self, + previous_request: CreativeFieldsListResponseHttpRequest, + previous_response: CreativeFieldsListResponse, + ) -> CreativeFieldsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: CreativeField = ..., + **kwargs: typing.Any, + ) -> CreativeFieldHttpRequest: ... + def update( + self, *, profileId: str, body: CreativeField = ..., **kwargs: typing.Any + ) -> CreativeFieldHttpRequest: ... + + @typing.type_check_only + class CreativeGroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> CreativeGroupHttpRequest: ... + def insert( + self, *, profileId: str, body: CreativeGroup = ..., **kwargs: typing.Any + ) -> CreativeGroupHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserIds: str | _list[str] = ..., + groupNumber: int = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> CreativeGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: CreativeGroupsListResponseHttpRequest, + previous_response: CreativeGroupsListResponse, + ) -> CreativeGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: CreativeGroup = ..., + **kwargs: typing.Any, + ) -> CreativeGroupHttpRequest: ... + def update( + self, *, profileId: str, body: CreativeGroup = ..., **kwargs: typing.Any + ) -> CreativeGroupHttpRequest: ... + + @typing.type_check_only + class CreativesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + def insert( + self, *, profileId: str, body: Creative = ..., **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + def list( + self, + *, + profileId: str, + active: bool = ..., + advertiserId: str = ..., + archived: bool = ..., + campaignId: str = ..., + companionCreativeIds: str | _list[str] = ..., + creativeFieldIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + renderingIds: str | _list[str] = ..., + searchString: str = ..., + sizeIds: str | _list[str] = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + studioCreativeId: str = ..., + types: typing_extensions.Literal[ + "IMAGE", + "DISPLAY_REDIRECT", + "CUSTOM_DISPLAY", + "INTERNAL_REDIRECT", + "CUSTOM_DISPLAY_INTERSTITIAL", + "INTERSTITIAL_INTERNAL_REDIRECT", + "TRACKING_TEXT", + "RICH_MEDIA_DISPLAY_BANNER", + "RICH_MEDIA_INPAGE_FLOATING", + "RICH_MEDIA_IM_EXPAND", + "RICH_MEDIA_DISPLAY_EXPANDING", + "RICH_MEDIA_DISPLAY_INTERSTITIAL", + "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", + "RICH_MEDIA_MOBILE_IN_APP", + "FLASH_INPAGE", + "INSTREAM_VIDEO", + "VPAID_LINEAR_VIDEO", + "VPAID_NON_LINEAR_VIDEO", + "INSTREAM_VIDEO_REDIRECT", + "RICH_MEDIA_PEEL_DOWN", + "HTML5_BANNER", + "DISPLAY", + "DISPLAY_IMAGE_GALLERY", + "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", + "INSTREAM_AUDIO", + ] + | _list[ + typing_extensions.Literal[ + "IMAGE", + "DISPLAY_REDIRECT", + "CUSTOM_DISPLAY", + "INTERNAL_REDIRECT", + "CUSTOM_DISPLAY_INTERSTITIAL", + "INTERSTITIAL_INTERNAL_REDIRECT", + "TRACKING_TEXT", + "RICH_MEDIA_DISPLAY_BANNER", + "RICH_MEDIA_INPAGE_FLOATING", + "RICH_MEDIA_IM_EXPAND", + "RICH_MEDIA_DISPLAY_EXPANDING", + "RICH_MEDIA_DISPLAY_INTERSTITIAL", + "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", + "RICH_MEDIA_MOBILE_IN_APP", + "FLASH_INPAGE", + "INSTREAM_VIDEO", + "VPAID_LINEAR_VIDEO", + "VPAID_NON_LINEAR_VIDEO", + "INSTREAM_VIDEO_REDIRECT", + "RICH_MEDIA_PEEL_DOWN", + "HTML5_BANNER", + "DISPLAY", + "DISPLAY_IMAGE_GALLERY", + "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", + "INSTREAM_AUDIO", + ] + ] = ..., + **kwargs: typing.Any, + ) -> CreativesListResponseHttpRequest: ... + def list_next( + self, + previous_request: CreativesListResponseHttpRequest, + previous_response: CreativesListResponse, + ) -> CreativesListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: Creative = ..., **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + def update( + self, *, profileId: str, body: Creative = ..., **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + + @typing.type_check_only + class DimensionValuesResource(googleapiclient.discovery.Resource): + def query( + self, + *, + profileId: str, + body: DimensionValueRequest = ..., + maxResults: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> DimensionValueListHttpRequest: ... + def query_next( + self, + previous_request: DimensionValueListHttpRequest, + previous_response: DimensionValueList, + ) -> DimensionValueListHttpRequest | None: ... + + @typing.type_check_only + class DirectorySitesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> DirectorySiteHttpRequest: ... + def insert( + self, *, profileId: str, body: DirectorySite = ..., **kwargs: typing.Any + ) -> DirectorySiteHttpRequest: ... + def list( + self, + *, + profileId: str, + acceptsInStreamVideoPlacements: bool = ..., + acceptsInterstitialPlacements: bool = ..., + acceptsPublisherPaidPlacements: bool = ..., + active: bool = ..., + dfpNetworkCode: str = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> DirectorySitesListResponseHttpRequest: ... + def list_next( + self, + previous_request: DirectorySitesListResponseHttpRequest, + previous_response: DirectorySitesListResponse, + ) -> DirectorySitesListResponseHttpRequest | None: ... + + @typing.type_check_only + class DynamicFeedsResource(googleapiclient.discovery.Resource): + def get( + self, *, dynamicFeedId: str, **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def insert( + self, *, body: DynamicFeedsInsertRequest = ..., **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def retransform( + self, *, dynamicFeedId: str, **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + def update( + self, *, body: DynamicFeed = ..., **kwargs: typing.Any + ) -> DynamicFeedHttpRequest: ... + + @typing.type_check_only + class DynamicProfilesResource(googleapiclient.discovery.Resource): + def generateCode( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> DynamicProfileGenerateCodeResponseHttpRequest: ... + def get( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + def insert( + self, *, body: DynamicProfile = ..., **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + def publish( + self, *, dynamicProfileId: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def update( + self, *, body: DynamicProfile = ..., **kwargs: typing.Any + ) -> DynamicProfileHttpRequest: ... + + @typing.type_check_only + class DynamicTargetingKeysResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + profileId: str, + objectId: str, + name: str, + objectType: typing_extensions.Literal[ + "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" + ], + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def insert( + self, + *, + profileId: str, + body: DynamicTargetingKey = ..., + **kwargs: typing.Any, + ) -> DynamicTargetingKeyHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str = ..., + names: str | _list[str] = ..., + objectId: str = ..., + objectType: typing_extensions.Literal[ + "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" + ] = ..., + **kwargs: typing.Any, + ) -> DynamicTargetingKeysListResponseHttpRequest: ... + + @typing.type_check_only + class EventTagsResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> EventTagHttpRequest: ... + def insert( + self, *, profileId: str, body: EventTag = ..., **kwargs: typing.Any + ) -> EventTagHttpRequest: ... + def list( + self, + *, + profileId: str, + adId: str = ..., + advertiserId: str = ..., + campaignId: str = ..., + definitionsOnly: bool = ..., + enabled: bool = ..., + eventTagTypes: typing_extensions.Literal[ + "IMPRESSION_IMAGE_EVENT_TAG", + "IMPRESSION_JAVASCRIPT_EVENT_TAG", + "CLICK_THROUGH_EVENT_TAG", + ] + | _list[ + typing_extensions.Literal[ + "IMPRESSION_IMAGE_EVENT_TAG", + "IMPRESSION_JAVASCRIPT_EVENT_TAG", + "CLICK_THROUGH_EVENT_TAG", + ] + ] = ..., + ids: str | _list[str] = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> EventTagsListResponseHttpRequest: ... + def patch( + self, *, profileId: str, id: str, body: EventTag = ..., **kwargs: typing.Any + ) -> EventTagHttpRequest: ... + def update( + self, *, profileId: str, body: EventTag = ..., **kwargs: typing.Any + ) -> EventTagHttpRequest: ... + + @typing.type_check_only + class FilesResource(googleapiclient.discovery.Resource): + def get( + self, *, reportId: str, fileId: str, **kwargs: typing.Any + ) -> FileHttpRequest: ... + def get_media( + self, *, reportId: str, fileId: str, **kwargs: typing.Any + ) -> BytesHttpRequest: ... + def list( + self, + *, + profileId: str, + maxResults: int = ..., + pageToken: str = ..., + scope: typing_extensions.Literal["ALL", "MINE", "SHARED_WITH_ME"] = ..., + sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> FileListHttpRequest: ... + def list_next( + self, previous_request: FileListHttpRequest, previous_response: FileList + ) -> FileListHttpRequest | None: ... + + @typing.type_check_only + class FloodlightActivitiesResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def generatetag( + self, + *, + profileId: str, + floodlightActivityId: str = ..., + **kwargs: typing.Any, + ) -> FloodlightActivitiesGenerateTagResponseHttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> FloodlightActivityHttpRequest: ... + def insert( + self, + *, + profileId: str, + body: FloodlightActivity = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str = ..., + floodlightActivityGroupIds: str | _list[str] = ..., + floodlightActivityGroupName: str = ..., + floodlightActivityGroupTagString: str = ..., + floodlightActivityGroupType: typing_extensions.Literal[ + "COUNTER", "SALE" + ] = ..., + floodlightConfigurationId: str = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + tagString: str = ..., + **kwargs: typing.Any, + ) -> FloodlightActivitiesListResponseHttpRequest: ... + def list_next( + self, + previous_request: FloodlightActivitiesListResponseHttpRequest, + previous_response: FloodlightActivitiesListResponse, + ) -> FloodlightActivitiesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: FloodlightActivity = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityHttpRequest: ... + def update( + self, + *, + profileId: str, + body: FloodlightActivity = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityHttpRequest: ... + + @typing.type_check_only + class FloodlightActivityGroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> FloodlightActivityGroupHttpRequest: ... + def insert( + self, + *, + profileId: str, + body: FloodlightActivityGroup = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityGroupHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str = ..., + floodlightConfigurationId: str = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + type: typing_extensions.Literal["COUNTER", "SALE"] = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: FloodlightActivityGroupsListResponseHttpRequest, + previous_response: FloodlightActivityGroupsListResponse, + ) -> FloodlightActivityGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: FloodlightActivityGroup = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityGroupHttpRequest: ... + def update( + self, + *, + profileId: str, + body: FloodlightActivityGroup = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityGroupHttpRequest: ... + + @typing.type_check_only + class FloodlightConfigurationsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> FloodlightConfigurationHttpRequest: ... + def list( + self, *, profileId: str, ids: str | _list[str] = ..., **kwargs: typing.Any + ) -> FloodlightConfigurationsListResponseHttpRequest: ... + def patch( + self, + *, + profileId: str, + id: str, + body: FloodlightConfiguration = ..., + **kwargs: typing.Any, + ) -> FloodlightConfigurationHttpRequest: ... + def update( + self, + *, + profileId: str, + body: FloodlightConfiguration = ..., + **kwargs: typing.Any, + ) -> FloodlightConfigurationHttpRequest: ... + + @typing.type_check_only + class LanguagesResource(googleapiclient.discovery.Resource): + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> LanguagesListResponseHttpRequest: ... + + @typing.type_check_only + class MetrosResource(googleapiclient.discovery.Resource): + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> MetrosListResponseHttpRequest: ... + + @typing.type_check_only + class MobileAppsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> MobileAppHttpRequest: ... + def list( + self, + *, + profileId: str, + directories: typing_extensions.Literal[ + "UNKNOWN", + "APPLE_APP_STORE", + "GOOGLE_PLAY_STORE", + "ROKU_APP_STORE", + "AMAZON_FIRETV_APP_STORE", + "PLAYSTATION_APP_STORE", + "APPLE_TV_APP_STORE", + "XBOX_APP_STORE", + "SAMSUNG_TV_APP_STORE", + "ANDROID_TV_APP_STORE", + "GENERIC_CTV_APP_STORE", + ] + | _list[ + typing_extensions.Literal[ + "UNKNOWN", + "APPLE_APP_STORE", + "GOOGLE_PLAY_STORE", + "ROKU_APP_STORE", + "AMAZON_FIRETV_APP_STORE", + "PLAYSTATION_APP_STORE", + "APPLE_TV_APP_STORE", + "XBOX_APP_STORE", + "SAMSUNG_TV_APP_STORE", + "ANDROID_TV_APP_STORE", + "GENERIC_CTV_APP_STORE", + ] + ] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + **kwargs: typing.Any, + ) -> MobileAppsListResponseHttpRequest: ... + def list_next( + self, + previous_request: MobileAppsListResponseHttpRequest, + previous_response: MobileAppsListResponse, + ) -> MobileAppsListResponseHttpRequest | None: ... + + @typing.type_check_only + class MobileCarriersResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> MobileCarrierHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> MobileCarriersListResponseHttpRequest: ... + + @typing.type_check_only + class OperatingSystemVersionsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> OperatingSystemVersionHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> OperatingSystemVersionsListResponseHttpRequest: ... + + @typing.type_check_only + class OperatingSystemsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, dartId: str, **kwargs: typing.Any + ) -> OperatingSystemHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> OperatingSystemsListResponseHttpRequest: ... + + @typing.type_check_only + class PlacementGroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> PlacementGroupHttpRequest: ... + def insert( + self, *, profileId: str, body: PlacementGroup = ..., **kwargs: typing.Any + ) -> PlacementGroupHttpRequest: ... + def list( + self, + *, + profileId: str, + activeStatus: typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + | _list[ + typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + ] = ..., + advertiserIds: str | _list[str] = ..., + campaignIds: str | _list[str] = ..., + contentCategoryIds: str | _list[str] = ..., + directorySiteIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxEndDate: str = ..., + maxResults: int = ..., + maxStartDate: str = ..., + minEndDate: str = ..., + minStartDate: str = ..., + pageToken: str = ..., + placementGroupType: typing_extensions.Literal[ + "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" + ] = ..., + placementStrategyIds: str | _list[str] = ..., + pricingTypes: typing_extensions.Literal[ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW", + ] + | _list[ + typing_extensions.Literal[ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW", + ] + ] = ..., + searchString: str = ..., + siteIds: str | _list[str] = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> PlacementGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: PlacementGroupsListResponseHttpRequest, + previous_response: PlacementGroupsListResponse, + ) -> PlacementGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: PlacementGroup = ..., + **kwargs: typing.Any, + ) -> PlacementGroupHttpRequest: ... + def update( + self, *, profileId: str, body: PlacementGroup = ..., **kwargs: typing.Any + ) -> PlacementGroupHttpRequest: ... + + @typing.type_check_only + class PlacementStrategiesResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> PlacementStrategyHttpRequest: ... + def insert( + self, *, profileId: str, body: PlacementStrategy = ..., **kwargs: typing.Any + ) -> PlacementStrategyHttpRequest: ... + def list( + self, + *, + profileId: str, + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> PlacementStrategiesListResponseHttpRequest: ... + def list_next( + self, + previous_request: PlacementStrategiesListResponseHttpRequest, + previous_response: PlacementStrategiesListResponse, + ) -> PlacementStrategiesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: PlacementStrategy = ..., + **kwargs: typing.Any, + ) -> PlacementStrategyHttpRequest: ... + def update( + self, *, profileId: str, body: PlacementStrategy = ..., **kwargs: typing.Any + ) -> PlacementStrategyHttpRequest: ... + + @typing.type_check_only + class PlacementsResource(googleapiclient.discovery.Resource): + def generatetags( + self, + *, + profileId: str, + campaignId: str = ..., + placementIds: str | _list[str] = ..., + tagFormats: typing_extensions.Literal[ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", + ] + | _list[ + typing_extensions.Literal[ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", + ] + ] = ..., + **kwargs: typing.Any, + ) -> PlacementsGenerateTagsResponseHttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> PlacementHttpRequest: ... + def insert( + self, *, profileId: str, body: Placement = ..., **kwargs: typing.Any + ) -> PlacementHttpRequest: ... + def list( + self, + *, + profileId: str, + activeStatus: typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + | _list[ + typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + ] = ..., + advertiserIds: str | _list[str] = ..., + campaignIds: str | _list[str] = ..., + compatibilities: typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] + | _list[ + typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] + ] = ..., + contentCategoryIds: str | _list[str] = ..., + directorySiteIds: str | _list[str] = ..., + groupIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxEndDate: str = ..., + maxResults: int = ..., + maxStartDate: str = ..., + minEndDate: str = ..., + minStartDate: str = ..., + pageToken: str = ..., + paymentSource: typing_extensions.Literal[ + "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" + ] = ..., + placementStrategyIds: str | _list[str] = ..., + pricingTypes: typing_extensions.Literal[ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW", + ] + | _list[ + typing_extensions.Literal[ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW", + ] + ] = ..., + searchString: str = ..., + siteIds: str | _list[str] = ..., + sizeIds: str | _list[str] = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> PlacementsListResponseHttpRequest: ... + def list_next( + self, + previous_request: PlacementsListResponseHttpRequest, + previous_response: PlacementsListResponse, + ) -> PlacementsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: Placement = ..., + **kwargs: typing.Any, + ) -> PlacementHttpRequest: ... + def update( + self, *, profileId: str, body: Placement = ..., **kwargs: typing.Any + ) -> PlacementHttpRequest: ... + + @typing.type_check_only + class PlatformTypesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> PlatformTypeHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> PlatformTypesListResponseHttpRequest: ... + + @typing.type_check_only + class PostalCodesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, code: str, **kwargs: typing.Any + ) -> PostalCodeHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> PostalCodesListResponseHttpRequest: ... + + @typing.type_check_only + class RegionsResource(googleapiclient.discovery.Resource): + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> RegionsListResponseHttpRequest: ... + + @typing.type_check_only + class RemarketingListSharesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, remarketingListId: str, **kwargs: typing.Any + ) -> RemarketingListShareHttpRequest: ... + def patch( + self, + *, + profileId: str, + id: str, + body: RemarketingListShare = ..., + **kwargs: typing.Any, + ) -> RemarketingListShareHttpRequest: ... + def update( + self, + *, + profileId: str, + body: RemarketingListShare = ..., + **kwargs: typing.Any, + ) -> RemarketingListShareHttpRequest: ... + + @typing.type_check_only + class RemarketingListsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> RemarketingListHttpRequest: ... + def insert( + self, *, profileId: str, body: RemarketingList = ..., **kwargs: typing.Any + ) -> RemarketingListHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str, + active: bool = ..., + floodlightActivityId: str = ..., + maxResults: int = ..., + name: str = ..., + pageToken: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> RemarketingListsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RemarketingListsListResponseHttpRequest, + previous_response: RemarketingListsListResponse, + ) -> RemarketingListsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: RemarketingList = ..., + **kwargs: typing.Any, + ) -> RemarketingListHttpRequest: ... + def update( + self, *, profileId: str, body: RemarketingList = ..., **kwargs: typing.Any + ) -> RemarketingListHttpRequest: ... + + @typing.type_check_only + class ReportsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CompatibleFieldsResource(googleapiclient.discovery.Resource): + def query( + self, *, profileId: str, body: Report = ..., **kwargs: typing.Any + ) -> CompatibleFieldsHttpRequest: ... + + @typing.type_check_only + class FilesResource(googleapiclient.discovery.Resource): + def get( + self, + *, + profileId: str, + reportId: str, + fileId: str, + **kwargs: typing.Any, + ) -> FileHttpRequest: ... + def get_media( + self, + *, + profileId: str, + reportId: str, + fileId: str, + **kwargs: typing.Any, + ) -> BytesHttpRequest: ... + def list( + self, + *, + profileId: str, + reportId: str, + maxResults: int = ..., + pageToken: str = ..., + sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> FileListHttpRequest: ... + def list_next( + self, previous_request: FileListHttpRequest, previous_response: FileList + ) -> FileListHttpRequest | None: ... + + def delete( + self, *, profileId: str, reportId: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, reportId: str, **kwargs: typing.Any + ) -> ReportHttpRequest: ... + def insert( + self, *, profileId: str, body: Report = ..., **kwargs: typing.Any + ) -> ReportHttpRequest: ... + def list( + self, + *, + profileId: str, + maxResults: int = ..., + pageToken: str = ..., + scope: typing_extensions.Literal["ALL", "MINE"] = ..., + sortField: typing_extensions.Literal[ + "ID", "LAST_MODIFIED_TIME", "NAME" + ] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> ReportListHttpRequest: ... + def list_next( + self, previous_request: ReportListHttpRequest, previous_response: ReportList + ) -> ReportListHttpRequest | None: ... + def run( + self, + *, + profileId: str, + reportId: str, + synchronous: bool = ..., + **kwargs: typing.Any, + ) -> FileHttpRequest: ... + def update( + self, + *, + profileId: str, + reportId: str, + body: Report = ..., + **kwargs: typing.Any, + ) -> ReportHttpRequest: ... + def compatibleFields(self) -> CompatibleFieldsResource: ... + def files(self) -> FilesResource: ... + + @typing.type_check_only + class SitesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> SiteHttpRequest: ... + def insert( + self, *, profileId: str, body: Site = ..., **kwargs: typing.Any + ) -> SiteHttpRequest: ... + def list( + self, + *, + profileId: str, + acceptsInStreamVideoPlacements: bool = ..., + acceptsInterstitialPlacements: bool = ..., + acceptsPublisherPaidPlacements: bool = ..., + adWordsSite: bool = ..., + approved: bool = ..., + campaignIds: str | _list[str] = ..., + directorySiteIds: str | _list[str] = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + subaccountId: str = ..., + unmappedSite: bool = ..., + **kwargs: typing.Any, + ) -> SitesListResponseHttpRequest: ... + def list_next( + self, + previous_request: SitesListResponseHttpRequest, + previous_response: SitesListResponse, + ) -> SitesListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: Site = ..., **kwargs: typing.Any + ) -> SiteHttpRequest: ... + def update( + self, *, profileId: str, body: Site = ..., **kwargs: typing.Any + ) -> SiteHttpRequest: ... + + @typing.type_check_only + class SizesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> SizeHttpRequest: ... + def insert( + self, *, profileId: str, body: Size = ..., **kwargs: typing.Any + ) -> SizeHttpRequest: ... + def list( + self, + *, + profileId: str, + height: int = ..., + iabStandard: bool = ..., + ids: str | _list[str] = ..., + width: int = ..., + **kwargs: typing.Any, + ) -> SizesListResponseHttpRequest: ... + + @typing.type_check_only + class StudioCreativeAssetsResource(googleapiclient.discovery.Resource): + def insert( + self, + *, + body: DfareportingStudioCreativeAssetsInsertRequest = ..., + **kwargs: typing.Any, + ) -> StudioCreativeAssetsResponseHttpRequest: ... + + @typing.type_check_only + class StudioCreativesResource(googleapiclient.discovery.Resource): + def get( + self, *, studioCreativeId: str, **kwargs: typing.Any + ) -> StudioCreativeHttpRequest: ... + def insert( + self, *, body: StudioCreative = ..., **kwargs: typing.Any + ) -> StudioCreativeHttpRequest: ... + def publish( + self, *, studioCreativeId: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + + @typing.type_check_only + class SubaccountsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> SubaccountHttpRequest: ... + def insert( + self, *, profileId: str, body: Subaccount = ..., **kwargs: typing.Any + ) -> SubaccountHttpRequest: ... + def list( + self, + *, + profileId: str, + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> SubaccountsListResponseHttpRequest: ... + def list_next( + self, + previous_request: SubaccountsListResponseHttpRequest, + previous_response: SubaccountsListResponse, + ) -> SubaccountsListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: Subaccount = ..., + **kwargs: typing.Any, + ) -> SubaccountHttpRequest: ... + def update( + self, *, profileId: str, body: Subaccount = ..., **kwargs: typing.Any + ) -> SubaccountHttpRequest: ... + + @typing.type_check_only + class TargetableRemarketingListsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> TargetableRemarketingListHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str, + active: bool = ..., + maxResults: int = ..., + name: str = ..., + pageToken: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> TargetableRemarketingListsListResponseHttpRequest: ... + def list_next( + self, + previous_request: TargetableRemarketingListsListResponseHttpRequest, + previous_response: TargetableRemarketingListsListResponse, + ) -> TargetableRemarketingListsListResponseHttpRequest | None: ... + + @typing.type_check_only + class TargetingTemplatesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> TargetingTemplateHttpRequest: ... + def insert( + self, *, profileId: str, body: TargetingTemplate = ..., **kwargs: typing.Any + ) -> TargetingTemplateHttpRequest: ... + def list( + self, + *, + profileId: str, + advertiserId: str = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + **kwargs: typing.Any, + ) -> TargetingTemplatesListResponseHttpRequest: ... + def list_next( + self, + previous_request: TargetingTemplatesListResponseHttpRequest, + previous_response: TargetingTemplatesListResponse, + ) -> TargetingTemplatesListResponseHttpRequest | None: ... + def patch( + self, + *, + profileId: str, + id: str, + body: TargetingTemplate = ..., + **kwargs: typing.Any, + ) -> TargetingTemplateHttpRequest: ... + def update( + self, *, profileId: str, body: TargetingTemplate = ..., **kwargs: typing.Any + ) -> TargetingTemplateHttpRequest: ... + + @typing.type_check_only + class TvCampaignDetailsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, accountId: str = ..., **kwargs: typing.Any + ) -> TvCampaignDetailHttpRequest: ... + + @typing.type_check_only + class TvCampaignSummariesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + profileId: str, + accountId: str = ..., + name: str = ..., + **kwargs: typing.Any, + ) -> TvCampaignSummariesListResponseHttpRequest: ... + + @typing.type_check_only + class UserProfilesResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, **kwargs: typing.Any + ) -> UserProfileHttpRequest: ... + def list(self, **kwargs: typing.Any) -> UserProfileListHttpRequest: ... + + @typing.type_check_only + class UserRolePermissionGroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> UserRolePermissionGroupHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> UserRolePermissionGroupsListResponseHttpRequest: ... + + @typing.type_check_only + class UserRolePermissionsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> UserRolePermissionHttpRequest: ... + def list( + self, *, profileId: str, ids: str | _list[str] = ..., **kwargs: typing.Any + ) -> UserRolePermissionsListResponseHttpRequest: ... + + @typing.type_check_only + class UserRolesResource(googleapiclient.discovery.Resource): + def delete( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, *, profileId: str, id: str, **kwargs: typing.Any + ) -> UserRoleHttpRequest: ... + def insert( + self, *, profileId: str, body: UserRole = ..., **kwargs: typing.Any + ) -> UserRoleHttpRequest: ... + def list( + self, + *, + profileId: str, + accountUserRoleOnly: bool = ..., + ids: str | _list[str] = ..., + maxResults: int = ..., + pageToken: str = ..., + searchString: str = ..., + sortField: typing_extensions.Literal["ID", "NAME"] = ..., + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] = ..., + subaccountId: str = ..., + **kwargs: typing.Any, + ) -> UserRolesListResponseHttpRequest: ... + def list_next( + self, + previous_request: UserRolesListResponseHttpRequest, + previous_response: UserRolesListResponse, + ) -> UserRolesListResponseHttpRequest | None: ... + def patch( + self, *, profileId: str, id: str, body: UserRole = ..., **kwargs: typing.Any + ) -> UserRoleHttpRequest: ... + def update( + self, *, profileId: str, body: UserRole = ..., **kwargs: typing.Any + ) -> UserRoleHttpRequest: ... + + @typing.type_check_only + class VideoFormatsResource(googleapiclient.discovery.Resource): + def get( + self, *, profileId: str, id: int, **kwargs: typing.Any + ) -> VideoFormatHttpRequest: ... + def list( + self, *, profileId: str, **kwargs: typing.Any + ) -> VideoFormatsListResponseHttpRequest: ... + + 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 accountActiveAdSummaries(self) -> AccountActiveAdSummariesResource: ... + def accountPermissionGroups(self) -> AccountPermissionGroupsResource: ... + def accountPermissions(self) -> AccountPermissionsResource: ... + def accountUserProfiles(self) -> AccountUserProfilesResource: ... + def accounts(self) -> AccountsResource: ... + def ads(self) -> AdsResource: ... + def advertiserGroups(self) -> AdvertiserGroupsResource: ... + def advertiserInvoices(self) -> AdvertiserInvoicesResource: ... + def advertiserLandingPages(self) -> AdvertiserLandingPagesResource: ... + def advertisers(self) -> AdvertisersResource: ... + def billingAssignments(self) -> BillingAssignmentsResource: ... + def billingProfiles(self) -> BillingProfilesResource: ... + def billingRates(self) -> BillingRatesResource: ... + def browsers(self) -> BrowsersResource: ... + def campaignCreativeAssociations(self) -> CampaignCreativeAssociationsResource: ... + def campaigns(self) -> CampaignsResource: ... + def changeLogs(self) -> ChangeLogsResource: ... + def cities(self) -> CitiesResource: ... + def connectionTypes(self) -> ConnectionTypesResource: ... + def contentCategories(self) -> ContentCategoriesResource: ... + def conversions(self) -> ConversionsResource: ... + def countries(self) -> CountriesResource: ... + def creativeAssets(self) -> CreativeAssetsResource: ... + def creativeFieldValues(self) -> CreativeFieldValuesResource: ... + def creativeFields(self) -> CreativeFieldsResource: ... + def creativeGroups(self) -> CreativeGroupsResource: ... + def creatives(self) -> CreativesResource: ... + def dimensionValues(self) -> DimensionValuesResource: ... + def directorySites(self) -> DirectorySitesResource: ... + def dynamicFeeds(self) -> DynamicFeedsResource: ... + def dynamicProfiles(self) -> DynamicProfilesResource: ... + def dynamicTargetingKeys(self) -> DynamicTargetingKeysResource: ... + def eventTags(self) -> EventTagsResource: ... + def files(self) -> FilesResource: ... + def floodlightActivities(self) -> FloodlightActivitiesResource: ... + def floodlightActivityGroups(self) -> FloodlightActivityGroupsResource: ... + def floodlightConfigurations(self) -> FloodlightConfigurationsResource: ... + def languages(self) -> LanguagesResource: ... + def metros(self) -> MetrosResource: ... + def mobileApps(self) -> MobileAppsResource: ... + def mobileCarriers(self) -> MobileCarriersResource: ... + def operatingSystemVersions(self) -> OperatingSystemVersionsResource: ... + def operatingSystems(self) -> OperatingSystemsResource: ... + def placementGroups(self) -> PlacementGroupsResource: ... + def placementStrategies(self) -> PlacementStrategiesResource: ... + def placements(self) -> PlacementsResource: ... + def platformTypes(self) -> PlatformTypesResource: ... + def postalCodes(self) -> PostalCodesResource: ... + def regions(self) -> RegionsResource: ... + def remarketingListShares(self) -> RemarketingListSharesResource: ... + def remarketingLists(self) -> RemarketingListsResource: ... + def reports(self) -> ReportsResource: ... + def sites(self) -> SitesResource: ... + def sizes(self) -> SizesResource: ... + def studioCreativeAssets(self) -> StudioCreativeAssetsResource: ... + def studioCreatives(self) -> StudioCreativesResource: ... + def subaccounts(self) -> SubaccountsResource: ... + def targetableRemarketingLists(self) -> TargetableRemarketingListsResource: ... + def targetingTemplates(self) -> TargetingTemplatesResource: ... + def tvCampaignDetails(self) -> TvCampaignDetailsResource: ... + def tvCampaignSummaries(self) -> TvCampaignSummariesResource: ... + def userProfiles(self) -> UserProfilesResource: ... + def userRolePermissionGroups(self) -> UserRolePermissionGroupsResource: ... + def userRolePermissions(self) -> UserRolePermissionsResource: ... + def userRoles(self) -> UserRolesResource: ... + def videoFormats(self) -> VideoFormatsResource: ... + +@typing.type_check_only +class AccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Account: ... + +@typing.type_check_only +class AccountActiveAdSummaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountActiveAdSummary: ... + +@typing.type_check_only +class AccountPermissionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountPermission: ... + +@typing.type_check_only +class AccountPermissionGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountPermissionGroup: ... + +@typing.type_check_only +class AccountPermissionGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountPermissionGroupsListResponse: ... + +@typing.type_check_only +class AccountPermissionsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountPermissionsListResponse: ... + +@typing.type_check_only +class AccountUserProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountUserProfile: ... + +@typing.type_check_only +class AccountUserProfilesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountUserProfilesListResponse: ... + +@typing.type_check_only +class AccountsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountsListResponse: ... + +@typing.type_check_only +class AdHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Ad: ... + +@typing.type_check_only +class AdsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdsListResponse: ... + +@typing.type_check_only +class AdvertiserHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Advertiser: ... + +@typing.type_check_only +class AdvertiserGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdvertiserGroup: ... + +@typing.type_check_only +class AdvertiserGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdvertiserGroupsListResponse: ... + +@typing.type_check_only +class AdvertiserInvoicesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdvertiserInvoicesListResponse: ... + +@typing.type_check_only +class AdvertiserLandingPagesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdvertiserLandingPagesListResponse: ... + +@typing.type_check_only +class AdvertisersListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdvertisersListResponse: ... + +@typing.type_check_only +class BillingAssignmentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BillingAssignment: ... + +@typing.type_check_only +class BillingAssignmentsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BillingAssignmentsListResponse: ... + +@typing.type_check_only +class BillingProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BillingProfile: ... + +@typing.type_check_only +class BillingProfilesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BillingProfilesListResponse: ... + +@typing.type_check_only +class BillingRatesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BillingRatesListResponse: ... + +@typing.type_check_only +class BrowsersListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BrowsersListResponse: ... + +@typing.type_check_only +class CampaignHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Campaign: ... + +@typing.type_check_only +class CampaignCreativeAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CampaignCreativeAssociation: ... + +@typing.type_check_only +class CampaignCreativeAssociationsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CampaignCreativeAssociationsListResponse: ... + +@typing.type_check_only +class CampaignsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CampaignsListResponse: ... + +@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 ChangeLogsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ChangeLogsListResponse: ... + +@typing.type_check_only +class CitiesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CitiesListResponse: ... + +@typing.type_check_only +class CompatibleFieldsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompatibleFields: ... + +@typing.type_check_only +class ConnectionTypeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConnectionType: ... + +@typing.type_check_only +class ConnectionTypesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConnectionTypesListResponse: ... + +@typing.type_check_only +class ContentCategoriesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ContentCategoriesListResponse: ... + +@typing.type_check_only +class ContentCategoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ContentCategory: ... + +@typing.type_check_only +class ConversionsBatchInsertResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConversionsBatchInsertResponse: ... + +@typing.type_check_only +class ConversionsBatchUpdateResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConversionsBatchUpdateResponse: ... + +@typing.type_check_only +class CountriesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CountriesListResponse: ... + +@typing.type_check_only +class CountryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Country: ... + +@typing.type_check_only +class CreativeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Creative: ... + +@typing.type_check_only +class CreativeAssetMetadataHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeAssetMetadata: ... + +@typing.type_check_only +class CreativeFieldHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeField: ... + +@typing.type_check_only +class CreativeFieldValueHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeFieldValue: ... + +@typing.type_check_only +class CreativeFieldValuesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeFieldValuesListResponse: ... + +@typing.type_check_only +class CreativeFieldsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeFieldsListResponse: ... + +@typing.type_check_only +class CreativeGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeGroup: ... + +@typing.type_check_only +class CreativeGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativeGroupsListResponse: ... + +@typing.type_check_only +class CreativesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreativesListResponse: ... + +@typing.type_check_only +class DimensionValueListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DimensionValueList: ... + +@typing.type_check_only +class DirectorySiteHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DirectorySite: ... + +@typing.type_check_only +class DirectorySitesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DirectorySitesListResponse: ... + +@typing.type_check_only +class DynamicFeedHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicFeed: ... + +@typing.type_check_only +class DynamicProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicProfile: ... + +@typing.type_check_only +class DynamicProfileGenerateCodeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicProfileGenerateCodeResponse: ... + +@typing.type_check_only +class DynamicTargetingKeyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicTargetingKey: ... + +@typing.type_check_only +class DynamicTargetingKeysListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DynamicTargetingKeysListResponse: ... + +@typing.type_check_only +class EventTagHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EventTag: ... + +@typing.type_check_only +class EventTagsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EventTagsListResponse: ... + +@typing.type_check_only +class FileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> File: ... + +@typing.type_check_only +class FileListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FileList: ... + +@typing.type_check_only +class FloodlightActivitiesGenerateTagResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightActivitiesGenerateTagResponse: ... + +@typing.type_check_only +class FloodlightActivitiesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightActivitiesListResponse: ... + +@typing.type_check_only +class FloodlightActivityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightActivity: ... + +@typing.type_check_only +class FloodlightActivityGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightActivityGroup: ... + +@typing.type_check_only +class FloodlightActivityGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightActivityGroupsListResponse: ... + +@typing.type_check_only +class FloodlightConfigurationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightConfiguration: ... + +@typing.type_check_only +class FloodlightConfigurationsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightConfigurationsListResponse: ... + +@typing.type_check_only +class LandingPageHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LandingPage: ... + +@typing.type_check_only +class LanguagesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LanguagesListResponse: ... + +@typing.type_check_only +class MetrosListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MetrosListResponse: ... + +@typing.type_check_only +class MobileAppHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MobileApp: ... + +@typing.type_check_only +class MobileAppsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MobileAppsListResponse: ... + +@typing.type_check_only +class MobileCarrierHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MobileCarrier: ... + +@typing.type_check_only +class MobileCarriersListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MobileCarriersListResponse: ... + +@typing.type_check_only +class OperatingSystemHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OperatingSystem: ... + +@typing.type_check_only +class OperatingSystemVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OperatingSystemVersion: ... + +@typing.type_check_only +class OperatingSystemVersionsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OperatingSystemVersionsListResponse: ... + +@typing.type_check_only +class OperatingSystemsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OperatingSystemsListResponse: ... + +@typing.type_check_only +class PlacementHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Placement: ... + +@typing.type_check_only +class PlacementGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementGroup: ... + +@typing.type_check_only +class PlacementGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementGroupsListResponse: ... + +@typing.type_check_only +class PlacementStrategiesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementStrategiesListResponse: ... + +@typing.type_check_only +class PlacementStrategyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementStrategy: ... + +@typing.type_check_only +class PlacementsGenerateTagsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementsGenerateTagsResponse: ... + +@typing.type_check_only +class PlacementsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlacementsListResponse: ... + +@typing.type_check_only +class PlatformTypeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlatformType: ... + +@typing.type_check_only +class PlatformTypesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlatformTypesListResponse: ... + +@typing.type_check_only +class PostalCodeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PostalCode: ... + +@typing.type_check_only +class PostalCodesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PostalCodesListResponse: ... + +@typing.type_check_only +class RegionsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RegionsListResponse: ... + +@typing.type_check_only +class RemarketingListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemarketingList: ... + +@typing.type_check_only +class RemarketingListShareHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemarketingListShare: ... + +@typing.type_check_only +class RemarketingListsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemarketingListsListResponse: ... + +@typing.type_check_only +class ReportHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Report: ... + +@typing.type_check_only +class ReportListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReportList: ... + +@typing.type_check_only +class SiteHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Site: ... + +@typing.type_check_only +class SitesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SitesListResponse: ... + +@typing.type_check_only +class SizeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Size: ... + +@typing.type_check_only +class SizesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SizesListResponse: ... + +@typing.type_check_only +class StudioCreativeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudioCreative: ... + +@typing.type_check_only +class StudioCreativeAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudioCreativeAssetsResponse: ... + +@typing.type_check_only +class SubaccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Subaccount: ... + +@typing.type_check_only +class SubaccountsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SubaccountsListResponse: ... + +@typing.type_check_only +class TargetableRemarketingListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TargetableRemarketingList: ... + +@typing.type_check_only +class TargetableRemarketingListsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TargetableRemarketingListsListResponse: ... + +@typing.type_check_only +class TargetingTemplateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TargetingTemplate: ... + +@typing.type_check_only +class TargetingTemplatesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TargetingTemplatesListResponse: ... + +@typing.type_check_only +class TvCampaignDetailHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TvCampaignDetail: ... + +@typing.type_check_only +class TvCampaignSummariesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TvCampaignSummariesListResponse: ... + +@typing.type_check_only +class UserProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserProfile: ... + +@typing.type_check_only +class UserProfileListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserProfileList: ... + +@typing.type_check_only +class UserRoleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRole: ... + +@typing.type_check_only +class UserRolePermissionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRolePermission: ... + +@typing.type_check_only +class UserRolePermissionGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRolePermissionGroup: ... + +@typing.type_check_only +class UserRolePermissionGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRolePermissionGroupsListResponse: ... + +@typing.type_check_only +class UserRolePermissionsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRolePermissionsListResponse: ... + +@typing.type_check_only +class UserRolesListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserRolesListResponse: ... + +@typing.type_check_only +class VideoFormatHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VideoFormat: ... + +@typing.type_check_only +class VideoFormatsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VideoFormatsListResponse: ... + +@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/dfareporting/v5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi new file mode 100644 index 00000000..2543f08b --- /dev/null +++ b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi @@ -0,0 +1,3473 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Account(typing_extensions.TypedDict, total=False): + accountPermissionIds: _list[str] + accountProfile: typing_extensions.Literal[ + "ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD" + ] + active: bool + activeAdsLimitTier: typing_extensions.Literal[ + "ACTIVE_ADS_TIER_40K", + "ACTIVE_ADS_TIER_75K", + "ACTIVE_ADS_TIER_100K", + "ACTIVE_ADS_TIER_200K", + "ACTIVE_ADS_TIER_300K", + "ACTIVE_ADS_TIER_500K", + "ACTIVE_ADS_TIER_750K", + "ACTIVE_ADS_TIER_1M", + ] + activeViewOptOut: bool + availablePermissionIds: _list[str] + countryId: str + currencyId: str + defaultCreativeSizeId: str + description: str + id: str + kind: str + locale: str + maximumImageSize: str + name: str + nielsenOcrEnabled: bool + reportsConfiguration: ReportsConfiguration + shareReportsWithTwitter: bool + teaserSizeLimit: str + +@typing.type_check_only +class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): + accountId: str + activeAds: str + activeAdsLimitTier: typing_extensions.Literal[ + "ACTIVE_ADS_TIER_40K", + "ACTIVE_ADS_TIER_75K", + "ACTIVE_ADS_TIER_100K", + "ACTIVE_ADS_TIER_200K", + "ACTIVE_ADS_TIER_300K", + "ACTIVE_ADS_TIER_500K", + "ACTIVE_ADS_TIER_750K", + "ACTIVE_ADS_TIER_1M", + ] + availableAds: str + kind: str + +@typing.type_check_only +class AccountPermission(typing_extensions.TypedDict, total=False): + accountProfiles: _list[ + typing_extensions.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] + ] + id: str + kind: str + level: typing_extensions.Literal["USER", "ADMINISTRATOR"] + name: str + permissionGroupId: str + +@typing.type_check_only +class AccountPermissionGroup(typing_extensions.TypedDict, total=False): + id: str + kind: str + name: str + +@typing.type_check_only +class AccountPermissionGroupsListResponse(typing_extensions.TypedDict, total=False): + accountPermissionGroups: _list[AccountPermissionGroup] + kind: str + +@typing.type_check_only +class AccountPermissionsListResponse(typing_extensions.TypedDict, total=False): + accountPermissions: _list[AccountPermission] + kind: str + +@typing.type_check_only +class AccountUserProfile(typing_extensions.TypedDict, total=False): + accountId: str + active: bool + advertiserFilter: ObjectFilter + campaignFilter: ObjectFilter + comments: str + email: str + id: str + kind: str + locale: str + name: str + siteFilter: ObjectFilter + subaccountId: str + traffickerType: typing_extensions.Literal[ + "INTERNAL_NON_TRAFFICKER", "INTERNAL_TRAFFICKER", "EXTERNAL_TRAFFICKER" + ] + userAccessType: typing_extensions.Literal[ + "NORMAL_USER", "SUPER_USER", "INTERNAL_ADMINISTRATOR", "READ_ONLY_SUPER_USER" + ] + userRoleFilter: ObjectFilter + userRoleId: str + +@typing.type_check_only +class AccountUserProfilesListResponse(typing_extensions.TypedDict, total=False): + accountUserProfiles: _list[AccountUserProfile] + kind: str + nextPageToken: str + +@typing.type_check_only +class AccountsListResponse(typing_extensions.TypedDict, total=False): + accounts: _list[Account] + kind: str + nextPageToken: str + +@typing.type_check_only +class Activities(typing_extensions.TypedDict, total=False): + filters: _list[DimensionValue] + kind: str + metricNames: _list[str] + +@typing.type_check_only +class Ad(typing_extensions.TypedDict, total=False): + accountId: str + active: bool + advertiserId: str + advertiserIdDimensionValue: DimensionValue + archived: bool + audienceSegmentId: str + campaignId: str + campaignIdDimensionValue: DimensionValue + clickThroughUrl: ClickThroughUrl + clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties + comments: str + compatibility: typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] + createInfo: LastModifiedInfo + creativeGroupAssignments: _list[CreativeGroupAssignment] + creativeRotation: CreativeRotation + dayPartTargeting: DayPartTargeting + defaultClickThroughEventTagProperties: DefaultClickThroughEventTagProperties + deliverySchedule: DeliverySchedule + dynamicClickTracker: bool + endTime: str + eventTagOverrides: _list[EventTagOverride] + geoTargeting: GeoTargeting + id: str + idDimensionValue: DimensionValue + keyValueTargetingExpression: KeyValueTargetingExpression + kind: str + languageTargeting: LanguageTargeting + lastModifiedInfo: LastModifiedInfo + name: str + placementAssignments: _list[PlacementAssignment] + remarketingListExpression: ListTargetingExpression + size: Size + sslCompliant: bool + sslRequired: bool + startTime: str + subaccountId: str + targetingTemplateId: str + technologyTargeting: TechnologyTargeting + type: typing_extensions.Literal[ + "AD_SERVING_STANDARD_AD", + "AD_SERVING_DEFAULT_AD", + "AD_SERVING_CLICK_TRACKER", + "AD_SERVING_TRACKING", + "AD_SERVING_BRAND_SAFE_AD", + ] + +@typing.type_check_only +class AdBlockingConfiguration(typing_extensions.TypedDict, total=False): + enabled: bool + +@typing.type_check_only +class AdsListResponse(typing_extensions.TypedDict, total=False): + ads: _list[Ad] + kind: str + nextPageToken: str + +@typing.type_check_only +class Advertiser(typing_extensions.TypedDict, total=False): + accountId: str + advertiserGroupId: str + clickThroughUrlSuffix: str + defaultClickThroughEventTagId: str + defaultEmail: str + euPoliticalAdsDeclaration: typing_extensions.Literal[ + "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", + "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS", + ] + floodlightConfigurationId: str + floodlightConfigurationIdDimensionValue: DimensionValue + id: str + idDimensionValue: DimensionValue + kind: str + measurementPartnerLink: MeasurementPartnerAdvertiserLink + name: str + originalFloodlightConfigurationId: str + status: typing_extensions.Literal["APPROVED", "ON_HOLD"] + subaccountId: str + suspended: bool + +@typing.type_check_only +class AdvertiserGroup(typing_extensions.TypedDict, total=False): + accountId: str + id: str + kind: str + name: str + +@typing.type_check_only +class AdvertiserGroupsListResponse(typing_extensions.TypedDict, total=False): + advertiserGroups: _list[AdvertiserGroup] + kind: str + nextPageToken: str + +@typing.type_check_only +class AdvertiserInvoicesListResponse(typing_extensions.TypedDict, total=False): + invoices: _list[Invoice] + kind: str + nextPageToken: str + +@typing.type_check_only +class AdvertiserLandingPagesListResponse(typing_extensions.TypedDict, total=False): + kind: str + landingPages: _list[LandingPage] + nextPageToken: str + +@typing.type_check_only +class AdvertisersListResponse(typing_extensions.TypedDict, total=False): + advertisers: _list[Advertiser] + kind: str + nextPageToken: str + +@typing.type_check_only +class AudienceSegment(typing_extensions.TypedDict, total=False): + allocation: int + id: str + name: str + +@typing.type_check_only +class AudienceSegmentGroup(typing_extensions.TypedDict, total=False): + audienceSegments: _list[AudienceSegment] + id: str + name: str + +@typing.type_check_only +class BillingAssignment(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + campaignId: str + kind: str + subaccountId: str + +@typing.type_check_only +class BillingAssignmentsListResponse(typing_extensions.TypedDict, total=False): + billingAssignments: _list[BillingAssignment] + kind: str + +@typing.type_check_only +class BillingProfile(typing_extensions.TypedDict, total=False): + consolidatedInvoice: bool + countryCode: str + currencyCode: str + id: str + invoiceLevel: typing_extensions.Literal[ + "ACCOUNT_LEVEL", "ADVERTISER_LEVEL", "CAMPAIGN_LEVEL" + ] + isDefault: bool + kind: str + name: str + paymentsAccountId: str + paymentsCustomerId: str + purchaseOrder: str + secondaryPaymentsCustomerId: str + status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + +@typing.type_check_only +class BillingProfilesListResponse(typing_extensions.TypedDict, total=False): + billingProfiles: _list[BillingProfile] + kind: str + nextPageToken: str + +@typing.type_check_only +class BillingRate(typing_extensions.TypedDict, total=False): + currencyCode: str + endDate: str + id: str + name: str + rateInMicros: str + startDate: str + tieredRates: _list[BillingRateTieredRate] + type: typing_extensions.Literal[ + "AD_SERVING", + "CLICKS", + "MINIMUM_SERVICE", + "PATH_TO_CONVERSION", + "RICH_MEDIA_INPAGE", + "RICH_MEDIA_EXPANDING", + "RICH_MEDIA_FLOATING", + "RICH_MEDIA_VIDEO", + "RICH_MEDIA_TEASER", + "RICH_MEDIA_VPAID", + "INSTREAM_VIDEO", + "PIXEL", + "TRACKING", + "TRAFFICKING_FEATURE", + "CUSTOM_REPORTS", + "EXPOSURE_TO_CONVERSION", + "DATA_TRANSFER", + "DATA_TRANSFER_SETUP", + "STARTUP", + "STATEMENT_OF_WORK", + "PROVIDED_LIST", + "PROVIDED_LIST_SETUP", + "ENHANCED_FORMATS", + "TRACKING_AD_IMPRESSIONS", + "TRACKING_AD_CLICKS", + "NIELSEN_DIGITAL_AD_RATINGS_FEE", + "INSTREAM_VIDEO_REDIRECT", + "INSTREAM_VIDEO_VPAID", + "DISPLAY_AD_SERVING", + "VIDEO_AD_SERVING", + "AUDIO_AD_SERVING", + "ADVANCED_DISPLAY_AD_SERVING", + ] + unitOfMeasure: typing_extensions.Literal["CPM", "CPC", "EA", "P2C"] + +@typing.type_check_only +class BillingRateTieredRate(typing_extensions.TypedDict, total=False): + highValue: str + lowValue: str + rateInMicros: str + +@typing.type_check_only +class BillingRatesListResponse(typing_extensions.TypedDict, total=False): + billingRates: _list[BillingRate] + kind: str + nextPageToken: str + +@typing.type_check_only +class Browser(typing_extensions.TypedDict, total=False): + browserVersionId: str + dartId: str + kind: str + majorVersion: str + minorVersion: str + name: str + +@typing.type_check_only +class BrowsersListResponse(typing_extensions.TypedDict, total=False): + browsers: _list[Browser] + kind: str + +@typing.type_check_only +class Campaign(typing_extensions.TypedDict, total=False): + accountId: str + adBlockingConfiguration: AdBlockingConfiguration + additionalCreativeOptimizationConfigurations: _list[ + CreativeOptimizationConfiguration + ] + advertiserGroupId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + archived: bool + audienceSegmentGroups: _list[AudienceSegmentGroup] + billingInvoiceCode: str + clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties + comment: str + createInfo: LastModifiedInfo + creativeGroupIds: _list[str] + creativeOptimizationConfiguration: CreativeOptimizationConfiguration + defaultClickThroughEventTagProperties: DefaultClickThroughEventTagProperties + defaultLandingPageId: str + endDate: str + euPoliticalAdsDeclaration: typing_extensions.Literal[ + "CONTAINS_EU_POLITICAL_ADS", "DOES_NOT_CONTAIN_EU_POLITICAL_ADS" + ] + eventTagOverrides: _list[EventTagOverride] + externalId: str + id: str + idDimensionValue: DimensionValue + kind: str + lastModifiedInfo: LastModifiedInfo + measurementPartnerLink: MeasurementPartnerCampaignLink + name: str + startDate: str + subaccountId: str + +@typing.type_check_only +class CampaignCreativeAssociation(typing_extensions.TypedDict, total=False): + creativeId: str + kind: str + +@typing.type_check_only +class CampaignCreativeAssociationsListResponse( + typing_extensions.TypedDict, total=False +): + campaignCreativeAssociations: _list[CampaignCreativeAssociation] + kind: str + nextPageToken: str + +@typing.type_check_only +class CampaignSummary(typing_extensions.TypedDict, total=False): + billingInvoiceCode: str + campaignId: str + preTaxAmountMicros: str + taxAmountMicros: str + totalAmountMicros: str + +@typing.type_check_only +class CampaignsListResponse(typing_extensions.TypedDict, total=False): + campaigns: _list[Campaign] + kind: str + nextPageToken: str + +@typing.type_check_only +class CartData(typing_extensions.TypedDict, total=False): + items: _list[CartDataItem] + merchantFeedLabel: str + merchantFeedLanguage: str + merchantId: str + +@typing.type_check_only +class CartDataItem(typing_extensions.TypedDict, total=False): + itemId: str + quantity: int + unitPrice: float + +@typing.type_check_only +class ChangeLog(typing_extensions.TypedDict, total=False): + accountId: str + action: str + changeTime: str + fieldName: str + id: str + kind: str + newValue: str + objectId: str + objectType: str + oldValue: str + subaccountId: str + transactionId: str + userProfileId: str + userProfileName: str + +@typing.type_check_only +class ChangeLogsListResponse(typing_extensions.TypedDict, total=False): + changeLogs: _list[ChangeLog] + kind: str + nextPageToken: str + +@typing.type_check_only +class CitiesListResponse(typing_extensions.TypedDict, total=False): + cities: _list[City] + kind: str + +@typing.type_check_only +class City(typing_extensions.TypedDict, total=False): + countryCode: str + countryDartId: str + dartId: str + kind: str + metroCode: str + metroDmaId: str + name: str + regionCode: str + regionDartId: str + +@typing.type_check_only +class ClickTag(typing_extensions.TypedDict, total=False): + clickThroughUrl: CreativeClickThroughUrl + eventName: str + name: str + +@typing.type_check_only +class ClickThroughUrl(typing_extensions.TypedDict, total=False): + computedClickThroughUrl: str + customClickThroughUrl: str + defaultLandingPage: bool + landingPageId: str + +@typing.type_check_only +class ClickThroughUrlSuffixProperties(typing_extensions.TypedDict, total=False): + clickThroughUrlSuffix: str + overrideInheritedSuffix: bool + +@typing.type_check_only +class CompanionClickThroughOverride(typing_extensions.TypedDict, total=False): + clickThroughUrl: ClickThroughUrl + creativeId: str + +@typing.type_check_only +class CompanionSetting(typing_extensions.TypedDict, total=False): + companionsDisabled: bool + enabledSizes: _list[Size] + imageOnly: bool + kind: str + +@typing.type_check_only +class CompatibleFields(typing_extensions.TypedDict, total=False): + crossDimensionReachReportCompatibleFields: CrossDimensionReachReportCompatibleFields + crossMediaReachReportCompatibleFields: CrossMediaReachReportCompatibleFields + floodlightReportCompatibleFields: FloodlightReportCompatibleFields + kind: str + pathToConversionReportCompatibleFields: PathToConversionReportCompatibleFields + reachReportCompatibleFields: ReachReportCompatibleFields + reportCompatibleFields: ReportCompatibleFields + +@typing.type_check_only +class ConnectionType(typing_extensions.TypedDict, total=False): + id: str + kind: str + name: str + +@typing.type_check_only +class ConnectionTypesListResponse(typing_extensions.TypedDict, total=False): + connectionTypes: _list[ConnectionType] + kind: str + +@typing.type_check_only +class ContentCategoriesListResponse(typing_extensions.TypedDict, total=False): + contentCategories: _list[ContentCategory] + kind: str + nextPageToken: str + +@typing.type_check_only +class ContentCategory(typing_extensions.TypedDict, total=False): + accountId: str + id: str + kind: str + name: str + +@typing.type_check_only +class ContentSource(typing_extensions.TypedDict, total=False): + contentSourceName: str + createInfo: LastModifiedInfo + lastModifiedInfo: LastModifiedInfo + metaData: ContentSourceMetaData + resourceLink: str + resourceType: typing_extensions.Literal[ + "RESOURCE_TYPE_UNSPECIFIED", + "RESOURCE_TYPE_GOOGLE_SPREADSHEET", + "RESOURCE_TYPE_REMOTE_FILE", + ] + +@typing.type_check_only +class ContentSourceMetaData(typing_extensions.TypedDict, total=False): + charset: str + fieldNames: _list[str] + rowNumber: int + separator: str + +@typing.type_check_only +class Conversion(typing_extensions.TypedDict, total=False): + adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] + cartData: CartData + childDirectedTreatment: bool + customVariables: _list[CustomFloodlightVariable] + dclid: str + encryptedUserId: str + encryptedUserIdCandidates: _list[str] + floodlightActivityId: str + floodlightConfigurationId: str + gclid: str + impressionId: str + kind: str + limitAdTracking: bool + matchId: str + mobileDeviceId: str + nonPersonalizedAd: bool + ordinal: str + quantity: str + sessionAttributesEncoded: str + timestampMicros: str + treatmentForUnderage: bool + userIdentifiers: _list[UserIdentifier] + value: float + +@typing.type_check_only +class ConversionError(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" + ] + kind: str + message: str + +@typing.type_check_only +class ConversionStatus(typing_extensions.TypedDict, total=False): + conversion: Conversion + errors: _list[ConversionError] + kind: str + +@typing.type_check_only +class ConversionsBatchInsertRequest(typing_extensions.TypedDict, total=False): + conversions: _list[Conversion] + encryptionInfo: EncryptionInfo + kind: str + +@typing.type_check_only +class ConversionsBatchInsertResponse(typing_extensions.TypedDict, total=False): + hasFailures: bool + kind: str + status: _list[ConversionStatus] + +@typing.type_check_only +class ConversionsBatchUpdateRequest(typing_extensions.TypedDict, total=False): + conversions: _list[Conversion] + encryptionInfo: EncryptionInfo + kind: str + +@typing.type_check_only +class ConversionsBatchUpdateResponse(typing_extensions.TypedDict, total=False): + hasFailures: bool + kind: str + status: _list[ConversionStatus] + +@typing.type_check_only +class CountriesListResponse(typing_extensions.TypedDict, total=False): + countries: _list[Country] + kind: str + +@typing.type_check_only +class Country(typing_extensions.TypedDict, total=False): + countryCode: str + dartId: str + kind: str + name: str + sslEnabled: bool + +@typing.type_check_only +class Creative(typing_extensions.TypedDict, total=False): + accountId: str + active: bool + adParameters: str + adTagKeys: _list[str] + additionalSizes: _list[Size] + advertiserId: str + allowScriptAccess: bool + archived: bool + artworkType: typing_extensions.Literal[ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE", + ] + authoringSource: typing_extensions.Literal[ + "CREATIVE_AUTHORING_SOURCE_DCM", + "CREATIVE_AUTHORING_SOURCE_DBM", + "CREATIVE_AUTHORING_SOURCE_STUDIO", + "CREATIVE_AUTHORING_SOURCE_GWD", + "CREATIVE_AUTHORING_SOURCE_ACS", + "CREATIVE_AUTHORING_SOURCE_ADOBE", + "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", + ] + authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] + autoAdvanceImages: bool + backgroundColor: str + backupImageClickThroughUrl: CreativeClickThroughUrl + backupImageFeatures: _list[ + typing_extensions.Literal[ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE", + ] + ] + backupImageReportingLabel: str + backupImageTargetWindow: TargetWindow + clickTags: _list[ClickTag] + commercialId: str + companionCreatives: _list[str] + compatibility: _list[ + typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] + ] + convertFlashToHtml5: bool + counterCustomEvents: _list[CreativeCustomEvent] + creativeAssets: _list[CreativeAsset] + creativeFieldAssignments: _list[CreativeFieldAssignment] + customKeyValues: _list[str] + exitCustomEvents: _list[CreativeCustomEvent] + fsCommand: FsCommand + htmlCode: str + htmlCodeLocked: bool + id: str + idDimensionValue: DimensionValue + kind: str + lastModifiedInfo: LastModifiedInfo + latestTraffickedCreativeId: str + mediaDescription: str + mediaDuration: float + name: str + obaIcon: ObaIcon + overrideCss: str + progressOffset: VideoOffset + redirectUrl: str + renderingId: str + renderingIdDimensionValue: DimensionValue + requiredFlashPluginVersion: str + requiredFlashVersion: int + size: Size + skipOffset: VideoOffset + skippable: bool + sslCompliant: bool + sslOverride: bool + studioAdvertiserId: str + studioCreativeId: str + studioTraffickedCreativeId: str + subaccountId: str + thirdPartyBackupImageImpressionsUrl: str + thirdPartyRichMediaImpressionsUrl: str + thirdPartyUrls: _list[ThirdPartyTrackingUrl] + timerCustomEvents: _list[CreativeCustomEvent] + totalFileSize: str + type: typing_extensions.Literal[ + "IMAGE", + "DISPLAY_REDIRECT", + "CUSTOM_DISPLAY", + "INTERNAL_REDIRECT", + "CUSTOM_DISPLAY_INTERSTITIAL", + "INTERSTITIAL_INTERNAL_REDIRECT", + "TRACKING_TEXT", + "RICH_MEDIA_DISPLAY_BANNER", + "RICH_MEDIA_INPAGE_FLOATING", + "RICH_MEDIA_IM_EXPAND", + "RICH_MEDIA_DISPLAY_EXPANDING", + "RICH_MEDIA_DISPLAY_INTERSTITIAL", + "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", + "RICH_MEDIA_MOBILE_IN_APP", + "FLASH_INPAGE", + "INSTREAM_VIDEO", + "VPAID_LINEAR_VIDEO", + "VPAID_NON_LINEAR_VIDEO", + "INSTREAM_VIDEO_REDIRECT", + "RICH_MEDIA_PEEL_DOWN", + "HTML5_BANNER", + "DISPLAY", + "DISPLAY_IMAGE_GALLERY", + "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", + "INSTREAM_AUDIO", + ] + universalAdId: UniversalAdId + version: int + +@typing.type_check_only +class CreativeAsset(typing_extensions.TypedDict, total=False): + actionScript3: bool + active: bool + additionalSizes: _list[Size] + alignment: typing_extensions.Literal[ + "ALIGNMENT_TOP", "ALIGNMENT_RIGHT", "ALIGNMENT_BOTTOM", "ALIGNMENT_LEFT" + ] + artworkType: typing_extensions.Literal[ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE", + ] + assetIdentifier: CreativeAssetId + audioBitRate: int + audioSampleRate: int + backupImageExit: CreativeCustomEvent + bitRate: int + childAssetType: typing_extensions.Literal[ + "CHILD_ASSET_TYPE_FLASH", + "CHILD_ASSET_TYPE_VIDEO", + "CHILD_ASSET_TYPE_IMAGE", + "CHILD_ASSET_TYPE_DATA", + ] + collapsedSize: Size + companionCreativeIds: _list[str] + customStartTimeValue: int + detectedFeatures: _list[ + typing_extensions.Literal[ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE", + ] + ] + displayType: typing_extensions.Literal[ + "ASSET_DISPLAY_TYPE_INPAGE", + "ASSET_DISPLAY_TYPE_FLOATING", + "ASSET_DISPLAY_TYPE_OVERLAY", + "ASSET_DISPLAY_TYPE_EXPANDING", + "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", + "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", + "ASSET_DISPLAY_TYPE_PEEL_DOWN", + "ASSET_DISPLAY_TYPE_VPAID_LINEAR", + "ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", + "ASSET_DISPLAY_TYPE_BACKDROP", + ] + duration: int + durationType: typing_extensions.Literal[ + "ASSET_DURATION_TYPE_AUTO", + "ASSET_DURATION_TYPE_NONE", + "ASSET_DURATION_TYPE_CUSTOM", + ] + expandedDimension: Size + fileSize: str + flashVersion: int + frameRate: float + hideFlashObjects: bool + hideSelectionBoxes: bool + horizontallyLocked: bool + id: str + idDimensionValue: DimensionValue + mediaDuration: float + mimeType: str + offset: OffsetPosition + orientation: typing_extensions.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] + originalBackup: bool + politeLoad: bool + position: OffsetPosition + positionLeftUnit: typing_extensions.Literal[ + "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" + ] + positionTopUnit: typing_extensions.Literal[ + "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" + ] + progressiveServingUrl: str + pushdown: bool + pushdownDuration: float + role: typing_extensions.Literal[ + "PRIMARY", + "BACKUP_IMAGE", + "ADDITIONAL_IMAGE", + "ADDITIONAL_FLASH", + "PARENT_VIDEO", + "TRANSCODED_VIDEO", + "OTHER", + "ALTERNATE_VIDEO", + "PARENT_AUDIO", + "TRANSCODED_AUDIO", + ] + size: Size + sslCompliant: bool + startTimeType: typing_extensions.Literal[ + "ASSET_START_TIME_TYPE_NONE", "ASSET_START_TIME_TYPE_CUSTOM" + ] + streamingServingUrl: str + transparency: bool + verticallyLocked: bool + windowMode: typing_extensions.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] + zIndex: int + zipFilename: str + zipFilesize: str + +@typing.type_check_only +class CreativeAssetId(typing_extensions.TypedDict, total=False): + name: str + type: typing_extensions.Literal[ + "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" + ] + +@typing.type_check_only +class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): + assetIdentifier: CreativeAssetId + clickTags: _list[ClickTag] + counterCustomEvents: _list[CreativeCustomEvent] + detectedFeatures: _list[ + typing_extensions.Literal[ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE", + ] + ] + exitCustomEvents: _list[CreativeCustomEvent] + id: str + idDimensionValue: DimensionValue + kind: str + richMedia: bool + timerCustomEvents: _list[CreativeCustomEvent] + warnedValidationRules: _list[ + typing_extensions.Literal[ + "CLICK_TAG_NON_TOP_LEVEL", + "CLICK_TAG_MISSING", + "CLICK_TAG_MORE_THAN_ONE", + "CLICK_TAG_INVALID", + "ORPHANED_ASSET", + "PRIMARY_HTML_MISSING", + "EXTERNAL_FILE_REFERENCED", + "MRAID_REFERENCED", + "ADMOB_REFERENCED", + "FILE_TYPE_INVALID", + "ZIP_INVALID", + "LINKED_FILE_NOT_FOUND", + "MAX_FLASH_VERSION_11", + "NOT_SSL_COMPLIANT", + "FILE_DETAIL_EMPTY", + "ASSET_INVALID", + "GWD_PROPERTIES_INVALID", + "ENABLER_UNSUPPORTED_METHOD_DCM", + "ASSET_FORMAT_UNSUPPORTED_DCM", + "COMPONENT_UNSUPPORTED_DCM", + "HTML5_FEATURE_UNSUPPORTED", + "CLICK_TAG_IN_GWD", + "CLICK_TAG_HARD_CODED", + "SVG_INVALID", + "CLICK_TAG_IN_RICH_MEDIA", + "MISSING_ENABLER_REFERENCE", + ] + ] + +@typing.type_check_only +class CreativeAssignment(typing_extensions.TypedDict, total=False): + active: bool + applyEventTags: bool + clickThroughUrl: ClickThroughUrl + companionCreativeOverrides: _list[CompanionClickThroughOverride] + creativeGroupAssignments: _list[CreativeGroupAssignment] + creativeId: str + creativeIdDimensionValue: DimensionValue + endTime: str + richMediaExitOverrides: _list[RichMediaExitOverride] + sequence: int + sslCompliant: bool + startTime: str + weight: int + +@typing.type_check_only +class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): + computedClickThroughUrl: str + customClickThroughUrl: str + landingPageId: str + +@typing.type_check_only +class CreativeCustomEvent(typing_extensions.TypedDict, total=False): + advertiserCustomEventId: str + advertiserCustomEventName: str + advertiserCustomEventType: typing_extensions.Literal[ + "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" + ] + artworkLabel: str + artworkType: typing_extensions.Literal[ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE", + ] + exitClickThroughUrl: CreativeClickThroughUrl + id: str + popupWindowProperties: PopupWindowProperties + targetType: typing_extensions.Literal[ + "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" + ] + videoReportingId: str + +@typing.type_check_only +class CreativeField(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + id: str + kind: str + name: str + subaccountId: str + +@typing.type_check_only +class CreativeFieldAssignment(typing_extensions.TypedDict, total=False): + creativeFieldId: str + creativeFieldValueId: str + +@typing.type_check_only +class CreativeFieldValue(typing_extensions.TypedDict, total=False): + id: str + kind: str + value: str + +@typing.type_check_only +class CreativeFieldValuesListResponse(typing_extensions.TypedDict, total=False): + creativeFieldValues: _list[CreativeFieldValue] + kind: str + nextPageToken: str + +@typing.type_check_only +class CreativeFieldsListResponse(typing_extensions.TypedDict, total=False): + creativeFields: _list[CreativeField] + kind: str + nextPageToken: str + +@typing.type_check_only +class CreativeGroup(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + groupNumber: int + id: str + kind: str + name: str + subaccountId: str + +@typing.type_check_only +class CreativeGroupAssignment(typing_extensions.TypedDict, total=False): + creativeGroupId: str + creativeGroupNumber: typing_extensions.Literal[ + "CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO" + ] + +@typing.type_check_only +class CreativeGroupsListResponse(typing_extensions.TypedDict, total=False): + creativeGroups: _list[CreativeGroup] + kind: str + nextPageToken: str + +@typing.type_check_only +class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False): + id: str + name: str + optimizationActivitys: _list[OptimizationActivity] + optimizationModel: typing_extensions.Literal[ + "CLICK", + "POST_CLICK", + "POST_IMPRESSION", + "POST_CLICK_AND_IMPRESSION", + "VIDEO_COMPLETION", + ] + +@typing.type_check_only +class CreativeRotation(typing_extensions.TypedDict, total=False): + creativeAssignments: _list[CreativeAssignment] + creativeOptimizationConfigurationId: str + type: typing_extensions.Literal[ + "CREATIVE_ROTATION_TYPE_SEQUENTIAL", "CREATIVE_ROTATION_TYPE_RANDOM" + ] + weightCalculationStrategy: typing_extensions.Literal[ + "WEIGHT_STRATEGY_EQUAL", + "WEIGHT_STRATEGY_CUSTOM", + "WEIGHT_STRATEGY_HIGHEST_CTR", + "WEIGHT_STRATEGY_OPTIMIZED", + ] + +@typing.type_check_only +class CreativesListResponse(typing_extensions.TypedDict, total=False): + creatives: _list[Creative] + kind: str + nextPageToken: str + +@typing.type_check_only +class CrossDimensionReachReportCompatibleFields( + typing_extensions.TypedDict, total=False +): + breakdown: _list[Dimension] + dimensionFilters: _list[Dimension] + kind: str + metrics: _list[Metric] + overlapMetrics: _list[Metric] + +@typing.type_check_only +class CrossMediaReachReportCompatibleFields(typing_extensions.TypedDict, total=False): + dimensionFilters: _list[Dimension] + dimensions: _list[Dimension] + kind: str + metrics: _list[Metric] + +@typing.type_check_only +class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): + kind: str + type: typing_extensions.Literal[ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100", + ] + value: str + +@typing.type_check_only +class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): + filteredEventIds: _list[DimensionValue] + kind: str + +@typing.type_check_only +class CustomRule(typing_extensions.TypedDict, total=False): + name: str + priority: int + ruleBlocks: _list[RuleBlock] + +@typing.type_check_only +class CustomValueField(typing_extensions.TypedDict, total=False): + fieldId: int + requestKey: str + +@typing.type_check_only +class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): + configuration: CustomViewabilityMetricConfiguration + id: str + name: str + +@typing.type_check_only +class CustomViewabilityMetricConfiguration(typing_extensions.TypedDict, total=False): + audible: bool + timeMillis: int + timePercent: int + viewabilityPercent: int + +@typing.type_check_only +class DateRange(typing_extensions.TypedDict, total=False): + endDate: str + kind: str + relativeDateRange: typing_extensions.Literal[ + "TODAY", + "YESTERDAY", + "WEEK_TO_DATE", + "MONTH_TO_DATE", + "QUARTER_TO_DATE", + "YEAR_TO_DATE", + "PREVIOUS_WEEK", + "PREVIOUS_MONTH", + "PREVIOUS_QUARTER", + "PREVIOUS_YEAR", + "LAST_7_DAYS", + "LAST_30_DAYS", + "LAST_90_DAYS", + "LAST_365_DAYS", + "LAST_24_MONTHS", + "LAST_14_DAYS", + "LAST_60_DAYS", + ] + startDate: str + +@typing.type_check_only +class DayPartTargeting(typing_extensions.TypedDict, total=False): + daysOfWeek: _list[ + typing_extensions.Literal[ + "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY" + ] + ] + hoursOfDay: _list[int] + userLocalTime: bool + +@typing.type_check_only +class DeepLink(typing_extensions.TypedDict, total=False): + appUrl: str + fallbackUrl: str + kind: str + mobileApp: MobileApp + remarketingListIds: _list[str] + +@typing.type_check_only +class DefaultClickThroughEventTagProperties(typing_extensions.TypedDict, total=False): + defaultClickThroughEventTagId: str + overrideInheritedEventTag: bool + +@typing.type_check_only +class DeliverySchedule(typing_extensions.TypedDict, total=False): + frequencyCap: FrequencyCap + hardCutoff: bool + impressionRatio: str + priority: typing_extensions.Literal[ + "AD_PRIORITY_01", + "AD_PRIORITY_02", + "AD_PRIORITY_03", + "AD_PRIORITY_04", + "AD_PRIORITY_05", + "AD_PRIORITY_06", + "AD_PRIORITY_07", + "AD_PRIORITY_08", + "AD_PRIORITY_09", + "AD_PRIORITY_10", + "AD_PRIORITY_11", + "AD_PRIORITY_12", + "AD_PRIORITY_13", + "AD_PRIORITY_14", + "AD_PRIORITY_15", + "AD_PRIORITY_16", + ] + +@typing.type_check_only +class DependentFieldValue(typing_extensions.TypedDict, total=False): + elementId: str + fieldId: int + +@typing.type_check_only +class DfareportingStudioCreativeAssetsInsertRequest( + typing_extensions.TypedDict, total=False +): + studioAccountId: str + studioAdvertiserId: str + studioCreativeId: str + +@typing.type_check_only +class DfpSettings(typing_extensions.TypedDict, total=False): + dfpNetworkCode: str + dfpNetworkName: str + programmaticPlacementAccepted: bool + pubPaidPlacementAccepted: bool + publisherPortalOnly: bool + +@typing.type_check_only +class Dimension(typing_extensions.TypedDict, total=False): + kind: str + name: str + +@typing.type_check_only +class DimensionFilter(typing_extensions.TypedDict, total=False): + dimensionName: str + kind: str + value: str + +@typing.type_check_only +class DimensionValue(typing_extensions.TypedDict, total=False): + dimensionName: str + etag: str + id: str + kind: str + matchType: typing_extensions.Literal[ + "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" + ] + value: str + +@typing.type_check_only +class DimensionValueList(typing_extensions.TypedDict, total=False): + etag: str + items: _list[DimensionValue] + kind: str + nextPageToken: str + +@typing.type_check_only +class DimensionValueRequest(typing_extensions.TypedDict, total=False): + dimensionName: str + endDate: str + filters: _list[DimensionFilter] + kind: str + startDate: str + +@typing.type_check_only +class DirectorySite(typing_extensions.TypedDict, total=False): + id: str + idDimensionValue: DimensionValue + inpageTagFormats: _list[ + typing_extensions.Literal[ + "STANDARD", + "IFRAME_JAVASCRIPT_INPAGE", + "INTERNAL_REDIRECT_INPAGE", + "JAVASCRIPT_INPAGE", + ] + ] + interstitialTagFormats: _list[ + typing_extensions.Literal[ + "IFRAME_JAVASCRIPT_INTERSTITIAL", + "INTERNAL_REDIRECT_INTERSTITIAL", + "JAVASCRIPT_INTERSTITIAL", + ] + ] + kind: str + name: str + publisherSpecificationId: str + settings: DirectorySiteSettings + url: str + +@typing.type_check_only +class DirectorySiteSettings(typing_extensions.TypedDict, total=False): + activeViewOptOut: bool + dfpSettings: DfpSettings + instreamVideoPlacementAccepted: bool + interstitialPlacementAccepted: bool + +@typing.type_check_only +class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): + directorySites: _list[DirectorySite] + kind: str + nextPageToken: str + +@typing.type_check_only +class DynamicFeed(typing_extensions.TypedDict, total=False): + contentSource: ContentSource + createInfo: LastModifiedInfo + dynamicFeedId: str + dynamicFeedName: str + element: Element + feedIngestionStatus: FeedIngestionStatus + feedSchedule: FeedSchedule + hasPublished: bool + lastModifiedInfo: LastModifiedInfo + status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + studioAdvertiserId: str + +@typing.type_check_only +class DynamicFeedsInsertRequest(typing_extensions.TypedDict, total=False): + dynamicFeed: DynamicFeed + dynamicProfileId: str + +@typing.type_check_only +class DynamicProfile(typing_extensions.TypedDict, total=False): + active: DynamicProfileVersion + archiveStatus: typing_extensions.Literal[ + "ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED" + ] + createInfo: LastModifiedInfo + description: str + draft: DynamicProfileVersion + dynamicProfileId: str + kind: str + lastModifiedInfo: LastModifiedInfo + name: str + status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + studioAdvertiserId: str + +@typing.type_check_only +class DynamicProfileFeedSettings(typing_extensions.TypedDict, total=False): + dynamicFeedId: str + dynamicRules: DynamicRules + quantity: int + +@typing.type_check_only +class DynamicProfileGenerateCodeResponse(typing_extensions.TypedDict, total=False): + code: str + +@typing.type_check_only +class DynamicProfileVersion(typing_extensions.TypedDict, total=False): + dynamicProfileFeedSettings: _list[DynamicProfileFeedSettings] + versionId: str + +@typing.type_check_only +class DynamicRules(typing_extensions.TypedDict, total=False): + autoTargetedFieldIds: _list[int] + customRules: _list[CustomRule] + customValueFields: _list[CustomValueField] + proximityFilter: ProximityFilter + remarketingValueAttributes: _list[RemarketingValueAttribute] + rotationType: typing_extensions.Literal[ + "ROTATION_TYPE_UNKNOWN", "RANDOM", "OPTIMIZED", "WEIGHTED" + ] + ruleType: typing_extensions.Literal[ + "RULE_SET_TYPE_UNKNOWN", "OPEN", "AUTO", "CUSTOM", "PROXIMITY_TARGETING" + ] + weightFieldId: int + +@typing.type_check_only +class DynamicTargetingKey(typing_extensions.TypedDict, total=False): + kind: str + name: str + objectId: str + objectType: typing_extensions.Literal[ + "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" + ] + +@typing.type_check_only +class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False): + dynamicTargetingKeys: _list[DynamicTargetingKey] + kind: str + +@typing.type_check_only +class Element(typing_extensions.TypedDict, total=False): + activeFieldId: int + createInfo: LastModifiedInfo + defaultFieldId: int + elementName: str + endTimestampFieldId: int + externalIdFieldId: int + feedFields: _list[FeedField] + isLocalTimestamp: bool + lastModifiedInfo: LastModifiedInfo + proximityTargetingFieldId: int + reportingLabelFieldId: int + startTimestampFieldId: int + +@typing.type_check_only +class EncryptionInfo(typing_extensions.TypedDict, total=False): + encryptionEntityId: str + encryptionEntityType: typing_extensions.Literal[ + "ENCRYPTION_ENTITY_TYPE_UNKNOWN", + "DCM_ACCOUNT", + "DCM_ADVERTISER", + "DBM_PARTNER", + "DBM_ADVERTISER", + "ADWORDS_CUSTOMER", + "DFP_NETWORK_CODE", + ] + encryptionSource: typing_extensions.Literal[ + "ENCRYPTION_SCOPE_UNKNOWN", "AD_SERVING", "DATA_TRANSFER" + ] + kind: str + +@typing.type_check_only +class EventTag(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + campaignId: str + campaignIdDimensionValue: DimensionValue + enabledByDefault: bool + excludeFromAdxRequests: bool + id: str + kind: str + name: str + siteFilterType: typing_extensions.Literal["ALLOWLIST", "BLOCKLIST"] + siteIds: _list[str] + sslCompliant: bool + status: typing_extensions.Literal["ENABLED", "DISABLED"] + subaccountId: str + type: typing_extensions.Literal[ + "IMPRESSION_IMAGE_EVENT_TAG", + "IMPRESSION_JAVASCRIPT_EVENT_TAG", + "CLICK_THROUGH_EVENT_TAG", + ] + url: str + urlEscapeLevels: int + +@typing.type_check_only +class EventTagOverride(typing_extensions.TypedDict, total=False): + enabled: bool + id: str + +@typing.type_check_only +class EventTagsListResponse(typing_extensions.TypedDict, total=False): + eventTags: _list[EventTag] + kind: str + +@typing.type_check_only +class FeedField(typing_extensions.TypedDict, total=False): + defaultValue: str + filterable: bool + id: int + name: str + renderable: bool + required: bool + type: typing_extensions.Literal[ + "TYPE_UNKNOWN", + "STRING", + "LONG", + "GPA_SERVED_IMAGE_URL", + "GPA_SERVED_ASSET_URL", + "COUNTRY_CODE_ISO", + "FLOAT", + "CM360_KEYWORD", + "CM360_SITE_ID", + "BOOL", + "EXIT_URL", + "DATETIME", + "CM360_CREATIVE_ID", + "CM360_PLACEMENT_ID", + "CM360_AD_ID", + "CM360_ADVERTISER_ID", + "CM360_CAMPAIGN_ID", + "CITY", + "REGION", + "POSTAL_CODE", + "METRO", + "CUSTOM_VALUE", + "REMARKETING_VALUE", + "GEO_CANONICAL", + "WEIGHT", + "STRING_LIST", + "CREATIVE_DIMENSION", + "USERLIST_ID", + "ASSET_LIBRARY_DIRECTORY_HANDLE", + "ASSET_LIBRARY_VIDEO_HANDLE", + "ASSET_LIBRARY_HANDLE", + "THIRD_PARTY_SERVED_URL", + "CM360_DYNAMIC_TARGETING_KEY", + "DV360_LINE_ITEM_ID", + ] + +@typing.type_check_only +class FeedIngestionStatus(typing_extensions.TypedDict, total=False): + ingestionErrorRecords: _list[IngestionErrorRecord] + ingestionStatus: IngestionStatus + state: typing_extensions.Literal[ + "FEED_PROCESSING_STATE_UNKNOWN", + "CANCELLED", + "INGESTING_QUEUED", + "INGESTING", + "INGESTED_SUCCESS", + "INGESTED_FAILURE", + "REQUEST_TO_PUBLISH", + "PUBLISHING", + "PUBLISHED_SUCCESS", + "PUBLISHED_FAILURE", + ] + +@typing.type_check_only +class FeedSchedule(typing_extensions.TypedDict, total=False): + repeatValue: str + scheduleEnabled: bool + startHour: str + startMinute: str + timeZone: str + +@typing.type_check_only +class FieldError(typing_extensions.TypedDict, total=False): + fieldId: int + fieldName: str + fieldValues: _list[str] + ingestionError: typing_extensions.Literal[ + "UNKNOWN_PARSING_ERROR", + "MISSING_ID", + "MISSING_REPORTING_LABEL", + "EMPTY_VALUE", + "ASSET_DOWNLOAD_ERROR", + "ID_TOO_LONG", + "DUPLICATE_ID", + "PARSING_ERROR", + "COUNTRY_PARSING_ERROR", + "LONG_PARSING_ERROR", + "BOOL_PARSING_ERROR", + "EXPANDED_URL_PARSING_ERROR", + "FLOAT_PARSING_ERROR", + "DATETIME_PARSING_ERROR", + "INVALID_PREFERENCE_VALUE", + "GEO_NOT_FOUND_ERROR", + "GEO_PARSING_ERROR", + "GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR", + "POSTAL_CODE_PARSING_ERROR", + "METRO_CODE_PARSING_ERROR", + "DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR", + "WEIGHT_PARSING_ERROR", + "CREATIVE_DIMENSION_PARSING_ERROR", + "MULTIVALUE_ID", + "ENDTIME_BEFORE_STARTTIME", + "INVALID_ASSET_LIBRARY_HANDLE", + "INVALID_ASSET_LIBRARY_VIDEO_HANDLE", + "INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE", + "DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER", + "USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER", + "ENDTIME_PASSED", + "ENDTIME_TOO_SOON", + "TEXT_ASSET_REFERENCE", + "IMAGE_ASSET_SCS_REFERENCE", + "AIRPORT_GEO_TARGET", + "CANONICAL_NAME_QUERY_MISMATCH", + "NO_DEFAULT_ROW", + "NO_ACTIVE_DEFAULT_ROW", + "NO_DEFAULT_ROW_IN_DATE_RANGE", + "NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE", + "PAYLOAD_LIMIT_EXCEEDED", + "SSL_NOT_COMPLIANT", + ] + isError: bool + +@typing.type_check_only +class FieldFilter(typing_extensions.TypedDict, total=False): + boolValue: bool + dependentFieldValue: DependentFieldValue + fieldId: int + matchType: typing_extensions.Literal[ + "LHS_MATCH_TYPE_UNKNOWN", + "EQUALS_OR_UNRESTRICTED", + "EQUALS", + "UNRESTRICTED", + "NOT_EQUALS", + ] + requestValue: RequestValue + stringValue: str + valueType: typing_extensions.Literal[ + "RHS_VALUE_TYPE_UNKNOWN", "STRING", "REQUEST", "BOOL", "DEPENDENT" + ] + +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + dateRange: DateRange + etag: str + fileName: str + format: typing_extensions.Literal["CSV", "EXCEL"] + id: str + kind: str + lastModifiedTime: str + reportId: str + status: typing_extensions.Literal[ + "PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED", "QUEUED" + ] + urls: dict[str, typing.Any] + +@typing.type_check_only +class FileList(typing_extensions.TypedDict, total=False): + etag: str + items: _list[File] + kind: str + nextPageToken: str + +@typing.type_check_only +class FloodlightActivitiesGenerateTagResponse(typing_extensions.TypedDict, total=False): + floodlightActivityTag: str + globalSiteTagGlobalSnippet: str + kind: str + +@typing.type_check_only +class FloodlightActivitiesListResponse(typing_extensions.TypedDict, total=False): + floodlightActivities: _list[FloodlightActivity] + kind: str + nextPageToken: str + +@typing.type_check_only +class FloodlightActivity(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + attributionEnabled: bool + cacheBustingType: typing_extensions.Literal[ + "JAVASCRIPT", "ACTIVE_SERVER_PAGE", "JSP", "PHP", "COLD_FUSION" + ] + conversionCategory: typing_extensions.Literal[ + "CONVERSION_CATEGORY_DEFAULT", + "CONVERSION_CATEGORY_PURCHASE", + "CONVERSION_CATEGORY_SIGNUP", + "CONVERSION_CATEGORY_PAGE_VIEW", + "CONVERSION_CATEGORY_DOWNLOAD", + "CONVERSION_CATEGORY_BOOM_EVENT", + "CONVERSION_CATEGORY_ADD_TO_CART", + "CONVERSION_CATEGORY_BEGIN_CHECKOUT", + "CONVERSION_CATEGORY_SUBSCRIBE_PAID", + "CONVERSION_CATEGORY_SUBSCRIBE_FREE", + "CONVERSION_CATEGORY_PHONE_CALL_LEAD", + "CONVERSION_CATEGORY_IMPORTED_LEAD", + "CONVERSION_CATEGORY_SUBMIT_LEAD_FORM", + "CONVERSION_CATEGORY_BOOK_APPOINTMENT", + "CONVERSION_CATEGORY_REQUEST_QUOTE", + "CONVERSION_CATEGORY_GET_DIRECTIONS", + "CONVERSION_CATEGORY_OUTBOUND_CLICK", + "CONVERSION_CATEGORY_CONTACT", + "CONVERSION_CATEGORY_VIEW_KEY_PAGE", + "CONVERSION_CATEGORY_ENGAGEMENT", + "CONVERSION_CATEGORY_STORE_VISIT", + "CONVERSION_CATEGORY_STORE_SALE", + "CONVERSION_CATEGORY_QUALIFIED_LEAD", + "CONVERSION_CATEGORY_CONVERTED_LEAD", + "CONVERSION_CATEGORY_IN_APP_AD_REVENUE", + "CONVERSION_CATEGORY_MESSAGE_LEAD", + ] + countingMethod: typing_extensions.Literal[ + "STANDARD_COUNTING", + "UNIQUE_COUNTING", + "SESSION_COUNTING", + "TRANSACTIONS_COUNTING", + "ITEMS_SOLD_COUNTING", + ] + defaultTags: _list[FloodlightActivityDynamicTag] + expectedUrl: str + floodlightActivityGroupId: str + floodlightActivityGroupName: str + floodlightActivityGroupTagString: str + floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] + floodlightConfigurationId: str + floodlightConfigurationIdDimensionValue: DimensionValue + floodlightTagType: typing_extensions.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] + id: str + idDimensionValue: DimensionValue + kind: str + name: str + notes: str + publisherTags: _list[FloodlightActivityPublisherDynamicTag] + secure: bool + sslCompliant: bool + sslRequired: bool + status: typing_extensions.Literal[ + "ACTIVE", "ARCHIVED_AND_DISABLED", "ARCHIVED", "DISABLED_POLICY" + ] + subaccountId: str + tagFormat: typing_extensions.Literal["HTML", "XHTML"] + tagString: str + userDefinedVariableTypes: _list[ + typing_extensions.Literal[ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100", + ] + ] + +@typing.type_check_only +class FloodlightActivityDynamicTag(typing_extensions.TypedDict, total=False): + id: str + name: str + tag: str + +@typing.type_check_only +class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + floodlightConfigurationId: str + floodlightConfigurationIdDimensionValue: DimensionValue + id: str + idDimensionValue: DimensionValue + kind: str + name: str + subaccountId: str + tagString: str + type: typing_extensions.Literal["COUNTER", "SALE"] + +@typing.type_check_only +class FloodlightActivityGroupsListResponse(typing_extensions.TypedDict, total=False): + floodlightActivityGroups: _list[FloodlightActivityGroup] + kind: str + nextPageToken: str + +@typing.type_check_only +class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=False): + clickThrough: bool + directorySiteId: str + dynamicTag: FloodlightActivityDynamicTag + siteId: str + siteIdDimensionValue: DimensionValue + viewThrough: bool + +@typing.type_check_only +class FloodlightConfiguration(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + analyticsDataSharingEnabled: bool + customViewabilityMetric: CustomViewabilityMetric + exposureToConversionEnabled: bool + firstDayOfWeek: typing_extensions.Literal["SUNDAY", "MONDAY"] + id: str + idDimensionValue: DimensionValue + inAppAttributionTrackingEnabled: bool + kind: str + lookbackConfiguration: LookbackConfiguration + naturalSearchConversionAttributionOption: typing_extensions.Literal[ + "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", + "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", + "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION", + ] + omnitureSettings: OmnitureSettings + subaccountId: str + tagSettings: TagSettings + thirdPartyAuthenticationTokens: _list[ThirdPartyAuthenticationToken] + userDefinedVariableConfigurations: _list[UserDefinedVariableConfiguration] + +@typing.type_check_only +class FloodlightConfigurationsListResponse(typing_extensions.TypedDict, total=False): + floodlightConfigurations: _list[FloodlightConfiguration] + kind: str + +@typing.type_check_only +class FloodlightReportCompatibleFields(typing_extensions.TypedDict, total=False): + dimensionFilters: _list[Dimension] + dimensions: _list[Dimension] + kind: str + metrics: _list[Metric] + +@typing.type_check_only +class FrequencyCap(typing_extensions.TypedDict, total=False): + duration: str + impressions: str + +@typing.type_check_only +class FsCommand(typing_extensions.TypedDict, total=False): + left: int + positionOption: typing_extensions.Literal[ + "CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER" + ] + top: int + windowHeight: int + windowWidth: int + +@typing.type_check_only +class GeoTargeting(typing_extensions.TypedDict, total=False): + cities: _list[City] + countries: _list[Country] + excludeCountries: bool + metros: _list[Metro] + postalCodes: _list[PostalCode] + regions: _list[Region] + +@typing.type_check_only +class IngestionErrorRecord(typing_extensions.TypedDict, total=False): + errors: _list[FieldError] + recordId: str + +@typing.type_check_only +class IngestionStatus(typing_extensions.TypedDict, total=False): + numActiveRows: str + numRowsProcessed: str + numRowsTotal: str + numRowsWithErrors: str + numWarningsTotal: str + +@typing.type_check_only +class Invoice(typing_extensions.TypedDict, total=False): + campaign_summaries: _list[CampaignSummary] + correctedInvoiceId: str + currencyCode: str + dueDate: str + id: str + invoiceType: typing_extensions.Literal[ + "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" + ] + issueDate: str + kind: str + paymentsAccountId: str + paymentsProfileId: str + pdfUrl: str + purchaseOrderNumber: str + replacedInvoiceIds: _list[str] + serviceEndDate: str + serviceStartDate: str + subtotalAmountMicros: str + totalAmountMicros: str + totalTaxAmountMicros: str + +@typing.type_check_only +class KeyValueTargetingExpression(typing_extensions.TypedDict, total=False): + expression: str + +@typing.type_check_only +class LandingPage(typing_extensions.TypedDict, total=False): + advertiserId: str + archived: bool + deepLinks: _list[DeepLink] + id: str + kind: str + name: str + url: str + +@typing.type_check_only +class Language(typing_extensions.TypedDict, total=False): + id: str + kind: str + languageCode: str + name: str + +@typing.type_check_only +class LanguageTargeting(typing_extensions.TypedDict, total=False): + languages: _list[Language] + +@typing.type_check_only +class LanguagesListResponse(typing_extensions.TypedDict, total=False): + kind: str + languages: _list[Language] + +@typing.type_check_only +class LastModifiedInfo(typing_extensions.TypedDict, total=False): + time: str + +@typing.type_check_only +class ListPopulationClause(typing_extensions.TypedDict, total=False): + terms: _list[ListPopulationTerm] + +@typing.type_check_only +class ListPopulationRule(typing_extensions.TypedDict, total=False): + floodlightActivityId: str + floodlightActivityName: str + listPopulationClauses: _list[ListPopulationClause] + +@typing.type_check_only +class ListPopulationTerm(typing_extensions.TypedDict, total=False): + contains: bool + negation: bool + operator: typing_extensions.Literal[ + "NUM_EQUALS", + "NUM_LESS_THAN", + "NUM_LESS_THAN_EQUAL", + "NUM_GREATER_THAN", + "NUM_GREATER_THAN_EQUAL", + "STRING_EQUALS", + "STRING_CONTAINS", + ] + remarketingListId: str + type: typing_extensions.Literal[ + "CUSTOM_VARIABLE_TERM", "LIST_MEMBERSHIP_TERM", "REFERRER_TERM" + ] + value: str + variableFriendlyName: str + variableName: str + +@typing.type_check_only +class ListTargetingExpression(typing_extensions.TypedDict, total=False): + expression: str + +@typing.type_check_only +class LookbackConfiguration(typing_extensions.TypedDict, total=False): + clickDuration: int + postImpressionActivitiesDuration: int + +@typing.type_check_only +class MeasurementPartnerAdvertiserLink(typing_extensions.TypedDict, total=False): + linkStatus: typing_extensions.Literal[ + "MEASUREMENT_PARTNER_UNLINKED", + "MEASUREMENT_PARTNER_LINKED", + "MEASUREMENT_PARTNER_LINK_PENDING", + "MEASUREMENT_PARTNER_LINK_FAILURE", + "MEASUREMENT_PARTNER_LINK_OPT_OUT", + "MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", + "MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", + "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", + "MEASUREMENT_PARTNER_UNLINK_PENDING", + ] + measurementPartner: typing_extensions.Literal[ + "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" + ] + partnerAdvertiserId: str + +@typing.type_check_only +class MeasurementPartnerCampaignLink(typing_extensions.TypedDict, total=False): + linkStatus: typing_extensions.Literal[ + "MEASUREMENT_PARTNER_UNLINKED", + "MEASUREMENT_PARTNER_LINKED", + "MEASUREMENT_PARTNER_LINK_PENDING", + "MEASUREMENT_PARTNER_LINK_FAILURE", + "MEASUREMENT_PARTNER_LINK_OPT_OUT", + "MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", + "MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", + "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", + "MEASUREMENT_PARTNER_UNLINK_PENDING", + ] + measurementPartner: typing_extensions.Literal[ + "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" + ] + partnerCampaignId: str + +@typing.type_check_only +class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): + linkStatus: typing_extensions.Literal[ + "MEASUREMENT_PARTNER_UNLINKED", + "MEASUREMENT_PARTNER_LINKED", + "MEASUREMENT_PARTNER_LINK_PENDING", + "MEASUREMENT_PARTNER_LINK_FAILURE", + "MEASUREMENT_PARTNER_LINK_OPT_OUT", + "MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", + "MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", + "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", + "MEASUREMENT_PARTNER_UNLINK_PENDING", + ] + measurementPartner: typing_extensions.Literal[ + "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" + ] + tagWrappingMode: typing_extensions.Literal[ + "NONE", + "BLOCKING", + "MONITORING", + "MONITORING_READ_ONLY", + "VIDEO_PIXEL_MONITORING", + "TRACKING", + "VPAID_MONITORING", + "VPAID_BLOCKING", + "NON_VPAID_MONITORING", + "VPAID_ONLY_MONITORING", + "VPAID_ONLY_BLOCKING", + "VPAID_ONLY_FILTERING", + "VPAID_FILTERING", + "NON_VPAID_FILTERING", + "BLOCKING_FILTERING_VPAID", + "BLOCKING_FILTERING_VPAID_ONLY", + ] + wrappedTag: str + +@typing.type_check_only +class Metric(typing_extensions.TypedDict, total=False): + kind: str + name: str + +@typing.type_check_only +class Metro(typing_extensions.TypedDict, total=False): + countryCode: str + countryDartId: str + dartId: str + dmaId: str + kind: str + metroCode: str + name: str + +@typing.type_check_only +class MetrosListResponse(typing_extensions.TypedDict, total=False): + kind: str + metros: _list[Metro] + +@typing.type_check_only +class MobileApp(typing_extensions.TypedDict, total=False): + directory: typing_extensions.Literal[ + "UNKNOWN", + "APPLE_APP_STORE", + "GOOGLE_PLAY_STORE", + "ROKU_APP_STORE", + "AMAZON_FIRETV_APP_STORE", + "PLAYSTATION_APP_STORE", + "APPLE_TV_APP_STORE", + "XBOX_APP_STORE", + "SAMSUNG_TV_APP_STORE", + "ANDROID_TV_APP_STORE", + "GENERIC_CTV_APP_STORE", + ] + id: str + kind: str + publisherName: str + title: str + +@typing.type_check_only +class MobileAppsListResponse(typing_extensions.TypedDict, total=False): + kind: str + mobileApps: _list[MobileApp] + nextPageToken: str + +@typing.type_check_only +class MobileCarrier(typing_extensions.TypedDict, total=False): + countryCode: str + countryDartId: str + id: str + kind: str + name: str + +@typing.type_check_only +class MobileCarriersListResponse(typing_extensions.TypedDict, total=False): + kind: str + mobileCarriers: _list[MobileCarrier] + +@typing.type_check_only +class ObaIcon(typing_extensions.TypedDict, total=False): + iconClickThroughUrl: str + iconClickTrackingUrl: str + iconViewTrackingUrl: str + program: str + resourceUrl: str + size: Size + xPosition: str + yPosition: str + +@typing.type_check_only +class ObjectFilter(typing_extensions.TypedDict, total=False): + kind: str + objectIds: _list[str] + status: typing_extensions.Literal["NONE", "ASSIGNED", "ALL"] + +@typing.type_check_only +class OfflineUserAddressInfo(typing_extensions.TypedDict, total=False): + city: str + countryCode: str + hashedFirstName: str + hashedLastName: str + hashedStreetAddress: str + postalCode: str + state: str + +@typing.type_check_only +class OffsetPosition(typing_extensions.TypedDict, total=False): + left: int + top: int + +@typing.type_check_only +class OmnitureSettings(typing_extensions.TypedDict, total=False): + omnitureCostDataEnabled: bool + omnitureIntegrationEnabled: bool + +@typing.type_check_only +class OperatingSystem(typing_extensions.TypedDict, total=False): + dartId: str + desktop: bool + kind: str + mobile: bool + name: str + +@typing.type_check_only +class OperatingSystemVersion(typing_extensions.TypedDict, total=False): + id: str + kind: str + majorVersion: str + minorVersion: str + name: str + operatingSystem: OperatingSystem + +@typing.type_check_only +class OperatingSystemVersionsListResponse(typing_extensions.TypedDict, total=False): + kind: str + operatingSystemVersions: _list[OperatingSystemVersion] + +@typing.type_check_only +class OperatingSystemsListResponse(typing_extensions.TypedDict, total=False): + kind: str + operatingSystems: _list[OperatingSystem] + +@typing.type_check_only +class OptimizationActivity(typing_extensions.TypedDict, total=False): + floodlightActivityId: str + floodlightActivityIdDimensionValue: DimensionValue + weight: int + +@typing.type_check_only +class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total=False): + conversionDimensions: _list[Dimension] + customFloodlightVariables: _list[Dimension] + kind: str + metrics: _list[Metric] + perInteractionDimensions: _list[Dimension] + +@typing.type_check_only +class Placement(typing_extensions.TypedDict, total=False): + accountId: str + activeStatus: typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + adBlockingOptOut: bool + adServingPlatformId: str + additionalSizes: _list[Size] + advertiserId: str + advertiserIdDimensionValue: DimensionValue + allowOnYoutube: bool + campaignId: str + campaignIdDimensionValue: DimensionValue + comment: str + compatibility: typing_extensions.Literal[ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO", + ] + contentCategoryId: str + conversionDomainOverride: PlacementConversionDomainOverride + createInfo: LastModifiedInfo + directorySiteId: str + directorySiteIdDimensionValue: DimensionValue + externalId: str + id: str + idDimensionValue: DimensionValue + keyName: str + kind: str + lastModifiedInfo: LastModifiedInfo + lookbackConfiguration: LookbackConfiguration + name: str + partnerWrappingData: MeasurementPartnerWrappingData + paymentApproved: bool + paymentSource: typing_extensions.Literal[ + "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" + ] + placementGroupId: str + placementGroupIdDimensionValue: DimensionValue + placementStrategyId: str + pricingSchedule: PricingSchedule + primary: bool + publisherUpdateInfo: LastModifiedInfo + siteId: str + siteIdDimensionValue: DimensionValue + siteServed: bool + size: Size + sslRequired: bool + status: typing_extensions.Literal[ + "PENDING_REVIEW", + "PAYMENT_ACCEPTED", + "PAYMENT_REJECTED", + "ACKNOWLEDGE_REJECTION", + "ACKNOWLEDGE_ACCEPTANCE", + "DRAFT", + ] + subaccountId: str + tagFormats: _list[ + typing_extensions.Literal[ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", + ] + ] + tagSetting: TagSetting + videoActiveViewOptOut: bool + videoSettings: VideoSettings + vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] + wrappingOptOut: bool + youtubeSettings: YoutubeSettings + +@typing.type_check_only +class PlacementAssignment(typing_extensions.TypedDict, total=False): + active: bool + placementId: str + placementIdDimensionValue: DimensionValue + sslRequired: bool + +@typing.type_check_only +class PlacementConversionDomainOverride(typing_extensions.TypedDict, total=False): + conversionDomains: _list[PlacementSingleConversionDomain] + +@typing.type_check_only +class PlacementGroup(typing_extensions.TypedDict, total=False): + accountId: str + activeStatus: typing_extensions.Literal[ + "PLACEMENT_STATUS_UNKNOWN", + "PLACEMENT_STATUS_ACTIVE", + "PLACEMENT_STATUS_INACTIVE", + "PLACEMENT_STATUS_ARCHIVED", + "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", + ] + advertiserId: str + advertiserIdDimensionValue: DimensionValue + campaignId: str + campaignIdDimensionValue: DimensionValue + childPlacementIds: _list[str] + comment: str + contentCategoryId: str + createInfo: LastModifiedInfo + directorySiteId: str + directorySiteIdDimensionValue: DimensionValue + externalId: str + id: str + idDimensionValue: DimensionValue + kind: str + lastModifiedInfo: LastModifiedInfo + name: str + placementGroupType: typing_extensions.Literal[ + "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" + ] + placementStrategyId: str + pricingSchedule: PricingSchedule + primaryPlacementId: str + primaryPlacementIdDimensionValue: DimensionValue + siteId: str + siteIdDimensionValue: DimensionValue + subaccountId: str + +@typing.type_check_only +class PlacementGroupsListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + placementGroups: _list[PlacementGroup] + +@typing.type_check_only +class PlacementSingleConversionDomain(typing_extensions.TypedDict, total=False): + conversionDomainId: str + conversionDomainValue: str + +@typing.type_check_only +class PlacementStrategiesListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + placementStrategies: _list[PlacementStrategy] + +@typing.type_check_only +class PlacementStrategy(typing_extensions.TypedDict, total=False): + accountId: str + id: str + kind: str + name: str + +@typing.type_check_only +class PlacementTag(typing_extensions.TypedDict, total=False): + placementId: str + tagDatas: _list[TagData] + +@typing.type_check_only +class PlacementsGenerateTagsResponse(typing_extensions.TypedDict, total=False): + kind: str + placementTags: _list[PlacementTag] + +@typing.type_check_only +class PlacementsListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + placements: _list[Placement] + +@typing.type_check_only +class PlatformType(typing_extensions.TypedDict, total=False): + id: str + kind: str + name: str + +@typing.type_check_only +class PlatformTypesListResponse(typing_extensions.TypedDict, total=False): + kind: str + platformTypes: _list[PlatformType] + +@typing.type_check_only +class PopupWindowProperties(typing_extensions.TypedDict, total=False): + dimension: Size + offset: OffsetPosition + positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + showAddressBar: bool + showMenuBar: bool + showScrollBar: bool + showStatusBar: bool + showToolBar: bool + title: str + +@typing.type_check_only +class PostalCode(typing_extensions.TypedDict, total=False): + code: str + countryCode: str + countryDartId: str + id: str + kind: str + +@typing.type_check_only +class PostalCodesListResponse(typing_extensions.TypedDict, total=False): + kind: str + postalCodes: _list[PostalCode] + +@typing.type_check_only +class PricingSchedule(typing_extensions.TypedDict, total=False): + capCostOption: typing_extensions.Literal[ + "CAP_COST_NONE", "CAP_COST_MONTHLY", "CAP_COST_CUMULATIVE" + ] + endDate: str + flighted: bool + floodlightActivityId: str + pricingPeriods: _list[PricingSchedulePricingPeriod] + pricingType: typing_extensions.Literal[ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW", + ] + startDate: str + testingStartDate: str + +@typing.type_check_only +class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): + endDate: str + pricingComment: str + rateOrCostNanos: str + startDate: str + units: str + +@typing.type_check_only +class ProximityFilter(typing_extensions.TypedDict, total=False): + fieldId: int + radiusBucketType: typing_extensions.Literal[ + "RADIUS_BUCKET_TYPE_UNKNOWN", + "SMALL", + "MEDIUM", + "LARGE", + "MULTI_REGIONAL", + "NATIONAL", + ] + radiusUnitType: typing_extensions.Literal[ + "RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES" + ] + radiusValue: int + +@typing.type_check_only +class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): + dimensionFilters: _list[Dimension] + dimensions: _list[Dimension] + kind: str + metrics: _list[Metric] + pivotedActivityMetrics: _list[Metric] + reachByFrequencyMetrics: _list[Metric] + +@typing.type_check_only +class Recipient(typing_extensions.TypedDict, total=False): + deliveryType: typing_extensions.Literal["LINK", "ATTACHMENT"] + email: str + kind: str + +@typing.type_check_only +class Region(typing_extensions.TypedDict, total=False): + countryCode: str + countryDartId: str + dartId: str + kind: str + name: str + regionCode: str + +@typing.type_check_only +class RegionsListResponse(typing_extensions.TypedDict, total=False): + kind: str + regions: _list[Region] + +@typing.type_check_only +class RemarketingList(typing_extensions.TypedDict, total=False): + accountId: str + active: bool + advertiserId: str + advertiserIdDimensionValue: DimensionValue + description: str + id: str + kind: str + lifeSpan: str + listPopulationRule: ListPopulationRule + listSize: str + listSource: typing_extensions.Literal[ + "REMARKETING_LIST_SOURCE_OTHER", + "REMARKETING_LIST_SOURCE_ADX", + "REMARKETING_LIST_SOURCE_DFP", + "REMARKETING_LIST_SOURCE_XFP", + "REMARKETING_LIST_SOURCE_DFA", + "REMARKETING_LIST_SOURCE_GA", + "REMARKETING_LIST_SOURCE_YOUTUBE", + "REMARKETING_LIST_SOURCE_DBM", + "REMARKETING_LIST_SOURCE_GPLUS", + "REMARKETING_LIST_SOURCE_DMP", + "REMARKETING_LIST_SOURCE_PLAY_STORE", + ] + name: str + subaccountId: str + +@typing.type_check_only +class RemarketingListShare(typing_extensions.TypedDict, total=False): + kind: str + remarketingListId: str + sharedAccountIds: _list[str] + sharedAdvertiserIds: _list[str] + +@typing.type_check_only +class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + remarketingLists: _list[RemarketingList] + +@typing.type_check_only +class RemarketingValueAttribute(typing_extensions.TypedDict, total=False): + fieldId: int + userAttributeIds: _list[str] + +@typing.type_check_only +class Report(typing_extensions.TypedDict, total=False): + accountId: str + criteria: dict[str, typing.Any] + crossMediaReachCriteria: dict[str, typing.Any] + delivery: dict[str, typing.Any] + etag: str + fileName: str + floodlightCriteria: dict[str, typing.Any] + format: typing_extensions.Literal["CSV", "EXCEL"] + id: str + kind: str + lastModifiedTime: str + name: str + ownerProfileId: str + pathToConversionCriteria: dict[str, typing.Any] + reachCriteria: dict[str, typing.Any] + schedule: dict[str, typing.Any] + subAccountId: str + type: typing_extensions.Literal[ + "STANDARD", "REACH", "PATH_TO_CONVERSION", "FLOODLIGHT", "CROSS_MEDIA_REACH" + ] + +@typing.type_check_only +class ReportCompatibleFields(typing_extensions.TypedDict, total=False): + dimensionFilters: _list[Dimension] + dimensions: _list[Dimension] + kind: str + metrics: _list[Metric] + pivotedActivityMetrics: _list[Metric] + +@typing.type_check_only +class ReportList(typing_extensions.TypedDict, total=False): + etag: str + items: _list[Report] + kind: str + nextPageToken: str + +@typing.type_check_only +class ReportsConfiguration(typing_extensions.TypedDict, total=False): + exposureToConversionEnabled: bool + lookbackConfiguration: LookbackConfiguration + reportGenerationTimeZoneId: str + +@typing.type_check_only +class RequestValue(typing_extensions.TypedDict, total=False): + excludeFromUserAttributeIds: _list[str] + key: str + userAttributeIds: _list[str] + +@typing.type_check_only +class RichMediaExitOverride(typing_extensions.TypedDict, total=False): + clickThroughUrl: ClickThroughUrl + enabled: bool + exitId: str + +@typing.type_check_only +class RuleBlock(typing_extensions.TypedDict, total=False): + fieldFilter: _list[FieldFilter] + +@typing.type_check_only +class Site(typing_extensions.TypedDict, total=False): + accountId: str + adServingPlatformId: str + approved: bool + directorySiteId: str + directorySiteIdDimensionValue: DimensionValue + id: str + idDimensionValue: DimensionValue + keyName: str + kind: str + name: str + siteContacts: _list[SiteContact] + siteSettings: SiteSettings + subaccountId: str + videoSettings: SiteVideoSettings + +@typing.type_check_only +class SiteCompanionSetting(typing_extensions.TypedDict, total=False): + companionsDisabled: bool + enabledSizes: _list[Size] + imageOnly: bool + kind: str + +@typing.type_check_only +class SiteContact(typing_extensions.TypedDict, total=False): + address: str + contactType: typing_extensions.Literal["SALES_PERSON", "TRAFFICKER"] + email: str + firstName: str + id: str + lastName: str + phone: str + title: str + +@typing.type_check_only +class SiteSettings(typing_extensions.TypedDict, total=False): + activeViewOptOut: bool + adBlockingOptOut: bool + disableNewCookie: bool + tagSetting: TagSetting + videoActiveViewOptOutTemplate: bool + vpaidAdapterChoiceTemplate: typing_extensions.Literal[ + "DEFAULT", "FLASH", "HTML5", "BOTH" + ] + +@typing.type_check_only +class SiteSkippableSetting(typing_extensions.TypedDict, total=False): + kind: str + progressOffset: VideoOffset + skipOffset: VideoOffset + skippable: bool + +@typing.type_check_only +class SiteTranscodeSetting(typing_extensions.TypedDict, total=False): + enabledVideoFormats: _list[int] + kind: str + +@typing.type_check_only +class SiteVideoSettings(typing_extensions.TypedDict, total=False): + companionSettings: SiteCompanionSetting + kind: str + obaEnabled: bool + obaSettings: ObaIcon + orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + publisherSpecificationId: str + skippableSettings: SiteSkippableSetting + transcodeSettings: SiteTranscodeSetting + +@typing.type_check_only +class SitesListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + sites: _list[Site] + +@typing.type_check_only +class Size(typing_extensions.TypedDict, total=False): + height: int + iab: bool + id: str + kind: str + width: int + +@typing.type_check_only +class SizesListResponse(typing_extensions.TypedDict, total=False): + kind: str + sizes: _list[Size] + +@typing.type_check_only +class SkippableSetting(typing_extensions.TypedDict, total=False): + kind: str + progressOffset: VideoOffset + skipOffset: VideoOffset + skippable: bool + +@typing.type_check_only +class SortedDimension(typing_extensions.TypedDict, total=False): + kind: str + name: str + sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + +@typing.type_check_only +class StudioCreative(typing_extensions.TypedDict, total=False): + assetIds: _list[str] + backupImageAssetId: str + createdInfo: LastModifiedInfo + dimension: StudioCreativeDimension + dynamicProfileId: str + format: typing_extensions.Literal[ + "UNKNOWN", "BANNER", "EXPANDING", "INTERSTITIAL", "VPAID_LINEAR_VIDEO" + ] + id: str + lastModifiedInfo: LastModifiedInfo + name: str + status: typing_extensions.Literal[ + "UNKNOWN_STATUS", + "IN_DEVELOPMENT", + "PUBLISHED", + "QA_REJECTED", + "QA_APPROVED", + "TRAFFICKED", + ] + studioAccountId: str + studioAdvertiserId: str + studioCampaignId: str + +@typing.type_check_only +class StudioCreativeAsset(typing_extensions.TypedDict, total=False): + createInfo: LastModifiedInfo + filename: str + filesize: str + id: str + lastModifiedInfo: LastModifiedInfo + studioAccountId: str + studioAdvertiserId: str + studioCreativeId: str + type: typing_extensions.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] + videoProcessingData: VideoProcessingData + +@typing.type_check_only +class StudioCreativeAssetsResponse(typing_extensions.TypedDict, total=False): + assets: _list[StudioCreativeAsset] + +@typing.type_check_only +class StudioCreativeDimension(typing_extensions.TypedDict, total=False): + height: int + width: int + +@typing.type_check_only +class Subaccount(typing_extensions.TypedDict, total=False): + accountId: str + availablePermissionIds: _list[str] + id: str + kind: str + name: str + +@typing.type_check_only +class SubaccountsListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + subaccounts: _list[Subaccount] + +@typing.type_check_only +class TagData(typing_extensions.TypedDict, total=False): + adId: str + clickTag: str + creativeId: str + format: typing_extensions.Literal[ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", + ] + impressionTag: str + +@typing.type_check_only +class TagSetting(typing_extensions.TypedDict, total=False): + additionalKeyValues: str + includeClickThroughUrls: bool + includeClickTracking: bool + includeUnescapedlpurlMacro: bool + keywordOption: typing_extensions.Literal[ + "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", + "IGNORE", + "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD", + ] + +@typing.type_check_only +class TagSettings(typing_extensions.TypedDict, total=False): + dynamicTagEnabled: bool + imageTagEnabled: bool + +@typing.type_check_only +class TargetWindow(typing_extensions.TypedDict, total=False): + customHtml: str + targetWindowOption: typing_extensions.Literal[ + "NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM" + ] + +@typing.type_check_only +class TargetableRemarketingList(typing_extensions.TypedDict, total=False): + accountId: str + active: bool + advertiserId: str + advertiserIdDimensionValue: DimensionValue + description: str + id: str + kind: str + lifeSpan: str + listSize: str + listSource: typing_extensions.Literal[ + "REMARKETING_LIST_SOURCE_OTHER", + "REMARKETING_LIST_SOURCE_ADX", + "REMARKETING_LIST_SOURCE_DFP", + "REMARKETING_LIST_SOURCE_XFP", + "REMARKETING_LIST_SOURCE_DFA", + "REMARKETING_LIST_SOURCE_GA", + "REMARKETING_LIST_SOURCE_YOUTUBE", + "REMARKETING_LIST_SOURCE_DBM", + "REMARKETING_LIST_SOURCE_GPLUS", + "REMARKETING_LIST_SOURCE_DMP", + "REMARKETING_LIST_SOURCE_PLAY_STORE", + ] + name: str + subaccountId: str + +@typing.type_check_only +class TargetableRemarketingListsListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + targetableRemarketingLists: _list[TargetableRemarketingList] + +@typing.type_check_only +class TargetingTemplate(typing_extensions.TypedDict, total=False): + accountId: str + advertiserId: str + advertiserIdDimensionValue: DimensionValue + dayPartTargeting: DayPartTargeting + geoTargeting: GeoTargeting + id: str + keyValueTargetingExpression: KeyValueTargetingExpression + kind: str + languageTargeting: LanguageTargeting + listTargetingExpression: ListTargetingExpression + name: str + subaccountId: str + technologyTargeting: TechnologyTargeting + +@typing.type_check_only +class TargetingTemplatesListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + targetingTemplates: _list[TargetingTemplate] + +@typing.type_check_only +class TechnologyTargeting(typing_extensions.TypedDict, total=False): + browsers: _list[Browser] + connectionTypes: _list[ConnectionType] + mobileCarriers: _list[MobileCarrier] + operatingSystemVersions: _list[OperatingSystemVersion] + operatingSystems: _list[OperatingSystem] + platformTypes: _list[PlatformType] + +@typing.type_check_only +class ThirdPartyAuthenticationToken(typing_extensions.TypedDict, total=False): + name: str + value: str + +@typing.type_check_only +class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): + thirdPartyUrlType: typing_extensions.Literal[ + "IMPRESSION", + "CLICK_TRACKING", + "VIDEO_START", + "VIDEO_FIRST_QUARTILE", + "VIDEO_MIDPOINT", + "VIDEO_THIRD_QUARTILE", + "VIDEO_COMPLETE", + "VIDEO_MUTE", + "VIDEO_PAUSE", + "VIDEO_REWIND", + "VIDEO_FULLSCREEN", + "VIDEO_STOP", + "VIDEO_CUSTOM", + "SURVEY", + "RICH_MEDIA_IMPRESSION", + "RICH_MEDIA_RM_IMPRESSION", + "RICH_MEDIA_BACKUP_IMPRESSION", + "VIDEO_SKIP", + "VIDEO_PROGRESS", + ] + url: str + +@typing.type_check_only +class TranscodeSetting(typing_extensions.TypedDict, total=False): + enabledVideoFormats: _list[int] + kind: str + +@typing.type_check_only +class TvCampaignDetail(typing_extensions.TypedDict, total=False): + id: str + kind: str + timepoints: _list[TvCampaignTimepoint] + +@typing.type_check_only +class TvCampaignSummariesListResponse(typing_extensions.TypedDict, total=False): + kind: str + tvCampaignSummaries: _list[TvCampaignSummary] + +@typing.type_check_only +class TvCampaignSummary(typing_extensions.TypedDict, total=False): + endDate: str + grp: str + id: str + impressions: str + kind: str + name: str + spend: float + startDate: str + type: typing_extensions.Literal[ + "CAMPAIGN_COMPONENT_TYPE_UNSPECIFIED", "COMPANY", "BRAND", "PRODUCT", "CAMPAIGN" + ] + +@typing.type_check_only +class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): + dateWindow: typing_extensions.Literal[ + "WEEKS_UNSPECIFIED", "WEEKS_ONE", "WEEKS_FOUR", "WEEKS_EIGHT", "WEEKS_TWELVE" + ] + spend: float + startDate: str + +@typing.type_check_only +class UniversalAdId(typing_extensions.TypedDict, total=False): + registry: typing_extensions.Literal[ + "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP" + ] + value: str + +@typing.type_check_only +class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False): + dataType: typing_extensions.Literal["STRING", "NUMBER"] + reportName: str + variableType: typing_extensions.Literal[ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100", + ] + +@typing.type_check_only +class UserIdentifier(typing_extensions.TypedDict, total=False): + addressInfo: OfflineUserAddressInfo + hashedEmail: str + hashedPhoneNumber: str + +@typing.type_check_only +class UserProfile(typing_extensions.TypedDict, total=False): + accountId: str + accountName: str + etag: str + kind: str + profileId: str + subAccountId: str + subAccountName: str + userName: str + +@typing.type_check_only +class UserProfileList(typing_extensions.TypedDict, total=False): + etag: str + items: _list[UserProfile] + kind: str + +@typing.type_check_only +class UserRole(typing_extensions.TypedDict, total=False): + accountId: str + defaultUserRole: bool + id: str + kind: str + name: str + parentUserRoleId: str + permissions: _list[UserRolePermission] + subaccountId: str + +@typing.type_check_only +class UserRolePermission(typing_extensions.TypedDict, total=False): + availability: typing_extensions.Literal[ + "NOT_AVAILABLE_BY_DEFAULT", + "ACCOUNT_BY_DEFAULT", + "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", + "ACCOUNT_ALWAYS", + "SUBACCOUNT_AND_ACCOUNT_ALWAYS", + "USER_PROFILE_ONLY", + ] + id: str + kind: str + name: str + permissionGroupId: str + +@typing.type_check_only +class UserRolePermissionGroup(typing_extensions.TypedDict, total=False): + id: str + kind: str + name: str + +@typing.type_check_only +class UserRolePermissionGroupsListResponse(typing_extensions.TypedDict, total=False): + kind: str + userRolePermissionGroups: _list[UserRolePermissionGroup] + +@typing.type_check_only +class UserRolePermissionsListResponse(typing_extensions.TypedDict, total=False): + kind: str + userRolePermissions: _list[UserRolePermission] + +@typing.type_check_only +class UserRolesListResponse(typing_extensions.TypedDict, total=False): + kind: str + nextPageToken: str + userRoles: _list[UserRole] + +@typing.type_check_only +class VideoFormat(typing_extensions.TypedDict, total=False): + fileType: typing_extensions.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] + id: int + kind: str + resolution: Size + targetBitRate: int + +@typing.type_check_only +class VideoFormatsListResponse(typing_extensions.TypedDict, total=False): + kind: str + videoFormats: _list[VideoFormat] + +@typing.type_check_only +class VideoOffset(typing_extensions.TypedDict, total=False): + offsetPercentage: int + offsetSeconds: int + +@typing.type_check_only +class VideoProcessingData(typing_extensions.TypedDict, total=False): + errorReason: str + processingState: typing_extensions.Literal[ + "UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED" + ] + +@typing.type_check_only +class VideoSettings(typing_extensions.TypedDict, total=False): + companionSettings: CompanionSetting + durationSeconds: int + kind: str + obaEnabled: bool + obaSettings: ObaIcon + orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + publisherSpecificationId: str + skippableSettings: SkippableSetting + transcodeSettings: TranscodeSetting + +@typing.type_check_only +class YoutubeSettings(typing_extensions.TypedDict, total=False): + businessLogoCreativeIds: _list[str] + businessName: str + callToActions: _list[ + typing_extensions.Literal[ + "CALL_TO_ACTION_UNKNOWN", + "CALL_TO_ACTION_LEARN_MORE", + "CALL_TO_ACTION_GET_QUOTE", + "CALL_TO_ACTION_APPLY_NOW", + "CALL_TO_ACTION_SIGN_UP", + "CALL_TO_ACTION_CONTACT_US", + "CALL_TO_ACTION_SUBSCRIBE", + "CALL_TO_ACTION_DOWNLOAD", + "CALL_TO_ACTION_BOOK_NOW", + "CALL_TO_ACTION_GET_OFFER", + "CALL_TO_ACTION_SHOP_NOW", + "CALL_TO_ACTION_VISIT_STORE", + "CALL_TO_ACTION_CALL_NOW", + "CALL_TO_ACTION_VIEW_MENU", + "CALL_TO_ACTION_TEST_DRIVE", + "CALL_TO_ACTION_SCHEDULE_NOW", + "CALL_TO_ACTION_BUY_NOW", + "CALL_TO_ACTION_DONATE_NOW", + "CALL_TO_ACTION_ORDER_NOW", + "CALL_TO_ACTION_PLAY_NOW", + "CALL_TO_ACTION_SEE_MORE", + "CALL_TO_ACTION_START_NOW", + "CALL_TO_ACTION_VISIT_SITE", + "CALL_TO_ACTION_WATCH_NOW", + ] + ] + descriptions: _list[str] + headlines: _list[str] + longHeadlines: _list[str] diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi index 5fa9f464..255b6c73 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi @@ -2034,6 +2034,38 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class GeneratorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EvaluationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowV2GeneratorEvaluation = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2GeneratorEvaluationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2ListGeneratorEvaluationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2ListGeneratorEvaluationsResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse, + ) -> ( + GoogleCloudDialogflowV2ListGeneratorEvaluationsResponseHttpRequest + | None + ): ... + def create( self, *, @@ -2071,6 +2103,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDialogflowV2GeneratorHttpRequest: ... + def evaluations(self) -> EvaluationsResource: ... @typing.type_check_only class KnowledgeBasesResource(googleapiclient.discovery.Resource): @@ -2189,6 +2222,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2197,6 +2231,43 @@ class DialogflowResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class SipTrunksResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowV2SipTrunk = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2SipTrunkHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2SipTrunkHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2ListSipTrunksResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2ListSipTrunksResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2ListSipTrunksResponse, + ) -> GoogleCloudDialogflowV2ListSipTrunksResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowV2SipTrunk = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2SipTrunkHttpRequest: ... + @typing.type_check_only class StatelessSuggestionResource(googleapiclient.discovery.Resource): def generate( @@ -2226,6 +2297,44 @@ class DialogflowResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDialogflowV2SearchKnowledgeResponseHttpRequest: ... + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowV2Tool = ..., + toolId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2ToolHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2ToolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2ListToolsResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2ListToolsResponse, + ) -> GoogleCloudDialogflowV2ListToolsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowV2Tool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2ToolHttpRequest: ... + def deleteAgent( self, *, parent: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -2271,8 +2380,10 @@ class DialogflowResource(googleapiclient.discovery.Resource): def generators(self) -> GeneratorsResource: ... def knowledgeBases(self) -> KnowledgeBasesResource: ... def operations(self) -> OperationsResource: ... + def sipTrunks(self) -> SipTrunksResource: ... def statelessSuggestion(self) -> StatelessSuggestionResource: ... def suggestions(self) -> SuggestionsResource: ... + def tools(self) -> ToolsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -2289,6 +2400,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2536,6 +2648,16 @@ class GoogleCloudDialogflowV2GeneratorHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> GoogleCloudDialogflowV2Generator: ... +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2GeneratorEvaluation: ... + @typing.type_check_only class GoogleCloudDialogflowV2IngestContextReferencesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2662,6 +2784,16 @@ class GoogleCloudDialogflowV2ListEnvironmentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2ListEnvironmentsResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2ListGeneratorEvaluationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2ListGeneratorsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2722,6 +2854,26 @@ class GoogleCloudDialogflowV2ListSessionEntityTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2ListSessionEntityTypesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2ListSipTrunksResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2ListSipTrunksResponse: ... + +@typing.type_check_only +class GoogleCloudDialogflowV2ListToolsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2ListToolsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2ListVersionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2770,6 +2922,14 @@ class GoogleCloudDialogflowV2SessionEntityTypeHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2SessionEntityType: ... +@typing.type_check_only +class GoogleCloudDialogflowV2SipTrunkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2SipTrunk: ... + @typing.type_check_only class GoogleCloudDialogflowV2SuggestArticlesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2820,6 +2980,14 @@ class GoogleCloudDialogflowV2SuggestSmartRepliesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2SuggestSmartRepliesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2ToolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2Tool: ... + @typing.type_check_only class GoogleCloudDialogflowV2ValidationResultHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index ba739a67..4eca28eb 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -1817,6 +1817,98 @@ class GoogleCloudDialogflowV2AgentAssistantRecord( articleSuggestionAnswer: GoogleCloudDialogflowV2ArticleAnswer dialogflowAssistAnswer: GoogleCloudDialogflowV2DialogflowAssistAnswer faqAnswer: GoogleCloudDialogflowV2FaqAnswer + generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingContext( + typing_extensions.TypedDict, total=False +): + instructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] + outputLanguageCode: str + overarchingGuidance: str + version: str + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] + sampleResponses: _list[GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] @typing.type_check_only class GoogleCloudDialogflowV2AnalyzeContentRequest( @@ -2026,6 +2118,36 @@ class GoogleCloudDialogflowV2CompleteConversationRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDialogflowV2Connection(typing_extensions.TypedDict, total=False): + connectionId: str + errorDetails: GoogleCloudDialogflowV2ConnectionErrorDetails + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CONNECTED", + "DISCONNECTED", + "AUTHENTICATION_FAILED", + "KEEPALIVE", + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ConnectionErrorDetails( + typing_extensions.TypedDict, total=False +): + certificateState: typing_extensions.Literal[ + "CERTIFICATE_STATE_UNSPECIFIED", + "CERTIFICATE_VALID", + "CERTIFICATE_INVALID", + "CERTIFICATE_EXPIRED", + "CERTIFICATE_HOSTNAME_NOT_FOUND", + "CERTIFICATE_UNAUTHENTICATED", + "CERTIFICATE_TRUST_STORE_NOT_FOUND", + "CERTIFICATE_HOSTNAME_INVALID_FORMAT", + "CERTIFICATE_QUOTA_EXCEEDED", + ] + errorMessage: str + @typing.type_check_only class GoogleCloudDialogflowV2Context(typing_extensions.TypedDict, total=False): lifespanCount: int @@ -2071,6 +2193,7 @@ class GoogleCloudDialogflowV2ConversationContextReference( class GoogleCloudDialogflowV2ConversationContextReferenceContextContent( typing_extensions.TypedDict, total=False ): + answerRecord: str content: str contentFormat: typing_extensions.Literal[ "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" @@ -2426,6 +2549,11 @@ class GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig( allowlistDocument: str maxResultCount: int +@typing.type_check_only +class GoogleCloudDialogflowV2EvaluationStatus(typing_extensions.TypedDict, total=False): + done: bool + pipelineStatus: GoogleRpcStatus + @typing.type_check_only class GoogleCloudDialogflowV2EventInput(typing_extensions.TypedDict, total=False): languageCode: str @@ -2609,12 +2737,14 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswe @typing.type_check_only class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False): + agentCoachingContext: GoogleCloudDialogflowV2AgentCoachingContext createTime: str description: str freeFormContext: GoogleCloudDialogflowV2FreeFormContext inferenceParameter: GoogleCloudDialogflowV2InferenceParameter name: str publishedModel: str + suggestionDedupingConfig: GoogleCloudDialogflowV2SuggestionDedupingConfig summarizationContext: GoogleCloudDialogflowV2SummarizationContext tools: _list[str] triggerEvent: typing_extensions.Literal[ @@ -2626,10 +2756,85 @@ class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False) ] updateTime: str +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluation( + typing_extensions.TypedDict, total=False +): + completeTime: str + createTime: str + displayName: str + evaluationStatus: GoogleCloudDialogflowV2EvaluationStatus + generatorEvaluationConfig: GoogleCloudDialogflowV2GeneratorEvaluationConfig + initialGenerator: GoogleCloudDialogflowV2Generator + name: str + satisfiesPzi: bool + satisfiesPzs: bool + summarizationMetrics: GoogleCloudDialogflowV2SummarizationEvaluationMetrics + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationConfig( + typing_extensions.TypedDict, total=False +): + inputDataConfig: GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig + outputGcsBucketPath: str + summarizationConfig: ( + GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig( + typing_extensions.TypedDict, total=False +): + dataset: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig( + typing_extensions.TypedDict, total=False +): + agentAssistInputDataConfig: ( + GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig + ) + datasetInputDataConfig: ( + GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig + ) + endTime: str + inputDataSourceType: typing_extensions.Literal[ + "INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", + "AGENT_ASSIST_CONVERSATIONS", + "INSIGHTS_CONVERSATIONS", + ] + isSummaryGenerationAllowed: bool + sampleSize: int + startTime: str + summaryGenerationOption: typing_extensions.Literal[ + "SUMMARY_GENERATION_OPTION_UNSPECIFIED", + "ALWAYS_GENERATE", + "GENERATE_IF_MISSING", + "DO_NOT_GENERATE", + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig( + typing_extensions.TypedDict, total=False +): + accuracyEvaluationVersion: str + completenessEvaluationVersion: str + enableAccuracyEvaluation: bool + enableCompletenessEvaluation: bool + evaluatorVersion: str + @typing.type_check_only class GoogleCloudDialogflowV2GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] @@ -2681,11 +2886,14 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( typing_extensions.TypedDict, total=False ): disableHighLatencyFeaturesSyncDelivery: bool + enableAsyncToolCall: bool featureConfigs: _list[ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig ] generators: _list[str] groupSuggestionResponses: bool + skipEmptyEventBasedSuggestion: bool + useUnredactedConversationData: bool @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig( @@ -2702,7 +2910,9 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig( enableEventBasedSuggestion: bool enableQuerySuggestionOnly: bool enableQuerySuggestionWhenNoAnswer: bool + enableResponseDebugInfo: bool queryConfig: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig + raiSettings: GoogleCloudDialogflowV2RaiSettings suggestionFeature: GoogleCloudDialogflowV2SuggestionFeature suggestionTriggerSettings: ( GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings @@ -3407,6 +3617,13 @@ class GoogleCloudDialogflowV2ListEnvironmentsResponse( environments: _list[GoogleCloudDialogflowV2Environment] nextPageToken: str +@typing.type_check_only +class GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse( + typing_extensions.TypedDict, total=False +): + generatorEvaluations: _list[GoogleCloudDialogflowV2GeneratorEvaluation] + nextPageToken: str + @typing.type_check_only class GoogleCloudDialogflowV2ListGeneratorsResponse( typing_extensions.TypedDict, total=False @@ -3449,6 +3666,20 @@ class GoogleCloudDialogflowV2ListSessionEntityTypesResponse( nextPageToken: str sessionEntityTypes: _list[GoogleCloudDialogflowV2SessionEntityType] +@typing.type_check_only +class GoogleCloudDialogflowV2ListSipTrunksResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sipTrunks: _list[GoogleCloudDialogflowV2SipTrunk] + +@typing.type_check_only +class GoogleCloudDialogflowV2ListToolsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + tools: _list[GoogleCloudDialogflowV2Tool] + @typing.type_check_only class GoogleCloudDialogflowV2ListVersionsResponse( typing_extensions.TypedDict, total=False @@ -3577,6 +3808,29 @@ class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=Fals webhookPayload: dict[str, typing.Any] webhookSource: str +@typing.type_check_only +class GoogleCloudDialogflowV2RaiSettings(typing_extensions.TypedDict, total=False): + raiCategoryConfigs: _list[GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig] + +@typing.type_check_only +class GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig( + typing_extensions.TypedDict, total=False +): + category: typing_extensions.Literal[ + "RAI_CATEGORY_UNSPECIFIED", + "DANGEROUS_CONTENT", + "SEXUALLY_EXPLICIT", + "HARASSMENT", + "HATE_SPEECH", + ] + sensitivityLevel: typing_extensions.Literal[ + "SENSITIVITY_LEVEL_UNSPECIFIED", + "BLOCK_MOST", + "BLOCK_SOME", + "BLOCK_FEW", + "BLOCK_NONE", + ] + @typing.type_check_only class GoogleCloudDialogflowV2ReloadDocumentRequest( typing_extensions.TypedDict, total=False @@ -3767,6 +4021,13 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest( GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig ) +@typing.type_check_only +class GoogleCloudDialogflowV2SipTrunk(typing_extensions.TypedDict, total=False): + connections: _list[GoogleCloudDialogflowV2Connection] + displayName: str + expectedHostname: _list[str] + name: str + @typing.type_check_only class GoogleCloudDialogflowV2SmartReplyAnswer(typing_extensions.TypedDict, total=False): answerRecord: str @@ -3941,6 +4202,13 @@ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2SmartReplyAnswer] +@typing.type_check_only +class GoogleCloudDialogflowV2SuggestionDedupingConfig( + typing_extensions.TypedDict, total=False +): + enableDeduping: bool + similarityThreshold: float + @typing.type_check_only class GoogleCloudDialogflowV2SuggestionFeature( typing_extensions.TypedDict, total=False @@ -3957,7 +4225,12 @@ class GoogleCloudDialogflowV2SuggestionFeature( @typing.type_check_only class GoogleCloudDialogflowV2SuggestionInput(typing_extensions.TypedDict, total=False): + action: typing_extensions.Literal[ + "ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM" + ] answerRecord: str + parameters: dict[str, typing.Any] + sendTime: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): @@ -3979,6 +4252,143 @@ class GoogleCloudDialogflowV2SummarizationContext( summarizationSections: _list[GoogleCloudDialogflowV2SummarizationSection] version: str +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetrics( + typing_extensions.TypedDict, total=False +): + conversationDetails: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail + ] + overallMetrics: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric + ] + overallSectionTokens: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken + ] + summarizationEvaluationMergedResultsUri: str + summarizationEvaluationResults: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition( + typing_extensions.TypedDict, total=False +): + accuracyReasoning: str + isAccurate: bool + point: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition( + typing_extensions.TypedDict, total=False +): + adherenceReasoning: str + isAdherent: bool + point: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric( + typing_extensions.TypedDict, total=False +): + isAddressed: bool + question: str + reasoning: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric( + typing_extensions.TypedDict, total=False +): + isAddressed: bool + question: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail( + typing_extensions.TypedDict, total=False +): + messageEntries: _list[GoogleCloudDialogflowV2MessageEntry] + metricDetails: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail + ] + sectionTokens: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken + ] + summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail( + typing_extensions.TypedDict, total=False +): + metric: str + score: float + sectionDetails: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail( + typing_extensions.TypedDict, total=False +): + evaluationResults: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult + ] + score: float + section: str + sectionSummary: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition( + typing_extensions.TypedDict, total=False +): + accuracyDecomposition: ( + GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition + ) + adherenceDecomposition: ( + GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult( + typing_extensions.TypedDict, total=False +): + accuracyDecomposition: ( + GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition + ) + adherenceRubric: ( + GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric + ) + completenessRubric: ( + GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric( + typing_extensions.TypedDict, total=False +): + metric: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken( + typing_extensions.TypedDict, total=False +): + section: str + tokenCount: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult( + typing_extensions.TypedDict, total=False +): + decompositions: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition + ] + evaluationResults: _list[ + GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult + ] + metric: str + score: float + section: str + sectionSummary: str + sessionId: str + @typing.type_check_only class GoogleCloudDialogflowV2SummarizationSection( typing_extensions.TypedDict, total=False @@ -4050,16 +4460,89 @@ class GoogleCloudDialogflowV2TextToSpeechSettings( sampleRateHertz: int synthesizeSpeechConfigs: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2Tool(typing_extensions.TypedDict, total=False): + actionConfirmationRequirement: dict[str, typing.Any] + connectorSpec: GoogleCloudDialogflowV2ToolConnectorTool + createTime: str + description: str + displayName: str + extensionSpec: GoogleCloudDialogflowV2ToolExtensionTool + functionSpec: GoogleCloudDialogflowV2ToolFunctionTool + name: str + openApiSpec: GoogleCloudDialogflowV2ToolOpenApiTool + satisfiesPzi: bool + satisfiesPzs: bool + toolKey: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolAuthentication( + typing_extensions.TypedDict, total=False +): + apiKeyConfig: GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig + bearerTokenConfig: GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig + oauthConfig: GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig + serviceAgentAuthConfig: ( + GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig( + typing_extensions.TypedDict, total=False +): + apiKey: str + keyName: str + requestLocation: typing_extensions.Literal[ + "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" + ] + secretVersionForApiKey: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig( + typing_extensions.TypedDict, total=False +): + secretVersionForToken: str + token: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig( + typing_extensions.TypedDict, total=False +): + clientId: str + clientSecret: str + oauthGrantType: typing_extensions.Literal[ + "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" + ] + scopes: _list[str] + secretVersionForClientSecret: str + tokenEndpoint: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAgentAuth: typing_extensions.Literal[ + "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" + ] + @typing.type_check_only class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2ToolCallResultError @@ -4072,6 +4555,69 @@ class GoogleCloudDialogflowV2ToolCallResultError( ): message: str +@typing.type_check_only +class GoogleCloudDialogflowV2ToolConnectorTool( + typing_extensions.TypedDict, total=False +): + actions: _list[GoogleCloudDialogflowV2ToolConnectorToolAction] + name: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolConnectorToolAction( + typing_extensions.TypedDict, total=False +): + connectionActionId: str + entityOperation: GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation + inputFields: _list[str] + outputFields: _list[str] + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation( + typing_extensions.TypedDict, total=False +): + entityId: str + operation: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolExtensionTool( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolFunctionTool(typing_extensions.TypedDict, total=False): + inputSchema: dict[str, typing.Any] + methodType: typing_extensions.Literal[ + "METHOD_TYPE_UNSPECIFIED", "GET", "POST", "PUT", "DELETE", "PATCH" + ] + outputSchema: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolOpenApiTool(typing_extensions.TypedDict, total=False): + authentication: GoogleCloudDialogflowV2ToolAuthentication + serviceDirectoryConfig: GoogleCloudDialogflowV2ToolServiceDirectoryConfig + textSchema: str + tlsConfig: GoogleCloudDialogflowV2ToolTLSConfig + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolServiceDirectoryConfig( + typing_extensions.TypedDict, total=False +): + service: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolTLSConfig(typing_extensions.TypedDict, total=False): + caCerts: _list[GoogleCloudDialogflowV2ToolTLSConfigCACert] + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolTLSConfigCACert( + typing_extensions.TypedDict, total=False +): + cert: str + displayName: str + @typing.type_check_only class GoogleCloudDialogflowV2TrainAgentRequest( typing_extensions.TypedDict, total=False @@ -4141,6 +4687,90 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= sessionEntityTypes: _list[GoogleCloudDialogflowV2SessionEntityType] source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] + sampleResponses: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -4311,6 +4941,7 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestion class GoogleCloudDialogflowV2beta1GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] @@ -5156,15 +5787,22 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCallResult( typing_extensions.TypedDict, total=False ): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2beta1ToolCallResultError @@ -5246,6 +5884,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/dialogflow/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi index 6aad67c0..982099f5 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi @@ -1913,6 +1913,38 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class GeneratorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EvaluationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowV2beta1GeneratorEvaluation = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2beta1GeneratorEvaluationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse, + ) -> ( + GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponseHttpRequest + | None + ): ... + def create( self, *, @@ -1950,6 +1982,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDialogflowV2beta1GeneratorHttpRequest: ... + def evaluations(self) -> EvaluationsResource: ... @typing.type_check_only class KnowledgeBasesResource(googleapiclient.discovery.Resource): @@ -2068,6 +2101,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2182,6 +2216,46 @@ class DialogflowResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDialogflowV2beta1SearchKnowledgeResponseHttpRequest: ... + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowV2beta1Tool = ..., + toolId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1ToolHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2beta1ToolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2beta1ListToolsResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2beta1ListToolsResponse, + ) -> ( + GoogleCloudDialogflowV2beta1ListToolsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowV2beta1Tool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1ToolHttpRequest: ... + def deleteAgent( self, *, parent: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -2229,6 +2303,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): def sipTrunks(self) -> SipTrunksResource: ... def statelessSuggestion(self) -> StatelessSuggestionResource: ... def suggestions(self) -> SuggestionsResource: ... + def tools(self) -> ToolsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -2245,6 +2320,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2532,6 +2608,16 @@ class GoogleCloudDialogflowV2beta1GeneratorHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1Generator: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1GeneratorEvaluation: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestContextReferencesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2630,6 +2716,16 @@ class GoogleCloudDialogflowV2beta1ListEnvironmentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1ListEnvironmentsResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListGeneratorsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2720,6 +2816,16 @@ class GoogleCloudDialogflowV2beta1ListSuggestionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1ListSuggestionsResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListToolsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1ListToolsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListVersionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2838,6 +2944,14 @@ class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1Tool: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1ValidationResultHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index b994a006..ca2bf801 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -1740,6 +1740,88 @@ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] + sampleResponses: _list[GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -1991,6 +2073,7 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswe class GoogleCloudDialogflowV2GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] @@ -2611,13 +2694,20 @@ class GoogleCloudDialogflowV2SummarySuggestionSummarySection( @typing.type_check_only class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2ToolCallResultError @@ -2732,6 +2822,100 @@ class GoogleCloudDialogflowV2beta1AgentAssistantRecord( articleSuggestionAnswer: GoogleCloudDialogflowV2beta1ArticleAnswer dialogflowAssistAnswer: GoogleCloudDialogflowV2beta1DialogflowAssistAnswer faqAnswer: GoogleCloudDialogflowV2beta1FaqAnswer + generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingContext( + typing_extensions.TypedDict, total=False +): + instructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] + outputLanguageCode: str + overarchingGuidance: str + version: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] + sampleResponses: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] @typing.type_check_only class GoogleCloudDialogflowV2beta1AnalyzeContentRequest( @@ -3061,6 +3245,7 @@ class GoogleCloudDialogflowV2beta1ConversationContextReference( class GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent( typing_extensions.TypedDict, total=False ): + answerRecord: str content: str contentFormat: typing_extensions.Literal[ "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" @@ -3289,6 +3474,13 @@ class GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry( createTime: str description: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1EvaluationStatus( + typing_extensions.TypedDict, total=False +): + done: bool + pipelineStatus: GoogleRpcStatus + @typing.type_check_only class GoogleCloudDialogflowV2beta1EventInput(typing_extensions.TypedDict, total=False): languageCode: str @@ -3474,12 +3666,14 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestion @typing.type_check_only class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=False): + agentCoachingContext: GoogleCloudDialogflowV2beta1AgentCoachingContext createTime: str description: str freeFormContext: GoogleCloudDialogflowV2beta1FreeFormContext inferenceParameter: GoogleCloudDialogflowV2beta1InferenceParameter name: str publishedModel: str + suggestionDedupingConfig: GoogleCloudDialogflowV2beta1SuggestionDedupingConfig summarizationContext: GoogleCloudDialogflowV2beta1SummarizationContext tools: _list[str] triggerEvent: typing_extensions.Literal[ @@ -3491,10 +3685,87 @@ class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=F ] updateTime: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluation( + typing_extensions.TypedDict, total=False +): + completeTime: str + createTime: str + displayName: str + evaluationStatus: GoogleCloudDialogflowV2beta1EvaluationStatus + generatorEvaluationConfig: GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig + initialGenerator: GoogleCloudDialogflowV2beta1Generator + name: str + satisfiesPzi: bool + satisfiesPzs: bool + summarizationMetrics: GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig( + typing_extensions.TypedDict, total=False +): + inputDataConfig: ( + GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig + ) + outputGcsBucketPath: str + summarizationConfig: ( + GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig( + typing_extensions.TypedDict, total=False +): + dataset: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig( + typing_extensions.TypedDict, total=False +): + agentAssistInputDataConfig: ( + GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig + ) + datasetInputDataConfig: ( + GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig + ) + endTime: str + inputDataSourceType: typing_extensions.Literal[ + "INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", + "AGENT_ASSIST_CONVERSATIONS", + "INSIGHTS_CONVERSATIONS", + ] + isSummaryGenerationAllowed: bool + sampleSize: int + startTime: str + summaryGenerationOption: typing_extensions.Literal[ + "SUMMARY_GENERATION_OPTION_UNSPECIFIED", + "ALWAYS_GENERATE", + "GENERATE_IF_MISSING", + "DO_NOT_GENERATE", + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig( + typing_extensions.TypedDict, total=False +): + accuracyEvaluationVersion: str + completenessEvaluationVersion: str + enableAccuracyEvaluation: bool + enableCompletenessEvaluation: bool + evaluatorVersion: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] @@ -3546,11 +3817,14 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig( typing_extensions.TypedDict, total=False ): disableHighLatencyFeaturesSyncDelivery: bool + enableAsyncToolCall: bool featureConfigs: _list[ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig ] generators: _list[str] groupSuggestionResponses: bool + skipEmptyEventBasedSuggestion: bool + useUnredactedConversationData: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig( @@ -3567,9 +3841,11 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConf enableEventBasedSuggestion: bool enableQuerySuggestionOnly: bool enableQuerySuggestionWhenNoAnswer: bool + enableResponseDebugInfo: bool queryConfig: ( GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig ) + raiSettings: GoogleCloudDialogflowV2beta1RaiSettings suggestionFeature: GoogleCloudDialogflowV2beta1SuggestionFeature suggestionTriggerSettings: ( GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings @@ -4376,6 +4652,13 @@ class GoogleCloudDialogflowV2beta1ListEnvironmentsResponse( environments: _list[GoogleCloudDialogflowV2beta1Environment] nextPageToken: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse( + typing_extensions.TypedDict, total=False +): + generatorEvaluations: _list[GoogleCloudDialogflowV2beta1GeneratorEvaluation] + nextPageToken: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListGeneratorsResponse( typing_extensions.TypedDict, total=False @@ -4439,6 +4722,13 @@ class GoogleCloudDialogflowV2beta1ListSuggestionsResponse( nextPageToken: str suggestions: _list[GoogleCloudDialogflowV2beta1Suggestion] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListToolsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + tools: _list[GoogleCloudDialogflowV2beta1Tool] + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListVersionsResponse( typing_extensions.TypedDict, total=False @@ -4586,6 +4876,29 @@ class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total webhookPayload: dict[str, typing.Any] webhookSource: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1RaiSettings(typing_extensions.TypedDict, total=False): + raiCategoryConfigs: _list[GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig( + typing_extensions.TypedDict, total=False +): + category: typing_extensions.Literal[ + "RAI_CATEGORY_UNSPECIFIED", + "DANGEROUS_CONTENT", + "SEXUALLY_EXPLICIT", + "HARASSMENT", + "HATE_SPEECH", + ] + sensitivityLevel: typing_extensions.Literal[ + "SENSITIVITY_LEVEL_UNSPECIFIED", + "BLOCK_MOST", + "BLOCK_SOME", + "BLOCK_FEW", + "BLOCK_NONE", + ] + @typing.type_check_only class GoogleCloudDialogflowV2beta1ReloadDocumentRequest( typing_extensions.TypedDict, total=False @@ -5026,6 +5339,13 @@ class GoogleCloudDialogflowV2beta1SuggestionArticle( title: str uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SuggestionDedupingConfig( + typing_extensions.TypedDict, total=False +): + enableDeduping: bool + similarityThreshold: float + @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer( typing_extensions.TypedDict, total=False @@ -5056,9 +5376,13 @@ class GoogleCloudDialogflowV2beta1SuggestionFeature( class GoogleCloudDialogflowV2beta1SuggestionInput( typing_extensions.TypedDict, total=False ): + action: typing_extensions.Literal[ + "ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM" + ] answerRecord: str intentInput: GoogleCloudDialogflowV2beta1IntentInput parameters: dict[str, typing.Any] + sendTime: str textOverride: GoogleCloudDialogflowV2beta1TextInput @typing.type_check_only @@ -5089,6 +5413,143 @@ class GoogleCloudDialogflowV2beta1SummarizationContext( summarizationSections: _list[GoogleCloudDialogflowV2beta1SummarizationSection] version: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics( + typing_extensions.TypedDict, total=False +): + conversationDetails: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail + ] + overallMetrics: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric + ] + overallSectionTokens: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken + ] + summarizationEvaluationMergedResultsUri: str + summarizationEvaluationResults: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition( + typing_extensions.TypedDict, total=False +): + accuracyReasoning: str + isAccurate: bool + point: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition( + typing_extensions.TypedDict, total=False +): + adherenceReasoning: str + isAdherent: bool + point: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric( + typing_extensions.TypedDict, total=False +): + isAddressed: bool + question: str + reasoning: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric( + typing_extensions.TypedDict, total=False +): + isAddressed: bool + question: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail( + typing_extensions.TypedDict, total=False +): + messageEntries: _list[GoogleCloudDialogflowV2beta1MessageEntry] + metricDetails: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail + ] + sectionTokens: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken + ] + summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail( + typing_extensions.TypedDict, total=False +): + metric: str + score: float + sectionDetails: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail( + typing_extensions.TypedDict, total=False +): + evaluationResults: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult + ] + score: float + section: str + sectionSummary: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition( + typing_extensions.TypedDict, total=False +): + accuracyDecomposition: ( + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition + ) + adherenceDecomposition: ( + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult( + typing_extensions.TypedDict, total=False +): + accuracyDecomposition: ( + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition + ) + adherenceRubric: ( + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric + ) + completenessRubric: ( + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric( + typing_extensions.TypedDict, total=False +): + metric: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken( + typing_extensions.TypedDict, total=False +): + section: str + tokenCount: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult( + typing_extensions.TypedDict, total=False +): + decompositions: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition + ] + evaluationResults: _list[ + GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult + ] + metric: str + score: float + section: str + sectionSummary: str + sessionId: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationSection( typing_extensions.TypedDict, total=False @@ -5186,18 +5647,91 @@ class GoogleCloudDialogflowV2beta1TextToSpeechSettings( sampleRateHertz: int synthesizeSpeechConfigs: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1Tool(typing_extensions.TypedDict, total=False): + actionConfirmationRequirement: dict[str, typing.Any] + connectorSpec: GoogleCloudDialogflowV2beta1ToolConnectorTool + createTime: str + description: str + displayName: str + extensionSpec: GoogleCloudDialogflowV2beta1ToolExtensionTool + functionSpec: GoogleCloudDialogflowV2beta1ToolFunctionTool + name: str + openApiSpec: GoogleCloudDialogflowV2beta1ToolOpenApiTool + satisfiesPzi: bool + satisfiesPzs: bool + toolKey: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolAuthentication( + typing_extensions.TypedDict, total=False +): + apiKeyConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig + bearerTokenConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig + oauthConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig + serviceAgentAuthConfig: ( + GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig( + typing_extensions.TypedDict, total=False +): + apiKey: str + keyName: str + requestLocation: typing_extensions.Literal[ + "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" + ] + secretVersionForApiKey: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig( + typing_extensions.TypedDict, total=False +): + secretVersionForToken: str + token: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig( + typing_extensions.TypedDict, total=False +): + clientId: str + clientSecret: str + oauthGrantType: typing_extensions.Literal[ + "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" + ] + scopes: _list[str] + secretVersionForClientSecret: str + tokenEndpoint: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAgentAuth: typing_extensions.Literal[ + "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" + ] + @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCallResult( typing_extensions.TypedDict, total=False ): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2beta1ToolCallResultError @@ -5210,6 +5744,75 @@ class GoogleCloudDialogflowV2beta1ToolCallResultError( ): message: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolConnectorTool( + typing_extensions.TypedDict, total=False +): + actions: _list[GoogleCloudDialogflowV2beta1ToolConnectorToolAction] + name: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolConnectorToolAction( + typing_extensions.TypedDict, total=False +): + connectionActionId: str + entityOperation: GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation + inputFields: _list[str] + outputFields: _list[str] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation( + typing_extensions.TypedDict, total=False +): + entityId: str + operation: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolExtensionTool( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolFunctionTool( + typing_extensions.TypedDict, total=False +): + inputSchema: dict[str, typing.Any] + methodType: typing_extensions.Literal[ + "METHOD_TYPE_UNSPECIFIED", "GET", "POST", "PUT", "DELETE", "PATCH" + ] + outputSchema: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolOpenApiTool( + typing_extensions.TypedDict, total=False +): + authentication: GoogleCloudDialogflowV2beta1ToolAuthentication + serviceDirectoryConfig: GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig + textSchema: str + tlsConfig: GoogleCloudDialogflowV2beta1ToolTLSConfig + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig( + typing_extensions.TypedDict, total=False +): + service: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolTLSConfig( + typing_extensions.TypedDict, total=False +): + caCerts: _list[GoogleCloudDialogflowV2beta1ToolTLSConfigCACert] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolTLSConfigCACert( + typing_extensions.TypedDict, total=False +): + cert: str + displayName: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1TrainAgentRequest( typing_extensions.TypedDict, total=False @@ -5327,6 +5930,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/dialogflow/v3/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi index 73e0ae6d..63027c50 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi @@ -1319,6 +1319,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1406,6 +1407,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index dcde29d8..1da5d3b2 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -8,7 +8,9 @@ _list = list class GoogleCloudDialogflowCxV3Action(typing_extensions.TypedDict, total=False): agentUtterance: GoogleCloudDialogflowCxV3AgentUtterance flowInvocation: GoogleCloudDialogflowCxV3FlowInvocation + flowTransition: GoogleCloudDialogflowCxV3FlowTransition playbookInvocation: GoogleCloudDialogflowCxV3PlaybookInvocation + playbookTransition: GoogleCloudDialogflowCxV3PlaybookTransition toolUse: GoogleCloudDialogflowCxV3ToolUse userUtterance: GoogleCloudDialogflowCxV3UserUtterance @@ -765,11 +767,13 @@ class GoogleCloudDialogflowCxV3Flow(typing_extensions.TypedDict, total=False): description: str displayName: str eventHandlers: _list[GoogleCloudDialogflowCxV3EventHandler] + inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] knowledgeConnectorSettings: GoogleCloudDialogflowCxV3KnowledgeConnectorSettings locked: bool multiLanguageSettings: GoogleCloudDialogflowCxV3FlowMultiLanguageSettings name: str nluSettings: GoogleCloudDialogflowCxV3NluSettings + outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] transitionRouteGroups: _list[str] transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @@ -806,6 +810,11 @@ class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings( enableMultiLanguageDetection: bool supportedResponseLanguageCodes: _list[str] +@typing.type_check_only +class GoogleCloudDialogflowCxV3FlowTransition(typing_extensions.TypedDict, total=False): + displayName: str + flow: str + @typing.type_check_only class GoogleCloudDialogflowCxV3FlowValidationResult( typing_extensions.TypedDict, total=False @@ -1117,6 +1126,13 @@ class GoogleCloudDialogflowCxV3InlineDestination( ): content: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3InlineSchema(typing_extensions.TypedDict, total=False): + items: GoogleCloudDialogflowCxV3TypeSchema + type: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", "STRING", "NUMBER", "BOOLEAN", "ARRAY" + ] + @typing.type_check_only class GoogleCloudDialogflowCxV3InlineSource(typing_extensions.TypedDict, total=False): content: str @@ -1501,6 +1517,23 @@ class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( ] value: typing.Any +@typing.type_check_only +class GoogleCloudDialogflowCxV3ParameterDefinition( + typing_extensions.TypedDict, total=False +): + description: str + name: str + type: typing_extensions.Literal[ + "PARAMETER_TYPE_UNSPECIFIED", + "STRING", + "NUMBER", + "BOOLEAN", + "NULL", + "OBJECT", + "LIST", + ] + typeSchema: GoogleCloudDialogflowCxV3TypeSchema + @typing.type_check_only class GoogleCloudDialogflowCxV3Phrase(typing_extensions.TypedDict, total=False): text: str @@ -1511,9 +1544,14 @@ class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False displayName: str goal: str handlers: _list[GoogleCloudDialogflowCxV3Handler] + inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] instruction: GoogleCloudDialogflowCxV3PlaybookInstruction llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings name: str + outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] + playbookType: typing_extensions.Literal[ + "PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE" + ] referencedFlows: _list[str] referencedPlaybooks: _list[str] referencedTools: _list[str] @@ -1586,6 +1624,13 @@ class GoogleCloudDialogflowCxV3PlaybookStep(typing_extensions.TypedDict, total=F steps: _list[GoogleCloudDialogflowCxV3PlaybookStep] text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookTransition( + typing_extensions.TypedDict, total=False +): + displayName: str + playbook: str + @typing.type_check_only class GoogleCloudDialogflowCxV3PlaybookVersion( typing_extensions.TypedDict, total=False @@ -2254,6 +2299,18 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] +@typing.type_check_only +class GoogleCloudDialogflowCxV3TypeSchema(typing_extensions.TypedDict, total=False): + inlineSchema: GoogleCloudDialogflowCxV3InlineSchema + schemaReference: GoogleCloudDialogflowCxV3TypeSchemaSchemaReference + +@typing.type_check_only +class GoogleCloudDialogflowCxV3TypeSchemaSchemaReference( + typing_extensions.TypedDict, total=False +): + schema: str + tool: str + @typing.type_check_only class GoogleCloudDialogflowCxV3UserUtterance(typing_extensions.TypedDict, total=False): text: str @@ -3361,6 +3418,88 @@ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] + sampleResponses: _list[GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -3612,6 +3751,7 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswe class GoogleCloudDialogflowV2GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] @@ -4232,13 +4372,20 @@ class GoogleCloudDialogflowV2SummarySuggestionSummarySection( @typing.type_check_only class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2ToolCallResultError @@ -4276,6 +4423,90 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= sessionEntityTypes: _list[GoogleCloudDialogflowV2SessionEntityType] source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] + sampleResponses: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -4446,6 +4677,7 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestion class GoogleCloudDialogflowV2beta1GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] @@ -5291,15 +5523,22 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCallResult( typing_extensions.TypedDict, total=False ): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2beta1ToolCallResultError @@ -5381,6 +5620,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/dialogflow/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi index 1b9cba7e..5d0edf3d 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi @@ -1372,6 +1372,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1457,6 +1458,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index 68849ac4..0496601a 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -1834,11 +1834,13 @@ class GoogleCloudDialogflowCxV3beta1Flow(typing_extensions.TypedDict, total=Fals description: str displayName: str eventHandlers: _list[GoogleCloudDialogflowCxV3beta1EventHandler] + inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] knowledgeConnectorSettings: GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings locked: bool multiLanguageSettings: GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings name: str nluSettings: GoogleCloudDialogflowCxV3beta1NluSettings + outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] transitionRouteGroups: _list[str] transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @@ -2530,8 +2532,27 @@ class GoogleCloudDialogflowCxV3beta1LlmModelSettings( typing_extensions.TypedDict, total=False ): model: str + parameters: GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters promptText: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters( + typing_extensions.TypedDict, total=False +): + inputTokenLimit: typing_extensions.Literal[ + "INPUT_TOKEN_LIMIT_UNSPECIFIED", + "INPUT_TOKEN_LIMIT_SHORT", + "INPUT_TOKEN_LIMIT_MEDIUM", + "INPUT_TOKEN_LIMIT_LONG", + ] + outputTokenLimit: typing_extensions.Literal[ + "OUTPUT_TOKEN_LIMIT_UNSPECIFIED", + "OUTPUT_TOKEN_LIMIT_SHORT", + "OUTPUT_TOKEN_LIMIT_MEDIUM", + "OUTPUT_TOKEN_LIMIT_LONG", + ] + temperature: float + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1LoadVersionRequest( typing_extensions.TypedDict, total=False @@ -3819,6 +3840,88 @@ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] + sampleResponses: _list[GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -4070,6 +4173,7 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswe class GoogleCloudDialogflowV2GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] @@ -4690,13 +4794,20 @@ class GoogleCloudDialogflowV2SummarySuggestionSummarySection( @typing.type_check_only class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2ToolCallResultError @@ -4734,6 +4845,90 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= sessionEntityTypes: _list[GoogleCloudDialogflowV2SessionEntityType] source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( + typing_extensions.TypedDict, total=False +): + agentAction: str + condition: str + displayDetails: str + displayName: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult + ) + systemAction: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( + typing_extensions.TypedDict, total=False +): + agentActionSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion + ] + applicableInstructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] + sampleResponses: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( + typing_extensions.TypedDict, total=False +): + agentAction: str + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( + typing_extensions.TypedDict, total=False +): + duplicateSuggestions: _list[ + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( + typing_extensions.TypedDict, total=False +): + answerRecord: str + similarityScore: float + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + suggestionIndex: int + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( + typing_extensions.TypedDict, total=False +): + duplicateCheckResult: ( + GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult + ) + responseText: str + sources: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( + typing_extensions.TypedDict, total=False +): + instructionIndexes: _list[int] + @typing.type_check_only class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( typing_extensions.TypedDict, total=False @@ -4904,6 +5099,7 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestion class GoogleCloudDialogflowV2beta1GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] @@ -5749,15 +5945,22 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): action: str + answerRecord: str createTime: str inputParameters: dict[str, typing.Any] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" + ] tool: str + toolDisplayDetails: str + toolDisplayName: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolCallResult( typing_extensions.TypedDict, total=False ): action: str + answerRecord: str content: str createTime: str error: GoogleCloudDialogflowV2beta1ToolCallResultError @@ -5839,6 +6042,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index 951f9498..f9860335 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -13,6 +13,25 @@ _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 @@ -53,6 +72,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -144,6 +164,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -166,6 +187,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class CompletionConfigResource(googleapiclient.discovery.Resource): + def completeQuery( + self, + *, + completionConfig: str, + body: GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseHttpRequest: ... + @typing.type_check_only class CompletionSuggestionsResource( googleapiclient.discovery.Resource @@ -298,6 +329,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -323,6 +355,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -347,6 +380,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -535,6 +569,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -582,6 +617,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ( GoogleLongrunningListOperationsResponseHttpRequest @@ -809,6 +845,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def branches(self) -> BranchesResource: ... + def completionConfig(self) -> CompletionConfigResource: ... def completionSuggestions( self, ) -> CompletionSuggestionsResource: ... @@ -828,6 +865,39 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class EnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssistantsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1AssistantHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1Assistant = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AssistantHttpRequest: ... + def streamAssist( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1StreamAssistRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1StreamAssistResponseHttpRequest + ): ... + + @typing.type_check_only + class CompletionConfigResource(googleapiclient.discovery.Resource): + def completeQuery( + self, + *, + completionConfig: str, + body: GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseHttpRequest: ... + @typing.type_check_only class ControlsResource(googleapiclient.discovery.Resource): def create( @@ -940,6 +1010,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1110,6 +1181,8 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1EngineHttpRequest: ... + def assistants(self) -> AssistantsResource: ... + def completionConfig(self) -> CompletionConfigResource: ... def controls(self) -> ControlsResource: ... def conversations(self) -> ConversationsResource: ... def operations(self) -> OperationsResource: ... @@ -1128,6 +1201,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1136,6 +1210,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def getDataConnector( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1DataConnectorHttpRequest: ... + def updateDataConnector( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1DataConnector = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1DataConnectorHttpRequest: ... def dataConnector(self) -> DataConnectorResource: ... def dataStores(self) -> DataStoresResource: ... def engines(self) -> EnginesResource: ... @@ -1222,6 +1310,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1243,6 +1332,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class CompletionConfigResource(googleapiclient.discovery.Resource): + def completeQuery( + self, + *, + completionConfig: str, + body: GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseHttpRequest: ... + @typing.type_check_only class CompletionSuggestionsResource(googleapiclient.discovery.Resource): def import_( @@ -1369,6 +1468,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1393,6 +1493,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1760,6 +1861,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1DataStoreHttpRequest: ... def branches(self) -> BranchesResource: ... + def completionConfig(self) -> CompletionConfigResource: ... def completionSuggestions(self) -> CompletionSuggestionsResource: ... def controls(self) -> ControlsResource: ... def conversations(self) -> ConversationsResource: ... @@ -1798,6 +1900,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1872,6 +1975,28 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class LicenseConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1LicenseConfig = ..., + licenseConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1LicenseConfigHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1LicenseConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1LicenseConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1LicenseConfigHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -1884,6 +2009,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1972,9 +2098,35 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def userLicenses(self) -> UserLicensesResource: ... + def getAclConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1AclConfigHttpRequest: ... def getCmekConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1CmekConfigHttpRequest: ... + def setUpDataConnector( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setUpDataConnectorV2( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1DataConnector = ..., + collectionDisplayName: str = ..., + collectionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def updateAclConfig( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1AclConfig = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AclConfigHttpRequest: ... def updateCmekConfig( self, *, @@ -1988,6 +2140,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def dataStores(self) -> DataStoresResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... + def licenseConfigs(self) -> LicenseConfigsResource: ... def operations(self) -> OperationsResource: ... def podcasts(self) -> PodcastsResource: ... def rankingConfigs(self) -> RankingConfigsResource: ... @@ -2013,6 +2166,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2043,8 +2197,17 @@ 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( @@ -2053,6 +2216,26 @@ class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleApiHttpBody: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AclConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1AclConfig: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2071,6 +2254,16 @@ class GoogleCloudDiscoveryengineV1AnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1AnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1Assistant: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2139,6 +2332,16 @@ class GoogleCloudDiscoveryengineV1ConverseConversationResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ConverseConversationResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1DataConnector: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreHttpRequest( googleapiclient.http.HttpRequest @@ -2195,6 +2398,16 @@ class GoogleCloudDiscoveryengineV1IdentityMappingStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1IdentityMappingStore: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1LicenseConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1LicenseConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCmekConfigsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2391,6 +2604,16 @@ class GoogleCloudDiscoveryengineV1SiteSearchEngineHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1SiteSearchEngine: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1StreamAssistResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1StreamAssistResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteHttpRequest( googleapiclient.http.HttpRequest @@ -2436,3 +2659,11 @@ 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/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 750390ad..838b22a2 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -4,6 +4,124 @@ 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] @@ -134,6 +252,138 @@ class GoogleCloudDiscoveryengineLoggingSourceLocation( ): functionName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): + idpConfig: GoogleCloudDiscoveryengineV1IdpConfig + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ActionConfig( + typing_extensions.TypedDict, total=False +): + actionParams: dict[str, typing.Any] + isActionConfigured: bool + jsonActionParams: str + serviceName: str + useStaticSecrets: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest( + typing_extensions.TypedDict, total=False +): + boostSpec: GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec + experimentIds: _list[str] + includeTailSuggestions: bool + query: str + queryModel: str + suggestionTypeSpecs: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec + ] + suggestionTypes: _list[ + typing_extensions.Literal[ + "SUGGESTION_TYPE_UNSPECIFIED", + "QUERY", + "PEOPLE", + "CONTENT", + "RECENT_SEARCH", + "GOOGLE_WORKSPACE", + ] + ] + userInfo: GoogleCloudDiscoveryengineV1UserInfo + userPseudoId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec( + typing_extensions.TypedDict, total=False +): + conditionBoostSpecs: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec( + typing_extensions.TypedDict, total=False +): + boost: float + condition: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec( + typing_extensions.TypedDict, total=False +): + maxSuggestions: int + suggestionType: typing_extensions.Literal[ + "SUGGESTION_TYPE_UNSPECIFIED", + "QUERY", + "PEOPLE", + "CONTENT", + "RECENT_SEARCH", + "GOOGLE_WORKSPACE", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse( + typing_extensions.TypedDict, total=False +): + contentSuggestions: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion + ] + peopleSuggestions: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion + ] + querySuggestions: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion + ] + recentSearchSuggestions: _list[ + GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion + ] + tailMatchTriggered: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion( + typing_extensions.TypedDict, total=False +): + contentType: typing_extensions.Literal[ + "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" + ] + dataStore: str + destinationUri: str + document: GoogleCloudDiscoveryengineV1Document + iconUri: str + score: float + suggestion: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion( + typing_extensions.TypedDict, total=False +): + dataStore: str + destinationUri: str + displayPhotoUri: str + document: GoogleCloudDiscoveryengineV1Document + personType: typing_extensions.Literal[ + "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" + ] + score: float + suggestion: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion( + typing_extensions.TypedDict, total=False +): + completableFieldPaths: _list[str] + dataStore: _list[str] + score: float + suggestion: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion( + typing_extensions.TypedDict, total=False +): + recentSearchTime: str + score: float + suggestion: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -141,6 +391,24 @@ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1AlloyDbSource( typing_extensions.TypedDict, total=False @@ -634,6 +902,247 @@ class GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswer( + typing_extensions.TypedDict, total=False +): + assistSkippedReasons: _list[ + typing_extensions.Literal[ + "ASSIST_SKIPPED_REASON_UNSPECIFIED", + "NON_ASSIST_SEEKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + ] + ] + customerPolicyEnforcementResult: ( + GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult + ) + name: str + replies: _list[GoogleCloudDiscoveryengineV1AssistAnswerReply] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "SKIPPED" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + policyResults: _list[ + GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + ] + verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + modelArmorViolation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistAnswerReply( + typing_extensions.TypedDict, total=False +): + groundedContent: GoogleCloudDiscoveryengineV1AssistantGroundedContent + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistUserMetadata( + typing_extensions.TypedDict, total=False +): + preferredLanguageCode: str + timeZone: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): + customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + enabledTools: dict[str, typing.Any] + generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig + name: str + 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 GoogleCloudDiscoveryengineV1AssistantContent( + typing_extensions.TypedDict, total=False +): + codeExecutionResult: GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult + executableCode: GoogleCloudDiscoveryengineV1AssistantContentExecutableCode + file: GoogleCloudDiscoveryengineV1AssistantContentFile + inlineData: GoogleCloudDiscoveryengineV1AssistantContentBlob + role: str + text: str + thought: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantContentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal[ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED", + ] + output: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantContentExecutableCode( + typing_extensions.TypedDict, total=False +): + code: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantContentFile( + typing_extensions.TypedDict, total=False +): + fileId: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[ + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase + ] + modelArmorConfig: ( + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( + typing_extensions.TypedDict, total=False +): + ignoreDiacritics: bool + matchType: typing_extensions.Literal[ + "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + ] + phrase: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( + typing_extensions.TypedDict, total=False +): + failureMode: typing_extensions.Literal[ + "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" + ] + responseTemplate: str + userPromptTemplate: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( + typing_extensions.TypedDict, total=False +): + defaultLanguage: str + systemInstruction: ( + GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( + typing_extensions.TypedDict, total=False +): + additionalSystemInstruction: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContent( + typing_extensions.TypedDict, total=False +): + citationMetadata: GoogleCloudDiscoveryengineV1CitationMetadata + content: GoogleCloudDiscoveryengineV1AssistantContent + textGroundingMetadata: ( + GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata( + typing_extensions.TypedDict, total=False +): + references: _list[ + GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference + ] + segments: _list[ + GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( + typing_extensions.TypedDict, total=False +): + document: str + domain: str + mimeType: str + pageIdentifier: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment( + typing_extensions.TypedDict, total=False +): + endIndex: str + groundingScore: float + referenceIndices: _list[int] + startIndex: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolInfo( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolList( + typing_extensions.TypedDict, total=False +): + toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): + enabledActions: _list[str] + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -853,6 +1362,7 @@ class GoogleCloudDiscoveryengineV1ChunkChunkMetadata( class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata( typing_extensions.TypedDict, total=False ): + mimeType: str structData: dict[str, typing.Any] title: str uri: str @@ -876,6 +1386,21 @@ class GoogleCloudDiscoveryengineV1ChunkStructuredContent( "CHECKBOX_STRUCTURE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Citation(typing_extensions.TypedDict, total=False): + endIndex: int + license: str + publicationDate: GoogleTypeDate + startIndex: int + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CitationMetadata( + typing_extensions.TypedDict, total=False +): + citations: _list[GoogleCloudDiscoveryengineV1Citation] + @typing.type_check_only class GoogleCloudDiscoveryengineV1CloudSqlSource( typing_extensions.TypedDict, total=False @@ -911,8 +1436,15 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1CompleteQueryResponse( typing_extensions.TypedDict, total=False @@ -1123,54 +1655,205 @@ class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CreateTargetSiteRequest( + typing_extensions.TypedDict, total=False +): + parent: str + targetSite: GoogleCloudDiscoveryengineV1TargetSite + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CustomAttribute( + typing_extensions.TypedDict, total=False +): + numbers: _list[float] + text: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CustomTuningModel( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + errorMessage: str + metrics: dict[str, typing.Any] + modelState: typing_extensions.Literal[ + "MODEL_STATE_UNSPECIFIED", + "TRAINING_PAUSED", + "TRAINING", + "TRAINING_COMPLETE", + "READY_FOR_SERVING", + "TRAINING_FAILED", + "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", + ] + modelVersion: str + name: str + trainingStartTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnector( + typing_extensions.TypedDict, total=False +): + aclEnabled: bool + actionConfig: GoogleCloudDiscoveryengineV1ActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1AlertPolicyConfig] + autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1BAPConfig + blockingReasons: _list[ + typing_extensions.Literal[ + "BLOCKING_REASON_UNSPECIFIED", + "ALLOWLIST_STATIC_IP", + "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", + ] + ] + connectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "FEDERATED", + "EUA", + "FEDERATED_AND_EUA", + ] + ] + connectorType: typing_extensions.Literal[ + "CONNECTOR_TYPE_UNSPECIFIED", + "THIRD_PARTY", + "GCP_FHIR", + "BIG_QUERY", + "GCS", + "GOOGLE_MAIL", + "GOOGLE_CALENDAR", + "GOOGLE_DRIVE", + "NATIVE_CLOUD_IDENTITY", + "THIRD_PARTY_FEDERATED", + "THIRD_PARTY_EUA", + "GCNV", + ] + createEuaSaas: bool + createTime: str + dataSource: str + destinationConfigs: _list[GoogleCloudDiscoveryengineV1DestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig + entities: _list[GoogleCloudDiscoveryengineV1DataConnectorSourceEntity] + errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig + hybridIngestionDisabled: bool + identityRefreshInterval: str + identityScheduleConfig: GoogleCloudDiscoveryengineV1IdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool + jsonParams: str + kmsKeyName: str + lastSyncTime: str + latestPauseTime: str + name: str + nextSyncTime: GoogleTypeDateTime + params: dict[str, typing.Any] + privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig + refreshInterval: str + removeParamKeys: _list[str] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + staticIpAddresses: _list[str] + staticIpEnabled: bool + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( typing_extensions.TypedDict, total=False ): - createTime: str - updateTime: str + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + tenant: GoogleCloudDiscoveryengineV1Tenant @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( +class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( typing_extensions.TypedDict, total=False ): - createTime: str - updateTime: str + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateTargetSiteRequest( +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( typing_extensions.TypedDict, total=False ): - parent: str - targetSite: GoogleCloudDiscoveryengineV1TargetSite + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CustomAttribute( +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( typing_extensions.TypedDict, total=False ): - numbers: _list[float] - text: _list[str] + error: GoogleRpcStatus + streamingErrorReason: typing_extensions.Literal[ + "STREAMING_ERROR_REASON_UNSPECIFIED", + "STREAMING_SETUP_ERROR", + "STREAMING_SYNC_ERROR", + "INGRESS_ENDPOINT_REQUIRED", + ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CustomTuningModel( +class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( typing_extensions.TypedDict, total=False ): - createTime: str - displayName: str - errorMessage: str - metrics: dict[str, typing.Any] - modelState: typing_extensions.Literal[ - "MODEL_STATE_UNSPECIFIED", - "TRAINING_PAUSED", - "TRAINING", - "TRAINING_COMPLETE", - "READY_FOR_SERVING", - "TRAINING_FAILED", - "NO_IMPROVEMENT", - "INPUT_VALIDATION_FAILED", - ] - modelVersion: str - name: str - trainingStartTime: str + dataStore: str + entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + jsonParams: str + keyPropertyMappings: dict[str, typing.Any] + params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1Schema @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): @@ -1178,6 +1861,11 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -1234,6 +1922,13 @@ class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -1276,6 +1971,22 @@ class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfig( + typing_extensions.TypedDict, total=False +): + destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] + jsonParams: str + key: str + params: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfigDestination( + typing_extensions.TypedDict, total=False +): + host: str + port: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( typing_extensions.TypedDict, total=False @@ -1389,6 +2100,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -1426,9 +2138,14 @@ class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -1624,6 +2341,24 @@ class GoogleCloudDiscoveryengineV1IdentityMappingStore( kmsKeyName: str name: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( + typing_extensions.TypedDict, total=False +): + nextSyncTime: GoogleTypeDateTime + refreshInterval: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): + externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -1796,6 +2531,41 @@ class GoogleCloudDiscoveryengineV1Interval(typing_extensions.TypedDict, total=Fa maximum: float minimum: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1LicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse( typing_extensions.TypedDict, total=False @@ -1915,10 +2685,32 @@ class GoogleCloudDiscoveryengineV1Principal(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -1942,6 +2734,14 @@ class GoogleCloudDiscoveryengineV1ProvisionProjectRequest( ): acceptDataUseTerms: bool dataUseTermsVersion: str + saasParams: GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams( + typing_extensions.TypedDict, total=False +): + acceptBizQos: bool + isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata( @@ -2172,6 +2972,9 @@ class GoogleCloudDiscoveryengineV1SearchRequest( filter: str imageQuery: GoogleCloudDiscoveryengineV1SearchRequestImageQuery languageCode: str + naturalLanguageQueryUnderstandingSpec: ( + GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec + ) offset: int oneBoxPageSize: int orderBy: str @@ -2180,6 +2983,14 @@ class GoogleCloudDiscoveryengineV1SearchRequest( params: dict[str, typing.Any] query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec + rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] relevanceScoreSpec: GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -2345,6 +3156,19 @@ class GoogleCloudDiscoveryengineV1SearchRequestImageQuery( ): imageBytes: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec( + typing_extensions.TypedDict, total=False +): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] + filterExtractionCondition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" + ] + geoSearchQueryDetectionFieldNames: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec( typing_extensions.TypedDict, total=False @@ -2426,6 +3250,30 @@ class GoogleCloudDiscoveryengineV1SearchResponseSearchResult( document: GoogleCloudDiscoveryengineV1Document id: str modelScores: dict[str, typing.Any] + rankSignals: GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals( + typing_extensions.TypedDict, total=False +): + boostingFactor: float + customSignals: _list[ + GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal + ] + defaultRank: float + documentAge: float + keywordSimilarityScore: float + pctrRank: float + relevanceScore: float + semanticSimilarityScore: float + topicalityRank: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal( + typing_extensions.TypedDict, total=False +): + name: str + value: float @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSessionInfo( @@ -2564,6 +3412,7 @@ class GoogleCloudDiscoveryengineV1Session(typing_extensions.TypedDict, total=Fal displayName: str endTime: str isPinned: bool + labels: _list[str] name: str startTime: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] @@ -2571,48 +3420,131 @@ class GoogleCloudDiscoveryengineV1Session(typing_extensions.TypedDict, total=Fal userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total=False): - answer: str - detailedAnswer: GoogleCloudDiscoveryengineV1Answer - query: GoogleCloudDiscoveryengineV1Query - queryConfig: dict[str, typing.Any] +class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total=False): + answer: str + detailedAnswer: GoogleCloudDiscoveryengineV1Answer + detailedAssistAnswer: GoogleCloudDiscoveryengineV1AssistAnswer + query: GoogleCloudDiscoveryengineV1Query + queryConfig: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest( + typing_extensions.TypedDict, total=False +): + collectionDisplayName: str + collectionId: str + dataConnector: GoogleCloudDiscoveryengineV1DataConnector + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SingleRegionKey( + typing_extensions.TypedDict, total=False +): + kmsKey: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SiteSearchEngine( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SiteVerificationInfo( + typing_extensions.TypedDict, total=False +): + siteVerificationState: typing_extensions.Literal[ + "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" + ] + verifyTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): + createTime: str + name: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SpannerSource( + typing_extensions.TypedDict, total=False +): + databaseId: str + enableDataBoost: bool + instanceId: str + projectId: str + tableId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1StreamAssistRequest( + typing_extensions.TypedDict, total=False +): + generationSpec: GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec + query: GoogleCloudDiscoveryengineV1Query + session: str + toolsSpec: GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec + userMetadata: GoogleCloudDiscoveryengineV1AssistUserMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec( + typing_extensions.TypedDict, total=False +): + imageGenerationSpec: ( + GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec + ) + vertexAiSearchSpec: ( + GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec + ) + videoGenerationSpec: ( + GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec + ) + webGroundingSpec: ( + GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec( + typing_extensions.TypedDict, total=False +): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1SingleRegionKey( +class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec( typing_extensions.TypedDict, total=False ): - kmsKey: str + dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec] + filter: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteSearchEngine( +class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec( typing_extensions.TypedDict, total=False -): - name: str +): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteVerificationInfo( +class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec( typing_extensions.TypedDict, total=False -): - siteVerificationState: typing_extensions.Literal[ - "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" - ] - verifyTime: str +): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): - createTime: str - name: str - uri: str +class GoogleCloudDiscoveryengineV1StreamAssistResponse( + typing_extensions.TypedDict, total=False +): + answer: GoogleCloudDiscoveryengineV1AssistAnswer + assistToken: str + sessionInfo: GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo @typing.type_check_only -class GoogleCloudDiscoveryengineV1SpannerSource( +class GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo( typing_extensions.TypedDict, total=False ): - databaseId: str - enableDataBoost: bool - instanceId: str - projectId: str - tableId: str + session: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SuggestionDenyListEntry( @@ -2656,6 +3588,12 @@ class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TextInput(typing_extensions.TypedDict, total=False): context: GoogleCloudDiscoveryengineV1ConversationContext @@ -2771,6 +3709,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -2809,7 +3748,9 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( ): actionParams: dict[str, typing.Any] isActionConfigured: bool + jsonActionParams: str serviceName: str + useStaticSecrets: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( @@ -2836,6 +3777,27 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + ] + alertPolicy: str + contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] + languageCode: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + notificationParams: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -3061,10 +4023,162 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswer( + typing_extensions.TypedDict, total=False +): + assistSkippedReasons: _list[ + typing_extensions.Literal[ + "ASSIST_SKIPPED_REASON_UNSPECIFIED", + "NON_ASSIST_SEEKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + ] + ] + customerPolicyEnforcementResult: ( + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + ) + name: str + replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "SKIPPED" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + policyResults: _list[ + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + ] + verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + modelArmorViolation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( + typing_extensions.TypedDict, total=False +): + groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + replyId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContent( + typing_extensions.TypedDict, total=False +): + codeExecutionResult: ( + GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + ) + executableCode: GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + file: GoogleCloudDiscoveryengineV1alphaAssistantContentFile + inlineData: GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + role: str + text: str + thought: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal[ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED", + ] + output: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( + typing_extensions.TypedDict, total=False +): + code: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( + typing_extensions.TypedDict, total=False +): + fileId: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( + typing_extensions.TypedDict, total=False +): + citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata + content: GoogleCloudDiscoveryengineV1alphaAssistantContent + textGroundingMetadata: ( + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( + typing_extensions.TypedDict, total=False +): + references: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + ] + segments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( + typing_extensions.TypedDict, total=False +): + document: str + domain: str + mimeType: str + pageIdentifier: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( + typing_extensions.TypedDict, total=False +): + endIndex: str + groundingScore: float + referenceIndices: _list[int] + startIndex: str + text: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False ): + enabledActions: _list[str] supportedConnectorModes: _list[ typing_extensions.Literal[ "CONNECTOR_MODE_UNSPECIFIED", @@ -3103,6 +4217,23 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitation( + typing_extensions.TypedDict, total=False +): + endIndex: int + license: str + publicationDate: GoogleTypeDate + startIndex: int + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitationMetadata( + typing_extensions.TypedDict, total=False +): + citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCmekConfig( typing_extensions.TypedDict, total=False @@ -3129,6 +4260,7 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -3226,6 +4358,12 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( percentile: float totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaContactDetails( + typing_extensions.TypedDict, total=False +): + emailAddress: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( typing_extensions.TypedDict, total=False @@ -3390,6 +4528,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", ] ] connectorModes: _list[ @@ -3423,10 +4562,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig + hybridIngestionDisabled: bool identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig incrementalRefreshInterval: str incrementalSyncDisabled: bool + jsonParams: str kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -3446,6 +4588,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str + removeParamKeys: _list[str] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -3458,9 +4601,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal[ - "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" - ] + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] updateTime: str @typing.type_check_only @@ -3469,8 +4610,17 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] + jsonAuthParams: str tenant: GoogleCloudDiscoveryengineV1alphaTenant +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( typing_extensions.TypedDict, total=False @@ -3500,6 +4650,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( dataStore: str entityName: str healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + jsonParams: str keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -3512,6 +4663,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -3644,6 +4800,7 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False ): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] + jsonParams: str key: str params: dict[str, typing.Any] @@ -3709,6 +4866,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -3737,9 +4895,14 @@ class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -3908,6 +5071,18 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( ): sampleQuerySet: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFieldConfig( typing_extensions.TypedDict, total=False @@ -4117,6 +5292,44 @@ class GoogleCloudDiscoveryengineV1alphaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaLicenseConfig( + typing_extensions.TypedDict, total=False +): + alertPolicyResourceConfig: ( + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + ) + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( typing_extensions.TypedDict, total=False @@ -4165,10 +5378,34 @@ class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -4414,6 +5651,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec ) @@ -4611,6 +5849,10 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -4635,6 +5877,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( ): returnRelevanceScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False @@ -4663,6 +5913,7 @@ class GoogleCloudDiscoveryengineV1alphaSession( displayName: str endTime: str isPinned: bool + labels: _list[str] name: str startTime: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] @@ -4675,6 +5926,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( ): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer + detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -4856,6 +6108,7 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -4881,6 +6134,13 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAclConfig( + typing_extensions.TypedDict, total=False +): + idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -4943,6 +6203,7 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -5107,6 +6368,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -5268,6 +6534,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -5296,9 +6563,14 @@ class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -5444,6 +6716,19 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( successCount: str totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfig( + typing_extensions.TypedDict, total=False +): + externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -5557,6 +6842,41 @@ class GoogleCloudDiscoveryengineV1betaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaLicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( typing_extensions.TypedDict, total=False @@ -5586,10 +6906,34 @@ class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -5729,6 +7073,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec ) @@ -5925,6 +7270,10 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -5949,6 +7298,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( ): returnRelevanceScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False @@ -6102,6 +7459,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -6136,6 +7494,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/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index d6d3f22e..f8c9622b 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -15,13 +15,22 @@ _list = list class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): - def upload( + def download( self, *, - parent: str, - body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest = ..., + name: str, + fileId: str = ..., + viewId: str = ..., + **kwargs: typing.Any, + ) -> GdataMediaHttpRequest: ... + def download_media( + self, + *, + name: str, + fileId: str = ..., + viewId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest: ... + ) -> BytesHttpRequest: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @@ -84,6 +93,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -101,6 +111,9 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponseHttpRequest: ... + def checkRefreshToken( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponseHttpRequest: ... def getConnectorSecret( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponseHttpRequest: ... @@ -241,6 +254,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -260,6 +274,28 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): matcher_urisMatcher_uris: str | _list[str] = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "BRANCH_VIEW_UNSPECIFIED", + "BRANCH_VIEW_BASIC", + "BRANCH_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaBranchHttpRequest: ... + def list( + self, + *, + parent: str, + view: typing_extensions.Literal[ + "BRANCH_VIEW_UNSPECIFIED", + "BRANCH_VIEW_BASIC", + "BRANCH_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListBranchesResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -409,6 +445,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -434,6 +471,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -458,6 +496,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -665,6 +704,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -712,6 +752,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ( GoogleLongrunningListOperationsResponseHttpRequest @@ -994,6 +1035,37 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class EnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnalyticsResource(googleapiclient.discovery.Resource): + def exportMetrics( + self, + *, + analytics: str, + body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class AssistantsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaAssistant = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest: ... + def streamAssist( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaStreamAssistResponseHttpRequest: ... + @typing.type_check_only class CompletionConfigResource(googleapiclient.discovery.Resource): def completeQuery( @@ -1120,6 +1192,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1227,6 +1300,27 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaAnswerHttpRequest: ... + @typing.type_check_only + class FilesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListFilesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListFilesResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListFilesResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListFilesResponseHttpRequest + | None + ): ... + def create( self, *, @@ -1271,6 +1365,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaSessionHttpRequest: ... def answers(self) -> AnswersResource: ... + def files(self) -> FilesResource: ... @typing.type_check_only class WidgetConfigsResource(googleapiclient.discovery.Resource): @@ -1299,6 +1394,11 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaEngineHttpRequest: ... + def getWorkspaceSettings( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1alphaWorkspaceSettingsHttpRequest + ): ... def list( self, *, @@ -1347,6 +1447,8 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def analytics(self) -> AnalyticsResource: ... + def assistants(self) -> AssistantsResource: ... def completionConfig(self) -> CompletionConfigResource: ... def controls(self) -> ControlsResource: ... def conversations(self) -> ConversationsResource: ... @@ -1367,6 +1469,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1543,6 +1646,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1561,6 +1665,30 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): matcher_urisMatcher_uris: str | _list[str] = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "BRANCH_VIEW_UNSPECIFIED", + "BRANCH_VIEW_BASIC", + "BRANCH_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaBranchHttpRequest: ... + def list( + self, + *, + parent: str, + view: typing_extensions.Literal[ + "BRANCH_VIEW_UNSPECIFIED", + "BRANCH_VIEW_BASIC", + "BRANCH_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListBranchesResponseHttpRequest + ): ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -1698,6 +1826,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1722,6 +1851,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2243,6 +2373,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2319,10 +2450,62 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class LicenseConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaLicenseConfig = ..., + licenseConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaLicenseConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest: ... + @typing.type_check_only class NotebooksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AudioOverviewsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponseHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + @typing.type_check_only class SourcesResource(googleapiclient.discovery.Resource): + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponseHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudNotebooklmV1alphaSourceHttpRequest: ... def uploadFile( self, *, @@ -2334,6 +2517,47 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest ): ... + def batchDelete( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaNotebook = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaNotebookHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudNotebooklmV1alphaNotebookHttpRequest: ... + def listRecentlyViewed( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponseHttpRequest: ... + def listRecentlyViewed_next( + self, + previous_request: GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponseHttpRequest, + previous_response: GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse, + ) -> ( + GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponseHttpRequest + | None + ): ... + def share( + self, + *, + name: str, + body: GoogleCloudNotebooklmV1alphaShareNotebookRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaShareNotebookResponseHttpRequest: ... + def audioOverviews(self) -> AudioOverviewsResource: ... def sources(self) -> SourcesResource: ... @typing.type_check_only @@ -2348,6 +2572,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2526,6 +2751,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2577,6 +2803,36 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def getCmekConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaCmekConfigHttpRequest: ... + def getConfigurablePricingUsageStats( + self, + *, + name: str, + metricTypes: typing_extensions.Literal[ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE", + ] + | _list[ + typing_extensions.Literal[ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE", + ] + ] = ..., + timeRange_endDate_day: int = ..., + timeRange_endDate_month: int = ..., + timeRange_endDate_year: int = ..., + timeRange_startDate_day: int = ..., + timeRange_startDate_month: int = ..., + timeRange_startDate_year: int = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsHttpRequest: ... def obtainCrawlRate( self, *, @@ -2607,6 +2863,15 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def setUpDataConnectorV2( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaDataConnector = ..., + collectionDisplayName: str = ..., + collectionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def updateAclConfig( self, *, @@ -2628,6 +2893,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def evaluations(self) -> EvaluationsResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... + def licenseConfigs(self) -> LicenseConfigsResource: ... def notebooks(self) -> NotebooksResource: ... def operations(self) -> OperationsResource: ... def podcasts(self) -> PodcastsResource: ... @@ -2649,6 +2915,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2660,6 +2927,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaProjectHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaProject = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaProjectHttpRequest: ... def provision( self, *, @@ -2692,6 +2967,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): 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( @@ -2750,6 +3033,16 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAssistant: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2760,6 +3053,16 @@ class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBranchHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaBranch: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2770,6 +3073,16 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2820,6 +3133,16 @@ 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 @@ -2970,6 +3293,26 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaIdentityMappingStore: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaLicenseConfig: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListBranchesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListBranchesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3090,6 +3433,16 @@ class GoogleCloudDiscoveryengineV1alphaListEvaluationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListFilesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListFilesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3310,6 +3663,16 @@ class GoogleCloudDiscoveryengineV1alphaSiteSearchEngineHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaSiteSearchEngine: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaStreamAssistResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteHttpRequest( googleapiclient.http.HttpRequest @@ -3340,6 +3703,72 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfig: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWorkspaceSettingsHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaWorkspaceSettings: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaNotebookHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaNotebook: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaShareNotebookResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaShareNotebookResponse: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaSourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaSource: ... + @typing.type_check_only class GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3375,3 +3804,11 @@ 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 8ed7db07..86486744 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -13,6 +13,7 @@ class ApiservingMediaRequestInfo(typing_extensions.TypedDict, total=False): notificationType: typing_extensions.Literal[ "START", "PROGRESS", "END", "RESPONSE_SENT", "ERROR" ] + physicalHeaders: str requestId: str requestReceivedParamsServingInfo: str totalBytes: str @@ -296,6 +297,21 @@ class GoogleCloudDiscoveryengineLoggingSourceLocation( ): functionName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): + idpConfig: GoogleCloudDiscoveryengineV1IdpConfig + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ActionConfig( + typing_extensions.TypedDict, total=False +): + actionParams: dict[str, typing.Any] + isActionConfigured: bool + jsonActionParams: str + serviceName: str + useStaticSecrets: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -303,6 +319,24 @@ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( typing_extensions.TypedDict, total=False @@ -324,6 +358,92 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( topK: str topP: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): + customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + enabledTools: dict[str, typing.Any] + generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig + name: str + 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 GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[ + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase + ] + modelArmorConfig: ( + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( + typing_extensions.TypedDict, total=False +): + ignoreDiacritics: bool + matchType: typing_extensions.Literal[ + "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + ] + phrase: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( + typing_extensions.TypedDict, total=False +): + failureMode: typing_extensions.Literal[ + "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" + ] + responseTemplate: str + userPromptTemplate: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( + typing_extensions.TypedDict, total=False +): + defaultLanguage: str + systemInstruction: ( + GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( + typing_extensions.TypedDict, total=False +): + additionalSystemInstruction: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolInfo( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolList( + typing_extensions.TypedDict, total=False +): + toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): + enabledActions: _list[str] + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -377,8 +497,15 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1Condition(typing_extensions.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1ConditionTimeRange] @@ -520,12 +647,168 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnector( + typing_extensions.TypedDict, total=False +): + aclEnabled: bool + actionConfig: GoogleCloudDiscoveryengineV1ActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1AlertPolicyConfig] + autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1BAPConfig + blockingReasons: _list[ + typing_extensions.Literal[ + "BLOCKING_REASON_UNSPECIFIED", + "ALLOWLIST_STATIC_IP", + "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", + ] + ] + connectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "FEDERATED", + "EUA", + "FEDERATED_AND_EUA", + ] + ] + connectorType: typing_extensions.Literal[ + "CONNECTOR_TYPE_UNSPECIFIED", + "THIRD_PARTY", + "GCP_FHIR", + "BIG_QUERY", + "GCS", + "GOOGLE_MAIL", + "GOOGLE_CALENDAR", + "GOOGLE_DRIVE", + "NATIVE_CLOUD_IDENTITY", + "THIRD_PARTY_FEDERATED", + "THIRD_PARTY_EUA", + "GCNV", + ] + createEuaSaas: bool + createTime: str + dataSource: str + destinationConfigs: _list[GoogleCloudDiscoveryengineV1DestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig + entities: _list[GoogleCloudDiscoveryengineV1DataConnectorSourceEntity] + errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig + hybridIngestionDisabled: bool + identityRefreshInterval: str + identityScheduleConfig: GoogleCloudDiscoveryengineV1IdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool + jsonParams: str + kmsKeyName: str + lastSyncTime: str + latestPauseTime: str + name: str + nextSyncTime: GoogleTypeDateTime + params: dict[str, typing.Any] + privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig + refreshInterval: str + removeParamKeys: _list[str] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + staticIpAddresses: _list[str] + staticIpEnabled: bool + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + tenant: GoogleCloudDiscoveryengineV1Tenant + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( + typing_extensions.TypedDict, total=False +): + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + streamingErrorReason: typing_extensions.Literal[ + "STREAMING_ERROR_REASON_UNSPECIFIED", + "STREAMING_SETUP_ERROR", + "STREAMING_SYNC_ERROR", + "INGRESS_ENDPOINT_REQUIRED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( + typing_extensions.TypedDict, total=False +): + dataStore: str + entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + jsonParams: str + keyPropertyMappings: dict[str, typing.Any] + params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1Schema + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -582,6 +865,13 @@ class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -624,6 +914,22 @@ class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfig( + typing_extensions.TypedDict, total=False +): + destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] + jsonParams: str + key: str + params: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfigDestination( + typing_extensions.TypedDict, total=False +): + host: str + port: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( typing_extensions.TypedDict, total=False @@ -677,6 +983,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -705,9 +1012,14 @@ class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -825,6 +1137,24 @@ class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( successCount: str totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( + typing_extensions.TypedDict, total=False +): + nextSyncTime: GoogleTypeDateTime + refreshInterval: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): + externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -903,13 +1233,70 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( joinedEventsCount: str unjoinedEventsCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1LicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -1104,6 +1491,11 @@ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( demoteContentWatchedPastDays: int demotionEventType: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1SingleRegionKey( typing_extensions.TypedDict, total=False @@ -1158,6 +1550,12 @@ class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( typing_extensions.TypedDict, total=False @@ -1206,6 +1604,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -1256,7 +1655,9 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( ): actionParams: dict[str, typing.Any] isActionConfigured: bool + jsonActionParams: str serviceName: str + useStaticSecrets: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( @@ -1400,6 +1801,27 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + ] + alertPolicy: str + contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] + languageCode: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + notificationParams: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( typing_extensions.TypedDict, total=False @@ -1854,86 +2276,321 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( chunkContents: _list[ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent ] - document: str - structData: dict[str, typing.Any] - title: str - uri: str + document: str + structData: dict[str, typing.Any] + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( + typing_extensions.TypedDict, total=False +): + blobAttachmentIndexes: _list[str] + content: str + pageIdentifier: str + relevanceScore: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStep( + typing_extensions.TypedDict, total=False +): + actions: _list[GoogleCloudDiscoveryengineV1alphaAnswerStepAction] + description: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" + ] + thought: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepAction( + typing_extensions.TypedDict, total=False +): + observation: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation + searchAction: GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( + typing_extensions.TypedDict, total=False +): + searchResults: _list[ + GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( + typing_extensions.TypedDict, total=False +): + chunkInfo: _list[ + GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo + ] + document: str + snippetInfo: _list[ + GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo + ] + structData: dict[str, typing.Any] + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo( + typing_extensions.TypedDict, total=False +): + chunk: str + content: str + relevanceScore: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo( + typing_extensions.TypedDict, total=False +): + snippet: str + snippetStatus: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( + typing_extensions.TypedDict, total=False +): + query: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswer( + typing_extensions.TypedDict, total=False +): + assistSkippedReasons: _list[ + typing_extensions.Literal[ + "ASSIST_SKIPPED_REASON_UNSPECIFIED", + "NON_ASSIST_SEEKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + ] + ] + customerPolicyEnforcementResult: ( + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + ) + name: str + replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "SKIPPED" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + policyResults: _list[ + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + ] + verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + modelArmorViolation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( + typing_extensions.TypedDict, total=False +): + groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + replyId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistUserMetadata( + typing_extensions.TypedDict, total=False +): + preferredLanguageCode: str + timeZone: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistant( + typing_extensions.TypedDict, total=False +): + customerPolicy: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy + enabledTools: dict[str, typing.Any] + generationConfig: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig + name: str + 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 GoogleCloudDiscoveryengineV1alphaAssistantContent( + typing_extensions.TypedDict, total=False +): + codeExecutionResult: ( + GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + ) + executableCode: GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + file: GoogleCloudDiscoveryengineV1alphaAssistantContentFile + inlineData: GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + role: str + text: str + thought: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal[ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED", + ] + output: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( + typing_extensions.TypedDict, total=False +): + code: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( + typing_extensions.TypedDict, total=False +): + fileId: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase + ] + modelArmorConfig: ( + GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase( + typing_extensions.TypedDict, total=False +): + ignoreDiacritics: bool + matchType: typing_extensions.Literal[ + "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + ] + phrase: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig( + typing_extensions.TypedDict, total=False +): + failureMode: typing_extensions.Literal[ + "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" + ] + responseTemplate: str + userPromptTemplate: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( +class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig( typing_extensions.TypedDict, total=False ): - blobAttachmentIndexes: _list[str] - content: str - pageIdentifier: str - relevanceScore: float + defaultLanguage: str + systemInstruction: ( + GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction + ) @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStep( +class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction( typing_extensions.TypedDict, total=False ): - actions: _list[GoogleCloudDiscoveryengineV1alphaAnswerStepAction] - description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] - thought: str + additionalSystemInstruction: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepAction( +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( typing_extensions.TypedDict, total=False ): - observation: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation - searchAction: GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction + citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata + content: GoogleCloudDiscoveryengineV1alphaAssistantContent + textGroundingMetadata: ( + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + ) @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( typing_extensions.TypedDict, total=False ): - searchResults: _list[ - GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult + references: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + ] + segments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( typing_extensions.TypedDict, total=False ): - chunkInfo: _list[ - GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo - ] document: str - snippetInfo: _list[ - GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo - ] - structData: dict[str, typing.Any] + domain: str + mimeType: str + pageIdentifier: str title: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo( +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( typing_extensions.TypedDict, total=False ): - chunk: str - content: str - relevanceScore: float + endIndex: str + groundingScore: float + referenceIndices: _list[int] + startIndex: str + text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo( +class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo( typing_extensions.TypedDict, total=False ): - snippet: str - snippetStatus: str + toolDisplayName: str + toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( +class GoogleCloudDiscoveryengineV1alphaAssistantToolList( typing_extensions.TypedDict, total=False ): - query: str + toolInfo: _list[GoogleCloudDiscoveryengineV1alphaAssistantToolInfo] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False ): + enabledActions: _list[str] supportedConnectorModes: _list[ typing_extensions.Literal[ "CONNECTOR_MODE_UNSPECIFIED", @@ -2025,6 +2682,13 @@ class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBigQueryDestination( + typing_extensions.TypedDict, total=False +): + datasetId: str + tableId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBigQuerySource( typing_extensions.TypedDict, total=False @@ -2088,6 +2752,20 @@ class GoogleCloudDiscoveryengineV1alphaBigtableSource( projectId: str tableId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBranch(typing_extensions.TypedDict, total=False): + branchStats: GoogleCloudDiscoveryengineV1alphaBranchBranchStats + displayName: str + isDefault: bool + lastDocumentImportTime: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBranchBranchStats( + typing_extensions.TypedDict, total=False +): + documentCounts: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest( typing_extensions.TypedDict, total=False @@ -2132,6 +2810,12 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec( citationThreshold: float enableClaimLevelScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse( + typing_extensions.TypedDict, total=False +): + refreshTokenInfo: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest( typing_extensions.TypedDict, total=False @@ -2193,6 +2877,7 @@ class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata( class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata( typing_extensions.TypedDict, total=False ): + mimeType: str structData: dict[str, typing.Any] title: str uri: str @@ -2216,6 +2901,23 @@ class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent( "CHECKBOX_STRUCTURE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitation( + typing_extensions.TypedDict, total=False +): + endIndex: int + license: str + publicationDate: GoogleTypeDate + startIndex: int + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitationMetadata( + typing_extensions.TypedDict, total=False +): + citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCloudSqlSource( typing_extensions.TypedDict, total=False @@ -2253,6 +2955,7 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -2321,6 +3024,39 @@ 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 @@ -2385,6 +3121,12 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( percentile: float totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaContactDetails( + typing_extensions.TypedDict, total=False +): + emailAddress: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( typing_extensions.TypedDict, total=False @@ -2635,6 +3377,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", ] ] connectorModes: _list[ @@ -2668,10 +3411,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig + hybridIngestionDisabled: bool identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig incrementalRefreshInterval: str incrementalSyncDisabled: bool + jsonParams: str kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -2691,6 +3437,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str + removeParamKeys: _list[str] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -2703,9 +3450,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal[ - "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" - ] + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] updateTime: str @typing.type_check_only @@ -2714,8 +3459,17 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] + jsonAuthParams: str tenant: GoogleCloudDiscoveryengineV1alphaTenant +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( typing_extensions.TypedDict, total=False @@ -2745,6 +3499,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( dataStore: str entityName: str healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + jsonParams: str keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -2757,6 +3512,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -2889,6 +3649,7 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False ): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] + jsonParams: str key: str params: dict[str, typing.Any] @@ -3016,6 +3777,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -3061,9 +3823,14 @@ class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -3266,6 +4033,24 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( ): sampleQuerySet: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest( + typing_extensions.TypedDict, total=False +): + outputConfig: GoogleCloudDiscoveryengineV1alphaOutputConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFactChunk( typing_extensions.TypedDict, total=False @@ -3357,6 +4142,54 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaFileCharacteristics( + typing_extensions.TypedDict, total=False +): + characteristics: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaFileMetadata( + typing_extensions.TypedDict, total=False +): + byteSize: str + downloadUri: str + fileId: str + fileOriginType: typing_extensions.Literal[ + "FILE_ORIGIN_TYPE_UNSPECIFIED", + "USER_PROVIDED", + "AI_GENERATED", + "INTERNALLY_GENERATED", + ] + lastAddTime: str + metadata: dict[str, typing.Any] + mimeType: str + name: str + originalSourceType: typing_extensions.Literal[ + "FILE_SOURCE_UNSPECIFIED", + "FILE_SOURCE_INLINE", + "FILE_SOURCE_LOCAL", + "FILE_SOURCE_CLOUD_STORAGE", + "FILE_SOURCE_CLOUD_DRIVE", + "FILE_SOURCE_URL", + ] + originalUri: str + uploadTime: str + views: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaFileView( + typing_extensions.TypedDict, total=False +): + byteSize: str + createTime: str + fileCharacteristics: GoogleCloudDiscoveryengineV1alphaFileCharacteristics + imageCharacteristics: GoogleCloudDiscoveryengineV1alphaImageCharacteristics + mimeType: str + uri: str + videoCharacteristics: GoogleCloudDiscoveryengineV1alphaVideoCharacteristics + viewId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFirestoreSource( typing_extensions.TypedDict, total=False @@ -3464,6 +4297,22 @@ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig( ): workforcePoolName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImageCharacteristics( + typing_extensions.TypedDict, total=False +): + bitDepth: int + colorSpace: typing_extensions.Literal[ + "COLOR_SPACE_UNSPECIFIED", + "RGB", + "CMYK", + "GRAYSCALE", + "YUV", + "OTHER_COLOR_SPACE", + ] + height: int + width: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -3681,6 +4530,50 @@ class GoogleCloudDiscoveryengineV1alphaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaLicenseConfig( + typing_extensions.TypedDict, total=False +): + alertPolicyResourceConfig: ( + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + ) + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListBranchesResponse( + typing_extensions.TypedDict, total=False +): + branches: _list[GoogleCloudDiscoveryengineV1alphaBranch] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponse( typing_extensions.TypedDict, total=False @@ -3772,6 +4665,13 @@ class GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse( evaluations: _list[GoogleCloudDiscoveryengineV1alphaEvaluation] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListFilesResponse( + typing_extensions.TypedDict, total=False +): + files: _list[GoogleCloudDiscoveryengineV1alphaFileMetadata] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse( typing_extensions.TypedDict, total=False @@ -3885,6 +4785,12 @@ class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaOutputConfig( + typing_extensions.TypedDict, total=False +): + bigqueryDestination: GoogleCloudDiscoveryengineV1alphaBigQueryDestination + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPageInfo( typing_extensions.TypedDict, total=False @@ -3929,10 +4835,34 @@ class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -3956,6 +4886,14 @@ class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest( ): acceptDataUseTerms: bool dataUseTermsVersion: str + saasParams: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams( + typing_extensions.TypedDict, total=False +): + acceptBizQos: bool + isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata( @@ -4453,6 +5391,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec ) @@ -4650,6 +5589,10 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -4674,6 +5617,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( ): returnRelevanceScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False @@ -4861,6 +5812,30 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult( document: GoogleCloudDiscoveryengineV1alphaDocument id: str modelScores: dict[str, typing.Any] + rankSignals: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals( + typing_extensions.TypedDict, total=False +): + boostingFactor: float + customSignals: _list[ + GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal + ] + defaultRank: float + documentAge: float + keywordSimilarityScore: float + pctrRank: float + relevanceScore: float + semanticSimilarityScore: float + topicalityRank: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal( + typing_extensions.TypedDict, total=False +): + name: str + value: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo( @@ -5031,6 +6006,7 @@ class GoogleCloudDiscoveryengineV1alphaSession( displayName: str endTime: str isPinned: bool + labels: _list[str] name: str startTime: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] @@ -5043,6 +6019,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( ): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer + detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -5153,6 +6130,75 @@ class GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest( syncIdentity: bool syncSinceTimestamp: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest( + typing_extensions.TypedDict, total=False +): + generationSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec + query: GoogleCloudDiscoveryengineV1alphaQuery + session: str + toolsSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec + userMetadata: GoogleCloudDiscoveryengineV1alphaAssistUserMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec( + typing_extensions.TypedDict, total=False +): + imageGenerationSpec: ( + GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec + ) + vertexAiSearchSpec: ( + GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec + ) + videoGenerationSpec: ( + GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec + ) + webGroundingSpec: ( + GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec( + typing_extensions.TypedDict, total=False +): + dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] + filter: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse( + typing_extensions.TypedDict, total=False +): + answer: GoogleCloudDiscoveryengineV1alphaAssistAnswer + assistToken: str + sessionInfo: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo( + typing_extensions.TypedDict, total=False +): + session: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry( typing_extensions.TypedDict, total=False @@ -5309,6 +6355,20 @@ class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest( + typing_extensions.TypedDict, total=False +): + blob: GdataMedia + mediaRequestInfo: ApiservingMediaRequestInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse( + typing_extensions.TypedDict, total=False +): + fileId: str + mediaResponseInfo: ApiservingMediaResponseInfo + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserEvent( typing_extensions.TypedDict, total=False @@ -5356,12 +6416,26 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics( + typing_extensions.TypedDict, total=False +): + audioBitrateKbps: int + audioCodecs: _list[str] + duration: str + frameRate: float + height: int + videoBitrateKbps: int + videoCodecs: _list[str] + width: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfig( typing_extensions.TypedDict, total=False @@ -5439,6 +6513,8 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings( class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings( typing_extensions.TypedDict, total=False ): + defaultWebGroundingToggleOff: bool + disableLocationContext: bool googleSearchGroundingEnabled: bool webGroundingType: typing_extensions.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", @@ -5478,6 +6554,12 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( "PUBLIC_WEBSITE", "GOOGLE_WORKSPACE", ] + dataStoreConfigType: typing_extensions.Literal[ + "DATA_STORE_CONFIG_TYPE_UNSPECIFIED", + "ALLOW_DB_CONFIG", + "THIRD_PARTY_OAUTH_CONFIG", + "NOTEBOOKLM_CONFIG", + ] displayName: str entityName: str id: str @@ -5558,6 +6640,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( defaultSearchRequestOrderBy: str disableUserEventsCollection: bool enableAutocomplete: bool + enableCreateAgentButton: bool enablePeopleSearch: bool enableQualityFeedback: bool enableSafeSearch: bool @@ -5616,6 +6699,19 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWorkspaceSettings( + typing_extensions.TypedDict, total=False +): + workspaceAccessEnabled: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAclConfig( + typing_extensions.TypedDict, total=False +): + idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -5678,6 +6774,7 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -5842,6 +6939,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -6003,6 +7105,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -6031,9 +7134,14 @@ class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -6179,6 +7287,19 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( successCount: str totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfig( + typing_extensions.TypedDict, total=False +): + externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -6292,6 +7413,41 @@ class GoogleCloudDiscoveryengineV1betaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaLicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( typing_extensions.TypedDict, total=False @@ -6321,10 +7477,34 @@ class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -6464,6 +7644,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec ) @@ -6660,6 +7841,10 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -6684,6 +7869,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( ): returnRelevanceScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False @@ -6837,6 +8030,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -6862,10 +8056,294 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaAccountAndRole( + typing_extensions.TypedDict, total=False +): + email: str + role: typing_extensions.Literal[ + "PROJECT_ROLE_UNKNOWN", + "PROJECT_ROLE_OWNER", + "PROJECT_ROLE_WRITER", + "PROJECT_ROLE_READER", + "PROJECT_ROLE_NOT_SHARED", + ] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaAgentspaceMetadata( + typing_extensions.TypedDict, total=False +): + documentName: str + documentTitle: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaAudioOverview( + typing_extensions.TypedDict, total=False +): + audioOverviewId: str + generationOptions: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions + languageCode: str + mimeType: typing_extensions.Literal[ + "MIME_TYPE_UNKNOWN", "MIME_TYPE_WAV", "MIME_TYPE_MP4" + ] + name: str + status: typing_extensions.Literal[ + "AUDIO_OVERVIEW_STATUS_UNSPECIFIED", + "AUDIO_OVERVIEW_STATUS_NOT_STARTED", + "AUDIO_OVERVIEW_STATUS_IN_PROGRESS", + "AUDIO_OVERVIEW_STATUS_COMPLETE", + "AUDIO_OVERVIEW_STATUS_FAILED", + ] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions( + typing_extensions.TypedDict, total=False +): + episodeFocus: str + languageCode: str + sourceIds: _list[GoogleCloudNotebooklmV1alphaSourceId] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest( + typing_extensions.TypedDict, total=False +): + userContents: _list[GoogleCloudNotebooklmV1alphaUserContent] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse( + typing_extensions.TypedDict, total=False +): + sources: _list[GoogleCloudNotebooklmV1alphaSource] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest( + typing_extensions.TypedDict, total=False +): + names: _list[str] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest( + typing_extensions.TypedDict, total=False +): + names: _list[str] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaCmekConfig(typing_extensions.TypedDict, total=False): + kmsKey: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest( + typing_extensions.TypedDict, total=False +): + generationOptions: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse( + typing_extensions.TypedDict, total=False +): + audioOverview: GoogleCloudNotebooklmV1alphaAudioOverview + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReason( + typing_extensions.TypedDict, total=False +): + audioTranscriptionError: ( + GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError + ) + domainBlocked: GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked + googleDriveError: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError + ingestionError: GoogleCloudNotebooklmV1alphaFailureReasonIngestionError + paywallError: GoogleCloudNotebooklmV1alphaFailureReasonPaywallError + sourceEmpty: GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty + sourceLimitExceeded: GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded + sourceTooLong: GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong + sourceUnreachable: GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable + unknown: GoogleCloudNotebooklmV1alphaFailureReasonUnknown + uploadError: GoogleCloudNotebooklmV1alphaFailureReasonUploadError + youtubeError: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError( + typing_extensions.TypedDict, total=False +): + languageDetectionFailed: GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed + noAudioDetected: ( + GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected + ) + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError( + typing_extensions.TypedDict, total=False +): + downloadPrevented: ( + GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented + ) + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonIngestionError( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonPaywallError( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong( + typing_extensions.TypedDict, total=False +): + wordCount: int + wordLimit: int + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable( + typing_extensions.TypedDict, total=False +): + errorDetails: typing_extensions.Literal[ + "ERROR_REASON_UNSPECIFIED", + "ERROR_REASON_INVALID_URL", + "ERROR_REASON_NOT_ACCESSIBLE", + "ERROR_REASON_NOT_REACHABLE", + "ERROR_REASON_URL_NOT_FOUND", + "ERROR_REASON_TRANSIENT_ERROR", + "ERROR_REASON_FETCH_FAILED", + "ERROR_REASON_NOT_SUPPORTED", + ] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonUnknown( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonUploadError( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError( + typing_extensions.TypedDict, total=False +): + videoDeleted: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata( + typing_extensions.TypedDict, total=False +): + documentId: str + revisionId: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + notebooks: _list[GoogleCloudNotebooklmV1alphaNotebook] + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaNotebook(typing_extensions.TypedDict, total=False): + cmekConfig: GoogleCloudNotebooklmV1alphaCmekConfig + emoji: str + metadata: GoogleCloudNotebooklmV1alphaNotebookMetadata + name: str + notebookId: str + sources: _list[GoogleCloudNotebooklmV1alphaSource] + title: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaNotebookMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + isShareable: bool + isShared: bool + lastViewed: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaShareNotebookRequest( + typing_extensions.TypedDict, total=False +): + accountAndRoles: _list[GoogleCloudNotebooklmV1alphaAccountAndRole] + notifyViaEmail: bool + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaShareNotebookResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaSource(typing_extensions.TypedDict, total=False): + metadata: GoogleCloudNotebooklmV1alphaSourceMetadata + name: str + settings: GoogleCloudNotebooklmV1alphaSourceSettings + sourceId: GoogleCloudNotebooklmV1alphaSourceId + title: str + @typing.type_check_only class GoogleCloudNotebooklmV1alphaSourceId(typing_extensions.TypedDict, total=False): id: str +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaSourceMetadata( + typing_extensions.TypedDict, total=False +): + agentspaceMetadata: GoogleCloudNotebooklmV1alphaAgentspaceMetadata + googleDocsMetadata: GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata + sourceAddedTimestamp: str + tokenCount: int + wordCount: int + youtubeMetadata: GoogleCloudNotebooklmV1alphaYoutubeMetadata + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaSourceSettings( + typing_extensions.TypedDict, total=False +): + failureReason: GoogleCloudNotebooklmV1alphaFailureReason + status: typing_extensions.Literal[ + "SOURCE_STATUS_UNSPECIFIED", + "SOURCE_STATUS_PENDING", + "SOURCE_STATUS_COMPLETE", + "SOURCE_STATUS_ERROR", + "SOURCE_STATUS_PENDING_DELETION", + "SOURCE_STATUS_TENTATIVE", + ] + @typing.type_check_only class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest( typing_extensions.TypedDict, total=False @@ -6881,6 +8359,57 @@ class GoogleCloudNotebooklmV1alphaUploadSourceFileResponse( mediaResponseInfo: ApiservingMediaResponseInfo sourceId: GoogleCloudNotebooklmV1alphaSourceId +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContent(typing_extensions.TypedDict, total=False): + agentspaceContent: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent + googleDriveContent: GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent + textContent: GoogleCloudNotebooklmV1alphaUserContentTextContent + videoContent: GoogleCloudNotebooklmV1alphaUserContentVideoContent + webContent: GoogleCloudNotebooklmV1alphaUserContentWebContent + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent( + typing_extensions.TypedDict, total=False +): + documentName: str + engineName: str + ideaforgeIdeaName: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent( + typing_extensions.TypedDict, total=False +): + documentId: str + mimeType: str + sourceName: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContentTextContent( + typing_extensions.TypedDict, total=False +): + content: str + sourceName: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContentVideoContent( + typing_extensions.TypedDict, total=False +): + youtubeUrl: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUserContentWebContent( + typing_extensions.TypedDict, total=False +): + sourceName: str + url: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaYoutubeMetadata( + typing_extensions.TypedDict, total=False +): + channelName: str + videoId: str + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False @@ -6890,6 +8419,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/discoveryengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi index 8276a406..e6441811 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -13,6 +13,25 @@ _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 @@ -55,6 +74,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -152,6 +172,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -320,6 +341,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -345,6 +367,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -369,6 +392,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -578,6 +602,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -625,6 +650,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ( GoogleLongrunningListOperationsResponseHttpRequest @@ -874,6 +900,27 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class EnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssistantsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaAssistantHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaAssistant = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaAssistantHttpRequest: ... + def streamAssist( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaStreamAssistRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaStreamAssistResponseHttpRequest: ... + @typing.type_check_only class CompletionConfigResource(googleapiclient.discovery.Resource): def completeQuery( @@ -1000,6 +1047,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1216,6 +1264,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaTuneEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def assistants(self) -> AssistantsResource: ... def completionConfig(self) -> CompletionConfigResource: ... def controls(self) -> ControlsResource: ... def conversations(self) -> ConversationsResource: ... @@ -1235,6 +1284,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1327,6 +1377,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1482,6 +1533,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1506,6 +1558,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -1998,6 +2051,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2074,6 +2128,28 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class LicenseConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaLicenseConfig = ..., + licenseConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaLicenseConfigHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaLicenseConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaLicenseConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaLicenseConfigHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -2086,6 +2162,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2269,6 +2346,9 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def userLicenses(self) -> UserLicensesResource: ... + def getAclConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaAclConfigHttpRequest: ... def getCmekConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1betaCmekConfigHttpRequest: ... @@ -2293,6 +2373,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def updateAclConfig( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaAclConfig = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaAclConfigHttpRequest: ... def updateCmekConfig( self, *, @@ -2307,6 +2394,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def evaluations(self) -> EvaluationsResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... + def licenseConfigs(self) -> LicenseConfigsResource: ... def operations(self) -> OperationsResource: ... def podcasts(self) -> PodcastsResource: ... def rankingConfigs(self) -> RankingConfigsResource: ... @@ -2326,6 +2414,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -2356,8 +2445,17 @@ 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( @@ -2366,6 +2464,16 @@ class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleApiHttpBody: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAclConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaAclConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2396,6 +2504,16 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaAnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaAssistant: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2536,6 +2654,16 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaIdentityMappingStore: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaLicenseConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaLicenseConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2826,6 +2954,16 @@ class GoogleCloudDiscoveryengineV1betaSiteSearchEngineHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaSiteSearchEngine: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaStreamAssistResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteHttpRequest( googleapiclient.http.HttpRequest @@ -2871,3 +3009,11 @@ 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/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index cc607fd0..5bd30bf5 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -4,6 +4,124 @@ 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] @@ -134,6 +252,21 @@ class GoogleCloudDiscoveryengineLoggingSourceLocation( ): functionName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): + idpConfig: GoogleCloudDiscoveryengineV1IdpConfig + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ActionConfig( + typing_extensions.TypedDict, total=False +): + actionParams: dict[str, typing.Any] + isActionConfigured: bool + jsonActionParams: str + serviceName: str + useStaticSecrets: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -141,6 +274,24 @@ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( typing_extensions.TypedDict, total=False @@ -162,6 +313,92 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( topK: str topP: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): + customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + enabledTools: dict[str, typing.Any] + generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig + name: str + 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 GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[ + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase + ] + modelArmorConfig: ( + GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( + typing_extensions.TypedDict, total=False +): + ignoreDiacritics: bool + matchType: typing_extensions.Literal[ + "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + ] + phrase: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( + typing_extensions.TypedDict, total=False +): + failureMode: typing_extensions.Literal[ + "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" + ] + responseTemplate: str + userPromptTemplate: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( + typing_extensions.TypedDict, total=False +): + defaultLanguage: str + systemInstruction: ( + GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( + typing_extensions.TypedDict, total=False +): + additionalSystemInstruction: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolInfo( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantToolList( + typing_extensions.TypedDict, total=False +): + toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): + enabledActions: _list[str] + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -215,8 +452,15 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1Condition(typing_extensions.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1ConditionTimeRange] @@ -358,12 +602,168 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnector( + typing_extensions.TypedDict, total=False +): + aclEnabled: bool + actionConfig: GoogleCloudDiscoveryengineV1ActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1AlertPolicyConfig] + autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1BAPConfig + blockingReasons: _list[ + typing_extensions.Literal[ + "BLOCKING_REASON_UNSPECIFIED", + "ALLOWLIST_STATIC_IP", + "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", + ] + ] + connectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "FEDERATED", + "EUA", + "FEDERATED_AND_EUA", + ] + ] + connectorType: typing_extensions.Literal[ + "CONNECTOR_TYPE_UNSPECIFIED", + "THIRD_PARTY", + "GCP_FHIR", + "BIG_QUERY", + "GCS", + "GOOGLE_MAIL", + "GOOGLE_CALENDAR", + "GOOGLE_DRIVE", + "NATIVE_CLOUD_IDENTITY", + "THIRD_PARTY_FEDERATED", + "THIRD_PARTY_EUA", + "GCNV", + ] + createEuaSaas: bool + createTime: str + dataSource: str + destinationConfigs: _list[GoogleCloudDiscoveryengineV1DestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig + entities: _list[GoogleCloudDiscoveryengineV1DataConnectorSourceEntity] + errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig + hybridIngestionDisabled: bool + identityRefreshInterval: str + identityScheduleConfig: GoogleCloudDiscoveryengineV1IdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool + jsonParams: str + kmsKeyName: str + lastSyncTime: str + latestPauseTime: str + name: str + nextSyncTime: GoogleTypeDateTime + params: dict[str, typing.Any] + privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig + refreshInterval: str + removeParamKeys: _list[str] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + staticIpAddresses: _list[str] + staticIpEnabled: bool + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + tenant: GoogleCloudDiscoveryengineV1Tenant + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( + typing_extensions.TypedDict, total=False +): + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + streamingErrorReason: typing_extensions.Literal[ + "STREAMING_ERROR_REASON_UNSPECIFIED", + "STREAMING_SETUP_ERROR", + "STREAMING_SYNC_ERROR", + "INGRESS_ENDPOINT_REQUIRED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( + typing_extensions.TypedDict, total=False +): + dataStore: str + entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + jsonParams: str + keyPropertyMappings: dict[str, typing.Any] + params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1Schema + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -420,6 +820,13 @@ class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -462,6 +869,22 @@ class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfig( + typing_extensions.TypedDict, total=False +): + destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] + jsonParams: str + key: str + params: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DestinationConfigDestination( + typing_extensions.TypedDict, total=False +): + host: str + port: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( typing_extensions.TypedDict, total=False @@ -515,6 +938,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -543,9 +967,14 @@ class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -663,6 +1092,24 @@ class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( successCount: str totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( + typing_extensions.TypedDict, total=False +): + nextSyncTime: GoogleTypeDateTime + refreshInterval: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): + externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -741,13 +1188,70 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( joinedEventsCount: str unjoinedEventsCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1LicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -942,6 +1446,11 @@ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( demoteContentWatchedPastDays: int demotionEventType: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1SingleRegionKey( typing_extensions.TypedDict, total=False @@ -996,6 +1505,12 @@ class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( typing_extensions.TypedDict, total=False @@ -1044,6 +1559,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -1082,7 +1598,9 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( ): actionParams: dict[str, typing.Any] isActionConfigured: bool + jsonActionParams: str serviceName: str + useStaticSecrets: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( @@ -1109,6 +1627,27 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + ] + alertPolicy: str + contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] + languageCode: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + notificationParams: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -1334,10 +1873,162 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswer( + typing_extensions.TypedDict, total=False +): + assistSkippedReasons: _list[ + typing_extensions.Literal[ + "ASSIST_SKIPPED_REASON_UNSPECIFIED", + "NON_ASSIST_SEEKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + ] + ] + customerPolicyEnforcementResult: ( + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + ) + name: str + replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "SKIPPED" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + policyResults: _list[ + GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + ] + verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + modelArmorViolation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( + typing_extensions.TypedDict, total=False +): + groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + replyId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContent( + typing_extensions.TypedDict, total=False +): + codeExecutionResult: ( + GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + ) + executableCode: GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + file: GoogleCloudDiscoveryengineV1alphaAssistantContentFile + inlineData: GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + role: str + text: str + thought: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal[ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED", + ] + output: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( + typing_extensions.TypedDict, total=False +): + code: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( + typing_extensions.TypedDict, total=False +): + fileId: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( + typing_extensions.TypedDict, total=False +): + citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata + content: GoogleCloudDiscoveryengineV1alphaAssistantContent + textGroundingMetadata: ( + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( + typing_extensions.TypedDict, total=False +): + references: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + ] + segments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( + typing_extensions.TypedDict, total=False +): + document: str + domain: str + mimeType: str + pageIdentifier: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( + typing_extensions.TypedDict, total=False +): + endIndex: str + groundingScore: float + referenceIndices: _list[int] + startIndex: str + text: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False ): + enabledActions: _list[str] supportedConnectorModes: _list[ typing_extensions.Literal[ "CONNECTOR_MODE_UNSPECIFIED", @@ -1376,6 +2067,23 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitation( + typing_extensions.TypedDict, total=False +): + endIndex: int + license: str + publicationDate: GoogleTypeDate + startIndex: int + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCitationMetadata( + typing_extensions.TypedDict, total=False +): + citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCmekConfig( typing_extensions.TypedDict, total=False @@ -1402,6 +2110,7 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -1499,6 +2208,12 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( percentile: float totalCount: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaContactDetails( + typing_extensions.TypedDict, total=False +): + emailAddress: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( typing_extensions.TypedDict, total=False @@ -1663,6 +2378,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", + "ALLOWLIST_SERVICE_ACCOUNT", ] ] connectorModes: _list[ @@ -1696,10 +2412,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] + federatedConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig + hybridIngestionDisabled: bool identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig incrementalRefreshInterval: str incrementalSyncDisabled: bool + jsonParams: str kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -1719,6 +2438,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str + removeParamKeys: _list[str] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -1731,9 +2451,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal[ - "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" - ] + syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] updateTime: str @typing.type_check_only @@ -1742,8 +2460,17 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] + jsonAuthParams: str tenant: GoogleCloudDiscoveryengineV1alphaTenant +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + jsonAuthParams: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( typing_extensions.TypedDict, total=False @@ -1773,6 +2500,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( dataStore: str entityName: str healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + jsonParams: str keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -1785,6 +2513,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -1917,6 +2650,7 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False ): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] + jsonParams: str key: str params: dict[str, typing.Any] @@ -1982,6 +2716,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -2010,9 +2745,14 @@ class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -2181,6 +2921,18 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( ): sampleQuerySet: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFieldConfig( typing_extensions.TypedDict, total=False @@ -2390,6 +3142,44 @@ class GoogleCloudDiscoveryengineV1alphaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaLicenseConfig( + typing_extensions.TypedDict, total=False +): + alertPolicyResourceConfig: ( + GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + ) + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( typing_extensions.TypedDict, total=False @@ -2438,10 +3228,34 @@ class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -2687,6 +3501,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec ) @@ -2884,6 +3699,10 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -2903,10 +3722,18 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( pinUnexpandedResults: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( typing_extensions.TypedDict, total=False ): - returnRelevanceScore: bool + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( @@ -2936,6 +3763,7 @@ class GoogleCloudDiscoveryengineV1alphaSession( displayName: str endTime: str isPinned: bool + labels: _list[str] name: str startTime: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] @@ -2948,6 +3776,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( ): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer + detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -3129,6 +3958,7 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -3154,6 +3984,13 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAclConfig( + typing_extensions.TypedDict, total=False +): + idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest( typing_extensions.TypedDict, total=False @@ -3807,6 +4644,239 @@ class GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswer( + typing_extensions.TypedDict, total=False +): + assistSkippedReasons: _list[ + typing_extensions.Literal[ + "ASSIST_SKIPPED_REASON_UNSPECIFIED", + "NON_ASSIST_SEEKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + ] + ] + customerPolicyEnforcementResult: ( + GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult + ) + name: str + replies: _list[GoogleCloudDiscoveryengineV1betaAssistAnswerReply] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "SKIPPED" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + policyResults: _list[ + GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + ] + verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + modelArmorViolation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( + typing_extensions.TypedDict, total=False +): + bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistAnswerReply( + typing_extensions.TypedDict, total=False +): + groundedContent: GoogleCloudDiscoveryengineV1betaAssistantGroundedContent + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistUserMetadata( + typing_extensions.TypedDict, total=False +): + preferredLanguageCode: str + timeZone: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistant( + typing_extensions.TypedDict, total=False +): + customerPolicy: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy + enabledTools: dict[str, typing.Any] + generationConfig: GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig + name: str + 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 GoogleCloudDiscoveryengineV1betaAssistantContent( + typing_extensions.TypedDict, total=False +): + codeExecutionResult: ( + GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult + ) + executableCode: GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode + file: GoogleCloudDiscoveryengineV1betaAssistantContentFile + inlineData: GoogleCloudDiscoveryengineV1betaAssistantContentBlob + role: str + text: str + thought: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantContentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal[ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED", + ] + output: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode( + typing_extensions.TypedDict, total=False +): + code: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantContentFile( + typing_extensions.TypedDict, total=False +): + fileId: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy( + typing_extensions.TypedDict, total=False +): + bannedPhrases: _list[ + GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase + ] + modelArmorConfig: ( + GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase( + typing_extensions.TypedDict, total=False +): + ignoreDiacritics: bool + matchType: typing_extensions.Literal[ + "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + ] + phrase: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig( + typing_extensions.TypedDict, total=False +): + failureMode: typing_extensions.Literal[ + "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" + ] + responseTemplate: str + userPromptTemplate: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig( + typing_extensions.TypedDict, total=False +): + defaultLanguage: str + systemInstruction: ( + GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction( + typing_extensions.TypedDict, total=False +): + additionalSystemInstruction: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent( + typing_extensions.TypedDict, total=False +): + citationMetadata: GoogleCloudDiscoveryengineV1betaCitationMetadata + content: GoogleCloudDiscoveryengineV1betaAssistantContent + textGroundingMetadata: ( + GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata( + typing_extensions.TypedDict, total=False +): + references: _list[ + GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference + ] + segments: _list[ + GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( + typing_extensions.TypedDict, total=False +): + document: str + domain: str + mimeType: str + pageIdentifier: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment( + typing_extensions.TypedDict, total=False +): + endIndex: str + groundingScore: float + referenceIndices: _list[int] + startIndex: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantToolInfo( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantToolList( + typing_extensions.TypedDict, total=False +): + toolInfo: _list[GoogleCloudDiscoveryengineV1betaAssistantToolInfo] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -4028,6 +5098,7 @@ class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata( class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata( typing_extensions.TypedDict, total=False ): + mimeType: str structData: dict[str, typing.Any] title: str uri: str @@ -4051,6 +5122,23 @@ class GoogleCloudDiscoveryengineV1betaChunkStructuredContent( "CHECKBOX_STRUCTURE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCitation( + typing_extensions.TypedDict, total=False +): + endIndex: int + license: str + publicationDate: GoogleTypeDate + startIndex: int + title: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCitationMetadata( + typing_extensions.TypedDict, total=False +): + citations: _list[GoogleCloudDiscoveryengineV1betaCitation] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCloudSqlSource( typing_extensions.TypedDict, total=False @@ -4088,6 +5176,7 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "UNUSABLE", "ACTIVE_ROTATING", "DELETED", + "EXPIRED", ] @typing.type_check_only @@ -4373,6 +5462,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", + "CONFIGURABLE_CONSUMPTION_EMBEDDING", + ] contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -4596,6 +5690,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False ): + enableGetProcessedDocument: bool enableImageAnnotation: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] @@ -4641,9 +5736,14 @@ class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): + appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig + configurableBillingApproach: typing_extensions.Literal[ + "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", + "CONFIGURABLE_BILLING_APPROACH_ENABLED", + ] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -4871,6 +5971,19 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingStore( kmsKeyName: str name: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfig( + typing_extensions.TypedDict, total=False +): + externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig + idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( + typing_extensions.TypedDict, total=False +): + workforcePoolName: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -5086,6 +6199,41 @@ class GoogleCloudDiscoveryengineV1betaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaLicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + freeTrial: bool + geminiBundle: bool + licenseCount: str + name: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + 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", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse( typing_extensions.TypedDict, total=False @@ -5294,10 +6442,34 @@ class GoogleCloudDiscoveryengineV1betaPrincipal( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig + ) name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + notebooklmConfig: ( + GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( + typing_extensions.TypedDict, total=False +): + modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( + typing_extensions.TypedDict, total=False +): + responseTemplate: str + userPromptTemplate: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( typing_extensions.TypedDict, total=False @@ -5321,6 +6493,14 @@ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest( ): acceptDataUseTerms: bool dataUseTermsVersion: str + saasParams: GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams( + typing_extensions.TypedDict, total=False +): + acceptBizQos: bool + isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest( @@ -5674,6 +6854,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool + searchAddonSpec: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec ) @@ -5870,6 +7051,10 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + allowedFieldNames: _list[str] + extractedFilterBehavior: typing_extensions.Literal[ + "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" + ] filterExtractionCondition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -5894,6 +7079,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( ): returnRelevanceScore: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + disableGenerativeAnswerAddOn: bool + disableKpiPersonalizationAddOn: bool + disableSemanticAddOn: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False @@ -6077,6 +7270,30 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult( document: GoogleCloudDiscoveryengineV1betaDocument id: str modelScores: dict[str, typing.Any] + rankSignals: GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals( + typing_extensions.TypedDict, total=False +): + boostingFactor: float + customSignals: _list[ + GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal + ] + defaultRank: float + documentAge: float + keywordSimilarityScore: float + pctrRank: float + relevanceScore: float + semanticSimilarityScore: float + topicalityRank: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal( + typing_extensions.TypedDict, total=False +): + name: str + value: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo( @@ -6243,6 +7460,7 @@ class GoogleCloudDiscoveryengineV1betaSession(typing_extensions.TypedDict, total displayName: str endTime: str isPinned: bool + labels: _list[str] name: str startTime: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] @@ -6255,6 +7473,7 @@ class GoogleCloudDiscoveryengineV1betaSessionTurn( ): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1betaAnswer + detailedAssistAnswer: GoogleCloudDiscoveryengineV1betaAssistAnswer query: GoogleCloudDiscoveryengineV1betaQuery queryConfig: dict[str, typing.Any] @@ -6320,6 +7539,75 @@ class GoogleCloudDiscoveryengineV1betaSpannerSource( projectId: str tableId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequest( + typing_extensions.TypedDict, total=False +): + generationSpec: GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec + query: GoogleCloudDiscoveryengineV1betaQuery + session: str + toolsSpec: GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec + userMetadata: GoogleCloudDiscoveryengineV1betaAssistUserMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec( + typing_extensions.TypedDict, total=False +): + modelId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec( + typing_extensions.TypedDict, total=False +): + imageGenerationSpec: ( + GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec + ) + vertexAiSearchSpec: ( + GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec + ) + videoGenerationSpec: ( + GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec + ) + webGroundingSpec: ( + GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec( + typing_extensions.TypedDict, total=False +): + dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] + filter: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistResponse( + typing_extensions.TypedDict, total=False +): + answer: GoogleCloudDiscoveryengineV1betaAssistAnswer + assistToken: str + sessionInfo: GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo( + typing_extensions.TypedDict, total=False +): + session: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry( typing_extensions.TypedDict, total=False @@ -6496,6 +7784,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( "UNASSIGNED", "NO_LICENSE", "NO_LICENSE_ATTEMPTED_LOGIN", + "BLOCKED", ] licenseConfig: str updateTime: str @@ -6530,6 +7819,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/displayvideo/v2/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi index 9c5f0fd7..91f6090c 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi @@ -27,6 +27,145 @@ 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: ... @@ -51,6 +190,22 @@ 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, *, @@ -60,6 +215,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> CampaignHttpRequest: ... + def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class ChannelsResource(googleapiclient.discovery.Resource): @@ -199,6 +355,266 @@ 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, *, @@ -227,6 +643,24 @@ 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, *, @@ -236,6 +670,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> InsertionOrderHttpRequest: ... + def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class InvoicesResource(googleapiclient.discovery.Resource): @@ -2565,6 +3000,26 @@ 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( @@ -2785,6 +3240,16 @@ 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( @@ -2865,6 +3330,16 @@ 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 cbe15c6a..98091f97 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -86,6 +86,11 @@ class Adloox(typing_extensions.TypedDict, total=False): class Advertiser(typing_extensions.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig displayName: str @@ -199,6 +204,7 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False "APP_PLATFORM_GENERIC_CTV", "APP_PLATFORM_LG_TV", "APP_PLATFORM_VIZIO_TV", + "APP_PLATFORM_VIDAA", ] displayName: str negative: bool @@ -608,6 +614,20 @@ 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] @@ -1031,6 +1051,8 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -1547,6 +1569,11 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): @typing.type_check_only class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] targetDisplayName: str @typing.type_check_only @@ -1695,6 +1722,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -1791,6 +1819,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -1886,6 +1915,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -1984,6 +2014,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -2061,6 +2092,11 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): @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[ @@ -2303,6 +2339,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -2607,6 +2644,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str inventorySourceId: str @@ -2754,6 +2792,11 @@ class LineItem(typing_extensions.TypedDict, total=False): bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] conversionCounting: ConversionCountingConfig creativeIds: _list[str] displayName: str @@ -2877,6 +2920,13 @@ 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] @@ -2927,6 +2977,13 @@ 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] @@ -3587,6 +3644,8 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -3614,6 +3673,8 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 3f85c043..e668ed4b 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -250,6 +250,11 @@ class Advertiser(typing_extensions.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str billingConfig: AdvertiserBillingConfig + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig displayName: str @@ -359,6 +364,20 @@ class AlgorithmRules(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): boolValue: bool + contentDurationValue: typing_extensions.Literal[ + "CONTENT_DURATION_UNSPECIFIED", + "CONTENT_DURATION_UNKNOWN", + "CONTENT_DURATION_0_TO_1_MIN", + "CONTENT_DURATION_1_TO_5_MIN", + "CONTENT_DURATION_5_TO_15_MIN", + "CONTENT_DURATION_15_TO_30_MIN", + "CONTENT_DURATION_30_TO_60_MIN", + "CONTENT_DURATION_OVER_60_MIN", + ] + contentGenreIdValue: str + contentStreamTypeValue: typing_extensions.Literal[ + "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" + ] creativeDimensionValue: Dimensions dayAndTimeValue: DayAndTime deviceTypeValue: typing_extensions.Literal[ @@ -465,6 +484,7 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] int64Value: str onScreenPositionValue: typing_extensions.Literal[ @@ -544,6 +564,9 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): "CITY_ID", "BROWSER_ID", "CREATIVE_DIMENSION", + "VIDEO_CONTENT_DURATION_BUCKET", + "VIDEO_DELIVERY_TYPE", + "VIDEO_GENRE_ID", ] @typing.type_check_only @@ -555,6 +578,7 @@ class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): "LESS_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", + "LIST_CONTAINS", ] comparisonValue: AlgorithmRulesComparisonValue signal: AlgorithmRulesSignal @@ -590,6 +614,7 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False "APP_PLATFORM_GENERIC_CTV", "APP_PLATFORM_LG_TV", "APP_PLATFORM_VIZIO_TV", + "APP_PLATFORM_VIDAA", ] displayName: str negative: bool @@ -1510,6 +1535,8 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -2072,6 +2099,11 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): @typing.type_check_only class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] targetDisplayName: str @typing.type_check_only @@ -2232,6 +2264,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -2328,6 +2361,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -2423,6 +2457,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2521,6 +2556,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -2683,6 +2719,11 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): @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[ @@ -2925,6 +2966,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -3234,6 +3276,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str inventorySourceId: str @@ -3411,6 +3454,11 @@ class LineItem(typing_extensions.TypedDict, total=False): bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] conversionCounting: ConversionCountingConfig creativeIds: _list[str] displayName: str @@ -4265,6 +4313,8 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -4292,6 +4342,8 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi index 927c75b1..ab5619a8 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi @@ -227,6 +227,147 @@ 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: ... @@ -251,6 +392,22 @@ 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, *, @@ -260,6 +417,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> CampaignHttpRequest: ... + def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class ChannelsResource(googleapiclient.discovery.Resource): @@ -399,6 +557,270 @@ 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, *, @@ -427,6 +849,24 @@ 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, *, @@ -436,6 +876,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> InsertionOrderHttpRequest: ... + def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class InvoicesResource(googleapiclient.discovery.Resource): @@ -2652,6 +3093,26 @@ 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( @@ -2930,6 +3391,16 @@ 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( @@ -3030,6 +3501,16 @@ 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/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index f84d7066..34a06056 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -250,6 +250,11 @@ class Advertiser(typing_extensions.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str billingConfig: AdvertiserBillingConfig + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig displayName: str @@ -359,6 +364,20 @@ class AlgorithmRules(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): boolValue: bool + contentDurationValue: typing_extensions.Literal[ + "CONTENT_DURATION_UNSPECIFIED", + "CONTENT_DURATION_UNKNOWN", + "CONTENT_DURATION_0_TO_1_MIN", + "CONTENT_DURATION_1_TO_5_MIN", + "CONTENT_DURATION_5_TO_15_MIN", + "CONTENT_DURATION_15_TO_30_MIN", + "CONTENT_DURATION_30_TO_60_MIN", + "CONTENT_DURATION_OVER_60_MIN", + ] + contentGenreIdValue: str + contentStreamTypeValue: typing_extensions.Literal[ + "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" + ] creativeDimensionValue: Dimensions dayAndTimeValue: DayAndTime deviceTypeValue: typing_extensions.Literal[ @@ -465,6 +484,7 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] int64Value: str onScreenPositionValue: typing_extensions.Literal[ @@ -544,6 +564,9 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): "CITY_ID", "BROWSER_ID", "CREATIVE_DIMENSION", + "VIDEO_CONTENT_DURATION_BUCKET", + "VIDEO_DELIVERY_TYPE", + "VIDEO_GENRE_ID", ] @typing.type_check_only @@ -555,6 +578,7 @@ class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): "LESS_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", + "LIST_CONTAINS", ] comparisonValue: AlgorithmRulesComparisonValue signal: AlgorithmRulesSignal @@ -590,6 +614,7 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False "APP_PLATFORM_GENERIC_CTV", "APP_PLATFORM_LG_TV", "APP_PLATFORM_VIZIO_TV", + "APP_PLATFORM_VIDAA", ] displayName: str negative: bool @@ -1004,6 +1029,20 @@ 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] @@ -1496,6 +1535,8 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -1642,6 +1683,9 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): name: str partnerId: str sharedAdvertiserIds: _list[str] + thirdPartyOptimizationPartner: typing_extensions.Literal[ + "UNKNOWN", "SCIBIDS", "ADELAIDE" + ] @typing.type_check_only class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): @@ -2054,6 +2098,11 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): @typing.type_check_only class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] targetDisplayName: str @typing.type_check_only @@ -2214,6 +2263,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -2310,6 +2360,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -2405,6 +2456,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2503,6 +2555,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] @typing.type_check_only @@ -2541,6 +2594,7 @@ class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): "THIRD_PARTY", "COMMERCE", "LINEAR", + "AGENCY", ] contactInfoList: ContactInfoList description: str @@ -2667,6 +2721,11 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): @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[ @@ -2909,6 +2968,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -3218,6 +3278,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_COMMERCE_GRID", "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", + "EXCHANGE_SNAP", ] guaranteedOrderId: str inventorySourceId: str @@ -3395,6 +3456,11 @@ class LineItem(typing_extensions.TypedDict, total=False): bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str + containsEuPoliticalAds: typing_extensions.Literal[ + "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", + "CONTAINS_EU_POLITICAL_ADVERTISING", + "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", + ] conversionCounting: ConversionCountingConfig creativeIds: _list[str] displayName: str @@ -3534,6 +3600,13 @@ 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] @@ -3596,6 +3669,13 @@ 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] @@ -4225,6 +4305,8 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only @@ -4252,6 +4334,8 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_7_1", "SDF_VERSION_8", "SDF_VERSION_8_1", + "SDF_VERSION_9", + "SDF_VERSION_9_1", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi index 0f5606ab..58edde03 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi @@ -12,6 +12,7 @@ class GooglePrivacyDlpV2Action(typing_extensions.TypedDict, total=False): publishFindingsToCloudDataCatalog: ( GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog ) + publishFindingsToDataplexCatalog: GooglePrivacyDlpV2PublishFindingsToDataplexCatalog publishSummaryToCscc: GooglePrivacyDlpV2PublishSummaryToCscc publishToStackdriver: GooglePrivacyDlpV2PublishToStackdriver saveFindings: GooglePrivacyDlpV2SaveFindings @@ -1150,6 +1151,13 @@ class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] +@typing.type_check_only +class GooglePrivacyDlpV2DocumentFallbackLocation( + typing_extensions.TypedDict, total=False +): + globalProcessing: GooglePrivacyDlpV2GlobalProcessing + multiRegionProcessing: GooglePrivacyDlpV2MultiRegionProcessing + @typing.type_check_only class GooglePrivacyDlpV2DocumentLocation(typing_extensions.TypedDict, total=False): fileOffset: str @@ -1265,6 +1273,7 @@ class GooglePrivacyDlpV2FileSet(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooglePrivacyDlpV2FileStoreCollection(typing_extensions.TypedDict, total=False): includeRegexes: GooglePrivacyDlpV2FileStoreRegexes + includeTags: GooglePrivacyDlpV2TagFilters @typing.type_check_only class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total=False): @@ -1454,6 +1463,7 @@ class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=Fals "ARGENTINA", "ARMENIA", "AUSTRALIA", + "AUSTRIA", "AZERBAIJAN", "BELARUS", "BELGIUM", @@ -1520,6 +1530,7 @@ class GooglePrivacyDlpV2InfoTypeDescription(typing_extensions.TypedDict, total=F description: str displayName: str example: str + locationSupport: GooglePrivacyDlpV2LocationSupport name: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore specificInfoTypes: _list[str] @@ -1876,6 +1887,13 @@ class GooglePrivacyDlpV2Location(typing_extensions.TypedDict, total=False): container: GooglePrivacyDlpV2Container contentLocations: _list[GooglePrivacyDlpV2ContentLocation] +@typing.type_check_only +class GooglePrivacyDlpV2LocationSupport(typing_extensions.TypedDict, total=False): + locations: _list[str] + regionalizationScope: typing_extensions.Literal[ + "REGIONALIZATION_SCOPE_UNSPECIFIED", "REGIONAL", "ANY_LOCATION" + ] + @typing.type_check_only class GooglePrivacyDlpV2Manual(typing_extensions.TypedDict, total=False): ... @@ -1965,6 +1983,7 @@ class GooglePrivacyDlpV2OutputStorageConfig(typing_extensions.TypedDict, total=F "BIG_QUERY_COLUMNS", "ALL_COLUMNS", ] + storagePath: GooglePrivacyDlpV2CloudStoragePath table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only @@ -2006,6 +2025,7 @@ class GooglePrivacyDlpV2PrivacyMetric(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooglePrivacyDlpV2ProcessingLocation(typing_extensions.TypedDict, total=False): + documentFallbackLocation: GooglePrivacyDlpV2DocumentFallbackLocation imageFallbackLocation: GooglePrivacyDlpV2ImageFallbackLocation @typing.type_check_only @@ -2068,6 +2088,11 @@ class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GooglePrivacyDlpV2PublishSummaryToCscc( typing_extensions.TypedDict, total=False @@ -2161,9 +2186,11 @@ class GooglePrivacyDlpV2RedactConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooglePrivacyDlpV2RedactImageRequest(typing_extensions.TypedDict, total=False): byteItem: GooglePrivacyDlpV2ByteContentItem + deidentifyTemplate: str imageRedactionConfigs: _list[GooglePrivacyDlpV2ImageRedactionConfig] includeFindings: bool inspectConfig: GooglePrivacyDlpV2InspectConfig + inspectTemplate: str locationId: str @typing.type_check_only @@ -2446,6 +2473,15 @@ class GooglePrivacyDlpV2TagCondition(typing_extensions.TypedDict, total=False): sensitivityScore: GooglePrivacyDlpV2SensitivityScore tag: GooglePrivacyDlpV2TagValue +@typing.type_check_only +class GooglePrivacyDlpV2TagFilter(typing_extensions.TypedDict, total=False): + namespacedTagKey: str + namespacedTagValue: str + +@typing.type_check_only +class GooglePrivacyDlpV2TagFilters(typing_extensions.TypedDict, total=False): + tagFilters: _list[GooglePrivacyDlpV2TagFilter] + @typing.type_check_only class GooglePrivacyDlpV2TagResources(typing_extensions.TypedDict, total=False): lowerDataRiskToLow: bool @@ -2730,3 +2766,14 @@ class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): minutes: int nanos: int seconds: int + +@typing.type_check_only +class Proto2BridgeMessageSet(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UtilStatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: Proto2BridgeMessageSet + space: str diff --git a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi index 799da7bb..7b71ab2b 100644 --- a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi @@ -204,11 +204,18 @@ class Document(typing_extensions.TypedDict, total=False): tabs: _list[Tab] title: str +@typing.type_check_only +class DocumentFormat(typing_extensions.TypedDict, total=False): + documentMode: typing_extensions.Literal[ + "DOCUMENT_MODE_UNSPECIFIED", "PAGES", "PAGELESS" + ] + @typing.type_check_only class DocumentStyle(typing_extensions.TypedDict, total=False): background: Background defaultFooterId: str defaultHeaderId: str + documentFormat: DocumentFormat evenPageFooterId: str evenPageHeaderId: str firstPageFooterId: str @@ -425,6 +432,12 @@ class InsertPageBreakRequest(typing_extensions.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location +@typing.type_check_only +class InsertPersonRequest(typing_extensions.TypedDict, total=False): + endOfSegmentLocation: EndOfSegmentLocation + location: Location + personProperties: PersonProperties + @typing.type_check_only class InsertSectionBreakRequest(typing_extensions.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation @@ -810,6 +823,7 @@ class Request(typing_extensions.TypedDict, total=False): deleteTableRow: DeleteTableRowRequest insertInlineImage: InsertInlineImageRequest insertPageBreak: InsertPageBreakRequest + insertPerson: InsertPersonRequest insertSectionBreak: InsertSectionBreakRequest insertTable: InsertTableRequest insertTableColumn: InsertTableColumnRequest @@ -1000,6 +1014,7 @@ class Tab(typing_extensions.TypedDict, total=False): @typing.type_check_only class TabProperties(typing_extensions.TypedDict, total=False): + iconEmoji: str index: int nestingLevel: int parentTabId: str diff --git a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi index a855db9f..291ca37f 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi @@ -38,6 +38,7 @@ class DocumentResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index 929bbe03..e51925a7 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -4,6 +4,132 @@ import typing_extensions _list = list +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( + typing_extensions.TypedDict, total=False +): + validationRules: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( + typing_extensions.TypedDict, total=False +): + childAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule + description: str + entityAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule + fieldOccurrences: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences + fieldRegex: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex + ) + formValidation: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation + name: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentType: typing_extensions.Literal[ + "ALIGNMENT_TYPE_UNSPECIFIED", + "ALIGNMENT_TYPE_HORIZONTAL", + "ALIGNMENT_TYPE_VERTICAL", + ] + tolerance: float + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule + childFields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + parentField: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ) + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant( + typing_extensions.TypedDict, total=False +): + floatValue: float + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule + fields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( + typing_extensions.TypedDict, total=False +): + defaultValue: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant + ) + fieldName: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences( + typing_extensions.TypedDict, total=False +): + field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + maxOccurrences: int + minOccurrences: int + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex( + typing_extensions.TypedDict, total=False +): + field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + pattern: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation( + typing_extensions.TypedDict, total=False +): + leftOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + rightOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + validationOperator: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", + "OPERATION_TYPE_EQ", + "OPERATION_TYPE_NE", + "OPERATION_TYPE_LT", + "OPERATION_TYPE_LE", + "OPERATION_TYPE_GT", + "OPERATION_TYPE_GE", + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation( + typing_extensions.TypedDict, total=False +): + constants: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant + ] + fields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + operationType: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", + "OPERATION_TYPE_SUM", + "OPERATION_TYPE_SUB", + "OPERATION_TYPE_MUL", + "OPERATION_TYPE_DIV", + "OPERATION_TYPE_MAX", + "OPERATION_TYPE_MIN", + "OPERATION_TYPE_ABS", + "OPERATION_TYPE_UNIQUE", + "OPERATION_TYPE_COUNT", + ] + operations: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + ] + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -567,7 +693,10 @@ class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): docid: str documentLayout: GoogleCloudDocumentaiV1DocumentDocumentLayout entities: _list[GoogleCloudDocumentaiV1DocumentEntity] + entitiesRevisionId: str + entitiesRevisions: _list[GoogleCloudDocumentaiV1DocumentEntitiesRevision] entityRelations: _list[GoogleCloudDocumentaiV1DocumentEntityRelation] + entityValidationOutput: GoogleCloudDocumentaiV1DocumentEntityValidationOutput error: GoogleRpcStatus mimeType: str pages: _list[GoogleCloudDocumentaiV1DocumentPage] @@ -703,12 +832,21 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutText text: str type: str +@typing.type_check_only +class GoogleCloudDocumentaiV1DocumentEntitiesRevision( + typing_extensions.TypedDict, total=False +): + entities: _list[GoogleCloudDocumentaiV1DocumentEntity] + entityValidationOutput: GoogleCloudDocumentaiV1DocumentEntityValidationOutput + revisionId: str + @typing.type_check_only class GoogleCloudDocumentaiV1DocumentEntity(typing_extensions.TypedDict, total=False): confidence: float id: str mentionId: str mentionText: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] normalizedValue: GoogleCloudDocumentaiV1DocumentEntityNormalizedValue pageAnchor: GoogleCloudDocumentaiV1DocumentPageAnchor properties: _list[GoogleCloudDocumentaiV1DocumentEntity] @@ -739,6 +877,30 @@ class GoogleCloudDocumentaiV1DocumentEntityRelation( relation: str subjectId: str +@typing.type_check_only +class GoogleCloudDocumentaiV1DocumentEntityValidationOutput( + typing_extensions.TypedDict, total=False +): + passAllRules: bool + validationResults: _list[ + GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult + ] + +@typing.type_check_only +class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult( + typing_extensions.TypedDict, total=False +): + ruleDescription: str + ruleName: str + validationDetails: str + validationResultType: typing_extensions.Literal[ + "VALIDATION_RESULT_TYPE_UNSPECIFIED", + "VALIDATION_RESULT_TYPE_VALID", + "VALIDATION_RESULT_TYPE_INVALID", + "VALIDATION_RESULT_TYPE_SKIPPED", + "VALIDATION_RESULT_TYPE_NOT_APPLICABLE", + ] + @typing.type_check_only class GoogleCloudDocumentaiV1DocumentOutputConfig( typing_extensions.TypedDict, total=False @@ -1951,6 +2113,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/documentai/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi index 7d0e4af8..02644915 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi @@ -32,6 +32,7 @@ class DocumentResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 01fde85a..9a531048 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -4,6 +4,132 @@ import typing_extensions _list = list +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( + typing_extensions.TypedDict, total=False +): + validationRules: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( + typing_extensions.TypedDict, total=False +): + childAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule + description: str + entityAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule + fieldOccurrences: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences + fieldRegex: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex + ) + formValidation: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation + name: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentType: typing_extensions.Literal[ + "ALIGNMENT_TYPE_UNSPECIFIED", + "ALIGNMENT_TYPE_HORIZONTAL", + "ALIGNMENT_TYPE_VERTICAL", + ] + tolerance: float + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule + childFields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + parentField: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ) + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant( + typing_extensions.TypedDict, total=False +): + floatValue: float + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule( + typing_extensions.TypedDict, total=False +): + alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule + fields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( + typing_extensions.TypedDict, total=False +): + defaultValue: ( + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant + ) + fieldName: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences( + typing_extensions.TypedDict, total=False +): + field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + maxOccurrences: int + minOccurrences: int + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex( + typing_extensions.TypedDict, total=False +): + field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + pattern: str + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation( + typing_extensions.TypedDict, total=False +): + leftOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + rightOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + validationOperator: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", + "OPERATION_TYPE_EQ", + "OPERATION_TYPE_NE", + "OPERATION_TYPE_LT", + "OPERATION_TYPE_LE", + "OPERATION_TYPE_GT", + "OPERATION_TYPE_GE", + ] + +@typing.type_check_only +class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation( + typing_extensions.TypedDict, total=False +): + constants: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant + ] + fields: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + ] + operationType: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", + "OPERATION_TYPE_SUM", + "OPERATION_TYPE_SUB", + "OPERATION_TYPE_MUL", + "OPERATION_TYPE_DIV", + "OPERATION_TYPE_MAX", + "OPERATION_TYPE_MIN", + "OPERATION_TYPE_ABS", + "OPERATION_TYPE_UNIQUE", + "OPERATION_TYPE_COUNT", + ] + operations: _list[ + CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + ] + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -852,7 +978,10 @@ class GoogleCloudDocumentaiV1beta3Document(typing_extensions.TypedDict, total=Fa docid: str documentLayout: GoogleCloudDocumentaiV1beta3DocumentDocumentLayout entities: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] + entitiesRevisionId: str + entitiesRevisions: _list[GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision] entityRelations: _list[GoogleCloudDocumentaiV1beta3DocumentEntityRelation] + entityValidationOutput: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput error: GoogleRpcStatus mimeType: str pages: _list[GoogleCloudDocumentaiV1beta3DocumentPage] @@ -1032,10 +1161,19 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( typing_extensions.TypedDict, total=False ): + annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations blocks: _list[GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock] text: str type: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision( + typing_extensions.TypedDict, total=False +): + entities: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] + entityValidationOutput: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput + revisionId: str + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentEntity( typing_extensions.TypedDict, total=False @@ -1044,6 +1182,7 @@ class GoogleCloudDocumentaiV1beta3DocumentEntity( id: str mentionId: str mentionText: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] normalizedValue: GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue pageAnchor: GoogleCloudDocumentaiV1beta3DocumentPageAnchor properties: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] @@ -1074,6 +1213,30 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityRelation( relation: str subjectId: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput( + typing_extensions.TypedDict, total=False +): + passAllRules: bool + validationResults: _list[ + GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult + ] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult( + typing_extensions.TypedDict, total=False +): + ruleDescription: str + ruleName: str + validationDetails: str + validationResultType: typing_extensions.Literal[ + "VALIDATION_RESULT_TYPE_UNSPECIFIED", + "VALIDATION_RESULT_TYPE_VALID", + "VALIDATION_RESULT_TYPE_INVALID", + "VALIDATION_RESULT_TYPE_SKIPPED", + "VALIDATION_RESULT_TYPE_NOT_APPLICABLE", + ] + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentId(typing_extensions.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId @@ -2199,6 +2362,7 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): 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/domains/v1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1/resources.pyi index 330f5a3d..c6cc999c 100644 --- a/googleapiclient-stubs/_apis/domains/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/resources.pyi @@ -207,6 +207,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi index 306f91d5..fa83cde4 100644 --- a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi @@ -355,6 +355,7 @@ class Registration(typing_extensions.TypedDict, total=False): "UNVERIFIED_EMAIL", "PROBLEM_WITH_BILLING", "DNS_NOT_ACTIVATED", + "AUTO_RENEWAL_UPDATE_NOT_EFFECTIVE", ] ] labels: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi index 330f5a3d..c6cc999c 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi @@ -207,6 +207,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi index 8ab5e925..9f45ddd2 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi @@ -355,6 +355,7 @@ class Registration(typing_extensions.TypedDict, total=False): "UNVERIFIED_EMAIL", "PROBLEM_WITH_BILLING", "DNS_NOT_ACTIVATED", + "AUTO_RENEWAL_UPDATE_NOT_EFFECTIVE", ] ] labels: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi index 330f5a3d..c6cc999c 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi @@ -207,6 +207,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi index 306f91d5..fa83cde4 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi @@ -355,6 +355,7 @@ class Registration(typing_extensions.TypedDict, total=False): "UNVERIFIED_EMAIL", "PROBLEM_WITH_BILLING", "DNS_NOT_ACTIVATED", + "AUTO_RENEWAL_UPDATE_NOT_EFFECTIVE", ] ] labels: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index 3afca3c9..c3e1cb97 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -360,27 +360,7 @@ class DriveResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> googleapiclient.http.HttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> googleapiclient.http.HttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> OperationHttpRequest: ... - def list( - self, - *, - filter: str = ..., - name: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... @typing.type_check_only class PermissionsResource(googleapiclient.discovery.Resource): @@ -725,14 +705,6 @@ class ListAccessProposalsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAccessProposalsResponse: ... -@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 ModifyLabelsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index d50c0d8c..908170e5 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -298,11 +298,6 @@ class ListAccessProposalsResponse(typing_extensions.TypedDict, total=False): accessProposals: _list[AccessProposal] nextPageToken: str -@typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - operations: _list[Operation] - @typing.type_check_only class ModifyLabelsRequest(typing_extensions.TypedDict, total=False): kind: str diff --git a/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi b/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi index e239e227..acbac72f 100644 --- a/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi @@ -315,6 +315,8 @@ class RestrictionChange(typing_extensions.TypedDict, total=False): "ITEM_DUPLICATION", "DRIVE_FILE_STREAM", "FILE_ORGANIZER_CAN_SHARE_FOLDERS", + "READERS_CAN_DOWNLOAD", + "WRITERS_CAN_DOWNLOAD", ] newRestriction: typing_extensions.Literal[ "RESTRICTION_UNSPECIFIED", "UNRESTRICTED", "FULLY_RESTRICTED" diff --git a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi index 76f2ae4a..36cc1e21 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi @@ -399,6 +399,7 @@ class EventarcResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi index 932a36b7..89639abd 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi @@ -126,6 +126,8 @@ class GoogleApiSource(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] loggingConfig: LoggingConfig name: str + organizationSubscription: OrganizationSubscription + projectSubscriptions: ProjectSubscriptions uid: str updateTime: str @@ -234,6 +236,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): @@ -362,6 +365,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class OrganizationSubscription(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class Pipeline(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -387,6 +394,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class ProjectSubscriptions(typing_extensions.TypedDict, total=False): + list: _list[str] + @typing.type_check_only class Provider(typing_extensions.TypedDict, total=False): displayName: str diff --git a/googleapiclient-stubs/_apis/file/v1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1/schemas.pyi index 28bad05c..4feb96c3 100644 --- a/googleapiclient-stubs/_apis/file/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1/schemas.pyi @@ -66,6 +66,7 @@ class FileShareConfig(typing_extensions.TypedDict, total=False): name: str nfsExportOptions: _list[NfsExportOptions] sourceBackup: str + sourceBackupdrBackup: str @typing.type_check_only class FixedIOPS(typing_extensions.TypedDict, total=False): @@ -176,6 +177,7 @@ class IOPSPerTB(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + capacityStepSizeGb: str createTime: str customPerformanceSupported: bool deletionProtectionEnabled: bool @@ -185,6 +187,8 @@ class Instance(typing_extensions.TypedDict, total=False): fileShares: _list[FileShareConfig] kmsKeyName: str labels: dict[str, typing.Any] + maxCapacityGb: str + minCapacityGb: str name: str networks: _list[NetworkConfig] performanceConfig: PerformanceConfig @@ -280,11 +284,15 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): connectMode: typing_extensions.Literal[ - "CONNECT_MODE_UNSPECIFIED", "DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS" + "CONNECT_MODE_UNSPECIFIED", + "DIRECT_PEERING", + "PRIVATE_SERVICE_ACCESS", + "PRIVATE_SERVICE_CONNECT", ] ipAddresses: _list[str] modes: _list[typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4"]] network: str + pscConfig: PscConfig reservedIpRange: str @typing.type_check_only @@ -295,6 +303,7 @@ class NfsExportOptions(typing_extensions.TypedDict, total=False): anonGid: str anonUid: str ipRanges: _list[str] + network: str squashMode: typing_extensions.Literal[ "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH" ] @@ -334,18 +343,35 @@ class PerformanceLimits(typing_extensions.TypedDict, total=False): class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): peerInstance: str +@typing.type_check_only +class PscConfig(typing_extensions.TypedDict, total=False): + endpointProject: str + @typing.type_check_only class ReplicaConfig(typing_extensions.TypedDict, total=False): lastActiveSyncTime: str peerInstance: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "REMOVING", "FAILED" + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "REMOVING", + "FAILED", + "PROMOTING", + "PAUSING", + "PAUSED", + "RESUMING", ] stateReasons: _list[ typing_extensions.Literal[ - "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED" + "STATE_REASON_UNSPECIFIED", + "PEER_INSTANCE_UNREACHABLE", + "REMOVE_FAILED", + "PAUSE_FAILED", + "RESUME_FAILED", ] ] + stateUpdateTime: str @typing.type_check_only class Replication(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi index 40ae4108..e11c77e4 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi @@ -177,6 +177,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, *, @@ -191,6 +198,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, *, diff --git a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi index 7120fd84..93d168c7 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi @@ -71,6 +71,7 @@ class FileShareConfig(typing_extensions.TypedDict, total=False): name: str nfsExportOptions: _list[NfsExportOptions] sourceBackup: str + sourceBackupdrBackup: str @typing.type_check_only class FixedIOPS(typing_extensions.TypedDict, total=False): @@ -181,6 +182,9 @@ class IOPSPerTB(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + backendType: typing_extensions.Literal[ + "BACKEND_TYPE_UNSPECIFIED", "COMPUTE_BASED_BACKEND", "FILESTORE_BACKEND" + ] capacityGb: str capacityStepSizeGb: str createTime: str @@ -195,6 +199,7 @@ class Instance(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] maxCapacityGb: str maxShareCount: str + minCapacityGb: str multiShareEnabled: bool name: str networks: _list[NetworkConfig] @@ -356,6 +361,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 @@ -382,13 +390,26 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): lastActiveSyncTime: str peerInstance: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "REMOVING", "FAILED" + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "REMOVING", + "FAILED", + "PROMOTING", + "PAUSING", + "PAUSED", + "RESUMING", ] stateReasons: _list[ typing_extensions.Literal[ - "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED" + "STATE_REASON_UNSPECIFIED", + "PEER_INSTANCE_UNREACHABLE", + "REMOVE_FAILED", + "PAUSE_FAILED", + "RESUME_FAILED", ] ] + stateUpdateTime: str @typing.type_check_only class Replication(typing_extensions.TypedDict, total=False): @@ -401,6 +422,9 @@ class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): sourceBackup: str sourceSnapshot: 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/firebaseappcheck/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi index 82683ddb..d5f7be15 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi @@ -215,9 +215,36 @@ class GoogleFirebaseAppcheckV1ListServicesResponse( class GoogleFirebaseAppcheckV1PlayIntegrityConfig( typing_extensions.TypedDict, total=False ): + accountDetails: GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails + appIntegrity: GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity + deviceIntegrity: GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity name: str tokenTtl: str +@typing.type_check_only +class GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails( + typing_extensions.TypedDict, total=False +): + requireLicensed: bool + +@typing.type_check_only +class GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity( + typing_extensions.TypedDict, total=False +): + allowUnrecognizedVersion: bool + +@typing.type_check_only +class GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity( + typing_extensions.TypedDict, total=False +): + minDeviceRecognitionLevel: typing_extensions.Literal[ + "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED", + "NO_INTEGRITY", + "MEETS_BASIC_INTEGRITY", + "MEETS_DEVICE_INTEGRITY", + "MEETS_STRONG_INTEGRITY", + ] + @typing.type_check_only class GoogleFirebaseAppcheckV1PublicJwk(typing_extensions.TypedDict, total=False): alg: str @@ -236,13 +263,21 @@ class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig( typing_extensions.TypedDict, total=False ): name: str + riskAnalysis: GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis siteKey: str tokenTtl: str +@typing.type_check_only +class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis( + typing_extensions.TypedDict, total=False +): + minValidScore: float + @typing.type_check_only class GoogleFirebaseAppcheckV1RecaptchaV3Config( typing_extensions.TypedDict, total=False ): + minValidScore: float name: str siteSecret: str siteSecretSet: bool diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi index 50fa89cb..5382e5a4 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi @@ -240,9 +240,36 @@ class GoogleFirebaseAppcheckV1betaListServicesResponse( class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig( typing_extensions.TypedDict, total=False ): + accountDetails: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails + appIntegrity: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity + deviceIntegrity: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity name: str tokenTtl: str +@typing.type_check_only +class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails( + typing_extensions.TypedDict, total=False +): + requireLicensed: bool + +@typing.type_check_only +class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity( + typing_extensions.TypedDict, total=False +): + allowUnrecognizedVersion: bool + +@typing.type_check_only +class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity( + typing_extensions.TypedDict, total=False +): + minDeviceRecognitionLevel: typing_extensions.Literal[ + "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED", + "NO_INTEGRITY", + "MEETS_BASIC_INTEGRITY", + "MEETS_DEVICE_INTEGRITY", + "MEETS_STRONG_INTEGRITY", + ] + @typing.type_check_only class GoogleFirebaseAppcheckV1betaPublicJwk(typing_extensions.TypedDict, total=False): alg: str @@ -262,6 +289,7 @@ class GoogleFirebaseAppcheckV1betaPublicJwkSet( class GoogleFirebaseAppcheckV1betaRecaptchaConfig( typing_extensions.TypedDict, total=False ): + minValidScore: float name: str siteSecret: str siteSecretSet: bool @@ -272,13 +300,21 @@ class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig( typing_extensions.TypedDict, total=False ): name: str + riskAnalysis: GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis siteKey: str tokenTtl: str +@typing.type_check_only +class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis( + typing_extensions.TypedDict, total=False +): + minValidScore: float + @typing.type_check_only class GoogleFirebaseAppcheckV1betaRecaptchaV3Config( typing_extensions.TypedDict, total=False ): + minValidScore: float name: str siteSecret: str siteSecretSet: bool diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi index d865d70e..e78fd6d4 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi @@ -78,6 +78,7 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi index f1ec2911..451e80f8 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi @@ -242,10 +242,12 @@ class GoogleFirebaseAppdistroV1Release(typing_extensions.TypedDict, total=False) buildVersion: str createTime: str displayVersion: str + expireTime: str firebaseConsoleUri: str name: str releaseNotes: GoogleFirebaseAppdistroV1ReleaseNotes testingUri: str + updateTime: str @typing.type_check_only class GoogleFirebaseAppdistroV1ReleaseNotes(typing_extensions.TypedDict, total=False): @@ -298,6 +300,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/firebaseappdistribution/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi index b429508b..816afabc 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi @@ -134,6 +134,13 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): body: GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest = ..., **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... + def batchUpdate( + self, + *, + parent: str, + body: GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponseHttpRequest: ... def create( self, *, @@ -169,6 +176,7 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleFirebaseAppdistroV1alphaTestCase = ..., + allowMissing: bool = ..., **kwargs: typing.Any, ) -> GoogleFirebaseAppdistroV1alphaTestCaseHttpRequest: ... @@ -221,6 +229,16 @@ class GoogleFirebaseAppdistroV1alphaAppHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GoogleFirebaseAppdistroV1alphaApp: ... +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse: ... + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index 291eadd3..1bb9201e 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -22,10 +22,12 @@ class GoogleFirebaseAppdistroV1Release(typing_extensions.TypedDict, total=False) buildVersion: str createTime: str displayVersion: str + expireTime: str firebaseConsoleUri: str name: str releaseNotes: GoogleFirebaseAppdistroV1ReleaseNotes testingUri: str + updateTime: str @typing.type_check_only class GoogleFirebaseAppdistroV1ReleaseNotes(typing_extensions.TypedDict, total=False): @@ -68,6 +70,7 @@ class GoogleFirebaseAppdistroV1alphaAiStep(typing_extensions.TypedDict, total=Fa goal: str hint: str successCriteria: str + testCase: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaAiStepResult( @@ -122,6 +125,18 @@ class GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest( ): names: _list[str] +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest( + typing_extensions.TypedDict, total=False +): + requests: _list[GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest] + +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse( + typing_extensions.TypedDict, total=False +): + testCases: _list[GoogleFirebaseAppdistroV1alphaTestCase] + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse( typing_extensions.TypedDict, total=False @@ -180,20 +195,36 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( state: typing_extensions.Literal[ "TEST_STATE_UNSPECIFIED", "IN_PROGRESS", "PASSED", "FAILED", "INCONCLUSIVE" ] + videoStartTime: str videoUri: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteraction( typing_extensions.TypedDict, total=False ): + backAction: GoogleFirebaseAppdistroV1alphaDeviceInteractionBack + dragAndDrop: GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop enterText: GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText keyCode: str + longPress: AndroidxCrawlerOutputPoint screenshot: GoogleFirebaseAppdistroV1alphaScreenshot swipe: GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe tap: AndroidxCrawlerOutputPoint textInput: str wait: GoogleFirebaseAppdistroV1alphaDeviceInteractionWait +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaDeviceInteractionBack( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop( + typing_extensions.TypedDict, total=False +): + end: AndroidxCrawlerOutputPoint + start: AndroidxCrawlerOutputPoint + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText( typing_extensions.TypedDict, total=False @@ -279,9 +310,13 @@ class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( class GoogleFirebaseAppdistroV1alphaGoalAction( typing_extensions.TypedDict, total=False ): + cachingType: typing_extensions.Literal[ + "CACHING_TYPE_UNSPECIFIED", "NO_CACHING", "CACHE_AND_MODEL", "CACHE_ONLY" + ] debugInfo: GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo deviceAction: GoogleFirebaseAppdistroV1alphaDeviceAction explanation: str + startTime: str terminalAction: GoogleFirebaseAppdistroV1alphaTerminalAction @typing.type_check_only @@ -401,8 +436,10 @@ class GoogleFirebaseAppdistroV1alphaTerminalAction( class GoogleFirebaseAppdistroV1alphaTestCase(typing_extensions.TypedDict, total=False): aiInstructions: GoogleFirebaseAppdistroV1alphaAiInstructions createTime: str + dependentTestCases: _list[str] displayName: str name: str + prerequisiteTestCase: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaTestConfig( @@ -436,5 +473,12 @@ class GoogleFirebaseAppdistroV1alphaTesterUdid( platform: str udid: str +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest( + typing_extensions.TypedDict, total=False +): + allowMissing: bool + testCase: GoogleFirebaseAppdistroV1alphaTestCase + @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi index ba0c4090..eb055093 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi @@ -4,6 +4,14 @@ import typing_extensions _list = list +@typing.type_check_only +class ArchiveSource(typing_extensions.TypedDict, total=False): + author: SourceUserMetadata + description: str + externalSignedUri: str + rootDirectory: str + userStorageUri: str + @typing.type_check_only class Backend(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -19,6 +27,7 @@ class Backend(typing_extensions.TypedDict, total=False): mode: str name: str reconciling: bool + requestLogsDisabled: bool serviceAccount: str servingLocality: typing_extensions.Literal[ "SERVING_LOCALITY_UNSPECIFIED", "REGIONAL_STRICT", "GLOBAL_ACCESS" @@ -51,6 +60,7 @@ class Build(typing_extensions.TypedDict, total=False): @typing.type_check_only class BuildSource(typing_extensions.TypedDict, total=False): + archive: ArchiveSource codebase: CodebaseSource container: ContainerSource @@ -362,6 +372,12 @@ class RunService(typing_extensions.TypedDict, total=False): class ServingBehavior(typing_extensions.TypedDict, total=False): redirect: Redirect +@typing.type_check_only +class SourceUserMetadata(typing_extensions.TypedDict, total=False): + displayName: str + email: str + imageUri: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi index b841195e..70dda1d3 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi @@ -26,6 +26,7 @@ class Backend(typing_extensions.TypedDict, total=False): managedResources: _list[ManagedResource] mode: str name: str + overrideEnv: _list[EnvironmentVariable] reconciling: bool requestLogsDisabled: bool serviceAccount: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi index 425134a9..4a962ddc 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi @@ -89,6 +89,20 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> ConnectorHttpRequest: ... + def impersonateMutation( + self, + *, + name: str, + body: ImpersonateRequest = ..., + **kwargs: typing.Any, + ) -> GraphqlResponseHttpRequest: ... + def impersonateQuery( + self, + *, + name: str, + body: ImpersonateRequest = ..., + **kwargs: typing.Any, + ) -> GraphqlResponseHttpRequest: ... def list( self, *, @@ -199,6 +213,9 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> ServiceHttpRequest: ... + def introspectGraphql( + self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any + ) -> GraphqlResponseHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi index 57ea91c5..b2b802d1 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi @@ -104,6 +104,12 @@ class GraphqlResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] +@typing.type_check_only +class ImpersonateRequest(typing_extensions.TypedDict, total=False): + extensions: GraphqlRequestExtensions + operationName: str + variables: dict[str, typing.Any] + @typing.type_check_only class Impersonation(typing_extensions.TypedDict, total=False): authClaims: dict[str, typing.Any] @@ -168,6 +174,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): class PostgreSql(typing_extensions.TypedDict, total=False): cloudSql: CloudSqlInstance database: str + ephemeral: bool schemaMigration: typing_extensions.Literal[ "SQL_SCHEMA_MIGRATION_UNSPECIFIED", "MIGRATE_COMPATIBLE" ] diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi index 425134a9..4a962ddc 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi @@ -89,6 +89,20 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> ConnectorHttpRequest: ... + def impersonateMutation( + self, + *, + name: str, + body: ImpersonateRequest = ..., + **kwargs: typing.Any, + ) -> GraphqlResponseHttpRequest: ... + def impersonateQuery( + self, + *, + name: str, + body: ImpersonateRequest = ..., + **kwargs: typing.Any, + ) -> GraphqlResponseHttpRequest: ... def list( self, *, @@ -199,6 +213,9 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> ServiceHttpRequest: ... + def introspectGraphql( + self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any + ) -> GraphqlResponseHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi index 57ea91c5..b2b802d1 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi @@ -104,6 +104,12 @@ class GraphqlResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] +@typing.type_check_only +class ImpersonateRequest(typing_extensions.TypedDict, total=False): + extensions: GraphqlRequestExtensions + operationName: str + variables: dict[str, typing.Any] + @typing.type_check_only class Impersonation(typing_extensions.TypedDict, total=False): authClaims: dict[str, typing.Any] @@ -168,6 +174,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): class PostgreSql(typing_extensions.TypedDict, total=False): cloudSql: CloudSqlInstance database: str + ephemeral: bool schemaMigration: typing_extensions.Literal[ "SQL_SCHEMA_MIGRATION_UNSPECIFIED", "MIGRATE_COMPATIBLE" ] diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi index 69e2a703..f92a23dc 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi @@ -26,6 +26,7 @@ class FirebaseHostingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi index efd96cdc..b3530879 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi @@ -80,6 +80,7 @@ class HttpUpdate(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 LiveMigrationStep(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi index 9133fc0d..a0f79058 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi @@ -103,6 +103,7 @@ class FirebaseHostingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi index f2b9b4f7..bef9e98b 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi @@ -243,6 +243,7 @@ class ListDomainsResponse(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 ListReleasesResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi index 63f308f7..3a44e660 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi @@ -26,6 +26,7 @@ class FirebaseMLResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi index b6da3023..e58b81e8 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/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 ModelOperationMetadata(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index 32ab1a0f..cc44bca2 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -105,11 +105,13 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "MODEL_ARMOR", "IMAGE_SAFETY", "IMAGE_PROHIBITED_CONTENT", "IMAGE_RECITATION", "IMAGE_OTHER", "UNEXPECTED_TOOL_CALL", + "NO_IMAGE", ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int @@ -178,7 +180,17 @@ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( typing_extensions.TypedDict, total=False -): ... +): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecutableCode( @@ -230,7 +242,9 @@ class GoogleCloudAiplatformV1beta1FunctionCallingConfig( typing_extensions.TypedDict, total=False ): allowedFunctionNames: _list[str] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE"] + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionDeclaration( @@ -249,8 +263,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 GoogleCloudAiplatformV1beta1GenerateContentRequest( typing_extensions.TypedDict, total=False @@ -259,6 +297,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig labels: dict[str, typing.Any] + modelArmorConfig: GoogleCloudAiplatformV1beta1ModelArmorConfig safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] systemInstruction: GoogleCloudAiplatformV1beta1Content toolConfig: GoogleCloudAiplatformV1beta1ToolConfig @@ -285,7 +324,9 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "MODEL_ARMOR", "IMAGE_SAFETY", + "JAILBREAK", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @@ -316,6 +357,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float + imageConfig: GoogleCloudAiplatformV1beta1ImageConfig logprobs: int maxOutputTokens: int mediaResolution: typing_extensions.Literal[ @@ -383,6 +425,10 @@ class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( includeThoughts: bool thinkingBudget: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): + enableWidget: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( typing_extensions.TypedDict, total=False @@ -393,13 +439,41 @@ class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( class GoogleCloudAiplatformV1beta1GroundingChunk( typing_extensions.TypedDict, total=False ): + maps: GoogleCloudAiplatformV1beta1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1beta1GroundingChunkWeb +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMaps( + typing_extensions.TypedDict, total=False +): + placeAnswerSources: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources + placeId: str + text: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( + typing_extensions.TypedDict, total=False +): + reviewSnippets: _list[ + GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( + typing_extensions.TypedDict, total=False +): + googleMapsUri: str + reviewId: str + title: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + documentName: str ragChunk: GoogleCloudAiplatformV1beta1RagChunk text: str title: str @@ -417,13 +491,24 @@ class GoogleCloudAiplatformV1beta1GroundingChunkWeb( class GoogleCloudAiplatformV1beta1GroundingMetadata( typing_extensions.TypedDict, total=False ): + googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1beta1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1beta1GroundingSupport] retrievalMetadata: GoogleCloudAiplatformV1beta1RetrievalMetadata retrievalQueries: _list[str] searchEntryPoint: GoogleCloudAiplatformV1beta1SearchEntryPoint + sourceFlaggingUris: _list[ + GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri + ] webSearchQueries: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri( + typing_extensions.TypedDict, total=False +): + flagContentUri: str + sourceId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingSupport( typing_extensions.TypedDict, total=False @@ -432,6 +517,21 @@ class GoogleCloudAiplatformV1beta1GroundingSupport( groundingChunkIndices: _list[int] segment: GoogleCloudAiplatformV1beta1Segment +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): + aspectRatio: str + imageOutputOptions: GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions + 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 GoogleCloudAiplatformV1beta1LogprobsResult( typing_extensions.TypedDict, total=False @@ -462,6 +562,19 @@ class GoogleCloudAiplatformV1beta1ModalityTokenCount( ] tokenCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ModelArmorConfig( + typing_extensions.TypedDict, total=False +): + promptTemplateName: str + responseTemplateName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speakerVoiceConfigs: _list[GoogleCloudAiplatformV1beta1SpeakerVoiceConfig] + @typing.type_check_only class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False): codeExecutionResult: GoogleCloudAiplatformV1beta1CodeExecutionResult @@ -571,6 +684,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] overwrittenThreshold: typing_extensions.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", @@ -608,6 +722,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -672,11 +787,19 @@ class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=Fal startIndex: int text: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig( + typing_extensions.TypedDict, total=False +): + speaker: str + voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1SpeechConfig( typing_extensions.TypedDict, total=False ): languageCode: str + multiSpeakerVoiceConfig: GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only @@ -685,6 +808,7 @@ class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False) computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch functionDeclarations: _list[GoogleCloudAiplatformV1beta1FunctionDeclaration] + googleMaps: GoogleCloudAiplatformV1beta1GoogleMaps googleSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval retrieval: GoogleCloudAiplatformV1beta1Retrieval @@ -702,6 +826,7 @@ class GoogleCloudAiplatformV1beta1ToolComputerUse( environment: typing_extensions.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER" ] + excludedPredefinedFunctions: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total=False): @@ -711,7 +836,17 @@ class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearch( typing_extensions.TypedDict, total=False -): ... +): + blockingConfidence: typing_extensions.Literal[ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH", + ] + excludeDomains: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1UrlContext( @@ -773,6 +908,7 @@ class GoogleCloudAiplatformV1beta1VideoMetadata( typing_extensions.TypedDict, total=False ): endOffset: str + fps: float startOffset: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index 5ea203a7..ddf2943b 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -297,6 +297,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index f763370b..4989e975 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -337,9 +337,19 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): deleteTime: str earliestVersionTime: str etag: str + firestoreDataAccessMode: typing_extensions.Literal[ + "DATA_ACCESS_MODE_UNSPECIFIED", + "DATA_ACCESS_MODE_ENABLED", + "DATA_ACCESS_MODE_DISABLED", + ] freeTier: bool keyPrefix: str locationId: str + mongodbCompatibleDataAccessMode: typing_extensions.Literal[ + "DATA_ACCESS_MODE_UNSPECIFIED", + "DATA_ACCESS_MODE_ENABLED", + "DATA_ACCESS_MODE_DISABLED", + ] name: str pointInTimeRecoveryEnablement: typing_extensions.Literal[ "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED", @@ -347,6 +357,11 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): "POINT_IN_TIME_RECOVERY_DISABLED", ] previousId: str + realtimeUpdatesMode: typing_extensions.Literal[ + "REALTIME_UPDATES_MODE_UNSPECIFIED", + "REALTIME_UPDATES_MODE_ENABLED", + "REALTIME_UPDATES_MODE_DISABLED", + ] sourceInfo: GoogleFirestoreAdminV1SourceInfo tags: dict[str, typing.Any] type: typing_extensions.Literal[ @@ -502,6 +517,7 @@ class GoogleFirestoreAdminV1Index(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR" ] + unique: bool @typing.type_check_only class GoogleFirestoreAdminV1IndexConfig(typing_extensions.TypedDict, total=False): @@ -703,6 +719,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/gkebackup/v1/resources.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi index c2fc418a..d9bd7ffb 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi @@ -281,6 +281,7 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index cbc4c3b3..fa605a73 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -53,6 +53,7 @@ class Backup(typing_extensions.TypedDict, total=False): "DELETING", ] stateReason: str + troubleshootingInfo: TroubleshootingInfo uid: str updateTime: str volumeCount: int @@ -231,6 +232,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): @@ -404,6 +406,7 @@ class Restore(typing_extensions.TypedDict, total=False): "VALIDATING", ] stateReason: str + troubleshootingInfo: TroubleshootingInfo uid: str updateTime: str volumeDataRestorePolicyOverrides: _list[VolumeDataRestorePolicyOverride] @@ -551,6 +554,11 @@ class TransformationRuleAction(typing_extensions.TypedDict, total=False): path: str value: str +@typing.type_check_only +class TroubleshootingInfo(typing_extensions.TypedDict, total=False): + stateReasonCode: str + stateReasonUri: str + @typing.type_check_only class VolumeBackup(typing_extensions.TypedDict, total=False): completeTime: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi index a527f9f1..9ce50737 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi @@ -336,6 +336,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi index 76951616..9a4bf19d 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi @@ -356,6 +356,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementMembershipSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -760,6 +761,7 @@ class ListMembershipsResponse(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 ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): @@ -802,6 +804,9 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -1097,6 +1102,7 @@ class ResourceManifest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceOptions(typing_extensions.TypedDict, total=False): connectVersion: str + k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @@ -1187,7 +1193,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -1210,6 +1227,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1224,6 +1242,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1235,7 +1254,10 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index 1450ea9b..f81335db 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -374,6 +374,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index 9cbdd8b7..afe712e4 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -404,6 +404,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementMembershipSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -830,6 +831,7 @@ class ListMembershipsResponse(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 ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): @@ -872,6 +874,9 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -1204,6 +1209,7 @@ class ResourceManifest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceOptions(typing_extensions.TypedDict, total=False): connectVersion: str + k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @@ -1309,7 +1315,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -1332,6 +1349,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1346,6 +1364,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1392,7 +1411,18 @@ class ServiceMeshFeatureCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -1417,7 +1447,10 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi index a527f9f1..9ce50737 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi @@ -336,6 +336,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 5327d576..55c9ebae 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -373,6 +373,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementMembershipSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -777,6 +778,7 @@ class ListMembershipsResponse(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 ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): @@ -819,6 +821,9 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -1131,6 +1136,7 @@ class ResourceManifest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceOptions(typing_extensions.TypedDict, total=False): connectVersion: str + k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @@ -1221,7 +1227,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -1244,6 +1261,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1258,6 +1276,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -1269,7 +1288,10 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi index 5d9f58ec..b9ca0539 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi @@ -136,6 +136,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi index c1abc822..ab606dbf 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi @@ -108,6 +108,7 @@ class ListMembershipsResponse(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): @@ -130,6 +131,9 @@ class Membership(typing_extensions.TypedDict, total=False): ] labels: dict[str, typing.Any] lastConnectionTime: str + membershipType: typing_extensions.Literal[ + "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" + ] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -214,6 +218,7 @@ class ResourceManifest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceOptions(typing_extensions.TypedDict, total=False): connectVersion: str + k8sGitVersion: str k8sVersion: str v1beta1Crd: bool diff --git a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi index d14a3e98..4c5cbf73 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi @@ -83,6 +83,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi index 9e417cda..d0e7a06b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi @@ -325,6 +325,7 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -522,6 +523,7 @@ class ListMembershipFeaturesResponse(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): @@ -760,7 +762,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -783,6 +796,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -797,6 +811,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -811,7 +826,10 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi index d14a3e98..4c5cbf73 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi @@ -83,6 +83,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi index 9e417cda..d0e7a06b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi @@ -325,6 +325,7 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -522,6 +523,7 @@ class ListMembershipFeaturesResponse(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): @@ -760,7 +762,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -783,6 +796,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -797,6 +811,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -811,7 +826,10 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi index d14a3e98..4c5cbf73 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi @@ -83,6 +83,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi index 9e417cda..d0e7a06b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi @@ -325,6 +325,7 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState + kubernetesApiServerVersion: str membershipSpec: ConfigManagementSpec operatorState: ConfigManagementOperatorState policyControllerState: ConfigManagementPolicyControllerState @@ -522,6 +523,7 @@ class ListMembershipFeaturesResponse(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): @@ -760,7 +762,18 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", ] details: str documentationLink: str @@ -783,6 +796,7 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -797,6 +811,7 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "STALLED", "NEEDS_ATTENTION", "DEGRADED", + "DEPROVISIONING", ] @typing.type_check_only @@ -811,7 +826,10 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" ] management: typing_extensions.Literal[ - "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL", + "MANAGEMENT_NOT_INSTALLED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi index 155264b2..621877fb 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi @@ -742,6 +742,7 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): platformConfig: VmwarePlatformConfig preparedSecrets: VmwareAdminPreparedSecretsConfig privateRegistryConfig: VmwareAdminPrivateRegistryConfig + proxy: VmwareAdminProxy reconciling: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -813,6 +814,11 @@ class VmwareAdminPrivateRegistryConfig(typing_extensions.TypedDict, total=False) address: str caCert: str +@typing.type_check_only +class VmwareAdminProxy(typing_extensions.TypedDict, total=False): + noProxy: str + url: str + @typing.type_check_only class VmwareAdminSeesawConfig(typing_extensions.TypedDict, total=False): enableHa: bool diff --git a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index cb931bd0..de674c7e 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -366,6 +366,18 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class SeriesResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BulkdataResource( + googleapiclient.discovery.Resource + ): + def retrieveBulkdata( + self, + *, + parent: str, + dicomWebPath: str, + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + @typing.type_check_only class FramesResource( googleapiclient.discovery.Resource @@ -415,6 +427,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def bulkdata(self) -> BulkdataResource: ... def frames(self) -> FramesResource: ... def delete( @@ -1050,6 +1063,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index 9dfa23d0..e76c8052 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -293,11 +293,16 @@ class DicomConfig(typing_extensions.TypedDict, total=False): class DicomFilterConfig(typing_extensions.TypedDict, total=False): resourcePathsGcsUri: str +@typing.type_check_only +class DicomNotificationConfig(typing_extensions.TypedDict, total=False): + pubsubTopic: str + @typing.type_check_only class DicomStore(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfig: NotificationConfig + notificationConfigs: _list[DicomNotificationConfig] streamConfigs: _list[GoogleCloudHealthcareV1DicomStreamConfig] @typing.type_check_only @@ -757,6 +762,7 @@ class ListMessagesResponse(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 ListUserDataMappingsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index d13c98b5..c18fbfc1 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -19,30 +19,6 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationStoresResource(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 ConsentStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -451,6 +427,14 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def updateMetadata( + self, + *, + parent: str, + dicomWebPath: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def bulkdata(self) -> BulkdataResource: ... def frames(self) -> FramesResource: ... @@ -482,6 +466,14 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): dicomWebPath: str, **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def updateMetadata( + self, + *, + parent: str, + dicomWebPath: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def instances(self) -> InstancesResource: ... def delete( @@ -527,6 +519,22 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: HttpBody = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def updateInstances( + self, + *, + parent: str, + dicomWebPath: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def updateMetadata( + self, + *, + parent: str, + dicomWebPath: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def series(self) -> SeriesResource: ... def create( @@ -634,6 +642,14 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + def updateInstances( + self, + *, + parent: str, + dicomWebPath: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def dicomWeb(self) -> DicomWebResource: ... def studies(self) -> StudiesResource: ... @@ -1168,6 +1184,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1239,7 +1256,6 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... - def annotationStores(self) -> AnnotationStoresResource: ... def consentStores(self) -> ConsentStoresResource: ... def dataMapperWorkspaces(self) -> DataMapperWorkspacesResource: ... def dicomStores(self) -> DicomStoresResource: ... diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi index 2cc50904..bda8ccfb 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi @@ -345,11 +345,16 @@ class DicomConfig(typing_extensions.TypedDict, total=False): class DicomFilterConfig(typing_extensions.TypedDict, total=False): resourcePathsGcsUri: str +@typing.type_check_only +class DicomNotificationConfig(typing_extensions.TypedDict, total=False): + pubsubTopic: str + @typing.type_check_only class DicomStore(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfig: NotificationConfig + notificationConfigs: _list[DicomNotificationConfig] streamConfigs: _list[GoogleCloudHealthcareV1beta1DicomStreamConfig] @typing.type_check_only @@ -910,6 +915,7 @@ class ListMessagesResponse(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 ListUserDataMappingsResponse(typing_extensions.TypedDict, total=False): @@ -1256,6 +1262,12 @@ class Type(typing_extensions.TypedDict, total=False): "PRIMITIVE_UNSPECIFIED", "STRING", "VARIES", "UNESCAPED_STRING" ] +@typing.type_check_only +class UpdateSeriesMetadataResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UpdateStudyMetadataResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class UserDataMapping(typing_extensions.TypedDict, total=False): archiveTime: str diff --git a/googleapiclient-stubs/_apis/iam/v1/resources.pyi b/googleapiclient-stubs/_apis/iam/v1/resources.pyi index 5d366c92..559dcfab 100644 --- a/googleapiclient-stubs/_apis/iam/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/resources.pyi @@ -85,6 +85,104 @@ class IamResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class ScimTenantsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class TokensResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: WorkforcePoolProviderScimToken = ..., + workforcePoolProviderScimTokenId: str = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTokenHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> WorkforcePoolProviderScimTokenHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkforcePoolProviderScimTokenHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListWorkforcePoolProviderScimTokensResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkforcePoolProviderScimTokensResponseHttpRequest, + previous_response: ListWorkforcePoolProviderScimTokensResponse, + ) -> ( + ListWorkforcePoolProviderScimTokensResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: WorkforcePoolProviderScimToken = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTokenHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteWorkforcePoolProviderScimTokenRequest = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTokenHttpRequest: ... + + def create( + self, + *, + parent: str, + body: WorkforcePoolProviderScimTenant = ..., + workforcePoolProviderScimTenantId: str = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTenantHttpRequest: ... + def delete( + self, *, name: str, hardDelete: bool = ..., **kwargs: typing.Any + ) -> WorkforcePoolProviderScimTenantHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkforcePoolProviderScimTenantHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListWorkforcePoolProviderScimTenantsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkforcePoolProviderScimTenantsResponseHttpRequest, + previous_response: ListWorkforcePoolProviderScimTenantsResponse, + ) -> ( + ListWorkforcePoolProviderScimTenantsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: WorkforcePoolProviderScimTenant = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTenantHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteWorkforcePoolProviderScimTenantRequest = ..., + **kwargs: typing.Any, + ) -> WorkforcePoolProviderScimTenantHttpRequest: ... + def tokens(self) -> TokensResource: ... + def create( self, *, @@ -130,6 +228,7 @@ class IamResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def keys(self) -> KeysResource: ... def operations(self) -> OperationsResource: ... + def scimTenants(self) -> ScimTenantsResource: ... @typing.type_check_only class SubjectsResource(googleapiclient.discovery.Resource): @@ -1022,6 +1121,26 @@ class ListWorkforcePoolProviderKeysResponseHttpRequest( num_retries: int = 0, ) -> ListWorkforcePoolProviderKeysResponse: ... +@typing.type_check_only +class ListWorkforcePoolProviderScimTenantsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkforcePoolProviderScimTenantsResponse: ... + +@typing.type_check_only +class ListWorkforcePoolProviderScimTokensResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkforcePoolProviderScimTokensResponse: ... + @typing.type_check_only class ListWorkforcePoolProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1222,6 +1341,22 @@ class WorkforcePoolProviderKeyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> WorkforcePoolProviderKey: ... +@typing.type_check_only +class WorkforcePoolProviderScimTenantHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkforcePoolProviderScimTenant: ... + +@typing.type_check_only +class WorkforcePoolProviderScimTokenHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkforcePoolProviderScimToken: ... + @typing.type_check_only class WorkloadIdentityPoolHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index 39d22871..0bb455ad 100644 --- a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi @@ -271,6 +271,20 @@ class ListWorkforcePoolProviderKeysResponse(typing_extensions.TypedDict, total=F nextPageToken: str workforcePoolProviderKeys: _list[WorkforcePoolProviderKey] +@typing.type_check_only +class ListWorkforcePoolProviderScimTenantsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + workforcePoolProviderScimTenants: _list[WorkforcePoolProviderScimTenant] + +@typing.type_check_only +class ListWorkforcePoolProviderScimTokensResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + workforcePoolProviderScimTokens: _list[WorkforcePoolProviderScimToken] + @typing.type_check_only class ListWorkforcePoolProvidersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -579,6 +593,16 @@ class UndeleteWorkforcePoolProviderRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class UndeleteWorkforcePoolProviderScimTenantRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class UndeleteWorkforcePoolProviderScimTokenRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class UndeleteWorkforcePoolRequest(typing_extensions.TypedDict, total=False): ... @@ -633,12 +657,16 @@ class WorkforcePoolProvider(typing_extensions.TypedDict, total=False): disabled: bool displayName: str expireTime: str + extendedAttributesOauth2Client: ( + GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client + ) extraAttributesOauth2Client: ( GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client ) name: str oidc: GoogleIamAdminV1WorkforcePoolProviderOidc saml: GoogleIamAdminV1WorkforcePoolProviderSaml + scimUsage: typing_extensions.Literal["SCIM_USAGE_UNSPECIFIED", "ENABLED_FOR_GROUPS"] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only @@ -649,6 +677,24 @@ class WorkforcePoolProviderKey(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] use: typing_extensions.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] +@typing.type_check_only +class WorkforcePoolProviderScimTenant(typing_extensions.TypedDict, total=False): + baseUri: str + claimMapping: dict[str, typing.Any] + description: str + displayName: str + name: str + purgeTime: str + serviceAgent: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + +@typing.type_check_only +class WorkforcePoolProviderScimToken(typing_extensions.TypedDict, total=False): + displayName: str + name: str + securityToken: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + @typing.type_check_only class WorkloadIdentityPool(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi index 94701cb2..b50e9acc 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi @@ -220,75 +220,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponseHttpRequest ): ... - @typing.type_check_only - class CollectionsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class EnginesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AssistantsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AgentFlowsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudIntegrationsV1alphaAgentFlow = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaAgentFlowHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def generate( - self, - *, - parent: str, - body: GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponseHttpRequest: ... - def generateAndUpdate( - self, - *, - name: str, - body: GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudIntegrationsV1alphaAgentFlowHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaListAgentFlowsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudIntegrationsV1alphaListAgentFlowsResponseHttpRequest, - previous_response: GoogleCloudIntegrationsV1alphaListAgentFlowsResponse, - ) -> ( - GoogleCloudIntegrationsV1alphaListAgentFlowsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudIntegrationsV1alphaAgentFlow = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaAgentFlowHttpRequest: ... - - def agentFlows(self) -> AgentFlowsResource: ... - - def assistants(self) -> AssistantsResource: ... - - def engines(self) -> EnginesResource: ... - @typing.type_check_only class ConnectionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -637,6 +568,13 @@ class IntegrationsResource(googleapiclient.discovery.Resource): body: GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponseHttpRequest: ... + def test( + self, + *, + name: str, + body: GoogleCloudIntegrationsV1alphaTestIntegrationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudIntegrationsV1alphaTestIntegrationsResponseHttpRequest: ... def unpublish( self, *, @@ -1371,7 +1309,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): def certificates(self) -> CertificatesResource: ... def clients(self) -> ClientsResource: ... def cloudFunctions(self) -> CloudFunctionsResource: ... - def collections(self) -> CollectionsResource: ... def connections(self) -> ConnectionsResource: ... def integrations(self) -> IntegrationsResource: ... def products(self) -> ProductsResource: ... @@ -1399,16 +1336,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): def connectorPlatformRegions(self) -> ConnectorPlatformRegionsResource: ... def projects(self) -> ProjectsResource: ... -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaAgentFlowHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaAgentFlow: ... - @typing.type_check_only class GoogleCloudIntegrationsV1alphaAuthConfigHttpRequest( googleapiclient.http.HttpRequest @@ -1589,26 +1516,6 @@ class GoogleCloudIntegrationsV1alphaExecutionHttpRequest( num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaExecution: ... -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse: ... - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse: ... - @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1689,16 +1596,6 @@ class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse: ... -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaListAgentFlowsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaListAgentFlowsResponse: ... - @typing.type_check_only class GoogleCloudIntegrationsV1alphaListAuthConfigsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi index 4d7a5814..a10f67f1 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi @@ -2067,17 +2067,6 @@ class GoogleCloudIntegrationsV1alphaAccessToken( refreshTokenExpireTime: str tokenType: str -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaAgentFlow(typing_extensions.TypedDict, total=False): - createTime: str - creator: str - description: str - displayName: str - flowConfig: str - name: str - noCodeAgent: str - updateTime: str - @typing.type_check_only class GoogleCloudIntegrationsV1alphaApiTriggerResource( typing_extensions.TypedDict, total=False @@ -2602,34 +2591,6 @@ class GoogleCloudIntegrationsV1alphaFile(typing_extensions.TypedDict, total=Fals "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES" ] -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest( - typing_extensions.TypedDict, total=False -): - creator: str - description: str - displayName: str - intent: str - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse( - typing_extensions.TypedDict, total=False -): - agentFlow: GoogleCloudIntegrationsV1alphaAgentFlow - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest( - typing_extensions.TypedDict, total=False -): - intent: str - updater: str - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse( - typing_extensions.TypedDict, total=False -): - agentFlow: GoogleCloudIntegrationsV1alphaAgentFlow - @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest( typing_extensions.TypedDict, total=False @@ -2860,13 +2821,6 @@ class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse( ): scriptId: str -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaListAgentFlowsResponse( - typing_extensions.TypedDict, total=False -): - agentFlows: _list[GoogleCloudIntegrationsV1alphaAgentFlow] - nextPageToken: str - @typing.type_check_only class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi index 1d13148c..7674d2d6 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi @@ -62,6 +62,7 @@ class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): "ASYMMETRIC_DECRYPT", "RAW_ENCRYPT_DECRYPT", "MAC", + "KEY_ENCAPSULATION", ] rotationPeriod: str versionTemplate: GoogleCloudKmsV1CryptoKeyVersionTemplate @@ -105,7 +106,12 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "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", ] @@ -180,7 +186,12 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "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", ] diff --git a/googleapiclient-stubs/_apis/language/v1/schemas.pyi b/googleapiclient-stubs/_apis/language/v1/schemas.pyi index 2e6ce2e2..6fe20ac7 100644 --- a/googleapiclient-stubs/_apis/language/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1/schemas.pyi @@ -122,6 +122,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", @@ -279,6 +280,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -455,6 +457,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_RTX_PRO_6000", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -605,6 +608,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -877,6 +881,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -908,6 +913,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi index 807f2e4c..ff188218 100644 --- a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi @@ -122,6 +122,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", @@ -279,6 +280,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -459,6 +461,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_RTX_PRO_6000", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -609,6 +612,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -881,6 +885,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -912,6 +917,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/language/v2/schemas.pyi b/googleapiclient-stubs/_apis/language/v2/schemas.pyi index d57bf387..0308e9d1 100644 --- a/googleapiclient-stubs/_apis/language/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v2/schemas.pyi @@ -88,6 +88,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", @@ -245,6 +246,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -332,6 +334,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_RTX_PRO_6000", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -482,6 +485,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -676,6 +680,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "G2_STANDARD_32", "G2_STANDARD_48", "G2_STANDARD_96", + "G4_STANDARD_48", "C3_STANDARD_4", "C3_STANDARD_8", "C3_STANDARD_22", @@ -707,6 +712,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "CUSTOM", "E2", "G2", + "G4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/looker/v1/resources.pyi b/googleapiclient-stubs/_apis/looker/v1/resources.pyi index 06a16059..097deb63 100644 --- a/googleapiclient-stubs/_apis/looker/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/resources.pyi @@ -136,6 +136,7 @@ class LookerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi index 500dcd8e..a7286458 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -80,6 +80,7 @@ class ImportInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): adminSettings: AdminSettings + classType: typing_extensions.Literal["CLASS_TYPE_UNSPECIFIED", "R1", "P1"] consumerNetwork: str createTime: str customDomain: CustomDomain @@ -164,6 +165,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): @@ -233,6 +235,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): connectionStatus: typing_extensions.Literal[ "UNKNOWN", "ACCEPTED", "PENDING", "REJECTED", "NEEDS_ATTENTION", "CLOSED" ] + failureReason: str localFqdn: str localFqdns: _list[str] targetServiceAttachmentUri: str diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi index f2d3b05e..244d053e 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi @@ -305,6 +305,7 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -655,7 +656,15 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> SchemaRegistryHttpRequest: ... def list( - self, *, parent: str, **kwargs: typing.Any + self, + *, + parent: str, + view: typing_extensions.Literal[ + "SCHEMA_REGISTRY_VIEW_UNSPECIFIED", + "SCHEMA_REGISTRY_VIEW_BASIC", + "SCHEMA_REGISTRY_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, ) -> ListSchemaRegistriesResponseHttpRequest: ... def compatibility(self) -> CompatibilityResource: ... def config(self) -> ConfigResource: ... diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi index 38855f6d..9dc2551b 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi @@ -69,6 +69,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" ] tlsConfig: TlsConfig + updateOptions: UpdateOptions updateTime: str @typing.type_check_only @@ -206,6 +207,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 ListSchemaRegistriesResponse(typing_extensions.TypedDict, total=False): @@ -349,6 +351,7 @@ class StopConnectorResponse(typing_extensions.TypedDict, total=False): ... class TaskRetryPolicy(typing_extensions.TypedDict, total=False): maximumBackoff: str minimumBackoff: str + taskRetryDisabled: bool @typing.type_check_only class TlsConfig(typing_extensions.TypedDict, total=False): @@ -366,6 +369,10 @@ class Topic(typing_extensions.TypedDict, total=False): class TrustConfig(typing_extensions.TypedDict, total=False): casConfigs: _list[CertificateAuthorityServiceConfig] +@typing.type_check_only +class UpdateOptions(typing_extensions.TypedDict, total=False): + allowBrokerDownscaleOnClusterUpscale: bool + @typing.type_check_only class UpdateSchemaConfigRequest(typing_extensions.TypedDict, total=False): compatibility: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi index afe6e980..86664037 100644 --- a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi @@ -97,7 +97,11 @@ class GoogleShoppingManufacturersV1ProductCertification( ): authority: str code: str + link: str + logo: str name: str + validUntil: str + value: str @typing.type_check_only class Grocery(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi index 788d7b7c..e5e89842 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi @@ -107,6 +107,7 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi index dbea2dbe..b83dcceb 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi @@ -32,6 +32,16 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GetTagsRequest(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class GetTagsResponse(typing_extensions.TypedDict, total=False): + name: str + tags: dict[str, typing.Any] + tagsEtag: str + @typing.type_check_only class GoogleCloudMemcacheV1LocationMetadata(typing_extensions.TypedDict, total=False): availableZones: dict[str, typing.Any] @@ -217,6 +227,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): @@ -319,6 +330,19 @@ class Schedule(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay +@typing.type_check_only +class SetTagsRequest(typing_extensions.TypedDict, total=False): + name: str + requestId: str + tags: dict[str, typing.Any] + tagsEtag: str + +@typing.type_check_only +class SetTagsResponse(typing_extensions.TypedDict, total=False): + name: str + tags: dict[str, typing.Any] + tagsEtag: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi index b86a34ed..46382850 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi @@ -114,6 +114,7 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi index fa6e46db..466c1988 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi @@ -37,6 +37,16 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GetTagsRequest(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class GetTagsResponse(typing_extensions.TypedDict, total=False): + name: str + tags: dict[str, typing.Any] + tagsEtag: str + @typing.type_check_only class GoogleCloudMemcacheV1beta2LocationMetadata( typing_extensions.TypedDict, total=False @@ -231,6 +241,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): @@ -334,6 +345,19 @@ class Schedule(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay +@typing.type_check_only +class SetTagsRequest(typing_extensions.TypedDict, total=False): + name: str + requestId: str + tags: dict[str, typing.Any] + tagsEtag: str + +@typing.type_check_only +class SetTagsResponse(typing_extensions.TypedDict, total=False): + name: str + tags: dict[str, typing.Any] + tagsEtag: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi new file mode 100644 index 00000000..3edea9c7 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi @@ -0,0 +1,914 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AutofeedSettingsResource(googleapiclient.discovery.Resource): + def getAutofeedSettings( + self, *, name: str, **kwargs: typing.Any + ) -> AutofeedSettingsHttpRequest: ... + def updateAutofeedSettings( + self, + *, + name: str, + body: AutofeedSettings = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AutofeedSettingsHttpRequest: ... + + @typing.type_check_only + class AutomaticImprovementsResource(googleapiclient.discovery.Resource): + def getAutomaticImprovements( + self, *, name: str, **kwargs: typing.Any + ) -> AutomaticImprovementsHttpRequest: ... + def updateAutomaticImprovements( + self, + *, + name: str, + body: AutomaticImprovements = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AutomaticImprovementsHttpRequest: ... + + @typing.type_check_only + class BusinessIdentityResource(googleapiclient.discovery.Resource): + def getBusinessIdentity( + self, *, name: str, **kwargs: typing.Any + ) -> BusinessIdentityHttpRequest: ... + def updateBusinessIdentity( + self, + *, + name: str, + body: BusinessIdentity = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> BusinessIdentityHttpRequest: ... + + @typing.type_check_only + class BusinessInfoResource(googleapiclient.discovery.Resource): + def getBusinessInfo( + self, *, name: str, **kwargs: typing.Any + ) -> BusinessInfoHttpRequest: ... + def updateBusinessInfo( + self, + *, + name: str, + body: BusinessInfo = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> BusinessInfoHttpRequest: ... + + @typing.type_check_only + class DeveloperRegistrationResource(googleapiclient.discovery.Resource): + def getDeveloperRegistration( + self, *, name: str, **kwargs: typing.Any + ) -> DeveloperRegistrationHttpRequest: ... + def registerGcp( + self, *, name: str, body: RegisterGcpRequest = ..., **kwargs: typing.Any + ) -> DeveloperRegistrationHttpRequest: ... + def unregisterGcp( + self, + *, + name: str, + body: UnregisterGcpRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + + @typing.type_check_only + class EmailPreferencesResource(googleapiclient.discovery.Resource): + def getEmailPreferences( + self, *, name: str, **kwargs: typing.Any + ) -> EmailPreferencesHttpRequest: ... + def updateEmailPreferences( + self, + *, + name: str, + body: EmailPreferences = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> EmailPreferencesHttpRequest: ... + + @typing.type_check_only + class GbpAccountsResource(googleapiclient.discovery.Resource): + def linkGbpAccount( + self, + *, + parent: str, + body: LinkGbpAccountRequest = ..., + **kwargs: typing.Any, + ) -> LinkGbpAccountResponseHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListGbpAccountsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGbpAccountsResponseHttpRequest, + previous_response: ListGbpAccountsResponse, + ) -> ListGbpAccountsResponseHttpRequest | None: ... + + @typing.type_check_only + class HomepageResource(googleapiclient.discovery.Resource): + def claim( + self, + *, + name: str, + body: ClaimHomepageRequest = ..., + **kwargs: typing.Any, + ) -> HomepageHttpRequest: ... + def getHomepage( + self, *, name: str, **kwargs: typing.Any + ) -> HomepageHttpRequest: ... + def unclaim( + self, + *, + name: str, + body: UnclaimHomepageRequest = ..., + **kwargs: typing.Any, + ) -> HomepageHttpRequest: ... + def updateHomepage( + self, + *, + name: str, + body: Homepage = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> HomepageHttpRequest: ... + + @typing.type_check_only + class IssuesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + languageCode: str = ..., + pageSize: int = ..., + pageToken: str = ..., + timeZone: str = ..., + **kwargs: typing.Any, + ) -> ListAccountIssuesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountIssuesResponseHttpRequest, + previous_response: ListAccountIssuesResponse, + ) -> ListAccountIssuesResponseHttpRequest | None: ... + + @typing.type_check_only + class OmnichannelSettingsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LfpProvidersResource(googleapiclient.discovery.Resource): + def find( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> FindLfpProvidersResponseHttpRequest: ... + def find_next( + self, + previous_request: FindLfpProvidersResponseHttpRequest, + previous_response: FindLfpProvidersResponse, + ) -> FindLfpProvidersResponseHttpRequest | None: ... + def linkLfpProvider( + self, + *, + name: str, + body: LinkLfpProviderRequest = ..., + **kwargs: typing.Any, + ) -> LinkLfpProviderResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: OmnichannelSetting = ..., + **kwargs: typing.Any, + ) -> OmnichannelSettingHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OmnichannelSettingHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOmnichannelSettingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOmnichannelSettingsResponseHttpRequest, + previous_response: ListOmnichannelSettingsResponse, + ) -> ListOmnichannelSettingsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: OmnichannelSetting = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OmnichannelSettingHttpRequest: ... + def requestInventoryVerification( + self, + *, + name: str, + body: RequestInventoryVerificationRequest = ..., + **kwargs: typing.Any, + ) -> RequestInventoryVerificationResponseHttpRequest: ... + def lfpProviders(self) -> LfpProvidersResource: ... + + @typing.type_check_only + class OnlineReturnPoliciesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: OnlineReturnPolicy = ..., + **kwargs: typing.Any, + ) -> OnlineReturnPolicyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OnlineReturnPolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOnlineReturnPoliciesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOnlineReturnPoliciesResponseHttpRequest, + previous_response: ListOnlineReturnPoliciesResponse, + ) -> ListOnlineReturnPoliciesResponseHttpRequest | None: ... + + @typing.type_check_only + class ProgramsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CheckoutSettingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: CheckoutSettings = ..., + **kwargs: typing.Any, + ) -> CheckoutSettingsHttpRequest: ... + def deleteCheckoutSettings( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def getCheckoutSettings( + self, *, name: str, **kwargs: typing.Any + ) -> CheckoutSettingsHttpRequest: ... + def updateCheckoutSettings( + self, + *, + name: str, + body: CheckoutSettings = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CheckoutSettingsHttpRequest: ... + + def disable( + self, + *, + name: str, + body: DisableProgramRequest = ..., + **kwargs: typing.Any, + ) -> ProgramHttpRequest: ... + def enable( + self, + *, + name: str, + body: EnableProgramRequest = ..., + **kwargs: typing.Any, + ) -> ProgramHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> ProgramHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListProgramsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListProgramsResponseHttpRequest, + previous_response: ListProgramsResponse, + ) -> ListProgramsResponseHttpRequest | None: ... + def checkoutSettings(self) -> CheckoutSettingsResource: ... + + @typing.type_check_only + class RegionsResource(googleapiclient.discovery.Resource): + def batchCreate( + self, + *, + parent: str, + body: BatchCreateRegionsRequest = ..., + **kwargs: typing.Any, + ) -> BatchCreateRegionsResponseHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: BatchDeleteRegionsRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def batchUpdate( + self, + *, + parent: str, + body: BatchUpdateRegionsRequest = ..., + **kwargs: typing.Any, + ) -> BatchUpdateRegionsResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: Region = ..., + regionId: str = ..., + **kwargs: typing.Any, + ) -> RegionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> RegionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRegionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRegionsResponseHttpRequest, + previous_response: ListRegionsResponse, + ) -> ListRegionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Region = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> RegionHttpRequest: ... + + @typing.type_check_only + class RelationshipsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccountRelationshipHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAccountRelationshipsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountRelationshipsResponseHttpRequest, + previous_response: ListAccountRelationshipsResponse, + ) -> ListAccountRelationshipsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AccountRelationship = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AccountRelationshipHttpRequest: ... + + @typing.type_check_only + class ServicesResource(googleapiclient.discovery.Resource): + def approve( + self, + *, + name: str, + body: ApproveAccountServiceRequest = ..., + **kwargs: typing.Any, + ) -> AccountServiceHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccountServiceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAccountServicesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountServicesResponseHttpRequest, + previous_response: ListAccountServicesResponse, + ) -> ListAccountServicesResponseHttpRequest | None: ... + def propose( + self, + *, + parent: str, + body: ProposeAccountServiceRequest = ..., + **kwargs: typing.Any, + ) -> AccountServiceHttpRequest: ... + def reject( + self, + *, + name: str, + body: RejectAccountServiceRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + + @typing.type_check_only + class ShippingSettingsResource(googleapiclient.discovery.Resource): + def getShippingSettings( + self, *, name: str, **kwargs: typing.Any + ) -> ShippingSettingsHttpRequest: ... + def insert( + self, *, parent: str, body: ShippingSettings = ..., **kwargs: typing.Any + ) -> ShippingSettingsHttpRequest: ... + + @typing.type_check_only + class TermsOfServiceAgreementStatesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TermsOfServiceAgreementStateHttpRequest: ... + def retrieveForApplication( + self, *, parent: str, **kwargs: typing.Any + ) -> TermsOfServiceAgreementStateHttpRequest: ... + + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: User = ..., + userId: str = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> UserHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUsersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUsersResponseHttpRequest, + previous_response: ListUsersResponse, + ) -> ListUsersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: User = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + + def createAndConfigure( + self, *, body: CreateAndConfigureAccountRequest = ..., **kwargs: typing.Any + ) -> AccountHttpRequest: ... + def delete( + 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, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAccountsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountsResponseHttpRequest, + previous_response: ListAccountsResponse, + ) -> ListAccountsResponseHttpRequest | None: ... + def listSubaccounts( + self, + *, + provider: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSubAccountsResponseHttpRequest: ... + def listSubaccounts_next( + self, + previous_request: ListSubAccountsResponseHttpRequest, + previous_response: ListSubAccountsResponse, + ) -> ListSubAccountsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Account = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AccountHttpRequest: ... + def autofeedSettings(self) -> AutofeedSettingsResource: ... + def automaticImprovements(self) -> AutomaticImprovementsResource: ... + def businessIdentity(self) -> BusinessIdentityResource: ... + def businessInfo(self) -> BusinessInfoResource: ... + def developerRegistration(self) -> DeveloperRegistrationResource: ... + def emailPreferences(self) -> EmailPreferencesResource: ... + def gbpAccounts(self) -> GbpAccountsResource: ... + def homepage(self) -> HomepageResource: ... + def issues(self) -> IssuesResource: ... + def omnichannelSettings(self) -> OmnichannelSettingsResource: ... + def onlineReturnPolicies(self) -> OnlineReturnPoliciesResource: ... + def programs(self) -> ProgramsResource: ... + def regions(self) -> RegionsResource: ... + def relationships(self) -> RelationshipsResource: ... + def services(self) -> ServicesResource: ... + def shippingSettings(self) -> ShippingSettingsResource: ... + def termsOfServiceAgreementStates( + self, + ) -> TermsOfServiceAgreementStatesResource: ... + def users(self) -> UsersResource: ... + + @typing.type_check_only + class TermsOfServiceResource(googleapiclient.discovery.Resource): + def accept( + self, + *, + name: str, + account: str = ..., + regionCode: str = ..., + **kwargs: typing.Any, + ) -> AcceptTermsOfServiceResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TermsOfServiceHttpRequest: ... + def retrieveLatest( + self, + *, + kind: typing_extensions.Literal[ + "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" + ] = ..., + regionCode: str = ..., + **kwargs: typing.Any, + ) -> TermsOfServiceHttpRequest: ... + + 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 accounts(self) -> AccountsResource: ... + def termsOfService(self) -> TermsOfServiceResource: ... + +@typing.type_check_only +class AcceptTermsOfServiceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AcceptTermsOfServiceResponse: ... + +@typing.type_check_only +class AccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Account: ... + +@typing.type_check_only +class AccountRelationshipHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountRelationship: ... + +@typing.type_check_only +class AccountServiceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountService: ... + +@typing.type_check_only +class AutofeedSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutofeedSettings: ... + +@typing.type_check_only +class AutomaticImprovementsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutomaticImprovements: ... + +@typing.type_check_only +class BatchCreateRegionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchCreateRegionsResponse: ... + +@typing.type_check_only +class BatchUpdateRegionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdateRegionsResponse: ... + +@typing.type_check_only +class BusinessIdentityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BusinessIdentity: ... + +@typing.type_check_only +class BusinessInfoHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BusinessInfo: ... + +@typing.type_check_only +class CheckoutSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckoutSettings: ... + +@typing.type_check_only +class DeveloperRegistrationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DeveloperRegistration: ... + +@typing.type_check_only +class EmailPreferencesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EmailPreferences: ... + +@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 FindLfpProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FindLfpProvidersResponse: ... + +@typing.type_check_only +class GetAccountForGcpRegistrationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetAccountForGcpRegistrationResponse: ... + +@typing.type_check_only +class HomepageHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Homepage: ... + +@typing.type_check_only +class LinkGbpAccountResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LinkGbpAccountResponse: ... + +@typing.type_check_only +class LinkLfpProviderResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LinkLfpProviderResponse: ... + +@typing.type_check_only +class ListAccountIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountIssuesResponse: ... + +@typing.type_check_only +class ListAccountRelationshipsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountRelationshipsResponse: ... + +@typing.type_check_only +class ListAccountServicesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountServicesResponse: ... + +@typing.type_check_only +class ListAccountsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountsResponse: ... + +@typing.type_check_only +class ListGbpAccountsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGbpAccountsResponse: ... + +@typing.type_check_only +class ListOmnichannelSettingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOmnichannelSettingsResponse: ... + +@typing.type_check_only +class ListOnlineReturnPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOnlineReturnPoliciesResponse: ... + +@typing.type_check_only +class ListProgramsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListProgramsResponse: ... + +@typing.type_check_only +class ListRegionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRegionsResponse: ... + +@typing.type_check_only +class ListSubAccountsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSubAccountsResponse: ... + +@typing.type_check_only +class ListUsersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUsersResponse: ... + +@typing.type_check_only +class OmnichannelSettingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OmnichannelSetting: ... + +@typing.type_check_only +class OnlineReturnPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OnlineReturnPolicy: ... + +@typing.type_check_only +class ProgramHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Program: ... + +@typing.type_check_only +class RegionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Region: ... + +@typing.type_check_only +class RequestInventoryVerificationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RequestInventoryVerificationResponse: ... + +@typing.type_check_only +class ShippingSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShippingSettings: ... + +@typing.type_check_only +class TermsOfServiceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TermsOfService: ... + +@typing.type_check_only +class TermsOfServiceAgreementStateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TermsOfServiceAgreementState: ... + +@typing.type_check_only +class UserHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> User: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi new file mode 100644 index 00000000..41ae330e --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi @@ -0,0 +1,918 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class About(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + uri: str + +@typing.type_check_only +class AcceptTermsOfServiceResponse(typing_extensions.TypedDict, total=False): + termsOfServiceAgreementState: TermsOfServiceAgreementState + +@typing.type_check_only +class Accepted(typing_extensions.TypedDict, total=False): + acceptedBy: str + termsOfService: str + validUntil: Date + +@typing.type_check_only +class Account(typing_extensions.TypedDict, total=False): + accountId: str + accountName: str + adultContent: bool + languageCode: str + name: str + testAccount: bool + timeZone: TimeZone + +@typing.type_check_only +class AccountAggregation(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AccountIssue(typing_extensions.TypedDict, total=False): + detail: str + documentationUri: str + impactedDestinations: _list[ImpactedDestination] + name: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" + ] + title: str + +@typing.type_check_only +class AccountManagement(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AccountRelationship(typing_extensions.TypedDict, total=False): + accountIdAlias: str + name: str + provider: str + providerDisplayName: str + +@typing.type_check_only +class AccountService(typing_extensions.TypedDict, total=False): + accountAggregation: AccountAggregation + accountManagement: AccountManagement + campaignsManagement: CampaignsManagement + externalAccountId: str + handshake: Handshake + localListingManagement: LocalListingManagement + mutability: typing_extensions.Literal[ + "MUTABILITY_UNSPECIFIED", "MUTABLE", "IMMUTABLE" + ] + name: str + productsManagement: ProductsManagement + provider: str + providerDisplayName: str + +@typing.type_check_only +class AddAccountService(typing_extensions.TypedDict, total=False): + accountAggregation: AccountAggregation + provider: str + +@typing.type_check_only +class AddUser(typing_extensions.TypedDict, total=False): + user: User + userId: str + +@typing.type_check_only +class Address(typing_extensions.TypedDict, total=False): + administrativeArea: str + city: str + postalCode: str + regionCode: str + streetAddress: str + +@typing.type_check_only +class ApproveAccountServiceRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AutofeedSettings(typing_extensions.TypedDict, total=False): + eligible: bool + enableProducts: bool + name: str + +@typing.type_check_only +class AutomaticImageImprovements(typing_extensions.TypedDict, total=False): + accountImageImprovementsSettings: ImageImprovementsAccountLevelSettings + effectiveAllowAutomaticImageImprovements: bool + +@typing.type_check_only +class AutomaticImprovements(typing_extensions.TypedDict, total=False): + imageImprovements: AutomaticImageImprovements + itemUpdates: AutomaticItemUpdates + name: str + shippingImprovements: AutomaticShippingImprovements + +@typing.type_check_only +class AutomaticItemUpdates(typing_extensions.TypedDict, total=False): + accountItemUpdatesSettings: ItemUpdatesAccountLevelSettings + effectiveAllowAvailabilityUpdates: bool + effectiveAllowConditionUpdates: bool + effectiveAllowPriceUpdates: bool + effectiveAllowStrictAvailabilityUpdates: bool + +@typing.type_check_only +class AutomaticShippingImprovements(typing_extensions.TypedDict, total=False): + allowShippingImprovements: bool + +@typing.type_check_only +class BatchCreateRegionsRequest(typing_extensions.TypedDict, total=False): + requests: _list[CreateRegionRequest] + +@typing.type_check_only +class BatchCreateRegionsResponse(typing_extensions.TypedDict, total=False): + regions: _list[Region] + +@typing.type_check_only +class BatchDeleteRegionsRequest(typing_extensions.TypedDict, total=False): + requests: _list[DeleteRegionRequest] + +@typing.type_check_only +class BatchUpdateRegionsRequest(typing_extensions.TypedDict, total=False): + requests: _list[UpdateRegionRequest] + +@typing.type_check_only +class BatchUpdateRegionsResponse(typing_extensions.TypedDict, total=False): + regions: _list[Region] + +@typing.type_check_only +class BusinessDayConfig(typing_extensions.TypedDict, total=False): + businessDays: _list[ + typing_extensions.Literal[ + "WEEKDAY_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + ] + +@typing.type_check_only +class BusinessIdentity(typing_extensions.TypedDict, total=False): + blackOwned: IdentityAttribute + latinoOwned: IdentityAttribute + name: str + promotionsConsent: typing_extensions.Literal[ + "PROMOTIONS_CONSENT_UNSPECIFIED", + "PROMOTIONS_CONSENT_GIVEN", + "PROMOTIONS_CONSENT_DENIED", + ] + smallBusiness: IdentityAttribute + veteranOwned: IdentityAttribute + womenOwned: IdentityAttribute + +@typing.type_check_only +class BusinessInfo(typing_extensions.TypedDict, total=False): + address: PostalAddress + customerService: CustomerService + koreanBusinessRegistrationNumber: str + name: str + phone: PhoneNumber + phoneVerificationState: typing_extensions.Literal[ + "PHONE_VERIFICATION_STATE_UNSPECIFIED", + "PHONE_VERIFICATION_STATE_VERIFIED", + "PHONE_VERIFICATION_STATE_UNVERIFIED", + ] + +@typing.type_check_only +class CampaignsManagement(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CarrierRate(typing_extensions.TypedDict, total=False): + carrier: str + carrierService: str + flatAdjustment: Price + name: str + originPostalCode: str + percentageAdjustment: str + +@typing.type_check_only +class CheckoutSettings(typing_extensions.TypedDict, total=False): + effectiveEnrollmentState: typing_extensions.Literal[ + "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" + ] + effectiveReviewState: typing_extensions.Literal[ + "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" + ] + effectiveUriSettings: UriSettings + eligibleDestinations: _list[ + typing_extensions.Literal[ + "DESTINATION_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "YOUTUBE_SHOPPING", + "YOUTUBE_SHOPPING_CHECKOUT", + "YOUTUBE_AFFILIATE", + "FREE_VEHICLE_LISTINGS", + "VEHICLE_ADS", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + ] + ] + enrollmentState: typing_extensions.Literal[ + "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" + ] + name: str + reviewState: typing_extensions.Literal[ + "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" + ] + uriSettings: UriSettings + +@typing.type_check_only +class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): + overwrite: bool + +@typing.type_check_only +class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): + account: Account + service: _list[AddAccountService] + user: _list[AddUser] + +@typing.type_check_only +class CreateRegionRequest(typing_extensions.TypedDict, total=False): + parent: str + region: Region + regionId: str + +@typing.type_check_only +class CustomerService(typing_extensions.TypedDict, total=False): + email: str + phone: PhoneNumber + uri: str + +@typing.type_check_only +class CutoffConfig(typing_extensions.TypedDict, total=False): + localCutoffTime: LocalCutoffTime + noDeliveryPostCutoff: bool + storeCloseOffsetHours: str + +@typing.type_check_only +class CutoffTime(typing_extensions.TypedDict, total=False): + hour: int + minute: int + timeZone: str + +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class DeleteRegionRequest(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class DeliveryTime(typing_extensions.TypedDict, total=False): + cutoffTime: CutoffTime + handlingBusinessDayConfig: BusinessDayConfig + maxHandlingDays: int + maxTransitDays: int + minHandlingDays: int + minTransitDays: int + transitBusinessDayConfig: BusinessDayConfig + transitTimeTable: TransitTable + warehouseBasedDeliveryTimes: _list[WarehouseBasedDeliveryTime] + +@typing.type_check_only +class DeveloperRegistration(typing_extensions.TypedDict, total=False): + gcpIds: _list[str] + name: str + +@typing.type_check_only +class DisableProgramRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Distance(typing_extensions.TypedDict, total=False): + unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MILES", "KILOMETERS"] + value: str + +@typing.type_check_only +class EmailPreferences(typing_extensions.TypedDict, total=False): + name: str + newsAndTips: typing_extensions.Literal[ + "OPT_IN_STATE_UNSPECIFIED", "OPTED_OUT", "OPTED_IN", "UNCONFIRMED" + ] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EnableProgramRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FindLfpProvidersResponse(typing_extensions.TypedDict, total=False): + lfpProviders: _list[LfpProvider] + nextPageToken: str + +@typing.type_check_only +class GbpAccount(typing_extensions.TypedDict, total=False): + gbpAccountId: str + gbpAccountName: str + listingCount: str + name: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "USER", "BUSINESS_ACCOUNT"] + +@typing.type_check_only +class GeoTargetArea(typing_extensions.TypedDict, total=False): + geotargetCriteriaIds: _list[str] + +@typing.type_check_only +class GetAccountForGcpRegistrationResponse(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class Handshake(typing_extensions.TypedDict, total=False): + actor: typing_extensions.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] + approvalState: typing_extensions.Literal[ + "APPROVAL_STATE_UNSPECIFIED", "PENDING", "ESTABLISHED", "REJECTED" + ] + +@typing.type_check_only +class Headers(typing_extensions.TypedDict, total=False): + locations: _list[LocationIdSet] + numberOfItems: _list[str] + postalCodeGroupNames: _list[str] + prices: _list[Price] + weights: _list[Weight] + +@typing.type_check_only +class Homepage(typing_extensions.TypedDict, total=False): + claimed: bool + name: str + uri: str + +@typing.type_check_only +class IdentityAttribute(typing_extensions.TypedDict, total=False): + identityDeclaration: typing_extensions.Literal[ + "IDENTITY_DECLARATION_UNSPECIFIED", + "SELF_IDENTIFIES_AS", + "DOES_NOT_SELF_IDENTIFY_AS", + ] + +@typing.type_check_only +class ImageImprovementsAccountLevelSettings(typing_extensions.TypedDict, total=False): + allowAutomaticImageImprovements: bool + +@typing.type_check_only +class Impact(typing_extensions.TypedDict, total=False): + regionCode: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" + ] + +@typing.type_check_only +class ImpactedDestination(typing_extensions.TypedDict, total=False): + impacts: _list[Impact] + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class InStock(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + uri: str + +@typing.type_check_only +class InventoryVerification(typing_extensions.TypedDict, total=False): + contact: str + contactEmail: str + contactState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTION_REQUIRED", + "INACTIVE", + "RUNNING", + "SUCCEEDED", + "SUSPENDED", + ] + +@typing.type_check_only +class ItemUpdatesAccountLevelSettings(typing_extensions.TypedDict, total=False): + allowAvailabilityUpdates: bool + allowConditionUpdates: bool + allowPriceUpdates: bool + allowStrictAvailabilityUpdates: bool + +@typing.type_check_only +class LfpLink(typing_extensions.TypedDict, total=False): + externalAccountId: str + lfpProvider: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + +@typing.type_check_only +class LfpProvider(typing_extensions.TypedDict, total=False): + displayName: str + name: str + regionCode: str + +@typing.type_check_only +class LinkGbpAccountRequest(typing_extensions.TypedDict, total=False): + gbpEmail: str + +@typing.type_check_only +class LinkGbpAccountResponse(typing_extensions.TypedDict, total=False): + response: Empty + +@typing.type_check_only +class LinkLfpProviderRequest(typing_extensions.TypedDict, total=False): + externalAccountId: str + +@typing.type_check_only +class LinkLfpProviderResponse(typing_extensions.TypedDict, total=False): + response: Empty + +@typing.type_check_only +class ListAccountIssuesResponse(typing_extensions.TypedDict, total=False): + accountIssues: _list[AccountIssue] + nextPageToken: str + +@typing.type_check_only +class ListAccountRelationshipsResponse(typing_extensions.TypedDict, total=False): + accountRelationships: _list[AccountRelationship] + nextPageToken: str + +@typing.type_check_only +class ListAccountServicesResponse(typing_extensions.TypedDict, total=False): + accountServices: _list[AccountService] + nextPageToken: str + +@typing.type_check_only +class ListAccountsResponse(typing_extensions.TypedDict, total=False): + accounts: _list[Account] + nextPageToken: str + +@typing.type_check_only +class ListGbpAccountsResponse(typing_extensions.TypedDict, total=False): + gbpAccounts: _list[GbpAccount] + nextPageToken: str + +@typing.type_check_only +class ListOmnichannelSettingsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + omnichannelSettings: _list[OmnichannelSetting] + +@typing.type_check_only +class ListOnlineReturnPoliciesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + onlineReturnPolicies: _list[OnlineReturnPolicy] + +@typing.type_check_only +class ListProgramsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + programs: _list[Program] + +@typing.type_check_only +class ListRegionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + regions: _list[Region] + +@typing.type_check_only +class ListSubAccountsResponse(typing_extensions.TypedDict, total=False): + accounts: _list[Account] + nextPageToken: str + +@typing.type_check_only +class ListUsersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + users: _list[User] + +@typing.type_check_only +class LocalCutoffTime(typing_extensions.TypedDict, total=False): + hour: str + minute: str + +@typing.type_check_only +class LocalListingManagement(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class LocationIdSet(typing_extensions.TypedDict, total=False): + locationIds: _list[str] + +@typing.type_check_only +class LoyaltyProgram(typing_extensions.TypedDict, total=False): + loyaltyProgramTiers: _list[LoyaltyProgramTiers] + programLabel: str + +@typing.type_check_only +class LoyaltyProgramTiers(typing_extensions.TypedDict, total=False): + tierLabel: str + +@typing.type_check_only +class MinimumOrderValueTable(typing_extensions.TypedDict, total=False): + storeCodeSetWithMovs: _list[StoreCodeSetWithMov] + +@typing.type_check_only +class OmnichannelSetting(typing_extensions.TypedDict, total=False): + about: About + inStock: InStock + inventoryVerification: InventoryVerification + lfpLink: LfpLink + lsfType: typing_extensions.Literal[ + "LSF_TYPE_UNSPECIFIED", "GHLSF", "MHLSF_BASIC", "MHLSF_FULL" + ] + name: str + odo: OnDisplayToOrder + pickup: Pickup + regionCode: str + +@typing.type_check_only +class OnDisplayToOrder(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + uri: str + +@typing.type_check_only +class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): + acceptDefectiveOnly: bool + acceptExchange: bool + countries: _list[str] + itemConditions: _list[ + typing_extensions.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"] + ] + label: str + name: str + policy: Policy + processRefundDays: int + restockingFee: RestockingFee + returnLabelSource: typing_extensions.Literal[ + "RETURN_LABEL_SOURCE_UNSPECIFIED", + "DOWNLOAD_AND_PRINT", + "IN_THE_PACKAGE", + "CUSTOMER_RESPONSIBILITY", + ] + returnMethods: _list[ + typing_extensions.Literal[ + "RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK" + ] + ] + returnPolicyId: str + returnPolicyUri: str + returnShippingFee: ReturnShippingFee + seasonalOverrides: _list[SeasonalOverride] + +@typing.type_check_only +class PhoneNumber(typing_extensions.TypedDict, total=False): + e164Number: str + extension: str + shortCode: ShortCode + +@typing.type_check_only +class Pickup(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" + ] + uri: str + +@typing.type_check_only +class Policy(typing_extensions.TypedDict, total=False): + days: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "NUMBER_OF_DAYS_AFTER_DELIVERY", + "NO_RETURNS", + "LIFETIME_RETURNS", + ] + +@typing.type_check_only +class PostalAddress(typing_extensions.TypedDict, total=False): + addressLines: _list[str] + administrativeArea: str + languageCode: str + locality: str + organization: str + postalCode: str + recipients: _list[str] + regionCode: str + revision: int + sortingCode: str + sublocality: str + +@typing.type_check_only +class PostalCodeArea(typing_extensions.TypedDict, total=False): + postalCodes: _list[PostalCodeRange] + regionCode: str + +@typing.type_check_only +class PostalCodeRange(typing_extensions.TypedDict, total=False): + begin: str + end: str + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class ProductsManagement(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Program(typing_extensions.TypedDict, total=False): + activeRegionCodes: _list[str] + documentationUri: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "NOT_ELIGIBLE", "ELIGIBLE", "ENABLED" + ] + unmetRequirements: _list[Requirement] + +@typing.type_check_only +class ProposeAccountServiceRequest(typing_extensions.TypedDict, total=False): + accountService: AccountService + provider: str + +@typing.type_check_only +class RateGroup(typing_extensions.TypedDict, total=False): + applicableShippingLabels: _list[str] + carrierRates: _list[CarrierRate] + mainTable: Table + name: str + singleValue: Value + subtables: _list[Table] + +@typing.type_check_only +class Region(typing_extensions.TypedDict, total=False): + displayName: str + geotargetArea: GeoTargetArea + name: str + postalCodeArea: PostalCodeArea + regionalInventoryEligible: bool + shippingEligible: bool + +@typing.type_check_only +class RegisterGcpRequest(typing_extensions.TypedDict, total=False): + developerEmail: str + +@typing.type_check_only +class RejectAccountServiceRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RequestInventoryVerificationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RequestInventoryVerificationResponse(typing_extensions.TypedDict, total=False): + omnichannelSetting: OmnichannelSetting + +@typing.type_check_only +class Required(typing_extensions.TypedDict, total=False): + termsOfService: str + tosFileUri: str + +@typing.type_check_only +class Requirement(typing_extensions.TypedDict, total=False): + affectedRegionCodes: _list[str] + documentationUri: str + title: str + +@typing.type_check_only +class RestockingFee(typing_extensions.TypedDict, total=False): + fixedFee: Price + microPercent: int + +@typing.type_check_only +class ReturnShippingFee(typing_extensions.TypedDict, total=False): + fixedFee: Price + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE" + ] + +@typing.type_check_only +class Row(typing_extensions.TypedDict, total=False): + cells: _list[Value] + +@typing.type_check_only +class SeasonalOverride(typing_extensions.TypedDict, total=False): + endDate: Date + label: str + returnDays: int + returnUntilDate: Date + startDate: Date + +@typing.type_check_only +class Service(typing_extensions.TypedDict, total=False): + active: bool + currencyCode: str + deliveryCountries: _list[str] + deliveryTime: DeliveryTime + loyaltyPrograms: _list[LoyaltyProgram] + minimumOrderValue: Price + minimumOrderValueTable: MinimumOrderValueTable + rateGroups: _list[RateGroup] + serviceName: str + shipmentType: typing_extensions.Literal[ + "SHIPMENT_TYPE_UNSPECIFIED", "DELIVERY", "LOCAL_DELIVERY", "COLLECTION_POINT" + ] + storeConfig: StoreConfig + +@typing.type_check_only +class ShippingSettings(typing_extensions.TypedDict, total=False): + etag: str + name: str + services: _list[Service] + warehouses: _list[Warehouse] + +@typing.type_check_only +class ShortCode(typing_extensions.TypedDict, total=False): + number: str + regionCode: str + +@typing.type_check_only +class StoreCodeSetWithMov(typing_extensions.TypedDict, total=False): + storeCodes: _list[str] + value: Price + +@typing.type_check_only +class StoreConfig(typing_extensions.TypedDict, total=False): + cutoffConfig: CutoffConfig + serviceRadius: Distance + storeCodes: _list[str] + storeServiceType: typing_extensions.Literal[ + "STORE_SERVICE_TYPE_UNSPECIFIED", "ALL_STORES", "SELECTED_STORES" + ] + +@typing.type_check_only +class Table(typing_extensions.TypedDict, total=False): + columnHeaders: Headers + name: str + rowHeaders: Headers + rows: _list[Row] + +@typing.type_check_only +class TermsOfService(typing_extensions.TypedDict, total=False): + external: bool + fileUri: str + kind: typing_extensions.Literal[ + "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" + ] + name: str + regionCode: str + +@typing.type_check_only +class TermsOfServiceAgreementState(typing_extensions.TypedDict, total=False): + accepted: Accepted + name: str + regionCode: str + required: Required + termsOfServiceKind: typing_extensions.Literal[ + "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" + ] + +@typing.type_check_only +class TimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str + +@typing.type_check_only +class TransitTable(typing_extensions.TypedDict, total=False): + postalCodeGroupNames: _list[str] + rows: _list[TransitTimeRow] + transitTimeLabels: _list[str] + +@typing.type_check_only +class TransitTimeRow(typing_extensions.TypedDict, total=False): + values: _list[TransitTimeValue] + +@typing.type_check_only +class TransitTimeValue(typing_extensions.TypedDict, total=False): + maxTransitDays: int + minTransitDays: int + +@typing.type_check_only +class UnclaimHomepageRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UnregisterGcpRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UpdateRegionRequest(typing_extensions.TypedDict, total=False): + region: Region + updateMask: str + +@typing.type_check_only +class UriSettings(typing_extensions.TypedDict, total=False): + cartUriTemplate: str + checkoutUriTemplate: str + +@typing.type_check_only +class User(typing_extensions.TypedDict, total=False): + accessRights: _list[ + typing_extensions.Literal[ + "ACCESS_RIGHT_UNSPECIFIED", + "STANDARD", + "READ_ONLY", + "ADMIN", + "PERFORMANCE_REPORTING", + "API_DEVELOPER", + ] + ] + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "VERIFIED"] + +@typing.type_check_only +class Value(typing_extensions.TypedDict, total=False): + carrierRate: str + flatRate: Price + noShipping: bool + pricePercentage: str + subtable: str + +@typing.type_check_only +class Warehouse(typing_extensions.TypedDict, total=False): + businessDayConfig: BusinessDayConfig + cutoffTime: WarehouseCutoffTime + handlingDays: str + name: str + shippingAddress: Address + +@typing.type_check_only +class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): + carrier: str + carrierService: str + warehouse: str + +@typing.type_check_only +class WarehouseCutoffTime(typing_extensions.TypedDict, total=False): + hour: int + minute: int + +@typing.type_check_only +class Weight(typing_extensions.TypedDict, total=False): + amountMicros: str + unit: typing_extensions.Literal["WEIGHT_UNIT_UNSPECIFIED", "POUND", "KILOGRAM"] diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi index 032c20d6..5403a2b8 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi @@ -73,14 +73,17 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeveloperRegistrationResource(googleapiclient.discovery.Resource): + def getDeveloperRegistration( + self, *, name: str, **kwargs: typing.Any + ) -> DeveloperRegistrationHttpRequest: ... def registerGcp( - self, *, name: str, body: RegisterGCPRequest = ..., **kwargs: typing.Any + self, *, name: str, body: RegisterGcpRequest = ..., **kwargs: typing.Any ) -> DeveloperRegistrationHttpRequest: ... def unregisterGcp( self, *, name: str, - body: UnregisterGCPRequest = ..., + body: UnregisterGcpRequest = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... @@ -489,9 +492,9 @@ class MerchantResource(googleapiclient.discovery.Resource): self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AccountHttpRequest: ... - def getDeveloperRegistration( - self, *, name: str, **kwargs: typing.Any - ) -> DeveloperRegistrationHttpRequest: ... + def getAccountForGcpRegistration( + self, **kwargs: typing.Any + ) -> GetAccountForGcpRegistrationResponseHttpRequest: ... def list( self, *, @@ -689,6 +692,14 @@ class FindLfpProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FindLfpProvidersResponse: ... +@typing.type_check_only +class GetAccountForGcpRegistrationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetAccountForGcpRegistrationResponse: ... + @typing.type_check_only class HomepageHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi index b4ffedc0..313e254e 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi @@ -307,6 +307,10 @@ class GbpAccount(typing_extensions.TypedDict, total=False): class GeoTargetArea(typing_extensions.TypedDict, total=False): geotargetCriteriaIds: _list[str] +@typing.type_check_only +class GetAccountForGcpRegistrationResponse(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Handshake(typing_extensions.TypedDict, total=False): actor: typing_extensions.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] @@ -690,7 +694,7 @@ class Region(typing_extensions.TypedDict, total=False): shippingEligible: bool @typing.type_check_only -class RegisterGCPRequest(typing_extensions.TypedDict, total=False): +class RegisterGcpRequest(typing_extensions.TypedDict, total=False): developerEmail: str @typing.type_check_only @@ -831,7 +835,7 @@ class TransitTimeValue(typing_extensions.TypedDict, total=False): class UnclaimHomepageRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only -class UnregisterGCPRequest(typing_extensions.TypedDict, total=False): ... +class UnregisterGcpRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class UriSettings(typing_extensions.TypedDict, total=False): @@ -847,6 +851,7 @@ class User(typing_extensions.TypedDict, total=False): "READ_ONLY", "ADMIN", "PERFORMANCE_REPORTING", + "API_DEVELOPER", ] ] name: str diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi new file mode 100644 index 00000000..47298b17 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi @@ -0,0 +1,97 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConversionSourcesResource(googleapiclient.discovery.Resource): + def create( + self, *, parent: str, body: ConversionSource = ..., **kwargs: typing.Any + ) -> ConversionSourceHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ConversionSourceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListConversionSourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConversionSourcesResponseHttpRequest, + previous_response: ListConversionSourcesResponse, + ) -> ListConversionSourcesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ConversionSource = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ConversionSourceHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteConversionSourceRequest = ..., + **kwargs: typing.Any, + ) -> ConversionSourceHttpRequest: ... + + def conversionSources(self) -> ConversionSourcesResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class ConversionSourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConversionSource: ... + +@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 ListConversionSourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConversionSourcesResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi new file mode 100644 index 00000000..88d94f2e --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi @@ -0,0 +1,101 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AttributionSettings(typing_extensions.TypedDict, total=False): + attributionLookbackWindowDays: int + attributionModel: typing_extensions.Literal[ + "ATTRIBUTION_MODEL_UNSPECIFIED", + "CROSS_CHANNEL_LAST_CLICK", + "ADS_PREFERRED_LAST_CLICK", + "CROSS_CHANNEL_DATA_DRIVEN", + "CROSS_CHANNEL_FIRST_CLICK", + "CROSS_CHANNEL_LINEAR", + "CROSS_CHANNEL_POSITION_BASED", + "CROSS_CHANNEL_TIME_DECAY", + ] + conversionType: _list[ConversionType] + +@typing.type_check_only +class ConversionSource(typing_extensions.TypedDict, total=False): + controller: typing_extensions.Literal[ + "CONTROLLER_UNSPECIFIED", "MERCHANT", "YOUTUBE_AFFILIATES" + ] + expireTime: str + googleAnalyticsLink: GoogleAnalyticsLink + merchantCenterDestination: MerchantCenterDestination + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING" + ] + +@typing.type_check_only +class ConversionType(typing_extensions.TypedDict, total=False): + name: str + report: bool + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleAnalyticsLink(typing_extensions.TypedDict, total=False): + attributionSettings: AttributionSettings + property: str + propertyId: str + +@typing.type_check_only +class ListConversionSourcesResponse(typing_extensions.TypedDict, total=False): + conversionSources: _list[ConversionSource] + nextPageToken: str + +@typing.type_check_only +class MerchantCenterDestination(typing_extensions.TypedDict, total=False): + attributionSettings: AttributionSettings + currencyCode: str + destination: str + displayName: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class UndeleteConversionSourceRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi new file mode 100644 index 00000000..b0407ea7 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi @@ -0,0 +1,111 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DataSourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FileUploadsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FileUploadHttpRequest: ... + + def create( + self, *, parent: str, body: DataSource = ..., **kwargs: typing.Any + ) -> DataSourceHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def fetch( + self, + *, + name: str, + body: FetchDataSourceRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DataSourceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDataSourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDataSourcesResponseHttpRequest, + previous_response: ListDataSourcesResponse, + ) -> ListDataSourcesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DataSource = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DataSourceHttpRequest: ... + def fileUploads(self) -> FileUploadsResource: ... + + def dataSources(self) -> DataSourcesResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class DataSourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DataSource: ... + +@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 FileUploadHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FileUpload: ... + +@typing.type_check_only +class ListDataSourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDataSourcesResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi new file mode 100644 index 00000000..b2d7cebf --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi @@ -0,0 +1,200 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class DataSource(typing_extensions.TypedDict, total=False): + dataSourceId: str + displayName: str + fileInput: FileInput + input: typing_extensions.Literal[ + "INPUT_UNSPECIFIED", "API", "FILE", "UI", "AUTOFEED" + ] + localInventoryDataSource: LocalInventoryDataSource + merchantReviewDataSource: MerchantReviewDataSource + name: str + primaryProductDataSource: PrimaryProductDataSource + productReviewDataSource: ProductReviewDataSource + promotionDataSource: PromotionDataSource + regionalInventoryDataSource: RegionalInventoryDataSource + supplementalProductDataSource: SupplementalProductDataSource + +@typing.type_check_only +class DataSourceReference(typing_extensions.TypedDict, total=False): + primaryDataSourceName: str + self: bool + supplementalDataSourceName: str + +@typing.type_check_only +class DefaultRule(typing_extensions.TypedDict, total=False): + takeFromDataSources: _list[DataSourceReference] + +@typing.type_check_only +class Destination(typing_extensions.TypedDict, total=False): + destination: typing_extensions.Literal[ + "DESTINATION_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "YOUTUBE_SHOPPING", + "YOUTUBE_SHOPPING_CHECKOUT", + "YOUTUBE_AFFILIATE", + "FREE_VEHICLE_LISTINGS", + "VEHICLE_ADS", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FetchDataSourceRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FetchSettings(typing_extensions.TypedDict, total=False): + dayOfMonth: int + dayOfWeek: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + enabled: bool + fetchUri: str + frequency: typing_extensions.Literal[ + "FREQUENCY_UNSPECIFIED", + "FREQUENCY_DAILY", + "FREQUENCY_WEEKLY", + "FREQUENCY_MONTHLY", + ] + password: str + timeOfDay: TimeOfDay + timeZone: str + username: str + +@typing.type_check_only +class FileInput(typing_extensions.TypedDict, total=False): + fetchSettings: FetchSettings + fileInputType: typing_extensions.Literal[ + "FILE_INPUT_TYPE_UNSPECIFIED", "UPLOAD", "FETCH", "GOOGLE_SHEETS" + ] + fileName: str + +@typing.type_check_only +class FileUpload(typing_extensions.TypedDict, total=False): + dataSourceId: str + issues: _list[Issue] + itemsCreated: str + itemsTotal: str + itemsUpdated: str + name: str + processingState: typing_extensions.Literal[ + "PROCESSING_STATE_UNSPECIFIED", "FAILED", "IN_PROGRESS", "SUCCEEDED" + ] + uploadTime: str + +@typing.type_check_only +class Issue(typing_extensions.TypedDict, total=False): + code: str + count: str + description: str + documentationUri: str + severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + title: str + +@typing.type_check_only +class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): + dataSources: _list[DataSource] + nextPageToken: str + +@typing.type_check_only +class LocalInventoryDataSource(typing_extensions.TypedDict, total=False): + contentLanguage: str + feedLabel: str + +@typing.type_check_only +class MerchantReviewDataSource(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): + contentLanguage: str + countries: _list[str] + defaultRule: DefaultRule + destinations: _list[Destination] + feedLabel: str + legacyLocal: bool + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductReviewDataSource(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class PromotionDataSource(typing_extensions.TypedDict, total=False): + contentLanguage: str + targetCountry: str + +@typing.type_check_only +class RegionalInventoryDataSource(typing_extensions.TypedDict, total=False): + contentLanguage: str + feedLabel: str + +@typing.type_check_only +class SupplementalProductDataSource(typing_extensions.TypedDict, total=False): + contentLanguage: str + feedLabel: str + referencingPrimaryDataSources: _list[DataSourceReference] + +@typing.type_check_only +class TimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi new file mode 100644 index 00000000..99a1f9fe --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi @@ -0,0 +1,129 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProductsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocalInventoriesResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def insert( + self, + *, + parent: str, + body: LocalInventory = ..., + **kwargs: typing.Any, + ) -> LocalInventoryHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocalInventoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocalInventoriesResponseHttpRequest, + previous_response: ListLocalInventoriesResponse, + ) -> ListLocalInventoriesResponseHttpRequest | None: ... + + @typing.type_check_only + class RegionalInventoriesResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def insert( + self, + *, + parent: str, + body: RegionalInventory = ..., + **kwargs: typing.Any, + ) -> RegionalInventoryHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRegionalInventoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRegionalInventoriesResponseHttpRequest, + previous_response: ListRegionalInventoriesResponse, + ) -> ListRegionalInventoriesResponseHttpRequest | None: ... + + def localInventories(self) -> LocalInventoriesResource: ... + def regionalInventories(self) -> RegionalInventoriesResource: ... + + def products(self) -> ProductsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@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 ListLocalInventoriesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocalInventoriesResponse: ... + +@typing.type_check_only +class ListRegionalInventoriesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRegionalInventoriesResponse: ... + +@typing.type_check_only +class LocalInventoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LocalInventory: ... + +@typing.type_check_only +class RegionalInventoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RegionalInventory: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi new file mode 100644 index 00000000..2a543811 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi @@ -0,0 +1,120 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class ListLocalInventoriesResponse(typing_extensions.TypedDict, total=False): + localInventories: _list[LocalInventory] + nextPageToken: str + +@typing.type_check_only +class ListRegionalInventoriesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + regionalInventories: _list[RegionalInventory] + +@typing.type_check_only +class LocalInventory(typing_extensions.TypedDict, total=False): + account: str + localInventoryAttributes: LocalInventoryAttributes + name: str + storeCode: str + +@typing.type_check_only +class LocalInventoryAttributes(typing_extensions.TypedDict, total=False): + availability: typing_extensions.Literal[ + "LOCAL_INVENTORY_AVAILABILITY_UNSPECIFIED", + "IN_STOCK", + "LIMITED_AVAILABILITY", + "ON_DISPLAY_TO_ORDER", + "OUT_OF_STOCK", + ] + instoreProductLocation: str + pickupMethod: typing_extensions.Literal[ + "PICKUP_METHOD_UNSPECIFIED", "BUY", "RESERVE", "SHIP_TO_STORE", "NOT_SUPPORTED" + ] + pickupSla: typing_extensions.Literal[ + "PICKUP_SLA_UNSPECIFIED", + "SAME_DAY", + "NEXT_DAY", + "TWO_DAY", + "THREE_DAY", + "FOUR_DAY", + "FIVE_DAY", + "SIX_DAY", + "SEVEN_DAY", + "MULTI_WEEK", + ] + price: Price + quantity: str + salePrice: Price + salePriceEffectiveDate: Interval + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class RegionalInventory(typing_extensions.TypedDict, total=False): + account: str + name: str + region: str + regionalInventoryAttributes: RegionalInventoryAttributes + +@typing.type_check_only +class RegionalInventoryAttributes(typing_extensions.TypedDict, total=False): + availability: typing_extensions.Literal[ + "REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK" + ] + price: Price + salePrice: Price + salePriceEffectiveDate: Interval diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi new file mode 100644 index 00000000..c8f68107 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi @@ -0,0 +1,111 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AggregateProductStatusesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAggregateProductStatusesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAggregateProductStatusesResponseHttpRequest, + previous_response: ListAggregateProductStatusesResponse, + ) -> ListAggregateProductStatusesResponseHttpRequest | None: ... + + def aggregateProductStatuses(self) -> AggregateProductStatusesResource: ... + + @typing.type_check_only + class IssueresolutionResource(googleapiclient.discovery.Resource): + def renderaccountissues( + self, + *, + name: str, + body: RenderIssuesRequestPayload = ..., + languageCode: str = ..., + timeZone: str = ..., + **kwargs: typing.Any, + ) -> RenderAccountIssuesResponseHttpRequest: ... + def renderproductissues( + self, + *, + name: str, + body: RenderIssuesRequestPayload = ..., + languageCode: str = ..., + timeZone: str = ..., + **kwargs: typing.Any, + ) -> RenderProductIssuesResponseHttpRequest: ... + def triggeraction( + self, + *, + name: str, + body: TriggerActionPayload = ..., + languageCode: str = ..., + **kwargs: typing.Any, + ) -> TriggerActionResponseHttpRequest: ... + + 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 accounts(self) -> AccountsResource: ... + def issueresolution(self) -> IssueresolutionResource: ... + +@typing.type_check_only +class ListAggregateProductStatusesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAggregateProductStatusesResponse: ... + +@typing.type_check_only +class RenderAccountIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RenderAccountIssuesResponse: ... + +@typing.type_check_only +class RenderProductIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RenderProductIssuesResponse: ... + +@typing.type_check_only +class TriggerActionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TriggerActionResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi new file mode 100644 index 00000000..862b82c9 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi @@ -0,0 +1,287 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Action(typing_extensions.TypedDict, total=False): + builtinSimpleAction: BuiltInSimpleAction + builtinUserInputAction: BuiltInUserInputAction + buttonLabel: str + externalAction: ExternalAction + isAvailable: bool + reasons: _list[Reason] + +@typing.type_check_only +class ActionFlow(typing_extensions.TypedDict, total=False): + dialogButtonLabel: str + dialogCallout: Callout + dialogMessage: TextWithTooltip + dialogTitle: str + id: str + inputs: _list[InputField] + label: str + +@typing.type_check_only +class ActionInput(typing_extensions.TypedDict, total=False): + actionFlowId: str + inputValues: _list[InputValue] + +@typing.type_check_only +class AdditionalContent(typing_extensions.TypedDict, total=False): + paragraphs: _list[str] + title: str + +@typing.type_check_only +class AggregateProductStatus(typing_extensions.TypedDict, total=False): + country: str + itemLevelIssues: _list[ItemLevelIssue] + name: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + stats: Stats + +@typing.type_check_only +class Breakdown(typing_extensions.TypedDict, total=False): + details: _list[str] + regions: _list[Region] + +@typing.type_check_only +class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): + additionalContent: AdditionalContent + attributeCode: str + type: typing_extensions.Literal[ + "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", + "VERIFY_PHONE", + "CLAIM_WEBSITE", + "ADD_PRODUCTS", + "ADD_CONTACT_INFO", + "LINK_ADS_ACCOUNT", + "ADD_BUSINESS_REGISTRATION_NUMBER", + "EDIT_ITEM_ATTRIBUTE", + "FIX_ACCOUNT_ISSUE", + "SHOW_ADDITIONAL_CONTENT", + ] + +@typing.type_check_only +class BuiltInUserInputAction(typing_extensions.TypedDict, total=False): + actionContext: str + flows: _list[ActionFlow] + +@typing.type_check_only +class Callout(typing_extensions.TypedDict, total=False): + fullMessage: TextWithTooltip + styleHint: typing_extensions.Literal[ + "CALLOUT_STYLE_HINT_UNSPECIFIED", "ERROR", "WARNING", "INFO" + ] + +@typing.type_check_only +class CheckboxInput(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckboxInputValue(typing_extensions.TypedDict, total=False): + value: bool + +@typing.type_check_only +class ChoiceInput(typing_extensions.TypedDict, total=False): + options: _list[ChoiceInputOption] + +@typing.type_check_only +class ChoiceInputOption(typing_extensions.TypedDict, total=False): + additionalInput: InputField + id: str + label: TextWithTooltip + +@typing.type_check_only +class ChoiceInputValue(typing_extensions.TypedDict, total=False): + choiceInputOptionId: str + +@typing.type_check_only +class ExternalAction(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "EXTERNAL_ACTION_TYPE_UNSPECIFIED", + "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", + "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", + "LEGAL_APPEAL_IN_HELP_CENTER", + "VERIFY_IDENTITY_IN_MERCHANT_CENTER", + "VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER", + ] + uri: str + +@typing.type_check_only +class Impact(typing_extensions.TypedDict, total=False): + breakdowns: _list[Breakdown] + message: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" + ] + +@typing.type_check_only +class InputField(typing_extensions.TypedDict, total=False): + checkboxInput: CheckboxInput + choiceInput: ChoiceInput + id: str + label: TextWithTooltip + required: bool + textInput: TextInput + +@typing.type_check_only +class InputValue(typing_extensions.TypedDict, total=False): + checkboxInputValue: CheckboxInputValue + choiceInputValue: ChoiceInputValue + inputFieldId: str + textInputValue: TextInputValue + +@typing.type_check_only +class ItemLevelIssue(typing_extensions.TypedDict, total=False): + attribute: str + code: str + description: str + detail: str + documentationUri: str + productCount: str + resolution: typing_extensions.Literal[ + "RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" + ] + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" + ] + +@typing.type_check_only +class ListAggregateProductStatusesResponse(typing_extensions.TypedDict, total=False): + aggregateProductStatuses: _list[AggregateProductStatus] + nextPageToken: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class Reason(typing_extensions.TypedDict, total=False): + action: Action + detail: str + message: str + +@typing.type_check_only +class Region(typing_extensions.TypedDict, total=False): + code: str + name: str + +@typing.type_check_only +class RenderAccountIssuesResponse(typing_extensions.TypedDict, total=False): + renderedIssues: _list[RenderedIssue] + +@typing.type_check_only +class RenderIssuesRequestPayload(typing_extensions.TypedDict, total=False): + contentOption: typing_extensions.Literal[ + "CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML" + ] + userInputActionOption: typing_extensions.Literal[ + "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", + "REDIRECT_TO_MERCHANT_CENTER", + "BUILT_IN_USER_INPUT_ACTIONS", + ] + +@typing.type_check_only +class RenderProductIssuesResponse(typing_extensions.TypedDict, total=False): + renderedIssues: _list[RenderedIssue] + +@typing.type_check_only +class RenderedIssue(typing_extensions.TypedDict, total=False): + actions: _list[Action] + impact: Impact + prerenderedContent: str + prerenderedOutOfCourtDisputeSettlement: str + title: str + +@typing.type_check_only +class Stats(typing_extensions.TypedDict, total=False): + activeCount: str + disapprovedCount: str + expiringCount: str + pendingCount: str + +@typing.type_check_only +class TextInput(typing_extensions.TypedDict, total=False): + additionalInfo: TextWithTooltip + ariaLabel: str + formatInfo: str + type: typing_extensions.Literal[ + "TEXT_INPUT_TYPE_UNSPECIFIED", "GENERIC_SHORT_TEXT", "GENERIC_LONG_TEXT" + ] + +@typing.type_check_only +class TextInputValue(typing_extensions.TypedDict, total=False): + value: str + +@typing.type_check_only +class TextWithTooltip(typing_extensions.TypedDict, total=False): + simpleTooltipValue: str + simpleValue: str + tooltipIconStyle: typing_extensions.Literal[ + "TOOLTIP_ICON_STYLE_UNSPECIFIED", "INFO", "QUESTION" + ] + +@typing.type_check_only +class TriggerActionPayload(typing_extensions.TypedDict, total=False): + actionContext: str + actionInput: ActionInput + +@typing.type_check_only +class TriggerActionResponse(typing_extensions.TypedDict, total=False): + message: str diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi index 079c5c67..862b82c9 100644 --- a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi @@ -124,6 +124,7 @@ class ExternalAction(typing_extensions.TypedDict, total=False): "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", "LEGAL_APPEAL_IN_HELP_CENTER", "VERIFY_IDENTITY_IN_MERCHANT_CENTER", + "VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER", ] uri: str diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi new file mode 100644 index 00000000..3c3f55eb --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi @@ -0,0 +1,127 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LfpInventoriesResource(googleapiclient.discovery.Resource): + def insert( + self, *, parent: str, body: LfpInventory = ..., **kwargs: typing.Any + ) -> LfpInventoryHttpRequest: ... + + @typing.type_check_only + class LfpMerchantStatesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LfpMerchantStateHttpRequest: ... + + @typing.type_check_only + class LfpSalesResource(googleapiclient.discovery.Resource): + def insert( + self, *, parent: str, body: LfpSale = ..., **kwargs: typing.Any + ) -> LfpSaleHttpRequest: ... + + @typing.type_check_only + class LfpStoresResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LfpStoreHttpRequest: ... + def insert( + self, *, parent: str, body: LfpStore = ..., **kwargs: typing.Any + ) -> LfpStoreHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + targetAccount: str = ..., + **kwargs: typing.Any, + ) -> ListLfpStoresResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLfpStoresResponseHttpRequest, + previous_response: ListLfpStoresResponse, + ) -> ListLfpStoresResponseHttpRequest | None: ... + + def lfpInventories(self) -> LfpInventoriesResource: ... + def lfpMerchantStates(self) -> LfpMerchantStatesResource: ... + def lfpSales(self) -> LfpSalesResource: ... + def lfpStores(self) -> LfpStoresResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@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 LfpInventoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfpInventory: ... + +@typing.type_check_only +class LfpMerchantStateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfpMerchantState: ... + +@typing.type_check_only +class LfpSaleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfpSale: ... + +@typing.type_check_only +class LfpStoreHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfpStore: ... + +@typing.type_check_only +class ListLfpStoresResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLfpStoresResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi new file mode 100644 index 00000000..fb463157 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi @@ -0,0 +1,162 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CountrySettings(typing_extensions.TypedDict, total=False): + freeLocalListingsEnabled: bool + instockServingVerificationState: typing_extensions.Literal[ + "VERIFICATION_STATE_UNSPECIFIED", + "VERIFICATION_STATE_NOT_APPROVED", + "VERIFICATION_STATE_IN_PROGRESS", + "VERIFICATION_STATE_APPROVED", + ] + inventoryVerificationState: typing_extensions.Literal[ + "VERIFICATION_STATE_UNSPECIFIED", + "VERIFICATION_STATE_NOT_APPROVED", + "VERIFICATION_STATE_IN_PROGRESS", + "VERIFICATION_STATE_APPROVED", + ] + localInventoryAdsEnabled: bool + pickupServingVerificationState: typing_extensions.Literal[ + "VERIFICATION_STATE_UNSPECIFIED", + "VERIFICATION_STATE_NOT_APPROVED", + "VERIFICATION_STATE_IN_PROGRESS", + "VERIFICATION_STATE_APPROVED", + ] + productPageType: typing_extensions.Literal[ + "PRODUCT_PAGE_TYPE_UNSPECIFIED", + "GOOGLE_HOSTED", + "MERCHANT_HOSTED", + "MERCHANT_HOSTED_STORE_SPECIFIC", + ] + regionCode: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class InventoryStats(typing_extensions.TypedDict, total=False): + submittedEntries: str + submittedInStockEntries: str + submittedProducts: str + unsubmittedEntries: str + +@typing.type_check_only +class LfpInventory(typing_extensions.TypedDict, total=False): + availability: str + collectionTime: str + contentLanguage: str + feedLabel: str + gtin: str + name: str + offerId: str + pickupMethod: str + pickupSla: str + price: Price + quantity: str + regionCode: str + storeCode: str + targetAccount: str + +@typing.type_check_only +class LfpMerchantState(typing_extensions.TypedDict, total=False): + countrySettings: _list[CountrySettings] + inventoryStats: InventoryStats + linkedGbps: str + name: str + storeStates: _list[LfpStoreState] + +@typing.type_check_only +class LfpSale(typing_extensions.TypedDict, total=False): + contentLanguage: str + feedLabel: str + gtin: str + name: str + offerId: str + price: Price + quantity: str + regionCode: str + saleTime: str + storeCode: str + targetAccount: str + uid: str + +@typing.type_check_only +class LfpStore(typing_extensions.TypedDict, total=False): + gcidCategory: _list[str] + matchingState: typing_extensions.Literal[ + "STORE_MATCHING_STATE_UNSPECIFIED", + "STORE_MATCHING_STATE_MATCHED", + "STORE_MATCHING_STATE_FAILED", + ] + matchingStateHint: str + name: str + phoneNumber: str + placeId: str + storeAddress: str + storeCode: str + storeName: str + targetAccount: str + websiteUri: str + +@typing.type_check_only +class LfpStoreState(typing_extensions.TypedDict, total=False): + matchingState: typing_extensions.Literal[ + "STORE_MATCHING_STATE_UNSPECIFIED", + "STORE_MATCHING_STATE_MATCHED", + "STORE_MATCHING_STATE_FAILED", + ] + matchingStateHint: str + storeCode: str + +@typing.type_check_only +class ListLfpStoresResponse(typing_extensions.TypedDict, total=False): + lfpStores: _list[LfpStore] + nextPageToken: str + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi new file mode 100644 index 00000000..0139db35 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi @@ -0,0 +1,95 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NotificationsubscriptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: NotificationSubscription = ..., + **kwargs: typing.Any, + ) -> NotificationSubscriptionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> NotificationSubscriptionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListNotificationSubscriptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListNotificationSubscriptionsResponseHttpRequest, + previous_response: ListNotificationSubscriptionsResponse, + ) -> ListNotificationSubscriptionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: NotificationSubscription = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> NotificationSubscriptionHttpRequest: ... + + def notificationsubscriptions(self) -> NotificationsubscriptionsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@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 ListNotificationSubscriptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListNotificationSubscriptionsResponse: ... + +@typing.type_check_only +class NotificationSubscriptionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NotificationSubscription: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi new file mode 100644 index 00000000..08e121d9 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi @@ -0,0 +1,62 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ListNotificationSubscriptionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + notificationSubscriptions: _list[NotificationSubscription] + +@typing.type_check_only +class NotificationSubscription(typing_extensions.TypedDict, total=False): + allManagedAccounts: bool + callBackUri: str + name: str + registeredEvent: typing_extensions.Literal[ + "NOTIFICATION_EVENT_TYPE_UNSPECIFIED", "PRODUCT_STATUS_CHANGE" + ] + targetAccount: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi new file mode 100644 index 00000000..0b7971d0 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi @@ -0,0 +1,51 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OrderTrackingSignalsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: OrderTrackingSignal = ..., + orderTrackingSignalId: str = ..., + **kwargs: typing.Any, + ) -> OrderTrackingSignalHttpRequest: ... + + def orderTrackingSignals(self) -> OrderTrackingSignalsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class OrderTrackingSignalHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OrderTrackingSignal: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi new file mode 100644 index 00000000..ce14d915 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi @@ -0,0 +1,111 @@ +import typing + +import typing_extensions + +_list = list + +@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 LineItemDetails(typing_extensions.TypedDict, total=False): + brand: str + gtins: _list[str] + lineItemId: str + mpn: str + productId: str + productTitle: str + quantity: str + +@typing.type_check_only +class OrderTrackingSignal(typing_extensions.TypedDict, total=False): + customerShippingFee: Price + deliveryPostalCode: str + deliveryRegionCode: str + lineItems: _list[LineItemDetails] + merchantId: str + orderCreatedTime: DateTime + orderId: str + orderTrackingSignalId: str + shipmentLineItemMapping: _list[ShipmentLineItemMapping] + shippingInfo: _list[ShippingInfo] + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class ShipmentLineItemMapping(typing_extensions.TypedDict, total=False): + lineItemId: str + quantity: str + shipmentId: str + +@typing.type_check_only +class ShippingInfo(typing_extensions.TypedDict, total=False): + actualDeliveryTime: DateTime + carrier: str + carrierService: str + earliestDeliveryPromiseTime: DateTime + latestDeliveryPromiseTime: DateTime + originPostalCode: str + originRegionCode: str + shipmentId: str + shippedTime: DateTime + shippingStatus: typing_extensions.Literal[ + "SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED" + ] + trackingId: str + +@typing.type_check_only +class TimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi index 5cd612d5..0b7971d0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi @@ -16,7 +16,7 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class AccountsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OrdertrackingsignalsResource(googleapiclient.discovery.Resource): + class OrderTrackingSignalsResource(googleapiclient.discovery.Resource): def create( self, *, @@ -26,7 +26,7 @@ class MerchantResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OrderTrackingSignalHttpRequest: ... - def ordertrackingsignals(self) -> OrdertrackingsignalsResource: ... + def orderTrackingSignals(self) -> OrderTrackingSignalsResource: ... def new_batch_http_request( self, diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi index 4a7f941e..764c3eb3 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi @@ -20,6 +20,7 @@ class DateTime(typing_extensions.TypedDict, total=False): class LineItemDetails(typing_extensions.TypedDict, total=False): brand: str gtin: str + gtins: _list[str] lineItemId: str mpn: str productId: str diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi new file mode 100644 index 00000000..8b94a08b --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi @@ -0,0 +1,105 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProductInputsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, dataSource: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def insert( + self, + *, + parent: str, + body: ProductInput = ..., + dataSource: str = ..., + **kwargs: typing.Any, + ) -> ProductInputHttpRequest: ... + def patch( + self, + *, + name: str, + body: ProductInput = ..., + dataSource: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ProductInputHttpRequest: ... + + @typing.type_check_only + class ProductsResource(googleapiclient.discovery.Resource): + def get(self, *, name: str, **kwargs: typing.Any) -> ProductHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListProductsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListProductsResponseHttpRequest, + previous_response: ListProductsResponse, + ) -> ListProductsResponseHttpRequest | None: ... + + def productInputs(self) -> ProductInputsResource: ... + def products(self) -> ProductsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@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 ListProductsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListProductsResponse: ... + +@typing.type_check_only +class ProductHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Product: ... + +@typing.type_check_only +class ProductInputHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ProductInput: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi new file mode 100644 index 00000000..fd2bd87c --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi @@ -0,0 +1,645 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AutomatedDiscounts(typing_extensions.TypedDict, total=False): + gadPrice: Price + priorPrice: Price + priorPriceProgressive: Price + +@typing.type_check_only +class CarrierShipping(typing_extensions.TypedDict, total=False): + carrierPrice: typing_extensions.Literal[ + "CARRIER_PRICE_OPTION_UNSPECIFIED", + "AUSTRALIA_POST_REGULAR", + "AUSTRALIA_POST_EXPRESS", + "AUSTRALIA_POST_REGULAR_S", + "AUSTRALIA_POST_REGULAR_M", + "AUSTRALIA_POST_REGULAR_L", + "AUSTRALIA_POST_REGULAR_XL", + "AUSTRALIA_POST_EXPRESS_S", + "AUSTRALIA_POST_EXPRESS_M", + "AUSTRALIA_POST_EXPRESS_L", + "AUSTRALIA_POST_EXPRESS_XL", + "TNT_ROAD_EXPRESS", + "TNT_OVERNIGHT_EXPRESS", + "TOLL_ROAD_DELIVERY", + "TOLL_OVERNIGHT_PRIORITY", + "DHL_PAKET", + "DHL_PACKCHEN", + "DPD_EXPRESS_12", + "DPD_EXPRESS", + "DPD_CLASSIC_PARCEL", + "HERMES_PACKCHEN", + "HERMES_PAKETKLASSE_S", + "HERMES_PAKETKLASSE_M", + "HERMES_PAKETKLASSE_L", + "UPS_EXPRESS", + "UPS_EXPRESS_SAVER", + "UPS_EXPRESS_STANDARD", + "DHL_EXPRESS", + "DHL_EXPRESS_12", + "DPD_NEXT_DAY", + "DPD_STANDARD_NEXT_DAY", + "DPD_STANDARD_TWO_DAY", + "RMG_1ST_CLASS_SMALL", + "RMG_1ST_CLASS_MEDIUM", + "RMG_2ND_CLASS_SMALL", + "RMG_2ND_CLASS_MEDIUM", + "TNT_EXPRESS", + "TNT_EXPRESS_10", + "TNT_EXPRESS_12", + "YODEL_B2C_48HR", + "YODEL_B2C_72HR", + "YODEL_B2C_PACKET", + "FEDEX_GROUND", + "FEDEX_HOME_DELIVERY", + "FEDEX_EXPRESS_SAVER", + "FEDEX_FIRST_OVERNIGHT", + "FEDEX_PRIORITY_OVERNIGHT", + "FEDEX_STANDARD_OVERNIGHT", + "FEDEX_2DAY", + "UPS_STANDARD", + "UPS_2ND_DAY_AIR", + "UPS_2ND_DAY_AM", + "UPS_3_DAY_SELECT", + "UPS_GROUND", + "UPS_NEXT_DAY_AIR", + "UPS_NEXT_DAY_AIR_EARLY_AM", + "UPS_NEXT_DAY_AIR_SAVER", + "USPS_PRIORITY_MAIL_EXPRESS", + "USPS_MEDIA_MAIL", + "USPS_GROUND_ADVANTAGE_RETAIL", + "USPS_PRIORITY_MAIL", + "USPS_GROUND_ADVANTAGE_COMMERCIAL", + ] + carrierPriceFlatAdjustment: Price + carrierPricePercentageAdjustment: float + carrierTransitTime: typing_extensions.Literal[ + "CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED", + "DHL_PAKET", + "DHL_PACKCHEN", + "DHL_EXPRESSEASY", + "DPD_EXPRESS", + "DPD_CLASSIC_PARCEL", + "HERMES_HAUSTUR", + "HERMES_PAKETSHOP", + "GLS_BUSINESS", + "GLS_EXPRESS", + "GLS_PRIVATE", + "COLISSIMO_DOMICILE", + "DHL_EXPRESS_12AM", + "DHL_EXPRESS_9AM", + "GEODIS_EXPRESS", + "GEODIS_PACK_30", + "GEODIS_SAME_DAY", + "GEODIS_TOP_24", + "TNT_ESSENTIEL_24H", + "TNT_ESSENTIEL_FLEXIBILITE", + "FEDEX_GROUND", + "FEDEX_HOME_DELIVERY", + "FEDEX_EXPRESS_SAVER", + "FEDEX_FIRST_OVERNIGHT", + "FEDEX_PRIORITY_OVERNIGHT", + "FEDEX_STANDARD_OVERNIGHT", + "FEDEX_2DAY", + "UPS_2ND_DAY_AIR", + "UPS_2ND_DAY_AM", + "UPS_3_DAY_SELECT", + "UPS_GROUND", + "UPS_NEXT_DAY_AIR", + "UPS_NEXT_DAY_AIR_EARLY_AM", + "UPS_NEXT_DAY_AIR_SAVER", + "USPS_PRIORITY_MAIL_EXPRESS", + "USPS_MEDIA_MAIL", + "USPS_GROUND_ADVANTAGE_RETAIL", + "USPS_PRIORITY_MAIL", + "USPS_GROUND_ADVANTAGE_COMMERCIAL", + "USPS_FIRST_CLASS_MAIL", + ] + country: str + fixedMaxTransitTime: str + fixedMinTransitTime: str + flatPrice: Price + maxHandlingTime: str + minHandlingTime: str + originPostalCode: str + postalCode: str + region: str + +@typing.type_check_only +class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): + boolValue: bool + floatValue: _list[float] + intValue: _list[str] + maxValue: float + minValue: float + propertyName: str + textValue: _list[str] + unitCode: str + +@typing.type_check_only +class CustomAttribute(typing_extensions.TypedDict, total=False): + groupValues: _list[CustomAttribute] + name: str + value: str + +@typing.type_check_only +class DestinationStatus(typing_extensions.TypedDict, total=False): + approvedCountries: _list[str] + disapprovedCountries: _list[str] + pendingCountries: _list[str] + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FreeShippingThreshold(typing_extensions.TypedDict, total=False): + country: str + priceThreshold: Price + +@typing.type_check_only +class HandlingCutoffTime(typing_extensions.TypedDict, total=False): + country: str + cutoffTime: str + cutoffTimezone: str + disableDeliveryAfterCutoff: bool + +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class ItemLevelIssue(typing_extensions.TypedDict, total=False): + applicableCountries: _list[str] + attribute: str + code: str + description: str + detail: str + documentation: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + resolution: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" + ] + +@typing.type_check_only +class ListProductsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + products: _list[Product] + +@typing.type_check_only +class LoyaltyPoints(typing_extensions.TypedDict, total=False): + name: str + pointsValue: str + ratio: float + +@typing.type_check_only +class LoyaltyProgram(typing_extensions.TypedDict, total=False): + cashbackForFutureUse: Price + loyaltyPoints: str + memberPriceEffectiveDate: Interval + price: Price + programLabel: str + shippingLabel: str + tierLabel: str + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class Product(typing_extensions.TypedDict, total=False): + automatedDiscounts: AutomatedDiscounts + contentLanguage: str + customAttributes: _list[CustomAttribute] + dataSource: str + feedLabel: str + legacyLocal: bool + name: str + offerId: str + productAttributes: ProductAttributes + productStatus: ProductStatus + versionNumber: str + +@typing.type_check_only +class ProductAttributes(typing_extensions.TypedDict, total=False): + additionalImageLinks: _list[str] + adsGrouping: str + adsLabels: _list[str] + adsRedirect: str + adult: bool + ageGroup: typing_extensions.Literal[ + "AGE_GROUP_UNSPECIFIED", "ADULT", "KIDS", "TODDLER", "INFANT", "NEWBORN" + ] + autoPricingMinPrice: Price + availability: typing_extensions.Literal[ + "AVAILABILITY_UNSPECIFIED", + "IN_STOCK", + "OUT_OF_STOCK", + "PREORDER", + "LIMITED_AVAILABILITY", + "BACKORDER", + ] + availabilityDate: str + brand: str + canonicalLink: str + carrierShipping: _list[CarrierShipping] + certifications: _list[ProductCertification] + cloudExportAdditionalProperties: _list[CloudExportAdditionalProperties] + color: str + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "NEW", "USED", "REFURBISHED" + ] + costOfGoodsSold: Price + customLabel0: str + customLabel1: str + customLabel2: str + customLabel3: str + customLabel4: str + description: str + disclosureDate: str + displayAdsId: str + displayAdsLink: str + displayAdsSimilarIds: _list[str] + displayAdsTitle: str + displayAdsValue: float + energyEfficiencyClass: typing_extensions.Literal[ + "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", + "APPP", + "APP", + "AP", + "A", + "B", + "C", + "D", + "E", + "F", + "G", + ] + excludedDestinations: _list[ + typing_extensions.Literal[ + "DESTINATION_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "YOUTUBE_SHOPPING", + "YOUTUBE_SHOPPING_CHECKOUT", + "YOUTUBE_AFFILIATE", + "FREE_VEHICLE_LISTINGS", + "VEHICLE_ADS", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + ] + ] + expirationDate: str + externalSellerId: str + freeShippingThreshold: _list[FreeShippingThreshold] + gender: typing_extensions.Literal["GENDER_UNSPECIFIED", "MALE", "FEMALE", "UNISEX"] + googleProductCategory: str + gtins: _list[str] + handlingCutoffTimes: _list[HandlingCutoffTime] + identifierExists: bool + imageLink: str + includedDestinations: _list[ + typing_extensions.Literal[ + "DESTINATION_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "YOUTUBE_SHOPPING", + "YOUTUBE_SHOPPING_CHECKOUT", + "YOUTUBE_AFFILIATE", + "FREE_VEHICLE_LISTINGS", + "VEHICLE_ADS", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + ] + ] + installment: ProductInstallment + isBundle: bool + itemGroupId: str + lifestyleImageLinks: _list[str] + link: str + linkTemplate: str + loyaltyPoints: LoyaltyPoints + loyaltyPrograms: _list[LoyaltyProgram] + material: str + maxEnergyEfficiencyClass: typing_extensions.Literal[ + "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", + "APPP", + "APP", + "AP", + "A", + "B", + "C", + "D", + "E", + "F", + "G", + ] + maxHandlingTime: str + maximumRetailPrice: Price + minEnergyEfficiencyClass: typing_extensions.Literal[ + "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", + "APPP", + "APP", + "AP", + "A", + "B", + "C", + "D", + "E", + "F", + "G", + ] + minHandlingTime: str + mobileLink: str + mobileLinkTemplate: str + mpn: str + multipack: str + pattern: str + pause: typing_extensions.Literal["PAUSE_UNSPECIFIED", "ADS", "ALL"] + pickupMethod: typing_extensions.Literal[ + "PICKUP_METHOD_UNSPECIFIED", "NOT_SUPPORTED", "BUY", "RESERVE", "SHIP_TO_STORE" + ] + pickupSla: typing_extensions.Literal[ + "PICKUP_SLA_UNSPECIFIED", + "SAME_DAY", + "NEXT_DAY", + "TWO_DAY", + "THREE_DAY", + "FOUR_DAY", + "FIVE_DAY", + "SIX_DAY", + "MULTI_WEEK", + ] + price: Price + productDetails: _list[ProductDetail] + productHeight: ProductDimension + productHighlights: _list[str] + productLength: ProductDimension + productTypes: _list[str] + productWeight: ProductWeight + productWidth: ProductDimension + promotionIds: _list[str] + salePrice: Price + salePriceEffectiveDate: Interval + sellOnGoogleQuantity: str + shipping: _list[Shipping] + shippingHeight: ShippingDimension + shippingLabel: str + shippingLength: ShippingDimension + shippingWeight: ShippingWeight + shippingWidth: ShippingDimension + shoppingAdsExcludedCountries: _list[str] + size: str + sizeSystem: typing_extensions.Literal[ + "SIZE_SYSTEM_UNSPECIFIED", + "AU", + "BR", + "CN", + "DE", + "EU", + "FR", + "IT", + "JP", + "MEX", + "UK", + "US", + ] + sizeTypes: _list[ + typing_extensions.Literal[ + "SIZE_TYPE_UNSPECIFIED", + "REGULAR", + "PETITE", + "MATERNITY", + "BIG", + "TALL", + "PLUS", + ] + ] + structuredDescription: StructuredDescription + structuredTitle: StructuredTitle + subscriptionCost: SubscriptionCost + sustainabilityIncentives: _list[ProductSustainabilityIncentive] + title: str + transitTimeLabel: str + unitPricingBaseMeasure: UnitPricingBaseMeasure + unitPricingMeasure: UnitPricingMeasure + virtualModelLink: str + +@typing.type_check_only +class ProductCertification(typing_extensions.TypedDict, total=False): + certificationAuthority: typing_extensions.Literal[ + "CERTIFICATION_AUTHORITY_UNSPECIFIED", "ADEME", "BMWK", "EPA", "EC" + ] + certificationCode: str + certificationName: typing_extensions.Literal[ + "CERTIFICATION_NAME_UNSPECIFIED", + "ENERGY_STAR", + "ENERGY_STAR_MOST_EFFICIENT", + "EPREL", + "EU_ECOLABEL", + "VEHICLE_ENERGY_EFFICIENCY", + "VEHICLE_ENERGY_EFFICIENCY_DISCHARGED_BATTERY", + ] + certificationValue: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductDetail(typing_extensions.TypedDict, total=False): + attributeName: str + attributeValue: str + sectionName: str + +@typing.type_check_only +class ProductDimension(typing_extensions.TypedDict, total=False): + unit: str + value: float + +@typing.type_check_only +class ProductInput(typing_extensions.TypedDict, total=False): + contentLanguage: str + customAttributes: _list[CustomAttribute] + feedLabel: str + legacyLocal: bool + name: str + offerId: str + product: str + productAttributes: ProductAttributes + versionNumber: str + +@typing.type_check_only +class ProductInstallment(typing_extensions.TypedDict, total=False): + amount: Price + creditType: typing_extensions.Literal["CREDIT_TYPE_UNSPECIFIED", "FINANCE", "LEASE"] + downpayment: Price + months: str + +@typing.type_check_only +class ProductStatus(typing_extensions.TypedDict, total=False): + creationDate: str + destinationStatuses: _list[DestinationStatus] + googleExpirationDate: str + itemLevelIssues: _list[ItemLevelIssue] + lastUpdateDate: str + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class ProductSustainabilityIncentive(typing_extensions.TypedDict, total=False): + amount: Price + percentage: float + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT" + ] + +@typing.type_check_only +class ProductWeight(typing_extensions.TypedDict, total=False): + unit: str + value: float + +@typing.type_check_only +class Shipping(typing_extensions.TypedDict, total=False): + country: str + handlingCutoffTime: str + handlingCutoffTimezone: str + locationGroupName: str + locationId: str + maxHandlingTime: str + maxTransitTime: str + minHandlingTime: str + minTransitTime: str + postalCode: str + price: Price + region: str + service: str + +@typing.type_check_only +class ShippingDimension(typing_extensions.TypedDict, total=False): + unit: str + value: float + +@typing.type_check_only +class ShippingWeight(typing_extensions.TypedDict, total=False): + unit: str + value: float + +@typing.type_check_only +class StructuredDescription(typing_extensions.TypedDict, total=False): + content: str + digitalSourceType: typing_extensions.Literal[ + "DIGITAL_SOURCE_TYPE_UNSPECIFIED", "TRAINED_ALGORITHMIC_MEDIA", "DEFAULT" + ] + +@typing.type_check_only +class StructuredTitle(typing_extensions.TypedDict, total=False): + content: str + digitalSourceType: typing_extensions.Literal[ + "DIGITAL_SOURCE_TYPE_UNSPECIFIED", "TRAINED_ALGORITHMIC_MEDIA", "DEFAULT" + ] + +@typing.type_check_only +class SubscriptionCost(typing_extensions.TypedDict, total=False): + amount: Price + period: typing_extensions.Literal[ + "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR" + ] + periodLength: str + +@typing.type_check_only +class UnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): + unit: str + value: str + +@typing.type_check_only +class UnitPricingMeasure(typing_extensions.TypedDict, total=False): + unit: str + value: float diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi index 6f1cfe9f..83e43993 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi @@ -349,6 +349,8 @@ class ProductWeight(typing_extensions.TypedDict, total=False): @typing.type_check_only class Shipping(typing_extensions.TypedDict, total=False): country: str + handlingCutoffTime: str + handlingCutoffTimezone: str locationGroupName: str locationId: str maxHandlingTime: str diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi new file mode 100644 index 00000000..54c303a7 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi @@ -0,0 +1,74 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PromotionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PromotionHttpRequest: ... + def insert( + self, + *, + parent: str, + body: InsertPromotionRequest = ..., + **kwargs: typing.Any, + ) -> PromotionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPromotionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPromotionsResponseHttpRequest, + previous_response: ListPromotionsResponse, + ) -> ListPromotionsResponseHttpRequest | None: ... + + def promotions(self) -> PromotionsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class ListPromotionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPromotionsResponse: ... + +@typing.type_check_only +class PromotionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Promotion: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi new file mode 100644 index 00000000..25c18ee5 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi @@ -0,0 +1,230 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Attributes(typing_extensions.TypedDict, total=False): + brandExclusion: _list[str] + brandInclusion: _list[str] + couponValueType: typing_extensions.Literal[ + "COUPON_VALUE_TYPE_UNSPECIFIED", + "MONEY_OFF", + "PERCENT_OFF", + "BUY_M_GET_N_MONEY_OFF", + "BUY_M_GET_N_PERCENT_OFF", + "BUY_M_GET_MONEY_OFF", + "BUY_M_GET_PERCENT_OFF", + "FREE_GIFT", + "FREE_GIFT_WITH_VALUE", + "FREE_GIFT_WITH_ITEM_ID", + "FREE_SHIPPING_STANDARD", + "FREE_SHIPPING_OVERNIGHT", + "FREE_SHIPPING_TWO_DAY", + ] + freeGiftDescription: str + freeGiftItemId: str + freeGiftValue: Price + genericRedemptionCode: str + getThisQuantityDiscounted: str + itemGroupIdExclusion: _list[str] + itemGroupIdInclusion: _list[str] + itemIdExclusion: _list[str] + itemIdInclusion: _list[str] + limitQuantity: str + limitValue: Price + longTitle: str + minimumPurchaseAmount: Price + minimumPurchaseQuantity: str + moneyOffAmount: Price + offerType: typing_extensions.Literal[ + "OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE" + ] + percentOff: str + productApplicability: typing_extensions.Literal[ + "PRODUCT_APPLICABILITY_UNSPECIFIED", "ALL_PRODUCTS", "SPECIFIC_PRODUCTS" + ] + productTypeExclusion: _list[str] + productTypeInclusion: _list[str] + promotionDestinations: _list[ + typing_extensions.Literal[ + "DESTINATION_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "YOUTUBE_SHOPPING", + "YOUTUBE_SHOPPING_CHECKOUT", + "YOUTUBE_AFFILIATE", + "FREE_VEHICLE_LISTINGS", + "VEHICLE_ADS", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + ] + ] + promotionDisplayTimePeriod: Interval + promotionEffectiveTimePeriod: Interval + promotionUrl: str + storeApplicability: typing_extensions.Literal[ + "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" + ] + storeCodesExclusion: _list[str] + storeCodesInclusion: _list[str] + +@typing.type_check_only +class CustomAttribute(typing_extensions.TypedDict, total=False): + groupValues: _list[CustomAttribute] + name: str + value: str + +@typing.type_check_only +class DestinationStatus(typing_extensions.TypedDict, total=False): + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + status: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "IN_REVIEW", + "REJECTED", + "LIVE", + "STOPPED", + "EXPIRED", + "PENDING", + ] + +@typing.type_check_only +class InsertPromotionRequest(typing_extensions.TypedDict, total=False): + dataSource: str + promotion: Promotion + +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class ItemLevelIssue(typing_extensions.TypedDict, total=False): + applicableCountries: _list[str] + attribute: str + code: str + description: str + detail: str + documentation: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + resolution: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" + ] + +@typing.type_check_only +class ListPromotionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + promotions: _list[Promotion] + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class Promotion(typing_extensions.TypedDict, total=False): + attributes: Attributes + contentLanguage: str + customAttributes: _list[CustomAttribute] + dataSource: str + name: str + promotionId: str + promotionStatus: PromotionStatus + redemptionChannel: _list[ + typing_extensions.Literal[ + "REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE" + ] + ] + targetCountry: str + versionNumber: str + +@typing.type_check_only +class PromotionStatus(typing_extensions.TypedDict, total=False): + creationDate: str + destinationStatuses: _list[DestinationStatus] + itemLevelIssues: _list[ItemLevelIssue] + lastUpdateDate: str diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi new file mode 100644 index 00000000..37fbdd8f --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi @@ -0,0 +1,56 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class QuotasResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListQuotaGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListQuotaGroupsResponseHttpRequest, + previous_response: ListQuotaGroupsResponse, + ) -> ListQuotaGroupsResponseHttpRequest | None: ... + + def quotas(self) -> QuotasResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class ListQuotaGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListQuotaGroupsResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi new file mode 100644 index 00000000..7369d720 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi @@ -0,0 +1,64 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class ListQuotaGroupsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + quotaGroups: _list[QuotaGroup] + +@typing.type_check_only +class MethodDetails(typing_extensions.TypedDict, total=False): + method: str + path: str + subapi: str + version: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class QuotaGroup(typing_extensions.TypedDict, total=False): + methodDetails: _list[MethodDetails] + name: str + quotaLimit: str + quotaMinuteLimit: str + quotaUsage: str diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi new file mode 100644 index 00000000..2fcf961c --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi @@ -0,0 +1,51 @@ +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 MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ReportsResource(googleapiclient.discovery.Resource): + def search( + self, *, parent: str, body: SearchRequest = ..., **kwargs: typing.Any + ) -> SearchResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchResponseHttpRequest, + previous_response: SearchResponse, + ) -> SearchResponseHttpRequest | None: ... + + def reports(self) -> ReportsResource: ... + + 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 accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class SearchResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi new file mode 100644 index 00000000..42aeff90 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi @@ -0,0 +1,369 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class BestSellersBrandView(typing_extensions.TypedDict, total=False): + brand: str + previousRank: str + previousRelativeDemand: typing_extensions.Literal[ + "RELATIVE_DEMAND_ENUM_UNSPECIFIED", + "VERY_LOW", + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH", + ] + rank: str + relativeDemand: typing_extensions.Literal[ + "RELATIVE_DEMAND_ENUM_UNSPECIFIED", + "VERY_LOW", + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH", + ] + relativeDemandChange: typing_extensions.Literal[ + "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" + ] + reportCategoryId: str + reportCountryCode: str + reportDate: Date + reportGranularity: typing_extensions.Literal[ + "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" + ] + +@typing.type_check_only +class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): + brand: str + brandInventoryStatus: typing_extensions.Literal[ + "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" + ] + categoryL1: str + categoryL2: str + categoryL3: str + categoryL4: str + categoryL5: str + inventoryStatus: typing_extensions.Literal[ + "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" + ] + previousRank: str + previousRelativeDemand: typing_extensions.Literal[ + "RELATIVE_DEMAND_ENUM_UNSPECIFIED", + "VERY_LOW", + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH", + ] + rank: str + relativeDemand: typing_extensions.Literal[ + "RELATIVE_DEMAND_ENUM_UNSPECIFIED", + "VERY_LOW", + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH", + ] + relativeDemandChange: typing_extensions.Literal[ + "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" + ] + reportCategoryId: str + reportCountryCode: str + reportDate: Date + reportGranularity: typing_extensions.Literal[ + "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" + ] + title: str + variantGtins: _list[str] + +@typing.type_check_only +class CompetitiveVisibilityBenchmarkView(typing_extensions.TypedDict, total=False): + categoryBenchmarkVisibilityTrend: float + date: Date + reportCategoryId: str + reportCountryCode: str + trafficSource: typing_extensions.Literal[ + "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" + ] + yourDomainVisibilityTrend: float + +@typing.type_check_only +class CompetitiveVisibilityCompetitorView(typing_extensions.TypedDict, total=False): + adsOrganicRatio: float + date: Date + domain: str + higherPositionRate: float + isYourDomain: bool + pageOverlapRate: float + rank: str + relativeVisibility: float + reportCategoryId: str + reportCountryCode: str + trafficSource: typing_extensions.Literal[ + "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" + ] + +@typing.type_check_only +class CompetitiveVisibilityTopMerchantView(typing_extensions.TypedDict, total=False): + adsOrganicRatio: float + date: Date + domain: str + higherPositionRate: float + isYourDomain: bool + pageOverlapRate: float + rank: str + reportCategoryId: str + reportCountryCode: str + trafficSource: typing_extensions.Literal[ + "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" + ] + +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False): + demotedCountries: _list[str] + disapprovedCountries: _list[str] + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ItemIssue(typing_extensions.TypedDict, total=False): + resolution: typing_extensions.Literal[ + "ITEM_ISSUE_RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" + ] + severity: ItemIssueSeverity + type: ItemIssueType + +@typing.type_check_only +class ItemIssueSeverity(typing_extensions.TypedDict, total=False): + aggregatedSeverity: typing_extensions.Literal[ + "AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", "DISAPPROVED", "DEMOTED", "PENDING" + ] + severityPerReportingContext: _list[IssueSeverityPerReportingContext] + +@typing.type_check_only +class ItemIssueType(typing_extensions.TypedDict, total=False): + canonicalAttribute: str + code: str + +@typing.type_check_only +class NonProductPerformanceView(typing_extensions.TypedDict, total=False): + clickThroughRate: float + clicks: str + date: Date + impressions: str + week: Date + +@typing.type_check_only +class Price(typing_extensions.TypedDict, total=False): + amountMicros: str + currencyCode: str + +@typing.type_check_only +class PriceCompetitivenessProductView(typing_extensions.TypedDict, total=False): + benchmarkPrice: Price + brand: str + categoryL1: str + categoryL2: str + categoryL3: str + categoryL4: str + categoryL5: str + id: str + offerId: str + price: Price + productTypeL1: str + productTypeL2: str + productTypeL3: str + productTypeL4: str + productTypeL5: str + reportCountryCode: str + title: str + +@typing.type_check_only +class PriceInsightsProductView(typing_extensions.TypedDict, total=False): + brand: str + categoryL1: str + categoryL2: str + categoryL3: str + categoryL4: str + categoryL5: str + effectiveness: typing_extensions.Literal[ + "EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" + ] + id: str + offerId: str + predictedClicksChangeFraction: float + predictedConversionsChangeFraction: float + predictedImpressionsChangeFraction: float + price: Price + productTypeL1: str + productTypeL2: str + productTypeL3: str + productTypeL4: str + productTypeL5: str + suggestedPrice: Price + title: str + +@typing.type_check_only +class ProductChange(typing_extensions.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing_extensions.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductPerformanceView(typing_extensions.TypedDict, total=False): + brand: str + categoryL1: str + categoryL2: str + categoryL3: str + categoryL4: str + categoryL5: str + clickThroughRate: float + clicks: str + conversionRate: float + conversionValue: Price + conversions: float + customLabel0: str + customLabel1: str + customLabel2: str + customLabel3: str + customLabel4: str + customerCountryCode: str + date: Date + impressions: str + marketingMethod: typing_extensions.Literal[ + "MARKETING_METHOD_ENUM_UNSPECIFIED", "ORGANIC", "ADS" + ] + offerId: str + productTypeL1: str + productTypeL2: str + productTypeL3: str + productTypeL4: str + productTypeL5: str + title: str + week: Date + +@typing.type_check_only +class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): + account: str + attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing_extensions.Literal["RESOURCE_UNSPECIFIED", "PRODUCT"] + +@typing.type_check_only +class ProductView(typing_extensions.TypedDict, total=False): + aggregatedReportingContextStatus: typing_extensions.Literal[ + "AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED", + "NOT_ELIGIBLE_OR_DISAPPROVED", + "PENDING", + "ELIGIBLE_LIMITED", + "ELIGIBLE", + ] + availability: str + brand: str + categoryL1: str + categoryL2: str + categoryL3: str + categoryL4: str + categoryL5: str + channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] + clickPotential: typing_extensions.Literal[ + "CLICK_POTENTIAL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" + ] + clickPotentialRank: str + condition: str + creationTime: str + expirationDate: Date + feedLabel: str + gtin: _list[str] + id: str + itemGroupId: str + itemIssues: _list[ItemIssue] + languageCode: str + offerId: str + price: Price + productTypeL1: str + productTypeL2: str + productTypeL3: str + productTypeL4: str + productTypeL5: str + shippingLabel: str + thumbnailLink: str + title: str + +@typing.type_check_only +class ReportRow(typing_extensions.TypedDict, total=False): + bestSellersBrandView: BestSellersBrandView + bestSellersProductClusterView: BestSellersProductClusterView + competitiveVisibilityBenchmarkView: CompetitiveVisibilityBenchmarkView + competitiveVisibilityCompetitorView: CompetitiveVisibilityCompetitorView + competitiveVisibilityTopMerchantView: CompetitiveVisibilityTopMerchantView + nonProductPerformanceView: NonProductPerformanceView + priceCompetitivenessProductView: PriceCompetitivenessProductView + priceInsightsProductView: PriceInsightsProductView + productPerformanceView: ProductPerformanceView + productView: ProductView + +@typing.type_check_only +class SearchRequest(typing_extensions.TypedDict, total=False): + pageSize: int + pageToken: str + query: str + +@typing.type_check_only +class SearchResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + results: _list[ReportRow] diff --git a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi index fcc896be..924656d0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi @@ -25,9 +25,9 @@ class ListProductReviewsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MerchantReview(typing_extensions.TypedDict, total=False): - attributes: MerchantReviewAttributes customAttributes: _list[CustomAttribute] dataSource: str + merchantReviewAttributes: MerchantReviewAttributes merchantReviewId: str merchantReviewStatus: MerchantReviewStatus name: str @@ -149,10 +149,10 @@ class ProductChange(typing_extensions.TypedDict, total=False): @typing.type_check_only class ProductReview(typing_extensions.TypedDict, total=False): - attributes: ProductReviewAttributes customAttributes: _list[CustomAttribute] dataSource: str name: str + productReviewAttributes: ProductReviewAttributes productReviewId: str productReviewStatus: ProductReviewStatus diff --git a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi index 04f81f42..dc73db9a 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi @@ -102,6 +102,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi index b1c97aa6..a379cca3 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi @@ -235,6 +235,7 @@ class ListMigrationExecutionsResponse(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): diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi index ffdef1f1..c9f8559f 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi @@ -102,6 +102,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi index 1b988bb7..b9e2bd99 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi @@ -257,6 +257,7 @@ class ListMigrationExecutionsResponse(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): diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi index ffdef1f1..c9f8559f 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi @@ -102,6 +102,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi index 1b988bb7..b9e2bd99 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi @@ -257,6 +257,7 @@ class ListMigrationExecutionsResponse(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): diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi index 36440e0d..ade1b056 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi @@ -334,6 +334,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi index 2c71eba0..f02effec 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi @@ -662,6 +662,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 ListPreferenceSetsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi index 01b4704a..b3180eda 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi @@ -368,6 +368,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi index 969f3e82..dca55fe9 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi @@ -75,18 +75,29 @@ class AggregationSum(typing_extensions.TypedDict, total=False): ... class Asset(typing_extensions.TypedDict, total=False): assignedGroups: _list[str] attributes: dict[str, typing.Any] + awsCloudFrontDistributionDetails: AwsCloudFrontDistributionDetails + awsEcsClusterDetails: AwsEcsClusterDetails + awsEfsFileSystemDetails: AwsEfsFileSystemDetails + awsEksClusterDetails: AwsEksClusterDetails + awsElbLoadBalancerDetails: AwsElbLoadBalancerDetails + awsLambdaFunctionDetails: AwsLambdaFunctionDetails + awsRedshiftDetails: AwsRedshiftDetails + awsS3BucketDetails: AwsS3BucketDetails + awsVpcDetails: AwsVpcDetails createTime: str databaseDeploymentDetails: DatabaseDeploymentDetails databaseDetails: DatabaseDetails hidden: bool hideReason: str hideTime: str + hostingProviderDetails: HostingProviderDetails insightList: InsightList labels: dict[str, typing.Any] machineDetails: MachineDetails name: str performanceData: AssetPerformanceData sources: _list[str] + structuredAttributes: dict[str, typing.Any] title: str updateTime: str virtualMachineDetails: VirtualMachineDetails @@ -94,6 +105,15 @@ class Asset(typing_extensions.TypedDict, total=False): @typing.type_check_only class AssetFrame(typing_extensions.TypedDict, total=False): attributes: dict[str, typing.Any] + awsCloudFrontDistributionDetails: AwsCloudFrontDistributionDetails + awsEcsClusterDetails: AwsEcsClusterDetails + awsEfsFileSystemDetails: AwsEfsFileSystemDetails + awsEksClusterDetails: AwsEksClusterDetails + awsElbLoadBalancerDetails: AwsElbLoadBalancerDetails + awsLambdaFunctionDetails: AwsLambdaFunctionDetails + awsRedshiftDetails: AwsRedshiftDetails + awsS3BucketDetails: AwsS3BucketDetails + awsVpcDetails: AwsVpcDetails collectionType: typing_extensions.Literal[ "SOURCE_TYPE_UNKNOWN", "SOURCE_TYPE_UPLOAD", @@ -104,10 +124,12 @@ class AssetFrame(typing_extensions.TypedDict, total=False): ] databaseDeploymentDetails: DatabaseDeploymentDetails databaseDetails: DatabaseDetails + hostingProviderDetails: HostingProviderDetails labels: dict[str, typing.Any] machineDetails: MachineDetails performanceSamples: _list[PerformanceSample] reportTime: str + structuredAttributes: dict[str, typing.Any] traceToken: str virtualMachineDetails: VirtualMachineDetails @@ -163,6 +185,9 @@ class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=Fals class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): maxDays: int +@typing.type_check_only +class AwsCloudFrontDistributionDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -173,9 +198,66 @@ class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): location: str machineTypeLabel: str +@typing.type_check_only +class AwsEcsClusterDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AwsEfsFileSystemDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AwsEksClusterDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AwsElbLoadBalancerDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AwsLambdaFunctionDetails(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 AwsS3BucketDetails(typing_extensions.TypedDict, total=False): + objectsMetadata: AwsS3BucketDetailsObjectsMetadata + storageClasses: _list[AwsS3BucketDetailsStorageClass] + versioning: AwsS3BucketDetailsVersioning + +@typing.type_check_only +class AwsS3BucketDetailsObjectsMetadata(typing_extensions.TypedDict, total=False): + totalObjects: AwsS3BucketDetailsObjectsMetadataTotalObjects + +@typing.type_check_only +class AwsS3BucketDetailsObjectsMetadataTotalObjects( + typing_extensions.TypedDict, total=False +): + value: int + +@typing.type_check_only +class AwsS3BucketDetailsStorageClass(typing_extensions.TypedDict, total=False): + totalBytes: str + type: typing_extensions.Literal[ + "STORAGE_CLASS_TYPE_UNSPECIFIED", + "STANDARD", + "INTELLIGENT_TIERING", + "STANDARD_IA", + "ONE_ZONE_IA", + "GLACIER", + "DEEP_ARCHIVE", + "GLACIER_IR", + "REDUCED_REDUNDANCY", + "EXPRESS_ONEZONE", + ] + +@typing.type_check_only +class AwsS3BucketDetailsVersioning(typing_extensions.TypedDict, total=False): + enabled: bool + +@typing.type_check_only +class AwsVpcDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -207,7 +289,11 @@ class BiosDetails(typing_extensions.TypedDict, total=False): biosName: str biosReleaseDate: str biosVersion: str + id: str + manufacturer: str + releaseTime: str smbiosUuid: str + version: str @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -611,8 +697,10 @@ class DiscoveryClientDiscoveryClientRecommendedVersion( @typing.type_check_only class DiskEntry(typing_extensions.TypedDict, total=False): + capacityBytes: str diskLabel: str diskLabelType: str + freeSpaceBytes: str hwAddress: str interfaceType: str partitions: DiskPartitionList @@ -752,9 +840,17 @@ class GuestConfigDetails(typing_extensions.TypedDict, total=False): issue: str nfsExports: NfsExportList selinux: Selinux + selinuxMode: typing_extensions.Literal[ + "SE_LINUX_MODE_UNSPECIFIED", + "SE_LINUX_MODE_DISABLED", + "SE_LINUX_MODE_PERMISSIVE", + "SE_LINUX_MODE_ENFORCING", + ] @typing.type_check_only class GuestInstalledApplication(typing_extensions.TypedDict, total=False): + applicationName: str + installTime: str licenses: _list[str] name: str path: str @@ -769,12 +865,18 @@ class GuestInstalledApplicationList(typing_extensions.TypedDict, total=False): @typing.type_check_only class GuestOsDetails(typing_extensions.TypedDict, total=False): config: GuestConfigDetails + family: typing_extensions.Literal[ + "OS_FAMILY_UNKNOWN", "OS_FAMILY_WINDOWS", "OS_FAMILY_LINUX", "OS_FAMILY_UNIX" + ] + osName: str runtime: GuestRuntimeDetails + version: str @typing.type_check_only class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): domain: str installedApps: GuestInstalledApplicationList + lastBootTime: str lastUptime: Date machineName: str networkInfo: RuntimeNetworkInfo @@ -782,6 +884,18 @@ class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): processes: RunningProcessList services: RunningServiceList +@typing.type_check_only +class HostingProviderDetails(typing_extensions.TypedDict, total=False): + aws: HostingProviderDetailsAws + createTime: str + displayName: str + location: ResourceLocation + originalId: str + +@typing.type_check_only +class HostingProviderDetailsAws(typing_extensions.TypedDict, total=False): + owningAccountId: str + @typing.type_check_only class HostsEntry(typing_extensions.TypedDict, total=False): hostNames: _list[str] @@ -957,6 +1071,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 ListPreferenceSetsResponse(typing_extensions.TypedDict, total=False): @@ -999,6 +1114,7 @@ class Location(typing_extensions.TypedDict, total=False): class MachineArchitectureDetails(typing_extensions.TypedDict, total=False): bios: BiosDetails cpuArchitecture: str + cpuManufacturer: str cpuName: str cpuSocketCount: int firmwareType: typing_extensions.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] @@ -1129,6 +1245,7 @@ class NetworkAdapterDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkAdapterList(typing_extensions.TypedDict, total=False): + entries: _list[NetworkAdapterDetails] networkAdapters: _list[NetworkAdapterDetails] @typing.type_check_only @@ -1146,6 +1263,7 @@ class NetworkAddress(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkAddressList(typing_extensions.TypedDict, total=False): addresses: _list[NetworkAddress] + entries: _list[NetworkAddress] @typing.type_check_only class NetworkConnection(typing_extensions.TypedDict, total=False): @@ -1231,7 +1349,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class OutputFile(typing_extensions.TypedDict, total=False): csvOutputFile: CsvOutputFile - fileSizeBytes: int + fileSizeBytes: str xlsxOutputFile: XlsxOutputFile @typing.type_check_only @@ -1501,6 +1619,10 @@ class ReportSummaryVMWareNodeAllocation(typing_extensions.TypedDict, total=False nodeCount: str vmwareNode: ReportSummaryVMWareNode +@typing.type_check_only +class ResourceLocation(typing_extensions.TypedDict, total=False): + region: str + @typing.type_check_only class RunAssetsExportJobRequest(typing_extensions.TypedDict, total=False): requestId: str @@ -1523,6 +1645,7 @@ class RunningProcess(typing_extensions.TypedDict, total=False): @typing.type_check_only class RunningProcessList(typing_extensions.TypedDict, total=False): + entries: _list[RunningProcess] processes: _list[RunningProcess] @typing.type_check_only @@ -1531,12 +1654,14 @@ class RunningService(typing_extensions.TypedDict, total=False): exePath: str name: str pid: str + serviceName: str startMode: str state: str status: str @typing.type_check_only class RunningServiceList(typing_extensions.TypedDict, total=False): + entries: _list[RunningService] services: _list[RunningService] @typing.type_check_only @@ -1544,6 +1669,8 @@ class RuntimeNetworkInfo(typing_extensions.TypedDict, total=False): connections: NetworkConnectionList netstat: str netstatTime: DateTime + rawScanResult: str + scanTime: str @typing.type_check_only class Selinux(typing_extensions.TypedDict, total=False): @@ -1840,7 +1967,10 @@ class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): ] esxVersion: str osid: str + vcenterFolder: str + vcenterUri: str vcenterVersion: str + vcenterVmId: str @typing.type_check_only class XlsxOutputFile(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi b/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi index e151eeb9..e7112847 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi @@ -256,6 +256,25 @@ class MonitoringResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> AlertPolicyHttpRequest: ... + @typing.type_check_only + class AlertsResource(googleapiclient.discovery.Resource): + 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: ... + @typing.type_check_only class CollectdTimeSeriesResource(googleapiclient.discovery.Resource): def create( @@ -646,6 +665,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ) -> UptimeCheckConfigHttpRequest: ... def alertPolicies(self) -> AlertPoliciesResource: ... + def alerts(self) -> AlertsResource: ... def collectdTimeSeries(self) -> CollectdTimeSeriesResource: ... def groups(self) -> GroupsResource: ... def metricDescriptors(self) -> MetricDescriptorsResource: ... @@ -773,6 +793,14 @@ class MonitoringResource(googleapiclient.discovery.Resource): def services(self) -> ServicesResource: ... def uptimeCheckIps(self) -> UptimeCheckIpsResource: ... +@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 AlertPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -823,6 +851,14 @@ class ListAlertPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAlertPoliciesResponse: ... +@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 ListGroupMembersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi index 85da2078..ad651b70 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi @@ -46,6 +46,18 @@ class Aggregation(typing_extensions.TypedDict, total=False): "ALIGN_PERCENT_CHANGE", ] +@typing.type_check_only +class Alert(typing_extensions.TypedDict, total=False): + closeTime: str + log: LogMetadata + metadata: MonitoredResourceMetadata + metric: Metric + name: str + openTime: str + policy: PolicySnapshot + resource: MonitoredResource + state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] + @typing.type_check_only class AlertPolicy(typing_extensions.TypedDict, total=False): alertStrategy: AlertStrategy @@ -441,6 +453,12 @@ class ListAlertPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str totalSize: int +@typing.type_check_only +class ListAlertsResponse(typing_extensions.TypedDict, total=False): + alerts: _list[Alert] + nextPageToken: str + totalSize: int + @typing.type_check_only class ListGroupMembersResponse(typing_extensions.TypedDict, total=False): members: _list[MonitoredResource] @@ -516,6 +534,10 @@ class LogMatch(typing_extensions.TypedDict, total=False): filter: str labelExtractors: dict[str, typing.Any] +@typing.type_check_only +class LogMetadata(typing_extensions.TypedDict, total=False): + extractedLabels: dict[str, typing.Any] + @typing.type_check_only class MeshIstio(typing_extensions.TypedDict, total=False): meshUid: str @@ -750,6 +772,15 @@ class PointData(typing_extensions.TypedDict, total=False): timeInterval: TimeInterval values: _list[TypedValue] +@typing.type_check_only +class PolicySnapshot(typing_extensions.TypedDict, total=False): + displayName: str + name: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "WARNING" + ] + userLabels: dict[str, typing.Any] + @typing.type_check_only class PrometheusQueryLanguageCondition(typing_extensions.TypedDict, total=False): alertRule: str diff --git a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi index d0ed14be..a9d9986e 100644 --- a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi @@ -165,6 +165,7 @@ class Metadata(typing_extensions.TypedDict, total=False): hasGoogleUpdated: bool hasPendingEdits: bool hasVoiceOfMerchant: bool + isParticularlyPersonalPlace: bool mapsUri: str newReviewUri: str placeId: str diff --git a/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi index cd00101f..e6f68ccd 100644 --- a/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi @@ -53,6 +53,15 @@ class MyBusinessVerificationsResource(googleapiclient.discovery.Resource): ) -> VerifyLocationResponseHttpRequest: ... def verifications(self) -> VerificationsResource: ... + @typing.type_check_only + class VerificationTokensResource(googleapiclient.discovery.Resource): + def generate( + self, + *, + body: GenerateInstantVerificationTokenRequest = ..., + **kwargs: typing.Any, + ) -> GenerateInstantVerificationTokenResponseHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -66,6 +75,7 @@ class MyBusinessVerificationsResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def locations(self) -> LocationsResource: ... + def verificationTokens(self) -> VerificationTokensResource: ... @typing.type_check_only class CompleteVerificationResponseHttpRequest(googleapiclient.http.HttpRequest): @@ -83,6 +93,16 @@ class FetchVerificationOptionsResponseHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> FetchVerificationOptionsResponse: ... +@typing.type_check_only +class GenerateInstantVerificationTokenResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateInstantVerificationTokenResponse: ... + @typing.type_check_only class ListVerificationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi index 1d3dadff..b83b26cf 100644 --- a/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi @@ -41,11 +41,28 @@ class FetchVerificationOptionsRequest(typing_extensions.TypedDict, total=False): class FetchVerificationOptionsResponse(typing_extensions.TypedDict, total=False): options: _list[VerificationOption] +@typing.type_check_only +class GenerateInstantVerificationTokenRequest(typing_extensions.TypedDict, total=False): + locationData: LocationData + locationId: str + +@typing.type_check_only +class GenerateInstantVerificationTokenResponse( + typing_extensions.TypedDict, total=False +): + instantVerificationToken: str + result: typing_extensions.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class ListVerificationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str verifications: _list[Verification] +@typing.type_check_only +class LocationData(typing_extensions.TypedDict, total=False): + address: PostalAddress + name: str + @typing.type_check_only class PostalAddress(typing_extensions.TypedDict, total=False): addressLines: _list[str] @@ -79,6 +96,7 @@ class Verification(typing_extensions.TypedDict, total=False): "SMS", "AUTO", "VETTED_PARTNER", + "TRUSTED_PARTNER", ] name: str state: typing_extensions.Literal[ @@ -99,6 +117,7 @@ class VerificationOption(typing_extensions.TypedDict, total=False): "SMS", "AUTO", "VETTED_PARTNER", + "TRUSTED_PARTNER", ] @typing.type_check_only @@ -123,9 +142,11 @@ class VerifyLocationRequest(typing_extensions.TypedDict, total=False): "SMS", "AUTO", "VETTED_PARTNER", + "TRUSTED_PARTNER", ] phoneNumber: str token: VerificationToken + trustedPartnerToken: str @typing.type_check_only class VerifyLocationResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi index b63f845e..38069659 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi @@ -254,6 +254,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -510,6 +511,13 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def restore( + self, + *, + name: str, + body: RestoreBackupFilesRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def revert( self, *, diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index 6e989f71..0a3fc870 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -112,6 +112,30 @@ class BackupVault(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] +@typing.type_check_only +class CacheConfig(typing_extensions.TypedDict, total=False): + cifsChangeNotifyEnabled: bool + +@typing.type_check_only +class CacheParameters(typing_extensions.TypedDict, total=False): + cacheConfig: CacheConfig + cacheState: typing_extensions.Literal[ + "CACHE_STATE_UNSPECIFIED", + "PENDING_CLUSTER_PEERING", + "PENDING_SVM_PEERING", + "PEERED", + "ERROR", + ] + command: str + enableGlobalFileLock: bool + passphrase: str + peerClusterName: str + peerIpAddresses: _list[str] + peerSvmName: str + peerVolumeName: str + peeringCommandExpiryTime: str + stateDetails: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -165,12 +189,23 @@ class HybridPeeringDetails(typing_extensions.TypedDict, total=False): class HybridReplicationParameters(typing_extensions.TypedDict, total=False): clusterLocation: str description: str + hybridReplicationType: typing_extensions.Literal[ + "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED", + "MIGRATION", + "CONTINUOUS_REPLICATION", + "ONPREM_REPLICATION", + "REVERSE_ONPREM_REPLICATION", + ] labels: dict[str, typing.Any] + largeVolumeConstituentCount: int peerClusterName: str peerIpAddresses: _list[str] peerSvmName: str peerVolumeName: str replication: str + replicationSchedule: typing_extensions.Literal[ + "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED", "EVERY_10_MINUTES", "HOURLY", "DAILY" + ] @typing.type_check_only class KmsConfig(typing_extensions.TypedDict, total=False): @@ -236,6 +271,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 ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): @@ -356,8 +392,13 @@ class Replication(typing_extensions.TypedDict, total=False): healthy: bool hybridPeeringDetails: HybridPeeringDetails hybridReplicationType: typing_extensions.Literal[ - "HYBRID_REPLICATION_TYPE_UNSPECIFIED", "MIGRATION", "CONTINUOUS_REPLICATION" + "HYBRID_REPLICATION_TYPE_UNSPECIFIED", + "MIGRATION", + "CONTINUOUS_REPLICATION", + "ONPREM_REPLICATION", + "REVERSE_ONPREM_REPLICATION", ] + hybridReplicationUserCommands: UserCommands labels: dict[str, typing.Any] mirrorState: typing_extensions.Literal[ "MIRROR_STATE_UNSPECIFIED", @@ -367,6 +408,8 @@ class Replication(typing_extensions.TypedDict, total=False): "TRANSFERRING", "BASELINE_TRANSFERRING", "ABORTED", + "EXTERNALLY_MANAGED", + "PENDING_PEERING", ] name: str replicationSchedule: typing_extensions.Literal[ @@ -385,10 +428,18 @@ class Replication(typing_extensions.TypedDict, total=False): "ERROR", "PENDING_CLUSTER_PEERING", "PENDING_SVM_PEERING", + "PENDING_REMOTE_RESYNC", + "EXTERNALLY_MANAGED_REPLICATION", ] stateDetails: str transferStats: TransferStats +@typing.type_check_only +class RestoreBackupFilesRequest(typing_extensions.TypedDict, total=False): + backup: str + fileList: _list[str] + restoreDestinationPath: str + @typing.type_check_only class RestoreParameters(typing_extensions.TypedDict, total=False): sourceBackup: str @@ -410,6 +461,7 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): "ACCESS_TYPE_UNSPECIFIED", "READ_ONLY", "READ_WRITE", "READ_NONE" ] allowedClients: str + anonUid: str hasRootAccess: str kerberos5ReadOnly: bool kerberos5ReadWrite: bool @@ -419,6 +471,9 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): kerberos5pReadWrite: bool nfsv3: bool nfsv4: bool + squashMode: typing_extensions.Literal[ + "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH", "ALL_SQUASH" + ] @typing.type_check_only class Snapshot(typing_extensions.TypedDict, total=False): @@ -460,7 +515,9 @@ class StopReplicationRequest(typing_extensions.TypedDict, total=False): class StoragePool(typing_extensions.TypedDict, total=False): activeDirectory: str allowAutoTiering: bool + availableThroughputMibps: float capacityGib: str + coldTierSizeUsedGib: str createTime: str customPerformanceEnabled: bool description: str @@ -470,12 +527,14 @@ class StoragePool(typing_extensions.TypedDict, total=False): ] globalAccessAllowed: bool hotTierSizeGib: str + hotTierSizeUsedGib: str kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool name: str network: str psaRange: str + qosType: typing_extensions.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] replicaZone: str satisfiesPzi: bool satisfiesPzs: bool @@ -491,6 +550,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): "RESTORING", "DISABLED", "ERROR", + "DEGRADED", ] stateDetails: str totalIops: str @@ -524,6 +584,10 @@ class TransferStats(typing_extensions.TypedDict, total=False): transferBytes: str updateTime: str +@typing.type_check_only +class UserCommands(typing_extensions.TypedDict, total=False): + commands: _list[str] + @typing.type_check_only class ValidateDirectoryServiceRequest(typing_extensions.TypedDict, total=False): directoryServiceType: typing_extensions.Literal[ @@ -543,6 +607,7 @@ class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): class Volume(typing_extensions.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig + cacheParameters: CacheParameters capacityGib: str coldTierSizeGib: str createTime: str @@ -552,6 +617,7 @@ class Volume(typing_extensions.TypedDict, total=False): ] exportPolicy: ExportPolicy hasReplication: bool + hotTierSizeUsedGib: str hybridReplicationParameters: HybridReplicationParameters kerberosEnabled: bool kmsConfig: str @@ -609,6 +675,7 @@ class Volume(typing_extensions.TypedDict, total=False): ] stateDetails: str storagePool: str + throughputMibps: float tieringPolicy: TieringPolicy unixPermissions: str usedGib: str diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi index c793b05b..ecb1ef99 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi @@ -254,6 +254,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -484,6 +485,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: ... diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index 0cc77945..39f174e3 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -112,6 +112,30 @@ class BackupVault(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] +@typing.type_check_only +class CacheConfig(typing_extensions.TypedDict, total=False): + cifsChangeNotifyEnabled: bool + +@typing.type_check_only +class CacheParameters(typing_extensions.TypedDict, total=False): + cacheConfig: CacheConfig + cacheState: typing_extensions.Literal[ + "CACHE_STATE_UNSPECIFIED", + "PENDING_CLUSTER_PEERING", + "PENDING_SVM_PEERING", + "PEERED", + "ERROR", + ] + command: str + enableGlobalFileLock: bool + passphrase: str + peerClusterName: str + peerIpAddresses: _list[str] + peerSvmName: str + peerVolumeName: str + peeringCommandExpiryTime: str + stateDetails: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -139,6 +163,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] @@ -247,6 +278,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 ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): @@ -384,6 +416,7 @@ class Replication(typing_extensions.TypedDict, total=False): "BASELINE_TRANSFERRING", "ABORTED", "EXTERNALLY_MANAGED", + "PENDING_PEERING", ] name: str replicationSchedule: typing_extensions.Literal[ @@ -435,6 +468,7 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): "ACCESS_TYPE_UNSPECIFIED", "READ_ONLY", "READ_WRITE", "READ_NONE" ] allowedClients: str + anonUid: str hasRootAccess: str kerberos5ReadOnly: bool kerberos5ReadWrite: bool @@ -444,6 +478,9 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): kerberos5pReadWrite: bool nfsv3: bool nfsv4: bool + squashMode: typing_extensions.Literal[ + "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH", "ALL_SQUASH" + ] @typing.type_check_only class Snapshot(typing_extensions.TypedDict, total=False): @@ -485,7 +522,9 @@ class StopReplicationRequest(typing_extensions.TypedDict, total=False): class StoragePool(typing_extensions.TypedDict, total=False): activeDirectory: str allowAutoTiering: bool + availableThroughputMibps: float capacityGib: str + coldTierSizeUsedGib: str createTime: str customPerformanceEnabled: bool description: str @@ -495,12 +534,14 @@ class StoragePool(typing_extensions.TypedDict, total=False): ] globalAccessAllowed: bool hotTierSizeGib: str + hotTierSizeUsedGib: str kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool name: str network: str psaRange: str + qosType: typing_extensions.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] replicaZone: str satisfiesPzi: bool satisfiesPzs: bool @@ -516,6 +557,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): "RESTORING", "DISABLED", "ERROR", + "DEGRADED", ] stateDetails: str totalIops: str @@ -572,6 +614,7 @@ class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): class Volume(typing_extensions.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig + cacheParameters: CacheParameters capacityGib: str coldTierSizeGib: str createTime: str @@ -581,6 +624,7 @@ class Volume(typing_extensions.TypedDict, total=False): ] exportPolicy: ExportPolicy hasReplication: bool + hotTierSizeUsedGib: str hybridReplicationParameters: HybridReplicationParameters kerberosEnabled: bool kmsConfig: str @@ -638,6 +682,7 @@ class Volume(typing_extensions.TypedDict, total=False): ] stateDetails: str storagePool: str + throughputMibps: float tieringPolicy: TieringPolicy unixPermissions: str usedGib: str diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi index 3fe71b56..c2f8913e 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi @@ -361,6 +361,129 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class MulticloudDataTransferConfigsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DestinationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Destination = ..., + destinationId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DestinationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListDestinationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDestinationsResponseHttpRequest, + previous_response: ListDestinationsResponse, + ) -> ListDestinationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Destination = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: MulticloudDataTransferConfig = ..., + multicloudDataTransferConfigId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> MulticloudDataTransferConfigHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListMulticloudDataTransferConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMulticloudDataTransferConfigsResponseHttpRequest, + previous_response: ListMulticloudDataTransferConfigsResponse, + ) -> ListMulticloudDataTransferConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: MulticloudDataTransferConfig = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def destinations(self) -> DestinationsResource: ... + + @typing.type_check_only + class MulticloudDataTransferSupportedServicesResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> MulticloudDataTransferSupportedServiceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMulticloudDataTransferSupportedServicesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMulticloudDataTransferSupportedServicesResponseHttpRequest, + previous_response: ListMulticloudDataTransferSupportedServicesResponse, + ) -> ( + ListMulticloudDataTransferSupportedServicesResponseHttpRequest + | None + ): ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -383,6 +506,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -558,8 +682,19 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): *, parent: str, body: ServiceConnectionPolicy = ..., + autoSubnetworkConfig_allocRangeSpace: str | _list[str] = ..., + autoSubnetworkConfig_ipStack: typing_extensions.Literal[ + "SUBNET_IP_STACK_UNSPECIFIED", + "IPV4_ONLY", + "IPV6_ONLY", + "IPV4_IPV6", + ] = ..., + autoSubnetworkConfig_prefixLength: int = ..., requestId: str = ..., serviceConnectionPolicyId: str = ..., + subnetworkMode: typing_extensions.Literal[ + "SUBNETWORK_MODE_UNSPECIFIED", "USER_PROVIDED", "AUTO_CREATED" + ] = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -720,6 +855,13 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + def checkConsumerConfig( + self, + *, + location: str, + body: CheckConsumerConfigRequest = ..., + **kwargs: typing.Any, + ) -> CheckConsumerConfigResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -740,6 +882,12 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): ) -> ListLocationsResponseHttpRequest | None: ... def global_(self) -> GlobalResource: ... def internalRanges(self) -> InternalRangesResource: ... + def multicloudDataTransferConfigs( + self, + ) -> MulticloudDataTransferConfigsResource: ... + def multicloudDataTransferSupportedServices( + self, + ) -> MulticloudDataTransferSupportedServicesResource: ... def operations(self) -> OperationsResource: ... def regionalEndpoints(self) -> RegionalEndpointsResource: ... def serviceClasses(self) -> ServiceClassesResource: ... @@ -766,6 +914,22 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class CheckConsumerConfigResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckConsumerConfigResponse: ... + +@typing.type_check_only +class DestinationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Destination: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -816,6 +980,14 @@ class InternalRangeHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> InternalRange: ... +@typing.type_check_only +class ListDestinationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDestinationsResponse: ... + @typing.type_check_only class ListGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -856,6 +1028,26 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListMulticloudDataTransferConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMulticloudDataTransferConfigsResponse: ... + +@typing.type_check_only +class ListMulticloudDataTransferSupportedServicesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMulticloudDataTransferSupportedServicesResponse: ... + @typing.type_check_only class ListPolicyBasedRoutesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -938,6 +1130,24 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... +@typing.type_check_only +class MulticloudDataTransferConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MulticloudDataTransferConfig: ... + +@typing.type_check_only +class MulticloudDataTransferSupportedServiceHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MulticloudDataTransferSupportedService: ... + @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi index 61cc18f9..bf706e28 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi @@ -46,12 +46,51 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): class AutoAccept(typing_extensions.TypedDict, total=False): autoAcceptProjects: _list[str] +@typing.type_check_only +class AutoCreatedSubnetworkInfo(typing_extensions.TypedDict, total=False): + internalRange: str + internalRangeRef: str + subnetwork: str + subnetworkRef: str + +@typing.type_check_only +class AutomatedDnsCreationSpec(typing_extensions.TypedDict, total=False): + dnsSuffix: str + hostname: str + ttl: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr members: _list[str] role: str +@typing.type_check_only +class CheckConsumerConfigRequest(typing_extensions.TypedDict, total=False): + consumerNetwork: str + endpointProject: str + requestedIpVersion: typing_extensions.Literal[ + "IP_VERSION_UNSPECIFIED", "IPV4", "IPV6" + ] + serviceClass: str + +@typing.type_check_only +class CheckConsumerConfigResponse(typing_extensions.TypedDict, total=False): + errors: _list[ + typing_extensions.Literal[ + "ERROR_UNSPECIFIED", + "NETWORK_PROJECT_INVALID", + "NETWORK_PROJECT_APIS_NOT_ENABLED", + "NETWORK_INVALID", + "CONNECTION_POLICY_MISSING", + "IP_VERSION_NOT_SUPPORTED", + "NETWORK_PROJECT_SERVICE_AGENT_NOT_FOUND", + "ENDPOINT_PROJECT_INVALID", + "ENDPOINT_PROJECT_API_NOT_ENABLED", + "ENDPOINT_PROJECT_IS_NOT_SERVICE_PROJECT", + ] + ] + @typing.type_check_only class ConsumerPscConfig(typing_extensions.TypedDict, total=False): consumerInstanceProject: str @@ -72,6 +111,7 @@ class ConsumerPscConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConsumerPscConnection(typing_extensions.TypedDict, total=False): + dnsAutomationStatus: DnsAutomationStatus error: GoogleRpcStatus errorInfo: GoogleRpcErrorInfo errorType: typing_extensions.Literal[ @@ -101,6 +141,39 @@ class ConsumerPscConnection(typing_extensions.TypedDict, total=False): "DELETE_REPAIRING", ] +@typing.type_check_only +class Destination(typing_extensions.TypedDict, total=False): + createTime: str + description: str + endpoints: _list[DestinationEndpoint] + etag: str + ipPrefix: str + labels: dict[str, typing.Any] + name: str + stateTimeline: StateTimeline + uid: str + updateTime: str + +@typing.type_check_only +class DestinationEndpoint(typing_extensions.TypedDict, total=False): + asn: str + csp: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "VALID", "INVALID"] + updateTime: str + +@typing.type_check_only +class DnsAutomationStatus(typing_extensions.TypedDict, total=False): + error: GoogleRpcStatus + fqdn: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING_CREATE", + "ACTIVE", + "PENDING_DELETE", + "CREATE_FAILED", + "DELETE_FAILED", + ] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -129,6 +202,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): @@ -283,6 +357,12 @@ class LinkedVpnTunnels(typing_extensions.TypedDict, total=False): uris: _list[str] vpcNetwork: str +@typing.type_check_only +class ListDestinationsResponse(typing_extensions.TypedDict, total=False): + destinations: _list[Destination] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListGroupsResponse(typing_extensions.TypedDict, total=False): groups: _list[Group] @@ -312,6 +392,23 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListMulticloudDataTransferConfigsResponse( + typing_extensions.TypedDict, total=False +): + multicloudDataTransferConfigs: _list[MulticloudDataTransferConfig] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListMulticloudDataTransferSupportedServicesResponse( + typing_extensions.TypedDict, total=False +): + multicloudDataTransferSupportedServices: _list[ + MulticloudDataTransferSupportedService + ] + nextPageToken: str + @typing.type_check_only class ListPolicyBasedRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -390,6 +487,24 @@ class Migration(typing_extensions.TypedDict, total=False): source: str target: str +@typing.type_check_only +class MulticloudDataTransferConfig(typing_extensions.TypedDict, total=False): + createTime: str + description: str + destinationsActiveCount: int + destinationsCount: int + etag: str + labels: dict[str, typing.Any] + name: str + services: dict[str, typing.Any] + uid: str + updateTime: str + +@typing.type_check_only +class MulticloudDataTransferSupportedService(typing_extensions.TypedDict, total=False): + name: str + serviceConfigs: _list[ServiceConfig] + @typing.type_check_only class NextHopInterconnectAttachment(typing_extensions.TypedDict, total=False): siteToSiteDataTransfer: bool @@ -456,6 +571,7 @@ class PolicyBasedRoute(typing_extensions.TypedDict, total=False): @typing.type_check_only class ProducerPscConfig(typing_extensions.TypedDict, total=False): + automatedDnsCreationSpec: AutomatedDnsCreationSpec serviceAttachmentUri: str @typing.type_check_only @@ -631,6 +747,16 @@ class ServiceClass(typing_extensions.TypedDict, total=False): serviceClass: str updateTime: str +@typing.type_check_only +class ServiceConfig(typing_extensions.TypedDict, total=False): + eligibilityCriteria: typing_extensions.Literal[ + "ELIGIBILITY_CRITERIA_UNSPECIFIED", + "NETWORK_SERVICE_TIER_PREMIUM_ONLY", + "NETWORK_SERVICE_TIER_STANDARD_ONLY", + "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY", + ] + supportEndTime: str + @typing.type_check_only class ServiceConnectionMap(typing_extensions.TypedDict, total=False): consumerPscConfigs: _list[ConsumerPscConfig] @@ -649,6 +775,7 @@ class ServiceConnectionMap(typing_extensions.TypedDict, total=False): @typing.type_check_only class ServiceConnectionPolicy(typing_extensions.TypedDict, total=False): + autoCreatedSubnetInfo: AutoCreatedSubnetworkInfo createTime: str description: str etag: str @@ -765,6 +892,13 @@ class SpokeTypeCount(typing_extensions.TypedDict, total=False): "PRODUCER_VPC_NETWORK", ] +@typing.type_check_only +class StateMetadata(typing_extensions.TypedDict, total=False): + effectiveTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ADDING", "ACTIVE", "DELETING", "SUSPENDING", "SUSPENDED" + ] + @typing.type_check_only class StateReason(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal[ @@ -780,6 +914,10 @@ class StateReason(typing_extensions.TypedDict, total=False): message: str userDetails: str +@typing.type_check_only +class StateTimeline(typing_extensions.TypedDict, total=False): + states: _list[StateMetadata] + @typing.type_check_only class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi index e5474af5..0fce259b 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi @@ -169,6 +169,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi index 0523d702..38610851 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi @@ -52,6 +52,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/networkmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi index e35bac37..aed63c25 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi @@ -39,6 +39,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -47,6 +48,46 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class VpcFlowLogsConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: VpcFlowLogsConfig = ..., + vpcFlowLogsConfigId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> VpcFlowLogsConfigHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListVpcFlowLogsConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListVpcFlowLogsConfigsResponseHttpRequest, + previous_response: ListVpcFlowLogsConfigsResponse, + ) -> ListVpcFlowLogsConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: VpcFlowLogsConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -66,6 +107,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def operations(self) -> OperationsResource: ... + def vpcFlowLogsConfigs(self) -> VpcFlowLogsConfigsResource: ... def locations(self) -> LocationsResource: ... @@ -165,6 +207,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -176,98 +219,6 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): def connectivityTests(self) -> ConnectivityTestsResource: ... def operations(self) -> OperationsResource: ... - @typing.type_check_only - class NetworkMonitoringProvidersResource( - googleapiclient.discovery.Resource - ): - @typing.type_check_only - class MonitoringPointsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> MonitoringPointHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListMonitoringPointsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListMonitoringPointsResponseHttpRequest, - previous_response: ListMonitoringPointsResponse, - ) -> ListMonitoringPointsResponseHttpRequest | None: ... - - @typing.type_check_only - class NetworkPathsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> NetworkPathHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListNetworkPathsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListNetworkPathsResponseHttpRequest, - previous_response: ListNetworkPathsResponse, - ) -> ListNetworkPathsResponseHttpRequest | None: ... - - @typing.type_check_only - class WebPathsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> WebPathHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListWebPathsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListWebPathsResponseHttpRequest, - previous_response: ListWebPathsResponse, - ) -> ListWebPathsResponseHttpRequest | None: ... - - def create( - self, - *, - parent: str, - body: NetworkMonitoringProvider = ..., - networkMonitoringProviderId: str = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> NetworkMonitoringProviderHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListNetworkMonitoringProvidersResponseHttpRequest: ... - def list_next( - self, - previous_request: ListNetworkMonitoringProvidersResponseHttpRequest, - previous_response: ListNetworkMonitoringProvidersResponse, - ) -> ListNetworkMonitoringProvidersResponseHttpRequest | None: ... - def monitoringPoints(self) -> MonitoringPointsResource: ... - def networkPaths(self) -> NetworkPathsResource: ... - def webPaths(self) -> WebPathsResource: ... - @typing.type_check_only class VpcFlowLogsConfigsResource(googleapiclient.discovery.Resource): def create( @@ -307,6 +258,35 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def queryOrgVpcFlowLogsConfigs( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryOrgVpcFlowLogsConfigsResponseHttpRequest: ... + def queryOrgVpcFlowLogsConfigs_next( + self, + previous_request: QueryOrgVpcFlowLogsConfigsResponseHttpRequest, + previous_response: QueryOrgVpcFlowLogsConfigsResponse, + ) -> QueryOrgVpcFlowLogsConfigsResponseHttpRequest | None: ... + def showEffectiveFlowLogsConfigs( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resource: str = ..., + **kwargs: typing.Any, + ) -> ShowEffectiveFlowLogsConfigsResponseHttpRequest: ... + def showEffectiveFlowLogsConfigs_next( + self, + previous_request: ShowEffectiveFlowLogsConfigsResponseHttpRequest, + previous_response: ShowEffectiveFlowLogsConfigsResponse, + ) -> ShowEffectiveFlowLogsConfigsResponseHttpRequest | None: ... def get( self, *, name: str, **kwargs: typing.Any @@ -327,9 +307,6 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def global_(self) -> GlobalResource: ... - def networkMonitoringProviders( - self, - ) -> NetworkMonitoringProvidersResource: ... def vpcFlowLogsConfigs(self) -> VpcFlowLogsConfigsResource: ... def locations(self) -> LocationsResource: ... @@ -381,32 +358,6 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... -@typing.type_check_only -class ListMonitoringPointsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListMonitoringPointsResponse: ... - -@typing.type_check_only -class ListNetworkMonitoringProvidersResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListNetworkMonitoringProvidersResponse: ... - -@typing.type_check_only -class ListNetworkPathsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListNetworkPathsResponse: ... - @typing.type_check_only class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -423,14 +374,6 @@ class ListVpcFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> ListVpcFlowLogsConfigsResponse: ... -@typing.type_check_only -class ListWebPathsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListWebPathsResponse: ... - @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -440,44 +383,36 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): ) -> Location: ... @typing.type_check_only -class MonitoringPointHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> MonitoringPoint: ... - -@typing.type_check_only -class NetworkMonitoringProviderHttpRequest(googleapiclient.http.HttpRequest): +class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> NetworkMonitoringProvider: ... + ) -> Operation: ... @typing.type_check_only -class NetworkPathHttpRequest(googleapiclient.http.HttpRequest): +class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> NetworkPath: ... + ) -> Policy: ... @typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): +class QueryOrgVpcFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Operation: ... + ) -> QueryOrgVpcFlowLogsConfigsResponse: ... @typing.type_check_only -class PolicyHttpRequest(googleapiclient.http.HttpRequest): +class ShowEffectiveFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Policy: ... + ) -> ShowEffectiveFlowLogsConfigsResponse: ... @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): @@ -494,11 +429,3 @@ class VpcFlowLogsConfigHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> VpcFlowLogsConfig: ... - -@typing.type_check_only -class WebPathHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> WebPath: ... diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index 296a0ca2..701457e7 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -45,6 +45,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", "NO_SERVERLESS_IP_RANGES", + "IP_VERSION_PROTOCOL_MISMATCH", ] ipAddress: str projectsMissingPermission: _list[str] @@ -272,16 +273,64 @@ class DropInfo(typing_extensions.TypedDict, total=False): "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", "CLOUD_NAT_PROTOCOL_UNSUPPORTED", + "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", + "L2_INTERCONNECT_UNSUPPORTED_PORT", + "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", + "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", + "HYBRID_SUBNET_REGION_MISMATCH", ] + destinationGeolocationCode: str destinationIp: str region: str resourceUri: str + sourceGeolocationCode: str sourceIp: str @typing.type_check_only class EdgeLocation(typing_extensions.TypedDict, total=False): metropolitanArea: str +@typing.type_check_only +class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): + aggregationInterval: typing_extensions.Literal[ + "AGGREGATION_INTERVAL_UNSPECIFIED", + "INTERVAL_5_SEC", + "INTERVAL_30_SEC", + "INTERVAL_1_MIN", + "INTERVAL_5_MIN", + "INTERVAL_10_MIN", + "INTERVAL_15_MIN", + ] + crossProjectMetadata: typing_extensions.Literal[ + "CROSS_PROJECT_METADATA_UNSPECIFIED", + "CROSS_PROJECT_METADATA_ENABLED", + "CROSS_PROJECT_METADATA_DISABLED", + ] + filterExpr: str + flowSampling: float + interconnectAttachment: str + metadata: typing_extensions.Literal[ + "METADATA_UNSPECIFIED", + "INCLUDE_ALL_METADATA", + "EXCLUDE_ALL_METADATA", + "CUSTOM_METADATA", + ] + metadataFields: _list[str] + name: str + network: str + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", + "SUBNET", + "COMPUTE_API_SUBNET", + "NETWORK", + "VPN_TUNNEL", + "INTERCONNECT_ATTACHMENT", + "ORGANIZATION", + ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + subnet: str + vpnTunnel: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -368,6 +417,9 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): priority: int targetServiceAccounts: _list[str] targetTags: _list[str] + targetType: typing_extensions.Literal[ + "TARGET_TYPE_UNSPECIFIED", "INSTANCES", "INTERNAL_MANAGED_LB" + ] uri: str @typing.type_check_only @@ -425,14 +477,10 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): sourceIp: str @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): - cloudInstanceId: str - cloudProjectId: str - cloudProvider: str - cloudRegion: str - cloudVpcId: str - cloudZone: str - os: str +class HybridSubnetInfo(typing_extensions.TypedDict, total=False): + displayName: str + region: str + uri: str @typing.type_check_only class InstanceInfo(typing_extensions.TypedDict, total=False): @@ -448,6 +496,18 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str +@typing.type_check_only +class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): + cloudRouterUri: str + displayName: str + interconnectUri: str + l2AttachmentMatchedIpAddress: str + region: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "DEDICATED", "PARTNER", "PARTNER_PROVIDER", "L2_DEDICATED" + ] + uri: str + @typing.type_check_only class LatencyDistribution(typing_extensions.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @@ -468,25 +528,11 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str -@typing.type_check_only -class ListMonitoringPointsResponse(typing_extensions.TypedDict, total=False): - monitoringPoints: _list[MonitoringPoint] - nextPageToken: str - -@typing.type_check_only -class ListNetworkMonitoringProvidersResponse(typing_extensions.TypedDict, total=False): - networkMonitoringProviders: _list[NetworkMonitoringProvider] - nextPageToken: str - -@typing.type_check_only -class ListNetworkPathsResponse(typing_extensions.TypedDict, total=False): - networkPaths: _list[NetworkPath] - 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 ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): @@ -494,11 +540,6 @@ class ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] -@typing.type_check_only -class ListWebPathsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - webPaths: _list[WebPath] - @typing.type_check_only class LoadBalancerBackend(typing_extensions.TypedDict, total=False): displayName: str @@ -553,33 +594,6 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str -@typing.type_check_only -class MonitoringPoint(typing_extensions.TypedDict, total=False): - autoGeoLocationEnabled: bool - connectionStatus: typing_extensions.Literal[ - "CONNECTION_STATUS_UNSPECIFIED", "ONLINE", "OFFLINE" - ] - createTime: str - displayName: str - errors: _list[ - typing_extensions.Literal[ - "ERROR_CODE_UNSPECIFIED", "NTP_ERROR", "UPGRADE_ERROR", "DOWNLOAD_FAILED" - ] - ] - geoLocation: str - host: Host - hostname: str - name: str - networkInterfaces: _list[NetworkInterface] - originatingIp: str - providerTags: _list[ProviderTag] - type: str - updateTime: str - upgradeType: typing_extensions.Literal[ - "UPGRADE_TYPE_UNSPECIFIED", "MANUAL", "MANAGED", "SCHEDULED", "AUTO", "EXTERNAL" - ] - version: str - @typing.type_check_only class NatInfo(typing_extensions.TypedDict, total=False): natGatewayName: str @@ -600,6 +614,7 @@ class NatInfo(typing_extensions.TypedDict, total=False): "EXTERNAL_TO_INTERNAL", "CLOUD_NAT", "PRIVATE_SERVICE_CONNECT", + "GKE_POD_IP_MASQUERADING", ] @typing.type_check_only @@ -610,59 +625,6 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): region: str uri: str -@typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): - adapterDescription: str - cidr: str - interfaceName: str - ipAddress: str - macAddress: str - speed: str - vlanId: str - -@typing.type_check_only -class NetworkMonitoringProvider(typing_extensions.TypedDict, total=False): - createTime: str - name: str - providerType: typing_extensions.Literal["PROVIDER_TYPE_UNSPECIFIED", "EXTERNAL"] - providerUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACTIVATING", - "ACTIVE", - "SUSPENDING", - "SUSPENDED", - "DELETING", - "DELETED", - ] - updateTime: str - -@typing.type_check_only -class NetworkPath(typing_extensions.TypedDict, total=False): - createTime: str - destination: str - destinationGeoLocation: str - displayName: str - dualEnded: bool - monitoringEnabled: bool - monitoringPolicyDisplayName: str - monitoringPolicyId: str - monitoringStatus: typing_extensions.Literal[ - "MONITORING_STATUS_UNSPECIFIED", - "MONITORING", - "POLICY_MISMATCH", - "MONITORING_POINT_OFFLINE", - "DISABLED", - ] - name: str - networkProtocol: typing_extensions.Literal[ - "NETWORK_PROTOCOL_UNSPECIFIED", "ICMP", "UDP", "TCP" - ] - providerTags: _list[ProviderTag] - providerUiUri: str - sourceMonitoringPointId: str - updateTime: str - @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -710,19 +672,6 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): successfulProbeCount: int verifyTime: str -@typing.type_check_only -class ProviderTag(typing_extensions.TypedDict, total=False): - category: str - resourceType: typing_extensions.Literal[ - "RESOURCE_TYPE_UNSPECIFIED", - "NETWORK_PATH", - "PATH_TEMPLATE", - "WEB_PATH", - "MONITORING_POLICY", - "MONITORING_POINT", - ] - value: str - @typing.type_check_only class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): networkUri: str @@ -737,6 +686,12 @@ class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): protocol: str subnetUri: str +@typing.type_check_only +class QueryOrgVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] + @typing.type_check_only class ReachabilityDetails(typing_extensions.TypedDict, total=False): error: Status @@ -834,6 +789,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class ShowEffectiveFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): + effectiveFlowLogsConfigs: _list[EffectiveVpcFlowLogsConfig] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class SingleEdgeResponse(typing_extensions.TypedDict, total=False): destinationEgressLocation: EdgeLocation @@ -873,7 +834,9 @@ class Step(typing_extensions.TypedDict, total=False): forwardingRule: ForwardingRuleInfo gkeMaster: GKEMasterInfo googleService: GoogleServiceInfo + hybridSubnet: HybridSubnetInfo instance: InstanceInfo + interconnectAttachment: InterconnectAttachmentInfo loadBalancer: LoadBalancerInfo loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo @@ -910,8 +873,10 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_INSTANCE", "ARRIVE_AT_INTERNAL_LOAD_BALANCER", "ARRIVE_AT_EXTERNAL_LOAD_BALANCER", + "ARRIVE_AT_HYBRID_SUBNET", "ARRIVE_AT_VPN_GATEWAY", "ARRIVE_AT_VPN_TUNNEL", + "ARRIVE_AT_INTERCONNECT_ATTACHMENT", "ARRIVE_AT_VPC_CONNECTOR", "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", @@ -964,6 +929,11 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERVAL_15_MIN", ] createTime: str + crossProjectMetadata: typing_extensions.Literal[ + "CROSS_PROJECT_METADATA_UNSPECIFIED", + "CROSS_PROJECT_METADATA_ENABLED", + "CROSS_PROJECT_METADATA_DISABLED", + ] description: str filterExpr: str flowSampling: float @@ -977,7 +947,9 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): ] metadataFields: _list[str] name: str + network: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + subnet: str targetResourceState: typing_extensions.Literal[ "TARGET_RESOURCE_STATE_UNSPECIFIED", "TARGET_RESOURCE_EXISTS", @@ -1008,29 +980,3 @@ class VpnTunnelInfo(typing_extensions.TypedDict, total=False): sourceGateway: str sourceGatewayIp: str uri: str - -@typing.type_check_only -class WebPath(typing_extensions.TypedDict, total=False): - createTime: str - destination: str - displayName: str - interval: str - monitoringEnabled: bool - monitoringPolicyDisplayName: str - monitoringPolicyId: str - monitoringStatus: typing_extensions.Literal[ - "MONITORING_STATUS_UNSPECIFIED", - "MONITORING", - "POLICY_MISMATCH", - "MONITORING_POINT_OFFLINE", - "DISABLED", - ] - name: str - providerTags: _list[ProviderTag] - providerUiUri: str - relatedNetworkPathId: str - sourceMonitoringPointId: str - updateTime: str - workflowType: typing_extensions.Literal[ - "WORKFLOW_TYPE_UNSPECIFIED", "BROWSER", "HTTP" - ] diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi index 663d0df1..9b7ac279 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi @@ -41,6 +41,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -210,6 +211,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -274,6 +276,21 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_request: QueryOrgVpcFlowLogsConfigsResponseHttpRequest, previous_response: QueryOrgVpcFlowLogsConfigsResponse, ) -> QueryOrgVpcFlowLogsConfigsResponseHttpRequest | None: ... + def showEffectiveFlowLogsConfigs( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resource: str = ..., + **kwargs: typing.Any, + ) -> ShowEffectiveFlowLogsConfigsResponseHttpRequest: ... + def showEffectiveFlowLogsConfigs_next( + self, + previous_request: ShowEffectiveFlowLogsConfigsResponseHttpRequest, + previous_response: ShowEffectiveFlowLogsConfigsResponse, + ) -> ShowEffectiveFlowLogsConfigsResponseHttpRequest | None: ... def get( self, *, name: str, **kwargs: typing.Any @@ -393,6 +410,14 @@ class QueryOrgVpcFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> QueryOrgVpcFlowLogsConfigsResponse: ... +@typing.type_check_only +class ShowEffectiveFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShowEffectiveFlowLogsConfigsResponse: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index 6c0548dc..03601654 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -45,6 +45,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", "NO_SERVERLESS_IP_RANGES", + "IP_VERSION_PROTOCOL_MISMATCH", ] ipAddress: str projectsMissingPermission: _list[str] @@ -272,16 +273,64 @@ class DropInfo(typing_extensions.TypedDict, total=False): "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", "CLOUD_NAT_PROTOCOL_UNSUPPORTED", + "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", + "L2_INTERCONNECT_UNSUPPORTED_PORT", + "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", + "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", + "HYBRID_SUBNET_REGION_MISMATCH", ] + destinationGeolocationCode: str destinationIp: str region: str resourceUri: str + sourceGeolocationCode: str sourceIp: str @typing.type_check_only class EdgeLocation(typing_extensions.TypedDict, total=False): metropolitanArea: str +@typing.type_check_only +class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): + aggregationInterval: typing_extensions.Literal[ + "AGGREGATION_INTERVAL_UNSPECIFIED", + "INTERVAL_5_SEC", + "INTERVAL_30_SEC", + "INTERVAL_1_MIN", + "INTERVAL_5_MIN", + "INTERVAL_10_MIN", + "INTERVAL_15_MIN", + ] + crossProjectMetadata: typing_extensions.Literal[ + "CROSS_PROJECT_METADATA_UNSPECIFIED", + "CROSS_PROJECT_METADATA_ENABLED", + "CROSS_PROJECT_METADATA_DISABLED", + ] + filterExpr: str + flowSampling: float + interconnectAttachment: str + metadata: typing_extensions.Literal[ + "METADATA_UNSPECIFIED", + "INCLUDE_ALL_METADATA", + "EXCLUDE_ALL_METADATA", + "CUSTOM_METADATA", + ] + metadataFields: _list[str] + name: str + network: str + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", + "SUBNET", + "COMPUTE_API_SUBNET", + "NETWORK", + "VPN_TUNNEL", + "INTERCONNECT_ATTACHMENT", + "ORGANIZATION", + ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + subnet: str + vpnTunnel: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -302,6 +351,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): ] fqdn: str gkeMasterCluster: str + gkePod: str instance: str ipAddress: str loadBalancerId: str @@ -369,6 +419,9 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): priority: int targetServiceAccounts: _list[str] targetTags: _list[str] + targetType: typing_extensions.Literal[ + "TARGET_TYPE_UNSPECIFIED", "INSTANCES", "INTERNAL_MANAGED_LB" + ] uri: str @typing.type_check_only @@ -425,6 +478,12 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): ] sourceIp: str +@typing.type_check_only +class HybridSubnetInfo(typing_extensions.TypedDict, total=False): + displayName: str + region: str + uri: str + @typing.type_check_only class InstanceInfo(typing_extensions.TypedDict, total=False): displayName: str @@ -439,6 +498,18 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str +@typing.type_check_only +class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): + cloudRouterUri: str + displayName: str + interconnectUri: str + l2AttachmentMatchedIpAddress: str + region: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "DEDICATED", "PARTNER", "PARTNER_PROVIDER", "L2_DEDICATED" + ] + uri: str + @typing.type_check_only class LatencyDistribution(typing_extensions.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @@ -463,6 +534,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 ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): @@ -544,6 +616,7 @@ class NatInfo(typing_extensions.TypedDict, total=False): "EXTERNAL_TO_INTERNAL", "CLOUD_NAT", "PRIVATE_SERVICE_CONNECT", + "GKE_POD_IP_MASQUERADING", ] @typing.type_check_only @@ -718,6 +791,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class ShowEffectiveFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): + effectiveFlowLogsConfigs: _list[EffectiveVpcFlowLogsConfig] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class SingleEdgeResponse(typing_extensions.TypedDict, total=False): destinationEgressLocation: EdgeLocation @@ -757,7 +836,9 @@ class Step(typing_extensions.TypedDict, total=False): forwardingRule: ForwardingRuleInfo gkeMaster: GKEMasterInfo googleService: GoogleServiceInfo + hybridSubnet: HybridSubnetInfo instance: InstanceInfo + interconnectAttachment: InterconnectAttachmentInfo loadBalancer: LoadBalancerInfo loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo @@ -794,8 +875,10 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_INSTANCE", "ARRIVE_AT_INTERNAL_LOAD_BALANCER", "ARRIVE_AT_EXTERNAL_LOAD_BALANCER", + "ARRIVE_AT_HYBRID_SUBNET", "ARRIVE_AT_VPN_GATEWAY", "ARRIVE_AT_VPN_TUNNEL", + "ARRIVE_AT_INTERCONNECT_ATTACHMENT", "ARRIVE_AT_VPC_CONNECTOR", "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi index 1a0b55b0..bd6c7001 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi @@ -156,6 +156,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1056,6 +1057,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index 520f75d5..62b464ae 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -78,6 +78,7 @@ class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] + principals: _list[AuthzPolicyAuthzRulePrincipal] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only @@ -90,6 +91,16 @@ class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): length: int prefix: str +@typing.type_check_only +class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): + principal: AuthzPolicyAuthzRuleStringMatch + principalSelector: typing_extensions.Literal[ + "PRINCIPAL_SELECTOR_UNSPECIFIED", + "CLIENT_CERT_URI_SAN", + "CLIENT_CERT_DNS_NAME_SAN", + "CLIENT_CERT_COMMON_NAME", + ] + @typing.type_check_only class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch @@ -218,6 +229,7 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): billingProjectId: str createTime: str description: str + endpointSettings: FirewallEndpointEndpointSettings labels: dict[str, typing.Any] name: str reconciling: bool @@ -248,6 +260,10 @@ class FirewallEndpointAssociationReference(typing_extensions.TypedDict, total=Fa name: str network: str +@typing.type_check_only +class FirewallEndpointEndpointSettings(typing_extensions.TypedDict, total=False): + jumboFramesEnabled: bool + @typing.type_check_only class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): createTime: str @@ -583,6 +599,7 @@ class ListMirroringEndpointGroupsResponse(typing_extensions.TypedDict, total=Fal class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSecurityProfileGroupsResponse(typing_extensions.TypedDict, total=False): @@ -661,7 +678,7 @@ class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): network: str reconciling: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" + "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "CLOSED" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index 103a2a15..84bc6f3e 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -156,6 +156,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -569,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 @@ -1056,6 +1095,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1291,6 +1331,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, ) -> BackendAuthenticationConfigsResource: ... def clientTlsPolicies(self) -> ClientTlsPoliciesResource: ... + def dnsThreatDetectors(self) -> DnsThreatDetectorsResource: ... def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... @@ -1375,6 +1416,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( @@ -1515,6 +1564,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/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi index bcfc274b..a431040a 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi @@ -78,6 +78,7 @@ class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] + principals: _list[AuthzPolicyAuthzRulePrincipal] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only @@ -90,6 +91,16 @@ class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): length: int prefix: str +@typing.type_check_only +class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): + principal: AuthzPolicyAuthzRuleStringMatch + principalSelector: typing_extensions.Literal[ + "PRINCIPAL_SELECTOR_UNSPECIFIED", + "CLIENT_CERT_URI_SAN", + "CLIENT_CERT_DNS_NAME_SAN", + "CLIENT_CERT_COMMON_NAME", + ] + @typing.type_check_only class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch @@ -201,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): ... @@ -218,6 +238,7 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): billingProjectId: str createTime: str description: str + endpointSettings: FirewallEndpointEndpointSettings labels: dict[str, typing.Any] name: str reconciling: bool @@ -248,6 +269,10 @@ class FirewallEndpointAssociationReference(typing_extensions.TypedDict, total=Fa name: str network: str +@typing.type_check_only +class FirewallEndpointEndpointSettings(typing_extensions.TypedDict, total=False): + jumboFramesEnabled: bool + @typing.type_check_only class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): createTime: str @@ -502,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 @@ -583,6 +614,7 @@ class ListMirroringEndpointGroupsResponse(typing_extensions.TypedDict, total=Fal class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSACAttachmentsResponse(typing_extensions.TypedDict, total=False): @@ -673,7 +705,7 @@ class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): network: str reconciling: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" + "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "CLOSED" ] updateTime: str @@ -714,6 +746,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 @@ -875,8 +908,10 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): "THREAT_PREVENTION", "CUSTOM_MIRRORING", "CUSTOM_INTERCEPT", + "URL_FILTERING", ] updateTime: str + urlFilteringProfile: UrlFilteringProfile @typing.type_check_only class SecurityProfileGroup(typing_extensions.TypedDict, total=False): @@ -890,6 +925,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): name: str threatPreventionProfile: str updateTime: str + urlFilteringProfile: str @typing.type_check_only class ServerTlsPolicy(typing_extensions.TypedDict, total=False): @@ -964,6 +1000,18 @@ class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): trustConfig: str updateTime: str +@typing.type_check_only +class UrlFilter(typing_extensions.TypedDict, total=False): + filteringAction: typing_extensions.Literal[ + "URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY" + ] + priority: int + urls: _list[str] + +@typing.type_check_only +class UrlFilteringProfile(typing_extensions.TypedDict, total=False): + urlFilters: _list[UrlFilter] + @typing.type_check_only class UrlList(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index 4624de5d..6ec3c79f 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -32,7 +32,9 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): service: str timeout: str updateTime: str - wireFormat: typing_extensions.Literal["WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC"] + wireFormat: typing_extensions.Literal[ + "WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC", "EXT_AUTHZ_GRPC" + ] @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi index a11e4fc1..e93b9af0 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi @@ -318,6 +318,48 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class LbTcpExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LbTcpExtension = ..., + lbTcpExtensionId: 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 + ) -> LbTcpExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLbTcpExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLbTcpExtensionsResponseHttpRequest, + previous_response: ListLbTcpExtensionsResponse, + ) -> ListLbTcpExtensionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LbTcpExtension = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class LbTrafficExtensionsResource(googleapiclient.discovery.Resource): def create( @@ -705,6 +747,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): def httpRoutes(self) -> HttpRoutesResource: ... def lbEdgeExtensions(self) -> LbEdgeExtensionsResource: ... def lbRouteExtensions(self) -> LbRouteExtensionsResource: ... + def lbTcpExtensions(self) -> LbTcpExtensionsResource: ... def lbTrafficExtensions(self) -> LbTrafficExtensionsResource: ... def meshes(self) -> MeshesResource: ... def operations(self) -> OperationsResource: ... @@ -802,6 +845,14 @@ class LbRouteExtensionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LbRouteExtension: ... +@typing.type_check_only +class LbTcpExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LbTcpExtension: ... + @typing.type_check_only class LbTrafficExtensionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -874,6 +925,14 @@ class ListLbRouteExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListLbRouteExtensionsResponse: ... +@typing.type_check_only +class ListLbTcpExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLbTcpExtensionsResponse: ... + @typing.type_check_only class ListLbTrafficExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index 013bb3c4..68743359 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -20,7 +20,9 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): service: str timeout: str updateTime: str - wireFormat: typing_extensions.Literal["WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC"] + wireFormat: typing_extensions.Literal[ + "WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC", "EXT_AUTHZ_GRPC" + ] @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -375,6 +377,19 @@ class LbRouteExtension(typing_extensions.TypedDict, total=False): name: str updateTime: str +@typing.type_check_only +class LbTcpExtension(typing_extensions.TypedDict, total=False): + createTime: str + description: str + extensionChains: _list[ExtensionChain] + labels: dict[str, typing.Any] + loadBalancingScheme: typing_extensions.Literal[ + "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" + ] + name: str + networks: _list[str] + updateTime: str + @typing.type_check_only class LbTrafficExtension(typing_extensions.TypedDict, total=False): createTime: str @@ -437,6 +452,12 @@ class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListLbTcpExtensionsResponse(typing_extensions.TypedDict, total=False): + lbTcpExtensions: _list[LbTcpExtension] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListLbTrafficExtensionsResponse(typing_extensions.TypedDict, total=False): lbTrafficExtensions: _list[LbTrafficExtension] diff --git a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi index 179f4444..215bc6b5 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi @@ -289,6 +289,7 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi index d7b463a1..c96dc313 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi @@ -290,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 ListRuntimesResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi index 4e51c968..b547a46a 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi @@ -19,6 +19,13 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + def checkAuthorization( + self, + *, + name: str, + body: CheckAuthorizationRequest = ..., + **kwargs: typing.Any, + ) -> CheckAuthorizationResponseHttpRequest: ... def checkUpgradability( self, *, notebookInstance: str, **kwargs: typing.Any ) -> CheckInstanceUpgradabilityResponseHttpRequest: ... @@ -41,6 +48,13 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): body: DiagnoseInstanceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def generateAccessToken( + self, + *, + name: str, + body: GenerateAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> GenerateAccessTokenResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> InstanceHttpRequest: ... @@ -178,6 +192,7 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -223,6 +238,14 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class CheckAuthorizationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckAuthorizationResponse: ... + @typing.type_check_only class CheckInstanceUpgradabilityResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -247,6 +270,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@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 InstanceHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi index cfc7c899..c9cd1813 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi @@ -47,6 +47,16 @@ class BootDisk(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CheckAuthorizationRequest(typing_extensions.TypedDict, total=False): + authorizationDetails: dict[str, typing.Any] + +@typing.type_check_only +class CheckAuthorizationResponse(typing_extensions.TypedDict, total=False): + createTime: str + oauth_uri: str + success: bool + @typing.type_check_only class CheckInstanceUpgradabilityResponse(typing_extensions.TypedDict, total=False): upgradeImage: str @@ -82,6 +92,7 @@ class DataDisk(typing_extensions.TypedDict, total=False): "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" ] kmsKey: str + resourcePolicies: _list[str] @typing.type_check_only class DefaultValues(typing_extensions.TypedDict, total=False): @@ -148,6 +159,17 @@ class GceSetup(typing_extensions.TypedDict, total=False): tags: _list[str] vmImage: VmImage +@typing.type_check_only +class GenerateAccessTokenRequest(typing_extensions.TypedDict, total=False): + vmToken: str + +@typing.type_check_only +class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): + access_token: str + expires_in: int + scope: str + token_type: str + @typing.type_check_only class ImageRelease(typing_extensions.TypedDict, total=False): imageName: str @@ -159,6 +181,7 @@ class Instance(typing_extensions.TypedDict, total=False): creator: str disableProxyAccess: bool enableDeletionProtection: bool + enableManagedEuc: bool enableThirdPartyIdentity: bool gceSetup: GceSetup healthInfo: dict[str, typing.Any] @@ -208,6 +231,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/observability/v1/resources.pyi b/googleapiclient-stubs/_apis/observability/v1/resources.pyi index 5db77040..2695123d 100644 --- a/googleapiclient-stubs/_apis/observability/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/resources.pyi @@ -39,6 +39,7 @@ class CloudObservabilityResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -61,6 +62,44 @@ class CloudObservabilityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ScopeHttpRequest: ... + @typing.type_check_only + class TraceScopesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: TraceScope = ..., + traceScopeId: str = ..., + **kwargs: typing.Any, + ) -> TraceScopeHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TraceScopeHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListTraceScopesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTraceScopesResponseHttpRequest, + previous_response: ListTraceScopesResponse, + ) -> ListTraceScopesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: TraceScope = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> TraceScopeHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -81,6 +120,7 @@ class CloudObservabilityResource(googleapiclient.discovery.Resource): ) -> ListLocationsResponseHttpRequest | None: ... def operations(self) -> OperationsResource: ... def scopes(self) -> ScopesResource: ... + def traceScopes(self) -> TraceScopesResource: ... def locations(self) -> LocationsResource: ... @@ -122,6 +162,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListTraceScopesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTraceScopesResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -145,3 +193,11 @@ class ScopeHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Scope: ... + +@typing.type_check_only +class TraceScopeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TraceScope: ... diff --git a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi index f23499ea..c2a9f381 100644 --- a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi @@ -19,6 +19,12 @@ 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 ListTraceScopesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + traceScopes: _list[TraceScope] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -50,6 +56,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): class Scope(typing_extensions.TypedDict, total=False): logScope: str name: str + traceScope: str updateTime: str @typing.type_check_only @@ -57,3 +64,11 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class TraceScope(typing_extensions.TypedDict, total=False): + createTime: str + description: str + name: str + resourceNames: _list[str] + updateTime: str diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi index 314c7de5..4f0630f2 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi @@ -35,6 +35,7 @@ class OnDemandScanningResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index f2afb72e..d9da0296 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -101,6 +101,10 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): class BuilderConfig(typing_extensions.TypedDict, total=False): id: str +@typing.type_check_only +class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): + knownRansomwareCampaignUse: str + @typing.type_check_only class CVSS(typing_extensions.TypedDict, total=False): attackComplexity: typing_extensions.Literal[ @@ -254,6 +258,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): + percentile: float + score: float + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): digest: dict[str, typing.Any] @@ -435,6 +444,7 @@ class License(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 ListVulnerabilitiesResponseV1(typing_extensions.TypedDict, total=False): @@ -636,6 +646,11 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Risk(typing_extensions.TypedDict, total=False): + cisaKev: CISAKnownExploitedVulnerabilities + epss: ExploitPredictionScoringSystem + @typing.type_check_only class RunDetails(typing_extensions.TypedDict, total=False): builder: ProvenanceBuilder @@ -679,6 +694,26 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", + "SECRET_KIND_GCP_API_KEY", + "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", + "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", + "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", + "SECRET_KIND_ANTHROPIC_API_KEY", + "SECRET_KIND_AZURE_ACCESS_TOKEN", + "SECRET_KIND_AZURE_IDENTITY_TOKEN", + "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", + "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_OAUTH_TOKEN", + "SECRET_KIND_HUGGINGFACE_API_KEY", + "SECRET_KIND_OPENAI_API_KEY", + "SECRET_KIND_PERPLEXITY_API_KEY", + "SECRET_KIND_STRIPE_SECRET_KEY", + "SECRET_KIND_STRIPE_RESTRICTED_KEY", + "SECRET_KIND_STRIPE_WEBHOOK_SECRET", ] locations: _list[SecretLocation] statuses: _list[SecretStatus] @@ -822,6 +857,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): longDescription: str packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] + risk: Risk severity: typing_extensions.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi index 3788ce7d..45a13ec7 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi @@ -35,6 +35,7 @@ class OnDemandScanningResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index d75c7e1c..41d0da9a 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -100,6 +100,10 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): class BuilderConfig(typing_extensions.TypedDict, total=False): id: str +@typing.type_check_only +class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): + knownRansomwareCampaignUse: str + @typing.type_check_only class CVSS(typing_extensions.TypedDict, total=False): attackComplexity: typing_extensions.Literal[ @@ -253,6 +257,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): + percentile: float + score: float + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): digest: dict[str, typing.Any] @@ -434,6 +443,7 @@ class License(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 ListVulnerabilitiesResponse(typing_extensions.TypedDict, total=False): @@ -635,6 +645,11 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Risk(typing_extensions.TypedDict, total=False): + cisaKev: CISAKnownExploitedVulnerabilities + epss: ExploitPredictionScoringSystem + @typing.type_check_only class RunDetails(typing_extensions.TypedDict, total=False): builder: ProvenanceBuilder @@ -678,6 +693,26 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", + "SECRET_KIND_GCP_API_KEY", + "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", + "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", + "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", + "SECRET_KIND_ANTHROPIC_API_KEY", + "SECRET_KIND_AZURE_ACCESS_TOKEN", + "SECRET_KIND_AZURE_IDENTITY_TOKEN", + "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", + "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", + "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", + "SECRET_KIND_GITHUB_OAUTH_TOKEN", + "SECRET_KIND_HUGGINGFACE_API_KEY", + "SECRET_KIND_OPENAI_API_KEY", + "SECRET_KIND_PERPLEXITY_API_KEY", + "SECRET_KIND_STRIPE_SECRET_KEY", + "SECRET_KIND_STRIPE_RESTRICTED_KEY", + "SECRET_KIND_STRIPE_WEBHOOK_SECRET", ] locations: _list[SecretLocation] statuses: _list[SecretStatus] @@ -821,6 +856,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): longDescription: str packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] + risk: Risk severity: typing_extensions.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi index ef8ecced..fb94410c 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi @@ -67,6 +67,13 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, requestId: str = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def failover( + self, + *, + name: str, + body: FailoverAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def generateWallet( self, *, @@ -92,6 +99,15 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_request: ListAutonomousDatabasesResponseHttpRequest, previous_response: ListAutonomousDatabasesResponse, ) -> ListAutonomousDatabasesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AutonomousDatabase = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def restart( self, *, @@ -188,6 +204,8 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -253,12 +271,68 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): ) -> ListCloudVmClustersResponseHttpRequest | None: ... def dbNodes(self) -> DbNodesResource: ... + @typing.type_check_only + class DatabaseCharacterSetsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDatabaseCharacterSetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDatabaseCharacterSetsResponseHttpRequest, + previous_response: ListDatabaseCharacterSetsResponse, + ) -> ListDatabaseCharacterSetsResponseHttpRequest | None: ... + + @typing.type_check_only + class DatabasesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DatabaseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDatabasesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDatabasesResponseHttpRequest, + previous_response: ListDatabasesResponse, + ) -> ListDatabasesResponseHttpRequest | None: ... + + @typing.type_check_only + class DbSystemInitialStorageSizesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbSystemInitialStorageSizesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbSystemInitialStorageSizesResponseHttpRequest, + previous_response: ListDbSystemInitialStorageSizesResponse, + ) -> ListDbSystemInitialStorageSizesResponseHttpRequest | None: ... + @typing.type_check_only class DbSystemShapesResource(googleapiclient.discovery.Resource): def list( self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -269,6 +343,56 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_response: ListDbSystemShapesResponse, ) -> ListDbSystemShapesResponseHttpRequest | None: ... + @typing.type_check_only + class DbSystemsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: DbSystem = ..., + dbSystemId: 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 + ) -> DbSystemHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbSystemsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbSystemsResponseHttpRequest, + previous_response: ListDbSystemsResponse, + ) -> ListDbSystemsResponseHttpRequest | None: ... + + @typing.type_check_only + class DbVersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbVersionsResponseHttpRequest, + previous_response: ListDbVersionsResponse, + ) -> ListDbVersionsResponseHttpRequest | None: ... + @typing.type_check_only class EntitlementsResource(googleapiclient.discovery.Resource): def list( @@ -285,8 +409,124 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_response: ListEntitlementsResponse, ) -> ListEntitlementsResponseHttpRequest | None: ... + @typing.type_check_only + class ExadbVmClustersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DbNodesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbNodesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbNodesResponseHttpRequest, + previous_response: ListDbNodesResponse, + ) -> ListDbNodesResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: ExadbVmCluster = ..., + exadbVmClusterId: 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 + ) -> ExadbVmClusterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExadbVmClustersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExadbVmClustersResponseHttpRequest, + previous_response: ListExadbVmClustersResponse, + ) -> ListExadbVmClustersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ExadbVmCluster = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeVirtualMachine( + self, + *, + name: str, + body: RemoveVirtualMachineExadbVmClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def dbNodes(self) -> DbNodesResource: ... + + @typing.type_check_only + class ExascaleDbStorageVaultsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ExascaleDbStorageVault = ..., + exascaleDbStorageVaultId: 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 + ) -> ExascaleDbStorageVaultHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExascaleDbStorageVaultsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExascaleDbStorageVaultsResponseHttpRequest, + previous_response: ListExascaleDbStorageVaultsResponse, + ) -> ListExascaleDbStorageVaultsResponseHttpRequest | None: ... + @typing.type_check_only class GiVersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MinorVersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMinorVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMinorVersionsResponseHttpRequest, + previous_response: ListMinorVersionsResponse, + ) -> ListMinorVersionsResponseHttpRequest | None: ... + def list( self, *, @@ -301,6 +541,74 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_request: ListGiVersionsResponseHttpRequest, previous_response: ListGiVersionsResponse, ) -> ListGiVersionsResponseHttpRequest | None: ... + def minorVersions(self) -> MinorVersionsResource: ... + + @typing.type_check_only + class OdbNetworksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OdbSubnetsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: OdbSubnet = ..., + odbSubnetId: 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 + ) -> OdbSubnetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOdbSubnetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOdbSubnetsResponseHttpRequest, + previous_response: ListOdbSubnetsResponse, + ) -> ListOdbSubnetsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: OdbNetwork = ..., + odbNetworkId: 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 + ) -> OdbNetworkHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOdbNetworksResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOdbNetworksResponseHttpRequest, + previous_response: ListOdbNetworksResponse, + ) -> ListOdbNetworksResponseHttpRequest | None: ... + def odbSubnets(self) -> OdbSubnetsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -324,6 +632,7 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -332,6 +641,26 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PluggableDatabasesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PluggableDatabaseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPluggableDatabasesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPluggableDatabasesResponseHttpRequest, + previous_response: ListPluggableDatabasesResponse, + ) -> ListPluggableDatabasesResponseHttpRequest | None: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -362,10 +691,21 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): self, ) -> CloudExadataInfrastructuresResource: ... def cloudVmClusters(self) -> CloudVmClustersResource: ... + def databaseCharacterSets(self) -> DatabaseCharacterSetsResource: ... + def databases(self) -> DatabasesResource: ... + def dbSystemInitialStorageSizes( + self, + ) -> DbSystemInitialStorageSizesResource: ... def dbSystemShapes(self) -> DbSystemShapesResource: ... + def dbSystems(self) -> DbSystemsResource: ... + def dbVersions(self) -> DbVersionsResource: ... def entitlements(self) -> EntitlementsResource: ... + def exadbVmClusters(self) -> ExadbVmClustersResource: ... + def exascaleDbStorageVaults(self) -> ExascaleDbStorageVaultsResource: ... def giVersions(self) -> GiVersionsResource: ... + def odbNetworks(self) -> OdbNetworksResource: ... def operations(self) -> OperationsResource: ... + def pluggableDatabases(self) -> PluggableDatabasesResource: ... def locations(self) -> LocationsResource: ... @@ -407,6 +747,22 @@ class CloudVmClusterHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CloudVmCluster: ... +@typing.type_check_only +class DatabaseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Database: ... + +@typing.type_check_only +class DbSystemHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DbSystem: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -415,6 +771,22 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ExadbVmClusterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExadbVmCluster: ... + +@typing.type_check_only +class ExascaleDbStorageVaultHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExascaleDbStorageVault: ... + @typing.type_check_only class GenerateAutonomousDatabaseWalletResponseHttpRequest( googleapiclient.http.HttpRequest @@ -479,6 +851,22 @@ class ListCloudVmClustersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListCloudVmClustersResponse: ... +@typing.type_check_only +class ListDatabaseCharacterSetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDatabaseCharacterSetsResponse: ... + +@typing.type_check_only +class ListDatabasesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDatabasesResponse: ... + @typing.type_check_only class ListDbNodesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -495,6 +883,16 @@ class ListDbServersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListDbServersResponse: ... +@typing.type_check_only +class ListDbSystemInitialStorageSizesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbSystemInitialStorageSizesResponse: ... + @typing.type_check_only class ListDbSystemShapesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -503,6 +901,22 @@ class ListDbSystemShapesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListDbSystemShapesResponse: ... +@typing.type_check_only +class ListDbSystemsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbSystemsResponse: ... + +@typing.type_check_only +class ListDbVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbVersionsResponse: ... + @typing.type_check_only class ListEntitlementsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -511,6 +925,22 @@ class ListEntitlementsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListEntitlementsResponse: ... +@typing.type_check_only +class ListExadbVmClustersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExadbVmClustersResponse: ... + +@typing.type_check_only +class ListExascaleDbStorageVaultsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExascaleDbStorageVaultsResponse: ... + @typing.type_check_only class ListGiVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -527,6 +957,30 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListMinorVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMinorVersionsResponse: ... + +@typing.type_check_only +class ListOdbNetworksResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOdbNetworksResponse: ... + +@typing.type_check_only +class ListOdbSubnetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOdbSubnetsResponse: ... + @typing.type_check_only class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -535,6 +989,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListPluggableDatabasesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPluggableDatabasesResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -543,6 +1005,22 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... +@typing.type_check_only +class OdbNetworkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OdbNetwork: ... + +@typing.type_check_only +class OdbSubnetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> OdbSubnet: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -550,3 +1028,11 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Operation: ... + +@typing.type_check_only +class PluggableDatabaseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PluggableDatabase: ... diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi index 409fb4b2..a7858625 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi @@ -22,6 +22,8 @@ class AutonomousDatabase(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str network: str + odbNetwork: str + odbSubnet: str peerAutonomousDatabases: _list[str] properties: AutonomousDatabaseProperties sourceConfig: SourceConfig @@ -144,6 +146,8 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" ] disasterRecoveryRoleChangedTime: str + encryptionKey: EncryptionKey + encryptionKeyHistoryEntries: _list[EncryptionKeyHistoryEntry] failedDataRecoveryDuration: str isAutoScalingEnabled: bool isLocalDataGuardEnabled: bool @@ -204,6 +208,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): ] scheduledOperationDetails: _list[ScheduledOperationDetails] secretId: str + serviceAgentEmail: str sqlWebDeveloperUrl: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -274,6 +279,17 @@ class AutonomousDbVersion(typing_extensions.TypedDict, total=False): version: str workloadUri: str +@typing.type_check_only +class BackupDestinationDetails(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "BACKUP_DESTINATION_TYPE_UNSPECIFIED", + "NFS", + "RECOVERY_APPLIANCE", + "OBJECT_STORE", + "LOCAL", + "DBRS", + ] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -340,15 +356,19 @@ class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=Fa @typing.type_check_only class CloudVmCluster(typing_extensions.TypedDict, total=False): + backupOdbSubnet: str backupSubnetCidr: str cidr: str createTime: str displayName: str exadataInfrastructure: str gcpOracleZone: str + identityConnector: IdentityConnector labels: dict[str, typing.Any] name: str network: str + odbNetwork: str + odbSubnet: str properties: CloudVmClusterProperties @typing.type_check_only @@ -412,6 +432,50 @@ class DataCollectionOptions(typing_extensions.TypedDict, total=False): healthMonitoringEnabled: bool incidentLogsEnabled: bool +@typing.type_check_only +class DataCollectionOptionsCommon(typing_extensions.TypedDict, total=False): + isDiagnosticsEventsEnabled: bool + isHealthMonitoringEnabled: bool + isIncidentLogsEnabled: bool + +@typing.type_check_only +class DataCollectionOptionsDbSystem(typing_extensions.TypedDict, total=False): + isDiagnosticsEventsEnabled: bool + isIncidentLogsEnabled: bool + +@typing.type_check_only +class Database(typing_extensions.TypedDict, total=False): + adminPassword: str + characterSet: str + createTime: str + databaseId: str + dbHomeName: str + dbName: str + dbUniqueName: str + gcpOracleZone: str + name: str + ncharacterSet: str + ociUrl: str + opsInsightsStatus: typing_extensions.Literal[ + "OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING", + ] + properties: DatabaseProperties + tdeWalletPassword: str + +@typing.type_check_only +class DatabaseCharacterSet(typing_extensions.TypedDict, total=False): + characterSet: str + characterSetType: typing_extensions.Literal[ + "CHARACTER_SET_TYPE_UNSPECIFIED", "DATABASE", "NATIONAL" + ] + name: str + @typing.type_check_only class DatabaseConnectionStringProfile(typing_extensions.TypedDict, total=False): consumerGroup: typing_extensions.Literal[ @@ -432,6 +496,100 @@ class DatabaseConnectionStringProfile(typing_extensions.TypedDict, total=False): ] value: str +@typing.type_check_only +class DatabaseManagementConfig(typing_extensions.TypedDict, total=False): + managementState: typing_extensions.Literal[ + "MANAGEMENT_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "DISABLED", + "UPDATING", + "FAILED_ENABLING", + "FAILED_DISABLING", + "FAILED_UPDATING", + ] + managementType: typing_extensions.Literal[ + "MANAGEMENT_TYPE_UNSPECIFIED", "BASIC", "ADVANCED" + ] + +@typing.type_check_only +class DatabaseProperties(typing_extensions.TypedDict, total=False): + databaseManagementConfig: DatabaseManagementConfig + dbBackupConfig: DbBackupConfig + dbVersion: str + state: typing_extensions.Literal[ + "DATABASE_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "BACKUP_IN_PROGRESS", + "UPGRADING", + "CONVERTING", + "TERMINATING", + "TERMINATED", + "RESTORE_FAILED", + "FAILED", + ] + +@typing.type_check_only +class DbBackupConfig(typing_extensions.TypedDict, total=False): + autoBackupEnabled: bool + autoFullBackupDay: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + autoFullBackupWindow: typing_extensions.Literal[ + "BACKUP_WINDOW_UNSPECIFIED", + "SLOT_ONE", + "SLOT_TWO", + "SLOT_THREE", + "SLOT_FOUR", + "SLOT_FIVE", + "SLOT_SIX", + "SLOT_SEVEN", + "SLOT_EIGHT", + "SLOT_NINE", + "SLOT_TEN", + "SLOT_ELEVEN", + "SLOT_TWELVE", + ] + autoIncrementalBackupWindow: typing_extensions.Literal[ + "BACKUP_WINDOW_UNSPECIFIED", + "SLOT_ONE", + "SLOT_TWO", + "SLOT_THREE", + "SLOT_FOUR", + "SLOT_FIVE", + "SLOT_SIX", + "SLOT_SEVEN", + "SLOT_EIGHT", + "SLOT_NINE", + "SLOT_TEN", + "SLOT_ELEVEN", + "SLOT_TWELVE", + ] + backupDeletionPolicy: typing_extensions.Literal[ + "BACKUP_DELETION_POLICY_UNSPECIFIED", + "DELETE_IMMEDIATELY", + "DELETE_AFTER_RETENTION_PERIOD", + ] + backupDestinationDetails: _list[BackupDestinationDetails] + retentionPeriodDays: int + +@typing.type_check_only +class DbHome(typing_extensions.TypedDict, total=False): + database: Database + dbVersion: str + displayName: str + isUnifiedAuditingEnabled: bool + @typing.type_check_only class DbNode(typing_extensions.TypedDict, total=False): name: str @@ -439,6 +597,7 @@ class DbNode(typing_extensions.TypedDict, total=False): @typing.type_check_only class DbNodeProperties(typing_extensions.TypedDict, total=False): + createTime: str dbNodeStorageSizeGb: int dbServerOcid: str hostname: str @@ -485,6 +644,82 @@ class DbServerProperties(typing_extensions.TypedDict, total=False): ] vmCount: int +@typing.type_check_only +class DbSystem(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + entitlementId: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + ociUrl: str + odbNetwork: str + odbSubnet: str + properties: DbSystemProperties + +@typing.type_check_only +class DbSystemInitialStorageSize(typing_extensions.TypedDict, total=False): + name: str + properties: DbSystemInitialStorageSizeProperties + +@typing.type_check_only +class DbSystemInitialStorageSizeProperties(typing_extensions.TypedDict, total=False): + launchFromBackupStorageSizeDetails: _list[StorageSizeDetails] + shapeType: typing_extensions.Literal["SHAPE_TYPE_UNSPECIFIED", "STANDARD_X86"] + storageManagement: typing_extensions.Literal[ + "STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM" + ] + storageSizeDetails: _list[StorageSizeDetails] + +@typing.type_check_only +class DbSystemOptions(typing_extensions.TypedDict, total=False): + storageManagement: typing_extensions.Literal[ + "STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM" + ] + +@typing.type_check_only +class DbSystemProperties(typing_extensions.TypedDict, total=False): + computeCount: int + computeModel: typing_extensions.Literal["COMPUTE_MODEL_UNSPECIFIED", "ECPU", "OCPU"] + dataCollectionOptions: DataCollectionOptionsDbSystem + dataStorageSizeGb: int + databaseEdition: typing_extensions.Literal[ + "DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED", + "STANDARD_EDITION", + "ENTERPRISE_EDITION", + "ENTERPRISE_EDITION_HIGH_PERFORMANCE", + ] + dbHome: DbHome + dbSystemOptions: DbSystemOptions + domain: str + hostname: str + hostnamePrefix: str + initialDataStorageSizeGb: int + licenseModel: typing_extensions.Literal[ + "LICENSE_MODEL_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" + ] + lifecycleState: typing_extensions.Literal[ + "DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MIGRATED", + "MAINTENANCE_IN_PROGRESS", + "NEEDS_ATTENTION", + "UPGRADING", + ] + memorySizeGb: int + nodeCount: int + ocid: str + privateIp: str + recoStorageSizeGb: int + shape: str + sshPublicKeys: _list[str] + timeZone: TimeZone + @typing.type_check_only class DbSystemShape(typing_extensions.TypedDict, total=False): availableCoreCountPerNode: int @@ -500,9 +735,38 @@ class DbSystemShape(typing_extensions.TypedDict, total=False): name: str shape: str +@typing.type_check_only +class DbVersion(typing_extensions.TypedDict, total=False): + name: str + properties: DbVersionProperties + +@typing.type_check_only +class DbVersionProperties(typing_extensions.TypedDict, total=False): + isLatestForMajorVersion: bool + isPreviewDbVersion: bool + isUpgradeSupported: bool + supportsPdb: bool + version: str + +@typing.type_check_only +class DefinedTagValue(typing_extensions.TypedDict, total=False): + tags: dict[str, typing.Any] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EncryptionKey(typing_extensions.TypedDict, total=False): + kmsKey: str + provider: typing_extensions.Literal[ + "PROVIDER_UNSPECIFIED", "GOOGLE_MANAGED", "ORACLE_MANAGED" + ] + +@typing.type_check_only +class EncryptionKeyHistoryEntry(typing_extensions.TypedDict, total=False): + activationTime: str + encryptionKey: EncryptionKey + @typing.type_check_only class Entitlement(typing_extensions.TypedDict, total=False): cloudAccountDetails: CloudAccountDetails @@ -517,6 +781,107 @@ class Entitlement(typing_extensions.TypedDict, total=False): "NOT_APPROVED_IN_PRIVATE_MARKETPLACE", ] +@typing.type_check_only +class ExadbVmCluster(typing_extensions.TypedDict, total=False): + backupOdbSubnet: str + createTime: str + displayName: str + entitlementId: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + odbNetwork: str + odbSubnet: str + properties: ExadbVmClusterProperties + +@typing.type_check_only +class ExadbVmClusterProperties(typing_extensions.TypedDict, total=False): + additionalEcpuCountPerNode: int + clusterName: str + dataCollectionOptions: DataCollectionOptionsCommon + enabledEcpuCountPerNode: int + exascaleDbStorageVault: str + giVersion: str + gridImageId: str + hostname: str + hostnamePrefix: str + licenseModel: typing_extensions.Literal[ + "LICENSE_MODEL_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" + ] + lifecycleState: typing_extensions.Literal[ + "EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS", + ] + memorySizeGb: int + nodeCount: int + ociUri: str + scanListenerPortTcp: int + shapeAttribute: typing_extensions.Literal[ + "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" + ] + sshPublicKeys: _list[str] + timeZone: TimeZone + vmFileSystemStorage: ExadbVmClusterStorageDetails + +@typing.type_check_only +class ExadbVmClusterStorageDetails(typing_extensions.TypedDict, total=False): + sizeInGbsPerNode: int + +@typing.type_check_only +class ExascaleDbStorageDetails(typing_extensions.TypedDict, total=False): + availableSizeGbs: int + totalSizeGbs: int + +@typing.type_check_only +class ExascaleDbStorageVault(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + entitlementId: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + properties: ExascaleDbStorageVaultProperties + +@typing.type_check_only +class ExascaleDbStorageVaultProperties(typing_extensions.TypedDict, total=False): + additionalFlashCachePercent: int + attachedShapeAttributes: _list[ + typing_extensions.Literal[ + "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" + ] + ] + availableShapeAttributes: _list[ + typing_extensions.Literal[ + "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" + ] + ] + description: str + exascaleDbStorageDetails: ExascaleDbStorageDetails + ociUri: str + ocid: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + ] + timeZone: TimeZone + vmClusterCount: int + vmClusterIds: _list[str] + +@typing.type_check_only +class FailoverAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): + peerAutonomousDatabase: str + @typing.type_check_only class GenerateAutonomousDatabaseWalletRequest(typing_extensions.TypedDict, total=False): isRegional: bool @@ -534,6 +899,17 @@ class GiVersion(typing_extensions.TypedDict, total=False): name: str version: str +@typing.type_check_only +class IdentityConnector(typing_extensions.TypedDict, total=False): + connectionState: typing_extensions.Literal[ + "CONNECTION_STATE_UNSPECIFIED", + "CONNECTED", + "PARTIALLY_CONNECTED", + "DISCONNECTED", + "UNKNOWN", + ] + serviceAgentEmail: str + @typing.type_check_only class ListAutonomousDatabaseBackupsResponse(typing_extensions.TypedDict, total=False): autonomousDatabaseBackups: _list[AutonomousDatabaseBackup] @@ -566,6 +942,16 @@ class ListCloudVmClustersResponse(typing_extensions.TypedDict, total=False): cloudVmClusters: _list[CloudVmCluster] nextPageToken: str +@typing.type_check_only +class ListDatabaseCharacterSetsResponse(typing_extensions.TypedDict, total=False): + databaseCharacterSets: _list[DatabaseCharacterSet] + nextPageToken: str + +@typing.type_check_only +class ListDatabasesResponse(typing_extensions.TypedDict, total=False): + databases: _list[Database] + nextPageToken: str + @typing.type_check_only class ListDbNodesResponse(typing_extensions.TypedDict, total=False): dbNodes: _list[DbNode] @@ -576,16 +962,41 @@ class ListDbServersResponse(typing_extensions.TypedDict, total=False): dbServers: _list[DbServer] nextPageToken: str +@typing.type_check_only +class ListDbSystemInitialStorageSizesResponse(typing_extensions.TypedDict, total=False): + dbSystemInitialStorageSizes: _list[DbSystemInitialStorageSize] + nextPageToken: str + @typing.type_check_only class ListDbSystemShapesResponse(typing_extensions.TypedDict, total=False): dbSystemShapes: _list[DbSystemShape] nextPageToken: str +@typing.type_check_only +class ListDbSystemsResponse(typing_extensions.TypedDict, total=False): + dbSystems: _list[DbSystem] + nextPageToken: str + +@typing.type_check_only +class ListDbVersionsResponse(typing_extensions.TypedDict, total=False): + dbVersions: _list[DbVersion] + nextPageToken: str + @typing.type_check_only class ListEntitlementsResponse(typing_extensions.TypedDict, total=False): entitlements: _list[Entitlement] nextPageToken: str +@typing.type_check_only +class ListExadbVmClustersResponse(typing_extensions.TypedDict, total=False): + exadbVmClusters: _list[ExadbVmCluster] + nextPageToken: str + +@typing.type_check_only +class ListExascaleDbStorageVaultsResponse(typing_extensions.TypedDict, total=False): + exascaleDbStorageVaults: _list[ExascaleDbStorageVault] + nextPageToken: str + @typing.type_check_only class ListGiVersionsResponse(typing_extensions.TypedDict, total=False): giVersions: _list[GiVersion] @@ -596,10 +1007,33 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListMinorVersionsResponse(typing_extensions.TypedDict, total=False): + minorVersions: _list[MinorVersion] + nextPageToken: str + +@typing.type_check_only +class ListOdbNetworksResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + odbNetworks: _list[OdbNetwork] + unreachable: _list[str] + +@typing.type_check_only +class ListOdbSubnetsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + odbSubnets: _list[OdbSubnet] + unreachable: _list[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 ListPluggableDatabasesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + pluggableDatabases: _list[PluggableDatabase] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -658,6 +1092,37 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): ] weeksOfMonth: _list[int] +@typing.type_check_only +class MinorVersion(typing_extensions.TypedDict, total=False): + gridImageId: str + name: str + version: str + +@typing.type_check_only +class OdbNetwork(typing_extensions.TypedDict, total=False): + createTime: str + entitlementId: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + network: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", "TERMINATING", "FAILED" + ] + +@typing.type_check_only +class OdbSubnet(typing_extensions.TypedDict, total=False): + cidrRange: str + createTime: str + labels: dict[str, typing.Any] + name: str + purpose: typing_extensions.Literal[ + "PURPOSE_UNSPECIFIED", "CLIENT_SUBNET", "BACKUP_SUBNET" + ] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", "TERMINATING", "FAILED" + ] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -677,6 +1142,77 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PluggableDatabase(typing_extensions.TypedDict, total=False): + createTime: str + name: str + ociUrl: str + properties: PluggableDatabaseProperties + +@typing.type_check_only +class PluggableDatabaseConnectionStrings(typing_extensions.TypedDict, total=False): + allConnectionStrings: dict[str, typing.Any] + pdbDefault: str + pdbIpDefault: str + +@typing.type_check_only +class PluggableDatabaseNodeLevelDetails(typing_extensions.TypedDict, total=False): + nodeName: str + openMode: typing_extensions.Literal[ + "PLUGGABLE_DATABASE_OPEN_MODE_UNSPECIFIED", + "READ_ONLY", + "READ_WRITE", + "MOUNTED", + "MIGRATE", + ] + pluggableDatabaseId: str + +@typing.type_check_only +class PluggableDatabaseProperties(typing_extensions.TypedDict, total=False): + compartmentId: str + connectionStrings: PluggableDatabaseConnectionStrings + containerDatabaseOcid: str + databaseManagementConfig: DatabaseManagementConfig + definedTags: dict[str, typing.Any] + freeformTags: dict[str, typing.Any] + isRestricted: bool + lifecycleDetails: str + lifecycleState: typing_extensions.Literal[ + "PLUGGABLE_DATABASE_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "TERMINATING", + "TERMINATED", + "UPDATING", + "FAILED", + "RELOCATING", + "RELOCATED", + "REFRESHING", + "RESTORE_IN_PROGRESS", + "RESTORE_FAILED", + "BACKUP_IN_PROGRESS", + "DISABLED", + ] + ocid: str + operationsInsightsState: typing_extensions.Literal[ + "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING", + ] + pdbName: str + pdbNodeLevelDetails: _list[PluggableDatabaseNodeLevelDetails] + +@typing.type_check_only +class RemoveVirtualMachineExadbVmClusterRequest( + typing_extensions.TypedDict, total=False +): + hostnames: _list[str] + requestId: str + @typing.type_check_only class RestartAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... @@ -716,6 +1252,11 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class StopAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class StorageSizeDetails(typing_extensions.TypedDict, total=False): + dataStorageSizeInGbs: int + recoStorageSizeInGbs: int + @typing.type_check_only class SwitchoverAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): peerAutonomousDatabase: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi index c1f3ce0a..9f0d538e 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi @@ -737,6 +737,15 @@ class TimeZone(typing_extensions.TypedDict, total=False): @typing.type_check_only class VulnerabilityReport(typing_extensions.TypedDict, total=False): + highestUpgradableCveSeverity: typing_extensions.Literal[ + "VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED", + "NONE", + "MINIMAL", + "LOW", + "MEDIUM", + "HIGH", + "CRITICAL", + ] name: str updateTime: str vulnerabilities: _list[VulnerabilityReportVulnerability] diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi index 9377fff2..443aee33 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi @@ -591,6 +591,15 @@ class StatusProto(typing_extensions.TypedDict, total=False): @typing.type_check_only class VulnerabilityReport(typing_extensions.TypedDict, total=False): + highestUpgradableCveSeverity: typing_extensions.Literal[ + "VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED", + "NONE", + "MINIMAL", + "LOW", + "MEDIUM", + "HIGH", + "CRITICAL", + ] name: str updateTime: str vulnerabilities: _list[VulnerabilityReportVulnerability] diff --git a/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi index 916ec416..48b93285 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi @@ -92,6 +92,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -184,6 +185,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -276,6 +278,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi index 17538191..8af4d29a 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi @@ -143,6 +143,7 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class MessageSet(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi index 75851680..b794c202 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi @@ -92,6 +92,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -184,6 +185,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -276,6 +278,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi index 57c86027..17234b06 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi @@ -143,6 +143,7 @@ class GoogleCloudOsconfigV2beta__PolicyOrchestrator( class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class MessageSet(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi index b1d081b2..67b6c4c2 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi @@ -13,6 +13,20 @@ _list = list @typing.type_check_only class CloudOSLoginResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + def signSshPublicKey( + self, + *, + parent: str, + body: SignSshPublicKeyRequest = ..., + **kwargs: typing.Any, + ) -> SignSshPublicKeyResponseHttpRequest: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -73,6 +87,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... def users(self) -> UsersResource: ... @typing.type_check_only @@ -99,6 +114,14 @@ class LoginProfileHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LoginProfile: ... +@typing.type_check_only +class SignSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SignSshPublicKeyResponse: ... + @typing.type_check_only class SshPublicKeyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi index b177ed0c..5c454e59 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi @@ -34,6 +34,17 @@ class PosixAccount(typing_extensions.TypedDict, total=False): uid: str username: str +@typing.type_check_only +class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): + appEngineInstance: str + computeInstance: str + serviceAccount: str + sshPublicKey: str + +@typing.type_check_only +class SignSshPublicKeyResponse(typing_extensions.TypedDict, total=False): + signedSshPublicKey: str + @typing.type_check_only class SshPublicKey(typing_extensions.TypedDict, total=False): expirationTimeUsec: str diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi index ab10f83f..6427456b 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi @@ -95,6 +95,7 @@ class ParallelstoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi index e447324c..e22b14f6 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi @@ -87,6 +87,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/parallelstore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi index 5f63d1e0..7c053173 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi @@ -91,6 +91,7 @@ class ParallelstoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi index b61f049e..1347df21 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi @@ -84,6 +84,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/paymentsresellersubscription/v1/resources.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi index cb9e1d40..4a0cb5dd 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi @@ -25,17 +25,12 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponseHttpRequest - ): ... + ) -> ListProductsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponseHttpRequest, - previous_response: GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse, - ) -> ( - GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponseHttpRequest - | None - ): ... + previous_request: ListProductsResponseHttpRequest, + previous_response: ListProductsResponse, + ) -> ListProductsResponseHttpRequest | None: ... @typing.type_check_only class PromotionsResource(googleapiclient.discovery.Resource): @@ -43,17 +38,14 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest = ..., + body: FindEligiblePromotionsRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponseHttpRequest: ... + ) -> FindEligiblePromotionsResponseHttpRequest: ... def findEligible_next( self, - previous_request: GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponseHttpRequest, - previous_response: GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse, - ) -> ( - GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponseHttpRequest - | None - ): ... + previous_request: FindEligiblePromotionsResponseHttpRequest, + previous_response: FindEligiblePromotionsResponse, + ) -> FindEligiblePromotionsResponseHttpRequest | None: ... def list( self, *, @@ -62,79 +54,92 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponseHttpRequest: ... + ) -> ListPromotionsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponseHttpRequest, - previous_response: GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse, - ) -> ( - GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponseHttpRequest - | None - ): ... + previous_request: ListPromotionsResponseHttpRequest, + previous_response: ListPromotionsResponse, + ) -> ListPromotionsResponseHttpRequest | None: ... @typing.type_check_only class SubscriptionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LineItemsResource(googleapiclient.discovery.Resource): + def patch( + self, + *, + name: str, + body: SubscriptionLineItem = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> SubscriptionLineItemHttpRequest: ... + def cancel( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest = ..., + body: CancelSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponseHttpRequest: ... + ) -> CancelSubscriptionResponseHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudPaymentsResellerSubscriptionV1Subscription = ..., + body: Subscription = ..., subscriptionId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest: ... + ) -> SubscriptionHttpRequest: ... def entitle( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest = ..., + body: EntitleSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponseHttpRequest: ... + ) -> EntitleSubscriptionResponseHttpRequest: ... def extend( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest = ..., + body: ExtendSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponseHttpRequest: ... + ) -> ExtendSubscriptionResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest: ... + ) -> SubscriptionHttpRequest: ... def provision( self, *, parent: str, - body: GoogleCloudPaymentsResellerSubscriptionV1Subscription = ..., + body: Subscription = ..., + cycleOptions_initialCycleDuration_count: int = ..., + cycleOptions_initialCycleDuration_unit: typing_extensions.Literal[ + "UNIT_UNSPECIFIED", "MONTH", "DAY", "HOUR" + ] = ..., subscriptionId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest: ... + ) -> SubscriptionHttpRequest: ... def resume( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest = ..., + body: ResumeSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponseHttpRequest: ... + ) -> ResumeSubscriptionResponseHttpRequest: ... def suspend( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest = ..., + body: SuspendSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponseHttpRequest: ... + ) -> SuspendSubscriptionResponseHttpRequest: ... def undoCancel( self, *, name: str, - body: GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest = ..., + body: UndoCancelSubscriptionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponseHttpRequest: ... + ) -> UndoCancelSubscriptionResponseHttpRequest: ... + def lineItems(self) -> LineItemsResource: ... @typing.type_check_only class UserSessionsResource(googleapiclient.discovery.Resource): @@ -142,9 +147,9 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest = ..., + body: GenerateUserSessionRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponseHttpRequest: ... + ) -> GenerateUserSessionResponseHttpRequest: ... def products(self) -> ProductsResource: ... def promotions(self) -> PromotionsResource: ... @@ -166,111 +171,97 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): def partners(self) -> PartnersResource: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class CancelSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelSubscriptionResponse: ... + +@typing.type_check_only +class EntitleSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse: ... + ) -> EntitleSubscriptionResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class ExtendSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse: ... + ) -> ExtendSubscriptionResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class FindEligiblePromotionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse: ... + ) -> FindEligiblePromotionsResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class GenerateUserSessionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse: ... + ) -> GenerateUserSessionResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class ListProductsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse: ... + ) -> ListProductsResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class ListPromotionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse: ... + ) -> ListPromotionsResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class ResumeSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse: ... + ) -> ResumeSubscriptionResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class SubscriptionHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse: ... + ) -> Subscription: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest( - googleapiclient.http.HttpRequest -): +class SubscriptionLineItemHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1Subscription: ... + ) -> SubscriptionLineItem: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class SuspendSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse: ... + ) -> SuspendSubscriptionResponse: ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class UndoCancelSubscriptionResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse: ... + ) -> UndoCancelSubscriptionResponse: ... diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi index c63383a0..adbd21fe 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi @@ -5,16 +5,12 @@ import typing_extensions _list = list @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Amount( - typing_extensions.TypedDict, total=False -): +class Amount(typing_extensions.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest( - typing_extensions.TypedDict, total=False -): +class CancelSubscriptionRequest(typing_extensions.TypedDict, total=False): cancelImmediately: bool cancellationReason: typing_extensions.Literal[ "CANCELLATION_REASON_UNSPECIFIED", @@ -27,123 +23,97 @@ class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest( "CANCELLATION_REASON_USER_DELINQUENCY", "CANCELLATION_REASON_SYSTEM_ERROR", "CANCELLATION_REASON_SYSTEM_CANCEL", + "CANCELLATION_REASON_BILLING_SYSTEM_SWITCH", "CANCELLATION_REASON_OTHER", ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse( - typing_extensions.TypedDict, total=False -): - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription +class CancelSubscriptionResponse(typing_extensions.TypedDict, total=False): + subscription: Subscription @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent( - typing_extensions.TypedDict, total=False -): +class CreateSubscriptionIntent(typing_extensions.TypedDict, total=False): parent: str - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription + subscription: Subscription subscriptionId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Duration( - typing_extensions.TypedDict, total=False -): +class CycleOptions(typing_extensions.TypedDict, total=False): + initialCycleDuration: Duration + +@typing.type_check_only +class Duration(typing_extensions.TypedDict, total=False): count: int unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MONTH", "DAY", "HOUR"] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent( - typing_extensions.TypedDict, total=False -): +class EntitleSubscriptionIntent(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest( - typing_extensions.TypedDict, total=False -): +class EntitleSubscriptionRequest(typing_extensions.TypedDict, total=False): lineItemEntitlementDetails: _list[ - GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails + EntitleSubscriptionRequestLineItemEntitlementDetails ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails( +class EntitleSubscriptionRequestLineItemEntitlementDetails( typing_extensions.TypedDict, total=False ): lineItemIndex: int products: _list[str] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse( - typing_extensions.TypedDict, total=False -): - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription +class EntitleSubscriptionResponse(typing_extensions.TypedDict, total=False): + subscription: Subscription @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest( - typing_extensions.TypedDict, total=False -): - extension: GoogleCloudPaymentsResellerSubscriptionV1Extension +class ExtendSubscriptionRequest(typing_extensions.TypedDict, total=False): + extension: Extension requestId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse( - typing_extensions.TypedDict, total=False -): +class ExtendSubscriptionResponse(typing_extensions.TypedDict, total=False): cycleEndTime: str freeTrialEndTime: str renewalTime: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Extension( - typing_extensions.TypedDict, total=False -): - duration: GoogleCloudPaymentsResellerSubscriptionV1Duration +class Extension(typing_extensions.TypedDict, total=False): + duration: Duration partnerUserToken: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest( - typing_extensions.TypedDict, total=False -): +class FindEligiblePromotionsRequest(typing_extensions.TypedDict, total=False): filter: str pageSize: int pageToken: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse( - typing_extensions.TypedDict, total=False -): +class FindEligiblePromotionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str - promotions: _list[GoogleCloudPaymentsResellerSubscriptionV1Promotion] + promotions: _list[Promotion] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails( - typing_extensions.TypedDict, total=False -): +class FiniteBillingCycleDetails(typing_extensions.TypedDict, total=False): billingCycleCountLimit: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest( - typing_extensions.TypedDict, total=False -): - intentPayload: GoogleCloudPaymentsResellerSubscriptionV1IntentPayload +class GenerateUserSessionRequest(typing_extensions.TypedDict, total=False): + intentPayload: IntentPayload @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse( - typing_extensions.TypedDict, total=False -): - userSession: GoogleCloudPaymentsResellerSubscriptionV1UserSession +class GenerateUserSessionResponse(typing_extensions.TypedDict, total=False): + userSession: UserSession @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload( - typing_extensions.TypedDict, total=False -): +class GoogleHomePayload(typing_extensions.TypedDict, total=False): attachedToGoogleStructure: bool + googleStructureId: str partnerStructureId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload( - typing_extensions.TypedDict, total=False -): +class GoogleOnePayload(typing_extensions.TypedDict, total=False): campaigns: _list[str] offering: typing_extensions.Literal[ "OFFERING_UNSPECIFIED", @@ -162,83 +132,75 @@ class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload( storeId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1IntentPayload( - typing_extensions.TypedDict, total=False -): - createIntent: GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent - entitleIntent: GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent +class GoogleTypeLocalizedText(typing_extensions.TypedDict, total=False): + languageCode: str + text: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse( - typing_extensions.TypedDict, total=False -): +class IntentPayload(typing_extensions.TypedDict, total=False): + createIntent: CreateSubscriptionIntent + entitleIntent: EntitleSubscriptionIntent + +@typing.type_check_only +class ListProductsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str - products: _list[GoogleCloudPaymentsResellerSubscriptionV1Product] + products: _list[Product] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse( - typing_extensions.TypedDict, total=False -): +class ListPromotionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str - promotions: _list[GoogleCloudPaymentsResellerSubscriptionV1Promotion] + promotions: _list[Promotion] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Location( - typing_extensions.TypedDict, total=False -): +class Location(typing_extensions.TypedDict, total=False): postalCode: str regionCode: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Product( - typing_extensions.TypedDict, total=False -): +class Product(typing_extensions.TypedDict, total=False): bundleDetails: ProductBundleDetails - finiteBillingCycleDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails - ) + finiteBillingCycleDetails: FiniteBillingCycleDetails name: str - priceConfigs: _list[GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig] + priceConfigs: _list[ProductPriceConfig] productType: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_SUBSCRIPTION", "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION", ] regionCodes: _list[str] - subscriptionBillingCycleDuration: GoogleCloudPaymentsResellerSubscriptionV1Duration + subscriptionBillingCycleDuration: Duration titles: _list[GoogleTypeLocalizedText] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement( - typing_extensions.TypedDict, total=False -): +class ProductBundleDetails(typing_extensions.TypedDict, total=False): + bundleElements: _list[ProductBundleDetailsBundleElement] + entitlementMode: typing_extensions.Literal[ + "ENTITLEMENT_MODE_UNSPECIFIED", + "ENTITLEMENT_MODE_FULL", + "ENTITLEMENT_MODE_INCREMENTAL", + ] + +@typing.type_check_only +class ProductBundleDetailsBundleElement(typing_extensions.TypedDict, total=False): product: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload( - typing_extensions.TypedDict, total=False -): - googleHomePayload: GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload - googleOnePayload: GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload - youtubePayload: GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload +class ProductPayload(typing_extensions.TypedDict, total=False): + googleHomePayload: GoogleHomePayload + googleOnePayload: GoogleOnePayload + youtubePayload: YoutubePayload @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig( - typing_extensions.TypedDict, total=False -): - amount: GoogleCloudPaymentsResellerSubscriptionV1Amount +class ProductPriceConfig(typing_extensions.TypedDict, total=False): + amount: Amount regionCode: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Promotion( - typing_extensions.TypedDict, total=False -): +class Promotion(typing_extensions.TypedDict, total=False): applicableProducts: _list[str] endTime: str - freeTrialDuration: GoogleCloudPaymentsResellerSubscriptionV1Duration - introductoryPricingDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails - ) + freeTrialDuration: Duration + introductoryPricingDetails: PromotionIntroductoryPricingDetails name: str promotionType: typing_extensions.Literal[ "PROMOTION_TYPE_UNSPECIFIED", @@ -250,71 +212,57 @@ class GoogleCloudPaymentsResellerSubscriptionV1Promotion( titles: _list[GoogleTypeLocalizedText] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails( - typing_extensions.TypedDict, total=False -): +class PromotionIntroductoryPricingDetails(typing_extensions.TypedDict, total=False): introductoryPricingSpecs: _list[ - GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec + PromotionIntroductoryPricingDetailsIntroductoryPricingSpec ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec( +class PromotionIntroductoryPricingDetailsIntroductoryPricingSpec( typing_extensions.TypedDict, total=False ): - discountAmount: GoogleCloudPaymentsResellerSubscriptionV1Amount + discountAmount: Amount discountRatioMicros: str recurrenceCount: int regionCode: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest( - typing_extensions.TypedDict, total=False -): ... +class ResumeSubscriptionRequest(typing_extensions.TypedDict, total=False): + cycleOptions: CycleOptions @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse( - typing_extensions.TypedDict, total=False -): - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription +class ResumeSubscriptionResponse(typing_extensions.TypedDict, total=False): + subscription: Subscription @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod( - typing_extensions.TypedDict, total=False -): +class ServicePeriod(typing_extensions.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1Subscription( - typing_extensions.TypedDict, total=False -): - cancellationDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails - ) +class Subscription(typing_extensions.TypedDict, total=False): + cancellationDetails: SubscriptionCancellationDetails createTime: str cycleEndTime: str endUserEntitled: bool freeTrialEndTime: str - lineItems: _list[GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem] - migrationDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails - ) + lineItems: _list[SubscriptionLineItem] + migrationDetails: SubscriptionMigrationDetails name: str partnerUserToken: str processingState: typing_extensions.Literal[ "PROCESSING_STATE_UNSPECIFIED", "PROCESSING_STATE_CANCELLING", "PROCESSING_STATE_RECURRING", + "PROCESSING_STATE_RESUMING", ] products: _list[str] - promotionSpecs: _list[ - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec - ] + promotionSpecs: _list[SubscriptionPromotionSpec] promotions: _list[str] purchaseTime: str redirectUri: str renewalTime: str - serviceLocation: GoogleCloudPaymentsResellerSubscriptionV1Location + serviceLocation: Location state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "STATE_CREATED", @@ -325,14 +273,10 @@ class GoogleCloudPaymentsResellerSubscriptionV1Subscription( "STATE_SUSPENDED", ] updateTime: str - upgradeDowngradeDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails - ) + upgradeDowngradeDetails: SubscriptionUpgradeDowngradeDetails @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails( - typing_extensions.TypedDict, total=False -): +class SubscriptionCancellationDetails(typing_extensions.TypedDict, total=False): reason: typing_extensions.Literal[ "CANCELLATION_REASON_UNSPECIFIED", "CANCELLATION_REASON_FRAUD", @@ -344,27 +288,23 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails( "CANCELLATION_REASON_USER_DELINQUENCY", "CANCELLATION_REASON_SYSTEM_ERROR", "CANCELLATION_REASON_SYSTEM_CANCEL", + "CANCELLATION_REASON_BILLING_SYSTEM_SWITCH", "CANCELLATION_REASON_OTHER", ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem( - typing_extensions.TypedDict, total=False -): - amount: GoogleCloudPaymentsResellerSubscriptionV1Amount +class SubscriptionLineItem(typing_extensions.TypedDict, total=False): + amount: Amount bundleDetails: SubscriptionLineItemBundleDetails description: str - finiteBillingCycleDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails - ) + finiteBillingCycleDetails: FiniteBillingCycleDetails lineItemFreeTrialEndTime: str lineItemIndex: int - lineItemPromotionSpecs: _list[ - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec - ] - oneTimeRecurrenceDetails: GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails + lineItemPromotionSpecs: _list[SubscriptionPromotionSpec] + name: str + oneTimeRecurrenceDetails: SubscriptionLineItemOneTimeRecurrenceDetails product: str - productPayload: GoogleCloudPaymentsResellerSubscriptionV1ProductPayload + productPayload: ProductPayload recurrenceType: typing_extensions.Literal[ "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED", "LINE_ITEM_RECURRENCE_TYPE_PERIODIC", @@ -382,32 +322,30 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem( ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails( +class SubscriptionLineItemBundleDetails(typing_extensions.TypedDict, total=False): + bundleElementDetails: _list[SubscriptionLineItemBundleDetailsBundleElementDetails] + +@typing.type_check_only +class SubscriptionLineItemBundleDetailsBundleElementDetails( typing_extensions.TypedDict, total=False ): product: str userAccountLinkedTime: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails( +class SubscriptionLineItemOneTimeRecurrenceDetails( typing_extensions.TypedDict, total=False ): - servicePeriod: GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod + servicePeriod: ServicePeriod @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails( - typing_extensions.TypedDict, total=False -): +class SubscriptionMigrationDetails(typing_extensions.TypedDict, total=False): migratedSubscriptionId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec( - typing_extensions.TypedDict, total=False -): - freeTrialDuration: GoogleCloudPaymentsResellerSubscriptionV1Duration - introductoryPricingDetails: ( - GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails - ) +class SubscriptionPromotionSpec(typing_extensions.TypedDict, total=False): + freeTrialDuration: Duration + introductoryPricingDetails: PromotionIntroductoryPricingDetails promotion: str type: typing_extensions.Literal[ "PROMOTION_TYPE_UNSPECIFIED", @@ -416,9 +354,7 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec( ] @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails( - typing_extensions.TypedDict, total=False -): +class SubscriptionUpgradeDowngradeDetails(typing_extensions.TypedDict, total=False): billingCycleSpec: typing_extensions.Literal[ "BILLING_CYCLE_SPEC_UNSPECIFIED", "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION", @@ -428,38 +364,26 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetai previousSubscriptionId: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest( - typing_extensions.TypedDict, total=False -): ... +class SuspendSubscriptionRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse( - typing_extensions.TypedDict, total=False -): - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription +class SuspendSubscriptionResponse(typing_extensions.TypedDict, total=False): + subscription: Subscription @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest( - typing_extensions.TypedDict, total=False -): ... +class UndoCancelSubscriptionRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse( - typing_extensions.TypedDict, total=False -): - subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription +class UndoCancelSubscriptionResponse(typing_extensions.TypedDict, total=False): + subscription: Subscription @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1UserSession( - typing_extensions.TypedDict, total=False -): +class UserSession(typing_extensions.TypedDict, total=False): expireTime: str token: str @typing.type_check_only -class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload( - typing_extensions.TypedDict, total=False -): +class YoutubePayload(typing_extensions.TypedDict, total=False): accessEndTime: str partnerEligibilityIds: _list[str] partnerPlanType: typing_extensions.Literal[ @@ -468,25 +392,3 @@ class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload( "PARTNER_PLAN_TYPE_HARD_BUNDLE", "PARTNER_PLAN_TYPE_SOFT_BUNDLE", ] - -@typing.type_check_only -class GoogleTypeLocalizedText(typing_extensions.TypedDict, total=False): - languageCode: str - text: str - -@typing.type_check_only -class ProductBundleDetails(typing_extensions.TypedDict, total=False): - bundleElements: _list[ - GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement - ] - entitlementMode: typing_extensions.Literal[ - "ENTITLEMENT_MODE_UNSPECIFIED", - "ENTITLEMENT_MODE_FULL", - "ENTITLEMENT_MODE_INCREMENTAL", - ] - -@typing.type_check_only -class SubscriptionLineItemBundleDetails(typing_extensions.TypedDict, total=False): - bundleElementDetails: _list[ - GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails - ] diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index 6d21b61b..22be7127 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -284,6 +284,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): "CLOSED_TEMPORARILY", "CLOSED_PERMANENTLY", ] + consumerAlert: GoogleMapsPlacesV1PlaceConsumerAlert containingPlaces: _list[GoogleMapsPlacesV1PlaceContainingPlace] curbsidePickup: bool currentOpeningHours: GoogleMapsPlacesV1PlaceOpeningHours @@ -378,6 +379,27 @@ class GoogleMapsPlacesV1PlaceAttribution(typing_extensions.TypedDict, total=Fals provider: str providerUri: str +@typing.type_check_only +class GoogleMapsPlacesV1PlaceConsumerAlert(typing_extensions.TypedDict, total=False): + details: GoogleMapsPlacesV1PlaceConsumerAlertDetails + languageCode: str + overview: str + +@typing.type_check_only +class GoogleMapsPlacesV1PlaceConsumerAlertDetails( + typing_extensions.TypedDict, total=False +): + aboutLink: GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink + description: str + title: str + +@typing.type_check_only +class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink( + typing_extensions.TypedDict, total=False +): + title: str + uri: str + @typing.type_check_only class GoogleMapsPlacesV1PlaceContainingPlace(typing_extensions.TypedDict, total=False): id: str @@ -521,6 +543,7 @@ class GoogleMapsPlacesV1Review(typing_extensions.TypedDict, total=False): rating: float relativePublishTimeDescription: str text: GoogleTypeLocalizedText + visitDate: GoogleTypeDate @typing.type_check_only class GoogleMapsPlacesV1RouteModifiers(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi index 056e44bf..f8df2826 100644 --- a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi @@ -109,6 +109,12 @@ class EnvironmentDetails(typing_extensions.TypedDict, total=False): "POSSIBLE_RISK", ] +@typing.type_check_only +class PcAccountDetails(typing_extensions.TypedDict, total=False): + appLicensingVerdict: typing_extensions.Literal[ + "UNKNOWN", "LICENSED", "UNLICENSED", "UNEVALUATED" + ] + @typing.type_check_only class PcDeviceIntegrity(typing_extensions.TypedDict, total=False): deviceRecognitionVerdict: _list[ @@ -123,10 +129,16 @@ class PcRequestDetails(typing_extensions.TypedDict, total=False): requestPackageName: str requestTime: str +@typing.type_check_only +class PcTestingDetails(typing_extensions.TypedDict, total=False): + isTestingResponse: bool + @typing.type_check_only class PcTokenPayloadExternal(typing_extensions.TypedDict, total=False): + accountDetails: PcAccountDetails deviceIntegrity: PcDeviceIntegrity requestDetails: PcRequestDetails + testingDetails: PcTestingDetails @typing.type_check_only class RecentDeviceActivity(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi index 6dd58576..a5e1b5b3 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi @@ -53,6 +53,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -115,6 +116,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -212,6 +214,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -302,6 +305,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi index 1cb4f473..1aeac7f9 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi @@ -416,6 +416,7 @@ class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): 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/policysimulator/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi index f6a301b8..e8a5dbb4 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi @@ -53,6 +53,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -83,6 +84,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -131,6 +133,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -189,6 +192,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi index bf2e868c..afe4c397 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi @@ -214,6 +214,7 @@ class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): 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/policysimulator/v1beta/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi index 0dc1bddf..302755af 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi @@ -53,6 +53,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -129,6 +130,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -231,6 +233,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -335,6 +338,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi index dfa9f5af..5436be25 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi @@ -403,6 +403,7 @@ class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): 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/privateca/v1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi index 7f15715f..1926fa83 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi @@ -367,6 +367,7 @@ class CertificateAuthorityServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi index af4c3d82..e4c7020e 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi @@ -61,6 +61,7 @@ class CaOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class CaPool(typing_extensions.TypedDict, total=False): + encryptionSpec: EncryptionSpec issuancePolicy: IssuancePolicy labels: dict[str, typing.Any] name: str @@ -217,6 +218,10 @@ class Empty(typing_extensions.TypedDict, total=False): ... class EnableCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class EncryptionSpec(typing_extensions.TypedDict, total=False): + cloudKmsKey: str + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -336,6 +341,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): @@ -399,13 +405,6 @@ class PublishingOptions(typing_extensions.TypedDict, total=False): publishCaCert: bool publishCrl: bool -@typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): - deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] - @typing.type_check_only class RelativeDistinguishedName(typing_extensions.TypedDict, total=False): attributes: _list[AttributeTypeAndValue] diff --git a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi index 6808adc4..b91fbc46 100644 --- a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi @@ -92,6 +92,7 @@ class CertificateAuthorityServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi index fd062162..2e980ab9 100644 --- a/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi @@ -44,6 +44,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): @@ -68,13 +69,6 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int -@typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): - deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] - @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy diff --git a/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi b/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi index 1f661172..ec0fcd2b 100644 --- a/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi @@ -41,6 +41,7 @@ class PubsubLiteResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi b/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi index 530ae337..843054fb 100644 --- a/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi @@ -80,6 +80,7 @@ class ExportConfig(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 ListPartitionCursorsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi index 32a73e0f..adeb54e4 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi @@ -70,6 +70,7 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest( "PASSWORD_INCORRECT", ] hashedAccountId: str + phoneAuthenticationEvent: GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent reasons: _list[ typing_extensions.Literal[ "REASON_UNSPECIFIED", @@ -395,6 +396,13 @@ class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest( ): skipBillingCheck: bool +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent( + typing_extensions.TypedDict, total=False +): + eventTime: str + phoneNumber: str + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi index 239b9960..a2679ada 100644 --- a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi @@ -87,6 +87,7 @@ class RecommendationsAIResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -224,6 +225,7 @@ class RecommendationsAIResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi index 82952b38..058a1254 100644 --- a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi @@ -416,6 +416,7 @@ class GoogleCloudRecommendationengineV1beta1UserInfo( 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/redis/v1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1/resources.pyi index 7a64b9c0..cf33100a 100644 --- a/googleapiclient-stubs/_apis/redis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/resources.pyi @@ -217,6 +217,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index 1d6a0d84..d12c608f 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -71,7 +71,10 @@ class BackupCollection(typing_extensions.TypedDict, total=False): clusterUid: str createTime: str kmsKey: str + lastBackupTime: str name: str + totalBackupCount: str + totalBackupSizeBytes: str uid: str @typing.type_check_only @@ -80,6 +83,19 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): backupRetentionSettings: RetentionSettings pointInTimeRecoveryEnabled: bool +@typing.type_check_only +class BackupDRConfiguration(typing_extensions.TypedDict, total=False): + backupdrManaged: bool + +@typing.type_check_only +class BackupDRMetadata(typing_extensions.TypedDict, total=False): + backupConfiguration: BackupConfiguration + backupRun: BackupRun + backupdrConfiguration: BackupDRConfiguration + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + @typing.type_check_only class BackupFile(typing_extensions.TypedDict, total=False): createTime: str @@ -110,17 +126,21 @@ class Cluster(typing_extensions.TypedDict, total=False): "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" ] automatedBackupConfig: AutomatedBackupConfig + availableMaintenanceVersions: _list[str] backupCollection: str clusterEndpoints: _list[ClusterEndpoint] createTime: str crossClusterReplicationConfig: CrossClusterReplicationConfig deletionProtectionEnabled: bool discoveryEndpoints: _list[DiscoveryEndpoint] + effectiveMaintenanceVersion: str encryptionInfo: EncryptionInfo gcsSource: GcsBackupSource kmsKey: str + labels: dict[str, typing.Any] maintenancePolicy: ClusterMaintenancePolicy maintenanceSchedule: ClusterMaintenanceSchedule + maintenanceVersion: str managedBackupSource: ManagedBackupSource name: str nodeType: typing_extensions.Literal[ @@ -138,6 +158,8 @@ class Cluster(typing_extensions.TypedDict, total=False): pscServiceAttachments: _list[PscServiceAttachment] redisConfigs: dict[str, typing.Any] replicaCount: int + satisfiesPzi: bool + satisfiesPzs: bool shardCount: int simulateMaintenanceEvent: bool sizeGb: int @@ -231,7 +253,9 @@ class CustomMetadataData(typing_extensions.TypedDict, total=False): @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): + backupdrMetadata: BackupDRMetadata configBasedSignalData: ConfigBasedSignalData + databaseResourceSignalData: DatabaseResourceSignalData feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -240,12 +264,15 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", "CONFIG_BASED_SIGNAL_DATA", + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA", ] observabilityMetricData: ObservabilityMetricData recommendationSignalData: DatabaseResourceRecommendationSignalData resourceHealthSignalData: DatabaseResourceHealthSignalData resourceId: DatabaseResourceId resourceMetadata: DatabaseResourceMetadata + skipIngestion: bool @typing.type_check_only class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False): @@ -377,6 +404,13 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -400,6 +434,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): availabilityConfiguration: AvailabilityConfiguration backupConfiguration: BackupConfiguration backupRun: BackupRun + backupdrConfiguration: BackupDRConfiguration creationTime: str currentState: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -411,7 +446,10 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] customMetadata: CustomMetadataData edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS" + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_STANDARD", ] entitlements: _list[Entitlement] expectedState: typing_extensions.Literal[ @@ -439,6 +477,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] location: str machineConfiguration: MachineConfiguration + maintenanceInfo: ResourceMaintenanceInfo primaryResourceId: DatabaseResourceId primaryResourceLocation: str product: Product @@ -456,6 +495,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): tagsSet: Tags updationTime: str userLabelSet: UserLabels + zone: str @typing.type_check_only class DatabaseResourceRecommendationSignalData( @@ -568,8 +608,39 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + ] + +@typing.type_check_only +class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + signalBoolValue: bool + signalState: typing_extensions.Literal[ + "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" + ] + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", ] +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): address: str @@ -775,6 +846,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): @@ -913,6 +985,7 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_EXADATA_ORACLE", "ENGINE_ADB_SERVERLESS_ORACLE", ] @@ -931,6 +1004,7 @@ class Product(typing_extensions.TypedDict, total=False): "PRODUCT_TYPE_FIRESTORE", "PRODUCT_TYPE_COMPUTE_ENGINE", "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_BIGQUERY", "PRODUCT_TYPE_OTHER", ] version: str @@ -1030,6 +1104,42 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): ] scheduleTime: str +@typing.type_check_only +class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): + endDate: Date + startDate: Date + time: TimeOfDay + +@typing.type_check_only +class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): + denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] + maintenanceSchedule: ResourceMaintenanceSchedule + maintenanceVersion: str + +@typing.type_check_only +class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "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" + ] + @typing.type_check_only class RetentionSettings(typing_extensions.TypedDict, total=False): durationBasedRetention: str diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi index 7a64b9c0..cf33100a 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi @@ -217,6 +217,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index 131bf943..11ad43d2 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -71,7 +71,10 @@ class BackupCollection(typing_extensions.TypedDict, total=False): clusterUid: str createTime: str kmsKey: str + lastBackupTime: str name: str + totalBackupCount: str + totalBackupSizeBytes: str uid: str @typing.type_check_only @@ -80,6 +83,19 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): backupRetentionSettings: RetentionSettings pointInTimeRecoveryEnabled: bool +@typing.type_check_only +class BackupDRConfiguration(typing_extensions.TypedDict, total=False): + backupdrManaged: bool + +@typing.type_check_only +class BackupDRMetadata(typing_extensions.TypedDict, total=False): + backupConfiguration: BackupConfiguration + backupRun: BackupRun + backupdrConfiguration: BackupDRConfiguration + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + @typing.type_check_only class BackupFile(typing_extensions.TypedDict, total=False): createTime: str @@ -110,17 +126,21 @@ class Cluster(typing_extensions.TypedDict, total=False): "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" ] automatedBackupConfig: AutomatedBackupConfig + availableMaintenanceVersions: _list[str] backupCollection: str clusterEndpoints: _list[ClusterEndpoint] createTime: str crossClusterReplicationConfig: CrossClusterReplicationConfig deletionProtectionEnabled: bool discoveryEndpoints: _list[DiscoveryEndpoint] + effectiveMaintenanceVersion: str encryptionInfo: EncryptionInfo gcsSource: GcsBackupSource kmsKey: str + labels: dict[str, typing.Any] maintenancePolicy: ClusterMaintenancePolicy maintenanceSchedule: ClusterMaintenanceSchedule + maintenanceVersion: str managedBackupSource: ManagedBackupSource name: str nodeType: typing_extensions.Literal[ @@ -138,6 +158,8 @@ class Cluster(typing_extensions.TypedDict, total=False): pscServiceAttachments: _list[PscServiceAttachment] redisConfigs: dict[str, typing.Any] replicaCount: int + satisfiesPzi: bool + satisfiesPzs: bool shardCount: int simulateMaintenanceEvent: bool sizeGb: int @@ -231,7 +253,9 @@ class CustomMetadataData(typing_extensions.TypedDict, total=False): @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): + backupdrMetadata: BackupDRMetadata configBasedSignalData: ConfigBasedSignalData + databaseResourceSignalData: DatabaseResourceSignalData feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -240,12 +264,15 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", "CONFIG_BASED_SIGNAL_DATA", + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA", ] observabilityMetricData: ObservabilityMetricData recommendationSignalData: DatabaseResourceRecommendationSignalData resourceHealthSignalData: DatabaseResourceHealthSignalData resourceId: DatabaseResourceId resourceMetadata: DatabaseResourceMetadata + skipIngestion: bool @typing.type_check_only class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False): @@ -377,6 +404,13 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -400,6 +434,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): availabilityConfiguration: AvailabilityConfiguration backupConfiguration: BackupConfiguration backupRun: BackupRun + backupdrConfiguration: BackupDRConfiguration creationTime: str currentState: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -411,7 +446,10 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] customMetadata: CustomMetadataData edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS" + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_STANDARD", ] entitlements: _list[Entitlement] expectedState: typing_extensions.Literal[ @@ -439,6 +477,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] location: str machineConfiguration: MachineConfiguration + maintenanceInfo: ResourceMaintenanceInfo primaryResourceId: DatabaseResourceId primaryResourceLocation: str product: Product @@ -456,6 +495,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): tagsSet: Tags updationTime: str userLabelSet: UserLabels + zone: str @typing.type_check_only class DatabaseResourceRecommendationSignalData( @@ -568,8 +608,39 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", + "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", + "SIGNAL_TYPE_REPLICATION_LAG", + "SIGNAL_TYPE_OUTDATED_VERSION", + "SIGNAL_TYPE_OUTDATED_CLIENT", + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + ] + +@typing.type_check_only +class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + signalBoolValue: bool + signalState: typing_extensions.Literal[ + "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" + ] + signalType: typing_extensions.Literal[ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", ] +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): address: str @@ -775,6 +846,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): @@ -913,6 +985,7 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_EXADATA_ORACLE", "ENGINE_ADB_SERVERLESS_ORACLE", ] @@ -931,6 +1004,7 @@ class Product(typing_extensions.TypedDict, total=False): "PRODUCT_TYPE_FIRESTORE", "PRODUCT_TYPE_COMPUTE_ENGINE", "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_BIGQUERY", "PRODUCT_TYPE_OTHER", ] version: str @@ -1030,6 +1104,42 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): ] scheduleTime: str +@typing.type_check_only +class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): + endDate: Date + startDate: Date + time: TimeOfDay + +@typing.type_check_only +class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): + denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] + maintenanceSchedule: ResourceMaintenanceSchedule + maintenanceVersion: str + +@typing.type_check_only +class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "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" + ] + @typing.type_check_only class RetentionSettings(typing_extensions.TypedDict, total=False): durationBasedRetention: str diff --git a/googleapiclient-stubs/_apis/retail/v2/resources.pyi b/googleapiclient-stubs/_apis/retail/v2/resources.pyi index b6321532..c2ded701 100644 --- a/googleapiclient-stubs/_apis/retail/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/resources.pyi @@ -282,6 +282,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -292,6 +293,13 @@ class CloudRetailResource(googleapiclient.discovery.Resource): @typing.type_check_only class PlacementsResource(googleapiclient.discovery.Resource): + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2ConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRetailV2ConversationalSearchResponseHttpRequest: ... def predict( self, *, @@ -321,6 +329,13 @@ class CloudRetailResource(googleapiclient.discovery.Resource): body: GoogleCloudRetailV2AddControlRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2ServingConfigHttpRequest: ... + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2ConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRetailV2ConversationalSearchResponseHttpRequest: ... def create( self, *, @@ -552,6 +567,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -575,6 +591,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -670,6 +687,16 @@ class GoogleCloudRetailV2ConversationalSearchCustomizationConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudRetailV2ConversationalSearchCustomizationConfig: ... +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2ConversationalSearchResponse: ... + @typing.type_check_only class GoogleCloudRetailV2GenerativeQuestionConfigHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi index 713bfd81..48b28572 100644 --- a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi @@ -329,6 +329,105 @@ class GoogleCloudRetailV2ConversationalSearchCustomizationConfig( intentClassificationConfig: GoogleCloudRetailV2IntentClassificationConfig retailerDisplayName: str +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchRequest( + typing_extensions.TypedDict, total=False +): + branch: str + conversationId: str + conversationalFilteringSpec: ( + GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec + ) + pageCategories: _list[str] + query: str + safetySettings: _list[GoogleCloudRetailV2SafetySetting] + searchParams: GoogleCloudRetailV2ConversationalSearchRequestSearchParams + userInfo: GoogleCloudRetailV2UserInfo + userLabels: dict[str, typing.Any] + visitorId: str + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec( + typing_extensions.TypedDict, total=False +): + conversationalFilteringMode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" + ] + enableConversationalFiltering: bool + userAnswer: GoogleCloudRetailV2ConversationalSearchRequestUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchRequestSearchParams( + typing_extensions.TypedDict, total=False +): + boostSpec: GoogleCloudRetailV2SearchRequestBoostSpec + canonicalFilter: str + filter: str + sortBy: str + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchRequestUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: ( + GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer + ) + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponse( + typing_extensions.TypedDict, total=False +): + conversationId: str + conversationalFilteringResult: ( + GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult + ) + conversationalTextResponse: str + followupQuestion: GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion + refinedSearch: _list[GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + userQueryTypes: _list[str] + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResultAdditionalFilter + followupQuestion: GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion( + typing_extensions.TypedDict, total=False +): + followupQuestion: str + suggestedAnswers: _list[ + GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestionSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestionSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch( + typing_extensions.TypedDict, total=False +): + query: str + @typing.type_check_only class GoogleCloudRetailV2CreateModelMetadata(typing_extensions.TypedDict, total=False): model: str @@ -654,6 +753,15 @@ class GoogleCloudRetailV2OutputResult(typing_extensions.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2BigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2GcsOutputResult] +@typing.type_check_only +class GoogleCloudRetailV2PanelInfo(typing_extensions.TypedDict, total=False): + attributionToken: str + displayName: str + panelId: str + panelPosition: int + productDetails: _list[GoogleCloudRetailV2ProductDetail] + totalPanels: int + @typing.type_check_only class GoogleCloudRetailV2PauseModelRequest( typing_extensions.TypedDict, total=False @@ -1004,6 +1112,28 @@ class GoogleCloudRetailV2RuleTwowaySynonymsAction( ): synonyms: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2SafetySetting(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", + "HARM_CATEGORY_CIVIC_INTEGRITY", + ] + method: typing_extensions.Literal[ + "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" + ] + 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 GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False): boostSpec: GoogleCloudRetailV2SearchRequestBoostSpec @@ -1322,6 +1452,7 @@ class GoogleCloudRetailV2UserEvent(typing_extensions.TypedDict, total=False): orderBy: str pageCategories: _list[str] pageViewId: str + panels: _list[GoogleCloudRetailV2PanelInfo] productDetails: _list[GoogleCloudRetailV2ProductDetail] purchaseTransaction: GoogleCloudRetailV2PurchaseTransaction referrerUri: str @@ -1957,6 +2088,7 @@ class GoogleCloudRetailV2betaUserEventImportSummary( 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/retail/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi index 0d281002..6c2f59f1 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi @@ -355,6 +355,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -660,6 +661,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -683,6 +685,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi index 9f27c538..9d815b1f 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi @@ -625,7 +625,6 @@ class GoogleCloudRetailV2alphaConditionTimeRange( class GoogleCloudRetailV2alphaControl(typing_extensions.TypedDict, total=False): associatedServingConfigIds: _list[str] displayName: str - facetSpec: GoogleCloudRetailV2alphaSearchRequestFacetSpec name: str rule: GoogleCloudRetailV2alphaRule searchSolutionUseCase: _list[ @@ -662,6 +661,7 @@ class GoogleCloudRetailV2alphaConversationalSearchRequest( ) pageCategories: _list[str] query: str + safetySettings: _list[GoogleCloudRetailV2alphaSafetySetting] searchParams: GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams userInfo: GoogleCloudRetailV2alphaUserInfo userLabels: dict[str, typing.Any] @@ -672,7 +672,7 @@ class GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFiltering typing_extensions.TypedDict, total=False ): conversationalFilteringMode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "CONVERSATIONAL_FILTER_ONLY" + "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" ] enableConversationalFiltering: bool userAnswer: GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer @@ -707,9 +707,15 @@ class GoogleCloudRetailV2alphaConversationalSearchResponse( ): conversationId: str conversationalFilteringResult: GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult + conversationalTextResponse: str + followupQuestion: ( + GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion + ) refinedSearch: _list[ GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + userQueryTypes: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult( @@ -1287,6 +1293,15 @@ class GoogleCloudRetailV2alphaOutputResult(typing_extensions.TypedDict, total=Fa bigqueryResult: _list[GoogleCloudRetailV2alphaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2alphaGcsOutputResult] +@typing.type_check_only +class GoogleCloudRetailV2alphaPanelInfo(typing_extensions.TypedDict, total=False): + attributionToken: str + displayName: str + panelId: str + panelPosition: int + productDetails: _list[GoogleCloudRetailV2alphaProductDetail] + totalPanels: int + @typing.type_check_only class GoogleCloudRetailV2alphaPauseModelRequest( typing_extensions.TypedDict, total=False @@ -1672,6 +1687,28 @@ class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction( ): synonyms: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2alphaSafetySetting(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", + "HARM_CATEGORY_CIVIC_INTEGRITY", + ] + method: typing_extensions.Literal[ + "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" + ] + 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 GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=False): boostSpec: GoogleCloudRetailV2alphaSearchRequestBoostSpec @@ -2009,6 +2046,7 @@ class GoogleCloudRetailV2alphaUserEvent(typing_extensions.TypedDict, total=False orderBy: str pageCategories: _list[str] pageViewId: str + panels: _list[GoogleCloudRetailV2alphaPanelInfo] productDetails: _list[GoogleCloudRetailV2alphaProductDetail] purchaseTransaction: GoogleCloudRetailV2alphaPurchaseTransaction referrerUri: str @@ -2306,6 +2344,7 @@ class GoogleCloudRetailV2betaUserEventImportSummary( 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/retail/v2beta/resources.pyi b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi index 1d2922ee..5e8929cd 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi @@ -301,6 +301,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -311,6 +312,15 @@ class CloudRetailResource(googleapiclient.discovery.Resource): @typing.type_check_only class PlacementsResource(googleapiclient.discovery.Resource): + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2betaConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudRetailV2betaConversationalSearchResponseHttpRequest + ): ... def predict( self, *, @@ -340,6 +350,15 @@ class CloudRetailResource(googleapiclient.discovery.Resource): body: GoogleCloudRetailV2betaAddControlRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2betaServingConfigHttpRequest: ... + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2betaConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudRetailV2betaConversationalSearchResponseHttpRequest + ): ... def create( self, *, @@ -585,6 +604,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -608,6 +628,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -736,6 +757,16 @@ class GoogleCloudRetailV2betaConversationalSearchCustomizationConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudRetailV2betaConversationalSearchCustomizationConfig: ... +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2betaConversationalSearchResponse: ... + @typing.type_check_only class GoogleCloudRetailV2betaGenerativeQuestionConfigHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi index 51867d9b..d7323e67 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi @@ -922,7 +922,6 @@ class GoogleCloudRetailV2betaConditionTimeRange( class GoogleCloudRetailV2betaControl(typing_extensions.TypedDict, total=False): associatedServingConfigIds: _list[str] displayName: str - facetSpec: GoogleCloudRetailV2betaSearchRequestFacetSpec name: str rule: GoogleCloudRetailV2betaRule searchSolutionUseCase: _list[ @@ -948,6 +947,111 @@ class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig( intentClassificationConfig: GoogleCloudRetailV2betaIntentClassificationConfig retailerDisplayName: str +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchRequest( + typing_extensions.TypedDict, total=False +): + branch: str + conversationId: str + conversationalFilteringSpec: ( + GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec + ) + pageCategories: _list[str] + query: str + safetySettings: _list[GoogleCloudRetailV2betaSafetySetting] + searchParams: GoogleCloudRetailV2betaConversationalSearchRequestSearchParams + userInfo: GoogleCloudRetailV2betaUserInfo + userLabels: dict[str, typing.Any] + visitorId: str + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec( + typing_extensions.TypedDict, total=False +): + conversationalFilteringMode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" + ] + enableConversationalFiltering: bool + userAnswer: GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchRequestSearchParams( + typing_extensions.TypedDict, total=False +): + boostSpec: GoogleCloudRetailV2betaSearchRequestBoostSpec + canonicalFilter: str + filter: str + sortBy: str + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: ( + GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer + ) + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponse( + typing_extensions.TypedDict, total=False +): + conversationId: str + conversationalFilteringResult: ( + GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult + ) + conversationalTextResponse: str + followupQuestion: ( + GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion + ) + refinedSearch: _list[ + GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch + ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + userQueryTypes: _list[str] + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter + followupQuestion: ( + GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion + ) + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion( + typing_extensions.TypedDict, total=False +): + followupQuestion: str + suggestedAnswers: _list[ + GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch( + typing_extensions.TypedDict, total=False +): + query: str + @typing.type_check_only class GoogleCloudRetailV2betaCreateModelMetadata( typing_extensions.TypedDict, total=False @@ -1344,6 +1448,15 @@ class GoogleCloudRetailV2betaOutputResult(typing_extensions.TypedDict, total=Fal bigqueryResult: _list[GoogleCloudRetailV2betaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2betaGcsOutputResult] +@typing.type_check_only +class GoogleCloudRetailV2betaPanelInfo(typing_extensions.TypedDict, total=False): + attributionToken: str + displayName: str + panelId: str + panelPosition: int + productDetails: _list[GoogleCloudRetailV2betaProductDetail] + totalPanels: int + @typing.type_check_only class GoogleCloudRetailV2betaPauseModelRequest( typing_extensions.TypedDict, total=False @@ -1714,6 +1827,28 @@ class GoogleCloudRetailV2betaRuleTwowaySynonymsAction( ): synonyms: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2betaSafetySetting(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", + "HARM_CATEGORY_CIVIC_INTEGRITY", + ] + method: typing_extensions.Literal[ + "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" + ] + 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 GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=False): boostSpec: GoogleCloudRetailV2betaSearchRequestBoostSpec @@ -2040,6 +2175,7 @@ class GoogleCloudRetailV2betaUserEvent(typing_extensions.TypedDict, total=False) orderBy: str pageCategories: _list[str] pageViewId: str + panels: _list[GoogleCloudRetailV2betaPanelInfo] productDetails: _list[GoogleCloudRetailV2betaProductDetail] purchaseTransaction: GoogleCloudRetailV2betaPurchaseTransaction referrerUri: str @@ -2081,6 +2217,7 @@ class GoogleCloudRetailV2betaUserInfo(typing_extensions.TypedDict, total=False): 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/run/v1/resources.pyi b/googleapiclient-stubs/_apis/run/v1/resources.pyi index c7a9b1e9..6da482a3 100644 --- a/googleapiclient-stubs/_apis/run/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1/resources.pyi @@ -428,6 +428,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index a42ac1ac..c8bc5cd0 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -646,6 +646,7 @@ class GoogleDevtoolsCloudbuildV1Warning(typing_extensions.TypedDict, total=False 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/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index b873589e..6baa32ab 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -176,6 +176,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 073ddddc..b853620b 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -579,8 +579,20 @@ class GoogleCloudRunV2StorageSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRunV2SubmitBuildRequest(typing_extensions.TypedDict, total=False): buildpackBuild: GoogleCloudRunV2BuildpacksBuild + client: str dockerBuild: GoogleCloudRunV2DockerBuild imageUri: str + machineType: str + releaseTrack: typing_extensions.Literal[ + "LAUNCH_STAGE_UNSPECIFIED", + "UNIMPLEMENTED", + "PRELAUNCH", + "EARLY_ACCESS", + "ALPHA", + "BETA", + "GA", + "DEPRECATED", + ] serviceAccount: str storageSource: GoogleCloudRunV2StorageSource tags: _list[str] @@ -701,6 +713,7 @@ class GoogleCloudRunV2Volume(typing_extensions.TypedDict, total=False): class GoogleCloudRunV2VolumeMount(typing_extensions.TypedDict, total=False): mountPath: str name: str + subPath: str @typing.type_check_only class GoogleCloudRunV2VpcAccess(typing_extensions.TypedDict, total=False): @@ -762,6 +775,7 @@ class GoogleCloudRunV2WorkerPoolRevisionTemplate( "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" ] encryptionKeyShutdownDuration: str + gpuZonalRedundancyDisabled: bool labels: dict[str, typing.Any] nodeSelector: GoogleCloudRunV2NodeSelector revision: str @@ -1225,6 +1239,7 @@ class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=F 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/saasservicemgmt/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi index 93553ddd..dff1ea5d 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi @@ -67,6 +67,57 @@ 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( @@ -436,6 +487,7 @@ 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: ... @@ -492,6 +544,14 @@ 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( @@ -556,6 +616,14 @@ 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 3dc3157f..936278b8 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -55,6 +55,12 @@ 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 @@ -130,6 +136,35 @@ 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] @@ -216,6 +251,12 @@ 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] diff --git a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi index f4d8ca26..a920f1d0 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi @@ -95,6 +95,7 @@ class GoogleAdsSearchads360V0Common__AssetUsage( "AD_IMAGE", "LEAD_FORM", "BUSINESS_LOGO", + "DESCRIPTION_PREFIX", ] @typing.type_check_only @@ -810,6 +811,20 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "ACCESS_DENIED_FOR_ACCOUNT_TYPE", "METRIC_ACCESS_DENIED", ] + conversionCustomVariableError: typing_extensions.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "DUPLICATE_NAME", + "DUPLICATE_TAG", + "RESERVED_TAG", + "NOT_FOUND", + "NOT_AVAILABLE", + "INCOMPATIBLE_TYPE", + "INVALID_METRIC", + "EXCEEDS_CARDINALITY_LIMIT", + "INVALID_DIMENSION", + "INCOMPATIBLE_WITH_SELECTED_RESOURCE", + ] customColumnError: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", diff --git a/googleapiclient-stubs/_apis/securesourcemanager/__init__.pyi b/googleapiclient-stubs/_apis/securesourcemanager/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/securesourcemanager/v1/__init__.pyi b/googleapiclient-stubs/_apis/securesourcemanager/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/securesourcemanager/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi new file mode 100644 index 00000000..711d253d --- /dev/null +++ b/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi @@ -0,0 +1,728 @@ +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 SecureSourceManagerResource(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 InstancesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Instance = ..., + instanceId: 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 + ) -> InstanceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInstancesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInstancesResponseHttpRequest, + previous_response: ListInstancesResponse, + ) -> ListInstancesResponseHttpRequest | None: ... + 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 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 = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + @typing.type_check_only + class RepositoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BranchRulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: BranchRule = ..., + branchRuleId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + allowMissing: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BranchRuleHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBranchRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBranchRulesResponseHttpRequest, + previous_response: ListBranchRulesResponse, + ) -> ListBranchRulesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BranchRule = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class HooksResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Hook = ..., + hookId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> HookHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListHooksResponseHttpRequest: ... + def list_next( + self, + previous_request: ListHooksResponseHttpRequest, + previous_response: ListHooksResponse, + ) -> ListHooksResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Hook = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class IssuesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class IssueCommentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: IssueComment = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> IssueCommentHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListIssueCommentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListIssueCommentsResponseHttpRequest, + previous_response: ListIssueCommentsResponse, + ) -> ListIssueCommentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: IssueComment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def close( # type: ignore[override] + self, + *, + name: str, + body: CloseIssueRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, *, parent: str, body: Issue = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> IssueHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListIssuesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListIssuesResponseHttpRequest, + previous_response: ListIssuesResponse, + ) -> ListIssuesResponseHttpRequest | None: ... + def open( + self, + *, + name: str, + body: OpenIssueRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patch( + self, + *, + name: str, + body: Issue = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def issueComments(self) -> IssueCommentsResource: ... + + @typing.type_check_only + class PullRequestsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PullRequestCommentsResource( + googleapiclient.discovery.Resource + ): + def batchCreate( + self, + *, + parent: str, + body: BatchCreatePullRequestCommentsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: PullRequestComment = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PullRequestCommentHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPullRequestCommentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPullRequestCommentsResponseHttpRequest, + previous_response: ListPullRequestCommentsResponse, + ) -> ListPullRequestCommentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: PullRequestComment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def resolve( + self, + *, + parent: str, + body: ResolvePullRequestCommentsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def unresolve( + self, + *, + parent: str, + body: UnresolvePullRequestCommentsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def close( # type: ignore[override] + self, + *, + name: str, + body: ClosePullRequestRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: PullRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PullRequestHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPullRequestsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPullRequestsResponseHttpRequest, + previous_response: ListPullRequestsResponse, + ) -> ListPullRequestsResponseHttpRequest | None: ... + def listFileDiffs( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPullRequestFileDiffsResponseHttpRequest: ... + def listFileDiffs_next( + self, + previous_request: ListPullRequestFileDiffsResponseHttpRequest, + previous_response: ListPullRequestFileDiffsResponse, + ) -> ListPullRequestFileDiffsResponseHttpRequest | None: ... + def merge( + self, + *, + name: str, + body: MergePullRequestRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def open( + self, + *, + name: str, + body: OpenPullRequestRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patch( + self, + *, + name: str, + body: PullRequest = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def pullRequestComments(self) -> PullRequestCommentsResource: ... + + def create( + self, + *, + parent: str, + body: Repository = ..., + repositoryId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, allowMissing: bool = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def fetchBlob( + self, *, repository: str, sha: str = ..., **kwargs: typing.Any + ) -> FetchBlobResponseHttpRequest: ... + def fetchTree( + self, + *, + repository: str, + pageSize: int = ..., + pageToken: str = ..., + recursive: bool = ..., + ref: str = ..., + **kwargs: typing.Any, + ) -> FetchTreeResponseHttpRequest: ... + def fetchTree_next( + self, + previous_request: FetchTreeResponseHttpRequest, + previous_response: FetchTreeResponse, + ) -> FetchTreeResponseHttpRequest | None: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RepositoryHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + instance: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRepositoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRepositoriesResponseHttpRequest, + previous_response: ListRepositoriesResponse, + ) -> ListRepositoriesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Repository = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def branchRules(self) -> BranchRulesResource: ... + def hooks(self) -> HooksResource: ... + def issues(self) -> IssuesResource: ... + def pullRequests(self) -> PullRequestsResource: ... + + 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 instances(self) -> InstancesResource: ... + def operations(self) -> OperationsResource: ... + def repositories(self) -> RepositoriesResource: ... + + 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 BranchRuleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BranchRule: ... + +@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 FetchBlobResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchBlobResponse: ... + +@typing.type_check_only +class FetchTreeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchTreeResponse: ... + +@typing.type_check_only +class HookHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Hook: ... + +@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 IssueHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Issue: ... + +@typing.type_check_only +class IssueCommentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> IssueComment: ... + +@typing.type_check_only +class ListBranchRulesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBranchRulesResponse: ... + +@typing.type_check_only +class ListHooksResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListHooksResponse: ... + +@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 ListIssueCommentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListIssueCommentsResponse: ... + +@typing.type_check_only +class ListIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListIssuesResponse: ... + +@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 ListPullRequestCommentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPullRequestCommentsResponse: ... + +@typing.type_check_only +class ListPullRequestFileDiffsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPullRequestFileDiffsResponse: ... + +@typing.type_check_only +class ListPullRequestsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPullRequestsResponse: ... + +@typing.type_check_only +class ListRepositoriesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRepositoriesResponse: ... + +@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 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 PullRequestHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PullRequest: ... + +@typing.type_check_only +class PullRequestCommentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PullRequestComment: ... + +@typing.type_check_only +class RepositoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Repository: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi new file mode 100644 index 00000000..1aee9c58 --- /dev/null +++ b/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi @@ -0,0 +1,376 @@ +import typing + +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 BatchCreatePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): + requests: _list[CreatePullRequestCommentRequest] + +@typing.type_check_only +class Binding(typing_extensions.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + +@typing.type_check_only +class Branch(typing_extensions.TypedDict, total=False): + ref: str + sha: str + +@typing.type_check_only +class BranchRule(typing_extensions.TypedDict, total=False): + allowStaleReviews: bool + annotations: dict[str, typing.Any] + createTime: str + disabled: bool + etag: str + includePattern: str + minimumApprovalsCount: int + minimumReviewsCount: int + name: str + requireCommentsResolved: bool + requireLinearHistory: bool + requirePullRequest: bool + requiredStatusChecks: _list[Check] + uid: str + updateTime: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Check(typing_extensions.TypedDict, total=False): + context: str + +@typing.type_check_only +class CloseIssueRequest(typing_extensions.TypedDict, total=False): + etag: str + +@typing.type_check_only +class ClosePullRequestRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Code(typing_extensions.TypedDict, total=False): + body: str + effectiveCommitSha: str + effectiveRootComment: str + position: Position + reply: str + resolved: bool + +@typing.type_check_only +class Comment(typing_extensions.TypedDict, total=False): + body: str + +@typing.type_check_only +class CreatePullRequestCommentRequest(typing_extensions.TypedDict, total=False): + parent: str + pullRequestComment: PullRequestComment + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Expr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class FetchBlobResponse(typing_extensions.TypedDict, total=False): + content: str + sha: str + +@typing.type_check_only +class FetchTreeResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + treeEntries: _list[TreeEntry] + +@typing.type_check_only +class FileDiff(typing_extensions.TypedDict, total=False): + action: typing_extensions.Literal[ + "ACTION_UNSPECIFIED", "ADDED", "MODIFIED", "DELETED" + ] + name: str + patch: str + sha: str + +@typing.type_check_only +class Hook(typing_extensions.TypedDict, total=False): + createTime: str + disabled: bool + events: _list[typing_extensions.Literal["UNSPECIFIED", "PUSH", "PULL_REQUEST"]] + name: str + pushOption: PushOption + sensitiveQueryString: str + targetUri: str + uid: str + updateTime: str + +@typing.type_check_only +class HostConfig(typing_extensions.TypedDict, total=False): + api: str + gitHttp: str + gitSsh: str + html: str + +@typing.type_check_only +class InitialConfig(typing_extensions.TypedDict, total=False): + defaultBranch: str + gitignores: _list[str] + license: str + readme: str + +@typing.type_check_only +class Instance(typing_extensions.TypedDict, total=False): + createTime: str + hostConfig: HostConfig + kmsKey: str + labels: dict[str, typing.Any] + name: str + privateConfig: PrivateConfig + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "PAUSED", "UNKNOWN" + ] + stateNote: typing_extensions.Literal[ + "STATE_NOTE_UNSPECIFIED", "PAUSED_CMEK_UNAVAILABLE", "INSTANCE_RESUMING" + ] + updateTime: str + workforceIdentityFederationConfig: WorkforceIdentityFederationConfig + +@typing.type_check_only +class Issue(typing_extensions.TypedDict, total=False): + body: str + closeTime: str + createTime: str + etag: str + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] + title: str + updateTime: str + +@typing.type_check_only +class IssueComment(typing_extensions.TypedDict, total=False): + body: str + createTime: str + name: str + updateTime: str + +@typing.type_check_only +class ListBranchRulesResponse(typing_extensions.TypedDict, total=False): + branchRules: _list[BranchRule] + nextPageToken: str + +@typing.type_check_only +class ListHooksResponse(typing_extensions.TypedDict, total=False): + hooks: _list[Hook] + nextPageToken: str + +@typing.type_check_only +class ListInstancesResponse(typing_extensions.TypedDict, total=False): + instances: _list[Instance] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListIssueCommentsResponse(typing_extensions.TypedDict, total=False): + issueComments: _list[IssueComment] + nextPageToken: str + +@typing.type_check_only +class ListIssuesResponse(typing_extensions.TypedDict, total=False): + issues: _list[Issue] + 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] + +@typing.type_check_only +class ListPullRequestCommentsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + pullRequestComments: _list[PullRequestComment] + +@typing.type_check_only +class ListPullRequestFileDiffsResponse(typing_extensions.TypedDict, total=False): + fileDiffs: _list[FileDiff] + nextPageToken: str + +@typing.type_check_only +class ListPullRequestsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + pullRequests: _list[PullRequest] + +@typing.type_check_only +class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + repositories: _list[Repository] + +@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 MergePullRequestRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class OpenIssueRequest(typing_extensions.TypedDict, total=False): + etag: str + +@typing.type_check_only +class OpenPullRequestRequest(typing_extensions.TypedDict, total=False): ... + +@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] + bindings: _list[Binding] + etag: str + version: int + +@typing.type_check_only +class Position(typing_extensions.TypedDict, total=False): + line: str + path: str + +@typing.type_check_only +class PrivateConfig(typing_extensions.TypedDict, total=False): + caPool: str + httpServiceAttachment: str + isPrivate: bool + pscAllowedProjects: _list[str] + sshServiceAttachment: str + +@typing.type_check_only +class PullRequest(typing_extensions.TypedDict, total=False): + base: Branch + body: str + closeTime: str + createTime: str + head: Branch + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "MERGED"] + title: str + updateTime: str + +@typing.type_check_only +class PullRequestComment(typing_extensions.TypedDict, total=False): + code: Code + comment: Comment + createTime: str + name: str + review: Review + updateTime: str + +@typing.type_check_only +class PushOption(typing_extensions.TypedDict, total=False): + branchFilter: str + +@typing.type_check_only +class Repository(typing_extensions.TypedDict, total=False): + createTime: str + description: str + etag: str + initialConfig: InitialConfig + instance: str + name: str + uid: str + updateTime: str + uris: URIs + +@typing.type_check_only +class ResolvePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): + autoFill: bool + names: _list[str] + +@typing.type_check_only +class Review(typing_extensions.TypedDict, total=False): + actionType: typing_extensions.Literal[ + "ACTION_TYPE_UNSPECIFIED", "COMMENT", "CHANGE_REQUESTED", "APPROVED" + ] + body: str + effectiveCommitSha: str + +@typing.type_check_only +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] + +@typing.type_check_only +class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TreeEntry(typing_extensions.TypedDict, total=False): + mode: str + path: str + sha: str + size: str + type: typing_extensions.Literal["OBJECT_TYPE_UNSPECIFIED", "TREE", "BLOB", "COMMIT"] + +@typing.type_check_only +class URIs(typing_extensions.TypedDict, total=False): + api: str + gitHttps: str + html: str + +@typing.type_check_only +class UnresolvePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): + autoFill: bool + names: _list[str] + +@typing.type_check_only +class WorkforceIdentityFederationConfig(typing_extensions.TypedDict, total=False): + enabled: bool diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi index d11ba216..34642baa 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi @@ -815,6 +815,7 @@ class SecurityCommandCenterResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index c1370c6c..2acf49a3 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -39,7 +39,7 @@ class AffectedResources(typing_extensions.TypedDict, total=False): @typing.type_check_only class AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -239,9 +239,19 @@ class CloudArmor(typing_extensions.TypedDict, total=False): securityPolicy: SecurityPolicy threatVector: str +@typing.type_check_only +class CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): dataProfile: str + infoTypes: _list[InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -266,6 +276,12 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str +@typing.type_check_only +class ComplianceDetails(typing_extensions.TypedDict, total=False): + cloudControl: CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[Framework] + @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -292,6 +308,11 @@ class Container(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class CreateResourceValueConfigRequest(typing_extensions.TypedDict, total=False): parent: str @@ -398,7 +419,10 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -544,6 +568,7 @@ class Finding(typing_extensions.TypedDict, total=False): cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection + complianceDetails: ComplianceDetails compliances: _list[Compliance] connections: _list[Connection] contacts: dict[str, typing.Any] @@ -612,6 +637,24 @@ class Folder(typing_extensions.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GcpMetadata(typing_extensions.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] @@ -940,7 +983,7 @@ class GoogleCloudSecuritycenterV2AffectedResources( @typing.type_check_only class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -1059,6 +1102,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( typing_extensions.TypedDict, total=False ): createTime: str + cryptoKeyName: str dataset: str description: str filter: str @@ -1092,11 +1136,21 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F securityPolicy: GoogleCloudSecuritycenterV2SecurityPolicy threatVector: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudDlpDataProfile( typing_extensions.TypedDict, total=False ): dataProfile: str + infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -1125,6 +1179,14 @@ class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=F standard: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ComplianceDetails( + typing_extensions.TypedDict, total=False +): + cloudControl: GoogleCloudSecuritycenterV2CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[GoogleCloudSecuritycenterV2Framework] + @typing.type_check_only class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -1153,6 +1215,11 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa name: str uri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 @@ -1249,7 +1316,10 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -1362,11 +1432,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection + complianceDetails: GoogleCloudSecuritycenterV2ComplianceDetails compliances: _list[GoogleCloudSecuritycenterV2Compliance] connections: _list[GoogleCloudSecuritycenterV2Connection] contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + cryptoKeyName: str dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] dataRetentionDeletionEvents: _list[ @@ -1432,6 +1504,24 @@ class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[GoogleCloudSecuritycenterV2Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): regionCode: str @@ -1460,6 +1550,12 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore + version: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] @@ -1540,6 +1636,7 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata cloudProvider: typing_extensions.Literal[ @@ -1553,6 +1650,12 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplication( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -1755,6 +1858,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1914,6 +2018,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1986,6 +2091,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): createTime: str + cryptoKeyName: str description: str expiryTime: str filter: str @@ -2228,6 +2334,18 @@ class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2SensitivityScore( + typing_extensions.TypedDict, total=False +): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( typing_extensions.TypedDict, total=False @@ -2352,6 +2470,12 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: SensitivityScore + version: str + @typing.type_check_only class IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[PortRange] @@ -2494,6 +2618,7 @@ class ListNotificationConfigsResponse(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 ListResourceValueConfigsResponse(typing_extensions.TypedDict, total=False): @@ -2629,6 +2754,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -2788,6 +2914,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -3097,6 +3224,16 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): postureDeploymentResource: str revisionId: str +@typing.type_check_only +class SensitivityScore(typing_extensions.TypedDict, total=False): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): principalEmail: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi index 9696d832..a2f2129a 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi @@ -86,6 +86,7 @@ class SecurityCommandCenterResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index fec86a3f..f7023c41 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -39,7 +39,7 @@ class AffectedResources(typing_extensions.TypedDict, total=False): @typing.type_check_only class AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -191,9 +191,19 @@ class CloudArmor(typing_extensions.TypedDict, total=False): securityPolicy: SecurityPolicy threatVector: str +@typing.type_check_only +class CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): dataProfile: str + infoTypes: _list[InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -218,6 +228,12 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str +@typing.type_check_only +class ComplianceDetails(typing_extensions.TypedDict, total=False): + cloudControl: CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[Framework] + @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -244,6 +260,11 @@ class Container(typing_extensions.TypedDict, total=False): name: str uri: str +@typing.type_check_only +class Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class Cve(typing_extensions.TypedDict, total=False): cvssv3: Cvssv3 @@ -334,7 +355,10 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -441,6 +465,7 @@ class Finding(typing_extensions.TypedDict, total=False): cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection + complianceDetails: ComplianceDetails compliances: _list[Compliance] connections: _list[Connection] contacts: dict[str, typing.Any] @@ -509,6 +534,24 @@ class Folder(typing_extensions.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GcpMetadata(typing_extensions.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] @@ -857,7 +900,7 @@ class GoogleCloudSecuritycenterV2AffectedResources( @typing.type_check_only class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -976,6 +1019,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( typing_extensions.TypedDict, total=False ): createTime: str + cryptoKeyName: str dataset: str description: str filter: str @@ -1009,11 +1053,21 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F securityPolicy: GoogleCloudSecuritycenterV2SecurityPolicy threatVector: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudDlpDataProfile( typing_extensions.TypedDict, total=False ): dataProfile: str + infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -1042,6 +1096,14 @@ class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=F standard: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ComplianceDetails( + typing_extensions.TypedDict, total=False +): + cloudControl: GoogleCloudSecuritycenterV2CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[GoogleCloudSecuritycenterV2Framework] + @typing.type_check_only class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -1070,6 +1132,11 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa name: str uri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 @@ -1166,7 +1233,10 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -1279,11 +1349,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection + complianceDetails: GoogleCloudSecuritycenterV2ComplianceDetails compliances: _list[GoogleCloudSecuritycenterV2Compliance] connections: _list[GoogleCloudSecuritycenterV2Connection] contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + cryptoKeyName: str dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] dataRetentionDeletionEvents: _list[ @@ -1349,6 +1421,24 @@ class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[GoogleCloudSecuritycenterV2Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): regionCode: str @@ -1377,6 +1467,12 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore + version: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] @@ -1457,6 +1553,7 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata cloudProvider: typing_extensions.Literal[ @@ -1470,6 +1567,12 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplication( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -1672,6 +1775,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1831,6 +1935,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1903,6 +2008,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): createTime: str + cryptoKeyName: str description: str expiryTime: str filter: str @@ -2145,6 +2251,18 @@ class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2SensitivityScore( + typing_extensions.TypedDict, total=False +): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( typing_extensions.TypedDict, total=False @@ -2262,6 +2380,12 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: SensitivityScore + version: str + @typing.type_check_only class IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[PortRange] @@ -2337,6 +2461,7 @@ class ListFindingsResponse(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 ListSourcesResponse(typing_extensions.TypedDict, total=False): @@ -2452,6 +2577,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -2611,6 +2737,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -2869,6 +2996,16 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): postureDeploymentResource: str revisionId: str +@typing.type_check_only +class SensitivityScore(typing_extensions.TypedDict, total=False): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): principalEmail: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index 06d95c98..6ff91615 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -39,7 +39,7 @@ class AffectedResources(typing_extensions.TypedDict, total=False): @typing.type_check_only class AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -154,9 +154,19 @@ class CloudArmor(typing_extensions.TypedDict, total=False): securityPolicy: SecurityPolicy threatVector: str +@typing.type_check_only +class CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): dataProfile: str + infoTypes: _list[InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -181,6 +191,12 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str +@typing.type_check_only +class ComplianceDetails(typing_extensions.TypedDict, total=False): + cloudControl: CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[Framework] + @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): moduleEnablementState: typing_extensions.Literal[ @@ -224,6 +240,11 @@ class ContainerThreatDetectionSettings(typing_extensions.TypedDict, total=False) ] updateTime: str +@typing.type_check_only +class Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class Cve(typing_extensions.TypedDict, total=False): cvssv3: Cvssv3 @@ -314,7 +335,10 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -435,6 +459,7 @@ class Finding(typing_extensions.TypedDict, total=False): cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection + complianceDetails: ComplianceDetails compliances: _list[Compliance] connections: _list[Connection] contacts: dict[str, typing.Any] @@ -503,6 +528,24 @@ class Folder(typing_extensions.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GcpMetadata(typing_extensions.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] @@ -823,7 +866,7 @@ class GoogleCloudSecuritycenterV2AffectedResources( @typing.type_check_only class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): deploymentPlatform: typing_extensions.Literal[ - "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str domain: str @@ -942,6 +985,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( typing_extensions.TypedDict, total=False ): createTime: str + cryptoKeyName: str dataset: str description: str filter: str @@ -975,11 +1019,21 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F securityPolicy: GoogleCloudSecuritycenterV2SecurityPolicy threatVector: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): + cloudControlName: str + policyType: str + type: typing_extensions.Literal[ + "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" + ] + version: int + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudDlpDataProfile( typing_extensions.TypedDict, total=False ): dataProfile: str + infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] parentType: typing_extensions.Literal[ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] @@ -1008,6 +1062,14 @@ class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=F standard: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ComplianceDetails( + typing_extensions.TypedDict, total=False +): + cloudControl: GoogleCloudSecuritycenterV2CloudControl + cloudControlDeploymentNames: _list[str] + frameworks: _list[GoogleCloudSecuritycenterV2Framework] + @typing.type_check_only class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -1036,6 +1098,11 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa name: str uri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): + controlName: str + displayName: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 @@ -1132,7 +1199,10 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( dataObjectCount: str eventDetectionTime: str eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED" + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED", + "EVENT_TYPE_MAX_TTL_FROM_CREATION", + "EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", ] maxRetentionAllowed: str @@ -1245,11 +1315,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection + complianceDetails: GoogleCloudSecuritycenterV2ComplianceDetails compliances: _list[GoogleCloudSecuritycenterV2Compliance] connections: _list[GoogleCloudSecuritycenterV2Connection] contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + cryptoKeyName: str dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] dataRetentionDeletionEvents: _list[ @@ -1315,6 +1387,24 @@ class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False resourceFolder: str resourceFolderDisplayName: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): + category: _list[ + typing_extensions.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "SECURITY_BENCHMARKS", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + ] + ] + controls: _list[GoogleCloudSecuritycenterV2Control] + displayName: str + name: str + type: typing_extensions.Literal[ + "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): regionCode: str @@ -1343,6 +1433,12 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore + version: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] @@ -1423,6 +1519,7 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata cloudProvider: typing_extensions.Literal[ @@ -1436,6 +1533,12 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplication( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -1638,6 +1741,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1797,6 +1901,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -1869,6 +1974,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): createTime: str + cryptoKeyName: str description: str expiryTime: str filter: str @@ -2111,6 +2217,18 @@ class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2SensitivityScore( + typing_extensions.TypedDict, total=False +): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( typing_extensions.TypedDict, total=False @@ -2194,6 +2312,12 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class InfoType(typing_extensions.TypedDict, total=False): + name: str + sensitivityScore: SensitivityScore + version: str + @typing.type_check_only class IpRule(typing_extensions.TypedDict, total=False): portRanges: _list[PortRange] @@ -2353,6 +2477,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -2512,6 +2637,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", "EXPLOITATION_FOR_CLIENT_EXECUTION", "USER_EXECUTION", + "EXPLOITATION_FOR_CREDENTIAL_ACCESS", "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", @@ -2726,6 +2852,7 @@ class SecurityBulletin(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityCenterSettings(typing_extensions.TypedDict, total=False): + cryptoKeyName: str logSinkProject: str name: str onboardingTime: str @@ -2764,6 +2891,16 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): postureDeploymentResource: str revisionId: str +@typing.type_check_only +class SensitivityScore(typing_extensions.TypedDict, total=False): + score: typing_extensions.Literal[ + "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", + "SENSITIVITY_LOW", + "SENSITIVITY_UNKNOWN", + "SENSITIVITY_MODERATE", + "SENSITIVITY_HIGH", + ] + @typing.type_check_only class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): principalEmail: str diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 45455008..9f47dc77 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -11,6 +11,7 @@ class AddTenantProjectRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -382,6 +383,7 @@ class LongRunning(typing_extensions.TypedDict, total=False): @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool @@ -528,6 +530,7 @@ class Page(typing_extensions.TypedDict, total=False): @typing.type_check_only class PhpSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + libraryPackage: str @typing.type_check_only class PolicyBinding(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index 36d8405e..6d2c0faa 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -6,6 +6,7 @@ _list = list @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -341,6 +342,7 @@ class LongRunning(typing_extensions.TypedDict, total=False): @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool @@ -487,6 +489,7 @@ class Page(typing_extensions.TypedDict, total=False): @typing.type_check_only class PhpSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + libraryPackage: str @typing.type_check_only class Publishing(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi index f572b127..319f6c06 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi @@ -55,12 +55,15 @@ class Auth(typing_extensions.TypedDict, total=False): accessLevels: _list[str] audiences: _list[str] claims: dict[str, typing.Any] + oauth: Oauth presenter: str principal: str @typing.type_check_only class AuthenticationInfo(typing_extensions.TypedDict, total=False): authoritySelector: str + loggableShortLivedCredential: dict[str, typing.Any] + oauthInfo: OAuthInfo principalEmail: str principalSubject: str serviceAccountDelegationInfo: _list[ServiceAccountDelegationInfo] @@ -131,6 +134,7 @@ class CheckError(typing_extensions.TypedDict, total=False): class CheckInfo(typing_extensions.TypedDict, total=False): apiKeyUid: str consumerInfo: ConsumerInfo + ignoreApiKeyUidAsCredentialId: bool unusedArguments: _list[str] @typing.type_check_only @@ -280,6 +284,14 @@ class Money(typing_extensions.TypedDict, total=False): nanos: int units: str +@typing.type_check_only +class OAuthInfo(typing_extensions.TypedDict, total=False): + oauthClientId: str + +@typing.type_check_only +class Oauth(typing_extensions.TypedDict, total=False): + clientId: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): consumerId: str diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi index 53de01d5..6fc31c3e 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi @@ -45,12 +45,15 @@ class Auth(typing_extensions.TypedDict, total=False): accessLevels: _list[str] audiences: _list[str] claims: dict[str, typing.Any] + oauth: Oauth presenter: str principal: str @typing.type_check_only class AuthenticationInfo(typing_extensions.TypedDict, total=False): authoritySelector: str + loggableShortLivedCredential: dict[str, typing.Any] + oauthInfo: OAuthInfo principalEmail: str principalSubject: str serviceAccountDelegationInfo: _list[ServiceAccountDelegationInfo] @@ -90,6 +93,14 @@ class FirstPartyPrincipal(typing_extensions.TypedDict, total=False): principalEmail: str serviceMetadata: dict[str, typing.Any] +@typing.type_check_only +class OAuthInfo(typing_extensions.TypedDict, total=False): + oauthClientId: str + +@typing.type_check_only +class Oauth(typing_extensions.TypedDict, total=False): + clientId: str + @typing.type_check_only class OrgPolicyViolationInfo(typing_extensions.TypedDict, total=False): payload: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi index c960d52d..5ebd7c9f 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi @@ -23,6 +23,7 @@ class ServiceManagementResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi index 8397e386..2c66f8c0 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi @@ -10,6 +10,7 @@ class Advice(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -418,6 +419,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 ListServiceConfigsResponse(typing_extensions.TypedDict, total=False): @@ -465,6 +467,7 @@ class ManagedService(typing_extensions.TypedDict, total=False): @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool @@ -623,6 +626,7 @@ class Page(typing_extensions.TypedDict, total=False): @typing.type_check_only class PhpSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + libraryPackage: str @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): @@ -699,7 +703,6 @@ class Rollout(typing_extensions.TypedDict, total=False): "FAILED_ROLLED_BACK", ] trafficPercentStrategy: TrafficPercentStrategy - universe: str @typing.type_check_only class RubySettings(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi index e43d184c..e534c64a 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi @@ -27,6 +27,7 @@ class ServiceNetworkingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi index 646afa31..2a2de47d 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi @@ -64,6 +64,7 @@ class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -497,6 +498,7 @@ class ListDnsZonesResponse(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 ListPeeredDnsDomainsResponse(typing_extensions.TypedDict, total=False): @@ -528,6 +530,7 @@ class LongRunning(typing_extensions.TypedDict, total=False): @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi index 6cbc6000..27007897 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi @@ -35,6 +35,7 @@ class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -450,6 +451,7 @@ class LongRunning(typing_extensions.TypedDict, total=False): @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index 3aa013ac..7d3e06a8 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -47,6 +47,7 @@ class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -206,6 +207,14 @@ class ConsumerPolicy(typing_extensions.TypedDict, total=False): name: str updateTime: str +@typing.type_check_only +class ContentSecurity(typing_extensions.TypedDict, total=False): + contentSecurityProviders: _list[ContentSecurityProvider] + +@typing.type_check_only +class ContentSecurityProvider(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Context(typing_extensions.TypedDict, total=False): rules: _list[ContextRule] @@ -539,6 +548,7 @@ class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False impactType: typing_extensions.Literal[ "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] + missingDependency: str @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( @@ -647,8 +657,26 @@ class LongRunning(typing_extensions.TypedDict, total=False): pollDelayMultiplier: float totalPollTimeout: str +@typing.type_check_only +class McpEnableRule(typing_extensions.TypedDict, total=False): + mcpServices: _list[McpService] + +@typing.type_check_only +class McpPolicy(typing_extensions.TypedDict, total=False): + contentSecurity: ContentSecurity + createTime: str + etag: str + mcpEnableRules: _list[McpEnableRule] + name: str + updateTime: str + +@typing.type_check_only +class McpService(typing_extensions.TypedDict, total=False): + service: str + @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool @@ -799,6 +827,7 @@ class Page(typing_extensions.TypedDict, total=False): @typing.type_check_only class PhpSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + libraryPackage: str @typing.type_check_only class Publishing(typing_extensions.TypedDict, total=False): @@ -924,6 +953,9 @@ class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UpdateMcpPolicyMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Usage(typing_extensions.TypedDict, total=False): producerNotificationChannel: str diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index feff9adb..bb36e663 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -47,6 +47,7 @@ class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): + edition: str methods: _list[Method] mixins: _list[Mixin] name: str @@ -218,6 +219,14 @@ class ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): name: str unit: str +@typing.type_check_only +class ContentSecurity(typing_extensions.TypedDict, total=False): + contentSecurityProviders: _list[ContentSecurityProvider] + +@typing.type_check_only +class ContentSecurityProvider(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Context(typing_extensions.TypedDict, total=False): rules: _list[ContextRule] @@ -547,6 +556,7 @@ class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False impactType: typing_extensions.Literal[ "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] + missingDependency: str @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( @@ -694,8 +704,26 @@ class LongRunning(typing_extensions.TypedDict, total=False): pollDelayMultiplier: float totalPollTimeout: str +@typing.type_check_only +class McpEnableRule(typing_extensions.TypedDict, total=False): + mcpServices: _list[McpService] + +@typing.type_check_only +class McpPolicy(typing_extensions.TypedDict, total=False): + contentSecurity: ContentSecurity + createTime: str + etag: str + mcpEnableRules: _list[McpEnableRule] + name: str + updateTime: str + +@typing.type_check_only +class McpService(typing_extensions.TypedDict, total=False): + service: str + @typing.type_check_only class Method(typing_extensions.TypedDict, total=False): + edition: str name: str options: _list[Option] requestStreaming: bool @@ -850,6 +878,7 @@ class Page(typing_extensions.TypedDict, total=False): @typing.type_check_only class PhpSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + libraryPackage: str @typing.type_check_only class ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): @@ -1019,6 +1048,9 @@ class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UpdateMcpPolicyMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Usage(typing_extensions.TypedDict, total=False): producerNotificationChannel: str diff --git a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi index c91cc426..b1135df5 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi @@ -12,6 +12,7 @@ class AdaptMessageRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdaptMessageResponse(typing_extensions.TypedDict, total=False): + last: bool payload: str stateUpdates: dict[str, typing.Any] @@ -185,6 +186,7 @@ class CommitResponse(typing_extensions.TypedDict, total=False): commitStats: CommitStats commitTimestamp: str precommitToken: MultiplexedSessionPrecommitToken + snapshotTimestamp: str @typing.type_check_only class CommitStats(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/speech/v1/resources.pyi b/googleapiclient-stubs/_apis/speech/v1/resources.pyi index 26ef5e89..fbc41727 100644 --- a/googleapiclient-stubs/_apis/speech/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/speech/v1/resources.pyi @@ -23,6 +23,7 @@ class SpeechResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/speech/v1/schemas.pyi b/googleapiclient-stubs/_apis/speech/v1/schemas.pyi index c9edeb0d..1cd82ba1 100644 --- a/googleapiclient-stubs/_apis/speech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/speech/v1/schemas.pyi @@ -56,6 +56,7 @@ class ListCustomClassesResponse(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 ListPhraseSetResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi b/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi index 26ef5e89..fbc41727 100644 --- a/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi @@ -23,6 +23,7 @@ class SpeechResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi index 1676f343..71717ff6 100644 --- a/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi @@ -56,6 +56,7 @@ class ListCustomClassesResponse(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 ListPhraseSetResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index 5ad0fc7a..1550bb93 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -211,6 +211,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: InstancesDemoteMasterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def executeSql( + self, + *, + project: str, + instance: str, + body: ExecuteSqlPayload = ..., + **kwargs: typing.Any, + ) -> SqlInstancesExecuteSqlResponseHttpRequest: ... def export( self, *, @@ -273,6 +281,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: PointInTimeRestoreContext = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def preCheckMajorVersionUpgrade( + self, + *, + project: str, + instance: str, + body: InstancesPreCheckMajorVersionUpgradeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def promoteReplica( self, *, @@ -293,7 +309,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, project: str, instance: str, **kwargs: typing.Any ) -> SqlInstancesReleaseSsrsLeaseResponseHttpRequest: ... def resetSslConfig( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + mode: typing_extensions.Literal[ + "RESET_SSL_MODE_UNSPECIFIED", "ALL", "SYNC_FROM_PRIMARY" + ] = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def restart( self, *, project: str, instance: str, **kwargs: typing.Any @@ -376,7 +399,12 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, project: str, instance: str, **kwargs: typing.Any ) -> SqlInstancesGetDiskShrinkConfigResponseHttpRequest: ... def getLatestRecoveryTime( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + sourceInstanceDeletionTime: str = ..., + **kwargs: typing.Any, ) -> SqlInstancesGetLatestRecoveryTimeResponseHttpRequest: ... def performDiskShrink( self, @@ -664,6 +692,14 @@ class SqlInstancesAcquireSsrsLeaseResponseHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> SqlInstancesAcquireSsrsLeaseResponse: ... +@typing.type_check_only +class SqlInstancesExecuteSqlResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SqlInstancesExecuteSqlResponse: ... + @typing.type_check_only class SqlInstancesGetDiskShrinkConfigResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index e6c1ec85..4abbeeae 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -89,6 +89,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -215,6 +216,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -278,6 +280,12 @@ class CloneContext(typing_extensions.TypedDict, total=False): pointInTime: str preferredSecondaryZone: str preferredZone: str + sourceInstanceDeletionTime: str + +@typing.type_check_only +class Column(typing_extensions.TypedDict, total=False): + name: str + type: str @typing.type_check_only class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): @@ -334,6 +342,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -347,6 +356,11 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] kind: str + mdxProtocolSupport: _list[ + typing_extensions.Literal[ + "MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE" + ] + ] nodeCount: int nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool @@ -363,6 +377,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): connectionPoolingEnabled: bool flags: _list[ConnectionPoolFlags] + poolerCount: int @typing.type_check_only class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): @@ -396,7 +411,6 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] - clearNetwork: bool connectionName: str createTime: str currentDiskSize: str @@ -443,6 +457,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -587,6 +602,17 @@ class DnsNameMapping(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): + autoIamAuthn: bool + database: str + partialResultMode: typing_extensions.Literal[ + "PARTIAL_RESULT_MODE_UNSPECIFIED", "FAIL_PARTIAL_RESULT", "ALLOW_PARTIAL_RESULT" + ] + rowLimit: str + sqlStatement: str + user: str + @typing.type_check_only class ExportContext(typing_extensions.TypedDict, total=False): bakExportOptions: dict[str, typing.Any] @@ -610,6 +636,11 @@ class FailoverContext(typing_extensions.TypedDict, total=False): kind: str settingsVersion: str +@typing.type_check_only +class FinalBackupConfig(typing_extensions.TypedDict, total=False): + enabled: bool + retentionDays: int + @typing.type_check_only class Flag(typing_extensions.TypedDict, total=False): allowedIntValues: _list[str] @@ -657,6 +688,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -792,6 +824,12 @@ class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total kind: str serverCerts: _list[SslCert] +@typing.type_check_only +class InstancesPreCheckMajorVersionUpgradeRequest( + typing_extensions.TypedDict, total=False +): + preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext + @typing.type_check_only class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @@ -801,6 +839,7 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): backup: str backupdrBackup: str restoreBackupContext: RestoreBackupContext + restoreInstanceClearOverridesFieldNames: _list[str] restoreInstanceSettings: DatabaseInstance @typing.type_check_only @@ -878,6 +917,15 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", "stable", "week5" ] +@typing.type_check_only +class Message(typing_extensions.TypedDict, total=False): + message: str + severity: str + +@typing.type_check_only +class Metadata(typing_extensions.TypedDict, total=False): + sqlStatementExecutionTime: str + @typing.type_check_only class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): caCertificate: str @@ -978,6 +1026,7 @@ class Operation(typing_extensions.TypedDict, total=False): "REPAIR_READ_POOL", "CREATE_READ_POOL", ] + preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str startTime: str status: typing_extensions.Literal[ @@ -1066,6 +1115,71 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): "REPAIRING", ] +@typing.type_check_only +class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=False): + kind: str + preCheckResponse: _list[PreCheckResponse] + targetDatabaseVersion: typing_extensions.Literal[ + "SQL_DATABASE_VERSION_UNSPECIFIED", + "MYSQL_5_1", + "MYSQL_5_5", + "MYSQL_5_6", + "MYSQL_5_7", + "MYSQL_8_0", + "MYSQL_8_0_18", + "MYSQL_8_0_26", + "MYSQL_8_0_27", + "MYSQL_8_0_28", + "MYSQL_8_0_29", + "MYSQL_8_0_30", + "MYSQL_8_0_31", + "MYSQL_8_0_32", + "MYSQL_8_0_33", + "MYSQL_8_0_34", + "MYSQL_8_0_35", + "MYSQL_8_0_36", + "MYSQL_8_0_37", + "MYSQL_8_0_39", + "MYSQL_8_0_40", + "MYSQL_8_0_41", + "MYSQL_8_0_42", + "MYSQL_8_0_43", + "MYSQL_8_0_44", + "MYSQL_8_0_45", + "MYSQL_8_0_46", + "MYSQL_8_4", + "SQLSERVER_2017_STANDARD", + "SQLSERVER_2017_ENTERPRISE", + "SQLSERVER_2017_EXPRESS", + "SQLSERVER_2017_WEB", + "POSTGRES_9_6", + "POSTGRES_10", + "POSTGRES_11", + "POSTGRES_12", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + "POSTGRES_18", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] + +@typing.type_check_only +class PreCheckResponse(typing_extensions.TypedDict, total=False): + actionsRequired: _list[str] + message: str + messageType: typing_extensions.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR" + ] + @typing.type_check_only class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str @@ -1081,6 +1195,24 @@ class PscConfig(typing_extensions.TypedDict, total=False): pscAutoConnections: _list[PscAutoConnectionConfig] pscEnabled: bool +@typing.type_check_only +class QueryResult(typing_extensions.TypedDict, total=False): + columns: _list[Column] + message: str + partialResult: bool + rows: _list[Row] + status: Status + +@typing.type_check_only +class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): + disableScaleIn: bool + enabled: bool + maxNodeCount: int + minNodeCount: int + scaleInCooldownSeconds: int + scaleOutCooldownSeconds: int + targetMetrics: _list[TargetMetric] + @typing.type_check_only class ReplicaConfiguration(typing_extensions.TypedDict, total=False): cascadableReplica: bool @@ -1121,6 +1253,10 @@ class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): kind: str nextVersion: str +@typing.type_check_only +class Row(typing_extensions.TypedDict, total=False): + values: _list[Value] + @typing.type_check_only class SelectedObjects(typing_extensions.TypedDict, total=False): database: str @@ -1133,6 +1269,7 @@ class Settings(typing_extensions.TypedDict, total=False): activeDirectoryConfig: SqlActiveDirectoryConfig advancedMachineFeatures: AdvancedMachineFeatures authorizedGaeApplications: _list[str] + autoUpgradeEnabled: bool availabilityType: typing_extensions.Literal[ "SQL_AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] @@ -1163,6 +1300,7 @@ class Settings(typing_extensions.TypedDict, total=False): ] enableDataplexIntegration: bool enableGoogleMlIntegration: bool + finalBackupConfig: FinalBackupConfig insightsConfig: InsightsConfig ipConfiguration: IpConfiguration kind: str @@ -1172,6 +1310,7 @@ class Settings(typing_extensions.TypedDict, total=False): pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] + readPoolAutoScaleConfig: ReadPoolAutoScaleConfig replicationLagMaxSeconds: int replicationType: typing_extensions.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" @@ -1187,8 +1326,17 @@ class Settings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): + adminCredentialSecretName: str + dnsServers: _list[str] domain: str kind: str + mode: typing_extensions.Literal[ + "ACTIVE_DIRECTORY_MODE_UNSPECIFIED", + "MANAGED_ACTIVE_DIRECTORY", + "SELF_MANAGED_ACTIVE_DIRECTORY", + "CUSTOMER_MANAGED_ACTIVE_DIRECTORY", + ] + organizationalUnit: str @typing.type_check_only class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): @@ -1250,12 +1398,23 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", + "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS", + "PROMPT_DELETE_EXISTING", + "WILL_DELETE_EXISTING", + "PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE", ] @typing.type_check_only class SqlInstancesAcquireSsrsLeaseResponse(typing_extensions.TypedDict, total=False): operationId: str +@typing.type_check_only +class SqlInstancesExecuteSqlResponse(typing_extensions.TypedDict, total=False): + messages: _list[Message] + metadata: Metadata + results: _list[QueryResult] + status: Status + @typing.type_check_only class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total=False): kind: str @@ -1266,6 +1425,7 @@ class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total class SqlInstancesGetLatestRecoveryTimeResponse( typing_extensions.TypedDict, total=False ): + earliestRecoveryTime: str kind: str latestRecoveryTime: str @@ -1288,6 +1448,7 @@ class SqlInstancesStartExternalSyncRequest(typing_extensions.TypedDict, total=Fa "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" ] mysqlSyncConfig: MySqlSyncConfig + replicaOverwriteEnabled: bool skipVerification: bool syncMode: typing_extensions.Literal[ "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" @@ -1401,11 +1562,22 @@ class SslCertsListResponse(typing_extensions.TypedDict, total=False): items: _list[SslCert] kind: 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 SyncFlags(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class TargetMetric(typing_extensions.TypedDict, total=False): + metric: str + targetValue: float + @typing.type_check_only class Tier(typing_extensions.TypedDict, total=False): DiskQuota: str @@ -1434,6 +1606,8 @@ class User(typing_extensions.TypedDict, total=False): ] etag: str host: str + iamEmail: str + iamStatus: typing_extensions.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] instance: str kind: str name: str @@ -1463,3 +1637,8 @@ class UsersListResponse(typing_extensions.TypedDict, total=False): items: _list[User] kind: str nextPageToken: str + +@typing.type_check_only +class Value(typing_extensions.TypedDict, total=False): + nullValue: bool + value: str diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index 87579079..05712172 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -211,6 +211,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: InstancesDemoteMasterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def executeSql( + self, + *, + project: str, + instance: str, + body: ExecuteSqlPayload = ..., + **kwargs: typing.Any, + ) -> SqlInstancesExecuteSqlResponseHttpRequest: ... def export( self, *, @@ -273,6 +281,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: PointInTimeRestoreContext = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def preCheckMajorVersionUpgrade( + self, + *, + project: str, + instance: str, + body: InstancesPreCheckMajorVersionUpgradeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def promoteReplica( self, *, @@ -293,7 +309,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, project: str, instance: str, **kwargs: typing.Any ) -> SqlInstancesReleaseSsrsLeaseResponseHttpRequest: ... def resetSslConfig( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + mode: typing_extensions.Literal[ + "RESET_SSL_MODE_UNSPECIFIED", "ALL", "SYNC_FROM_PRIMARY" + ] = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def restart( self, *, project: str, instance: str, **kwargs: typing.Any @@ -376,7 +399,12 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, project: str, instance: str, **kwargs: typing.Any ) -> SqlInstancesGetDiskShrinkConfigResponseHttpRequest: ... def getLatestRecoveryTime( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + sourceInstanceDeletionTime: str = ..., + **kwargs: typing.Any, ) -> SqlInstancesGetLatestRecoveryTimeResponseHttpRequest: ... def performDiskShrink( self, @@ -664,6 +692,14 @@ class SqlInstancesAcquireSsrsLeaseResponseHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> SqlInstancesAcquireSsrsLeaseResponse: ... +@typing.type_check_only +class SqlInstancesExecuteSqlResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SqlInstancesExecuteSqlResponse: ... + @typing.type_check_only class SqlInstancesGetDiskShrinkConfigResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index e6c1ec85..4abbeeae 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -89,6 +89,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -215,6 +216,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -278,6 +280,12 @@ class CloneContext(typing_extensions.TypedDict, total=False): pointInTime: str preferredSecondaryZone: str preferredZone: str + sourceInstanceDeletionTime: str + +@typing.type_check_only +class Column(typing_extensions.TypedDict, total=False): + name: str + type: str @typing.type_check_only class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): @@ -334,6 +342,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -347,6 +356,11 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] kind: str + mdxProtocolSupport: _list[ + typing_extensions.Literal[ + "MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE" + ] + ] nodeCount: int nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool @@ -363,6 +377,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): connectionPoolingEnabled: bool flags: _list[ConnectionPoolFlags] + poolerCount: int @typing.type_check_only class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): @@ -396,7 +411,6 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] - clearNetwork: bool connectionName: str createTime: str currentDiskSize: str @@ -443,6 +457,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -587,6 +602,17 @@ class DnsNameMapping(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): + autoIamAuthn: bool + database: str + partialResultMode: typing_extensions.Literal[ + "PARTIAL_RESULT_MODE_UNSPECIFIED", "FAIL_PARTIAL_RESULT", "ALLOW_PARTIAL_RESULT" + ] + rowLimit: str + sqlStatement: str + user: str + @typing.type_check_only class ExportContext(typing_extensions.TypedDict, total=False): bakExportOptions: dict[str, typing.Any] @@ -610,6 +636,11 @@ class FailoverContext(typing_extensions.TypedDict, total=False): kind: str settingsVersion: str +@typing.type_check_only +class FinalBackupConfig(typing_extensions.TypedDict, total=False): + enabled: bool + retentionDays: int + @typing.type_check_only class Flag(typing_extensions.TypedDict, total=False): allowedIntValues: _list[str] @@ -657,6 +688,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -792,6 +824,12 @@ class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total kind: str serverCerts: _list[SslCert] +@typing.type_check_only +class InstancesPreCheckMajorVersionUpgradeRequest( + typing_extensions.TypedDict, total=False +): + preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext + @typing.type_check_only class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @@ -801,6 +839,7 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): backup: str backupdrBackup: str restoreBackupContext: RestoreBackupContext + restoreInstanceClearOverridesFieldNames: _list[str] restoreInstanceSettings: DatabaseInstance @typing.type_check_only @@ -878,6 +917,15 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", "stable", "week5" ] +@typing.type_check_only +class Message(typing_extensions.TypedDict, total=False): + message: str + severity: str + +@typing.type_check_only +class Metadata(typing_extensions.TypedDict, total=False): + sqlStatementExecutionTime: str + @typing.type_check_only class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): caCertificate: str @@ -978,6 +1026,7 @@ class Operation(typing_extensions.TypedDict, total=False): "REPAIR_READ_POOL", "CREATE_READ_POOL", ] + preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str startTime: str status: typing_extensions.Literal[ @@ -1066,6 +1115,71 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): "REPAIRING", ] +@typing.type_check_only +class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=False): + kind: str + preCheckResponse: _list[PreCheckResponse] + targetDatabaseVersion: typing_extensions.Literal[ + "SQL_DATABASE_VERSION_UNSPECIFIED", + "MYSQL_5_1", + "MYSQL_5_5", + "MYSQL_5_6", + "MYSQL_5_7", + "MYSQL_8_0", + "MYSQL_8_0_18", + "MYSQL_8_0_26", + "MYSQL_8_0_27", + "MYSQL_8_0_28", + "MYSQL_8_0_29", + "MYSQL_8_0_30", + "MYSQL_8_0_31", + "MYSQL_8_0_32", + "MYSQL_8_0_33", + "MYSQL_8_0_34", + "MYSQL_8_0_35", + "MYSQL_8_0_36", + "MYSQL_8_0_37", + "MYSQL_8_0_39", + "MYSQL_8_0_40", + "MYSQL_8_0_41", + "MYSQL_8_0_42", + "MYSQL_8_0_43", + "MYSQL_8_0_44", + "MYSQL_8_0_45", + "MYSQL_8_0_46", + "MYSQL_8_4", + "SQLSERVER_2017_STANDARD", + "SQLSERVER_2017_ENTERPRISE", + "SQLSERVER_2017_EXPRESS", + "SQLSERVER_2017_WEB", + "POSTGRES_9_6", + "POSTGRES_10", + "POSTGRES_11", + "POSTGRES_12", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + "POSTGRES_18", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] + +@typing.type_check_only +class PreCheckResponse(typing_extensions.TypedDict, total=False): + actionsRequired: _list[str] + message: str + messageType: typing_extensions.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR" + ] + @typing.type_check_only class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str @@ -1081,6 +1195,24 @@ class PscConfig(typing_extensions.TypedDict, total=False): pscAutoConnections: _list[PscAutoConnectionConfig] pscEnabled: bool +@typing.type_check_only +class QueryResult(typing_extensions.TypedDict, total=False): + columns: _list[Column] + message: str + partialResult: bool + rows: _list[Row] + status: Status + +@typing.type_check_only +class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): + disableScaleIn: bool + enabled: bool + maxNodeCount: int + minNodeCount: int + scaleInCooldownSeconds: int + scaleOutCooldownSeconds: int + targetMetrics: _list[TargetMetric] + @typing.type_check_only class ReplicaConfiguration(typing_extensions.TypedDict, total=False): cascadableReplica: bool @@ -1121,6 +1253,10 @@ class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): kind: str nextVersion: str +@typing.type_check_only +class Row(typing_extensions.TypedDict, total=False): + values: _list[Value] + @typing.type_check_only class SelectedObjects(typing_extensions.TypedDict, total=False): database: str @@ -1133,6 +1269,7 @@ class Settings(typing_extensions.TypedDict, total=False): activeDirectoryConfig: SqlActiveDirectoryConfig advancedMachineFeatures: AdvancedMachineFeatures authorizedGaeApplications: _list[str] + autoUpgradeEnabled: bool availabilityType: typing_extensions.Literal[ "SQL_AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] @@ -1163,6 +1300,7 @@ class Settings(typing_extensions.TypedDict, total=False): ] enableDataplexIntegration: bool enableGoogleMlIntegration: bool + finalBackupConfig: FinalBackupConfig insightsConfig: InsightsConfig ipConfiguration: IpConfiguration kind: str @@ -1172,6 +1310,7 @@ class Settings(typing_extensions.TypedDict, total=False): pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] + readPoolAutoScaleConfig: ReadPoolAutoScaleConfig replicationLagMaxSeconds: int replicationType: typing_extensions.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" @@ -1187,8 +1326,17 @@ class Settings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): + adminCredentialSecretName: str + dnsServers: _list[str] domain: str kind: str + mode: typing_extensions.Literal[ + "ACTIVE_DIRECTORY_MODE_UNSPECIFIED", + "MANAGED_ACTIVE_DIRECTORY", + "SELF_MANAGED_ACTIVE_DIRECTORY", + "CUSTOMER_MANAGED_ACTIVE_DIRECTORY", + ] + organizationalUnit: str @typing.type_check_only class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): @@ -1250,12 +1398,23 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", + "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS", + "PROMPT_DELETE_EXISTING", + "WILL_DELETE_EXISTING", + "PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE", ] @typing.type_check_only class SqlInstancesAcquireSsrsLeaseResponse(typing_extensions.TypedDict, total=False): operationId: str +@typing.type_check_only +class SqlInstancesExecuteSqlResponse(typing_extensions.TypedDict, total=False): + messages: _list[Message] + metadata: Metadata + results: _list[QueryResult] + status: Status + @typing.type_check_only class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total=False): kind: str @@ -1266,6 +1425,7 @@ class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total class SqlInstancesGetLatestRecoveryTimeResponse( typing_extensions.TypedDict, total=False ): + earliestRecoveryTime: str kind: str latestRecoveryTime: str @@ -1288,6 +1448,7 @@ class SqlInstancesStartExternalSyncRequest(typing_extensions.TypedDict, total=Fa "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" ] mysqlSyncConfig: MySqlSyncConfig + replicaOverwriteEnabled: bool skipVerification: bool syncMode: typing_extensions.Literal[ "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" @@ -1401,11 +1562,22 @@ class SslCertsListResponse(typing_extensions.TypedDict, total=False): items: _list[SslCert] kind: 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 SyncFlags(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class TargetMetric(typing_extensions.TypedDict, total=False): + metric: str + targetValue: float + @typing.type_check_only class Tier(typing_extensions.TypedDict, total=False): DiskQuota: str @@ -1434,6 +1606,8 @@ class User(typing_extensions.TypedDict, total=False): ] etag: str host: str + iamEmail: str + iamStatus: typing_extensions.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] instance: str kind: str name: str @@ -1463,3 +1637,8 @@ class UsersListResponse(typing_extensions.TypedDict, total=False): items: _list[User] kind: str nextPageToken: str + +@typing.type_check_only +class Value(typing_extensions.TypedDict, total=False): + nullValue: bool + value: str diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index 7f68ecfb..eaf2c555 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -167,6 +167,7 @@ class StorageResource(googleapiclient.discovery.Resource): pageToken: str = ..., prefix: str = ..., projection: typing_extensions.Literal["full", "noAcl"] = ..., + returnPartialSuccess: bool = ..., softDeleted: bool = ..., userProject: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi index 9ad59a56..072f3516 100644 --- a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi @@ -104,11 +104,14 @@ class Buckets(typing_extensions.TypedDict, total=False): items: _list[Bucket] kind: str nextPageToken: str + unreachable: _list[str] @typing.type_check_only class BulkRestoreObjectsRequest(typing_extensions.TypedDict, total=False): allowOverwrite: bool copySourceAcl: bool + createdAfterTime: str + createdBeforeTime: str matchGlobs: _list[str] softDeletedAfterTime: str softDeletedBeforeTime: str diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi index b944588f..d9a2719f 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi @@ -77,6 +77,7 @@ class StorageBatchOperationsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi index 691758ed..0bd9d6bf 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -100,6 +100,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): @@ -124,6 +125,13 @@ class LoggingConfig(typing_extensions.TypedDict, total=False): class Manifest(typing_extensions.TypedDict, total=False): manifestLocation: str +@typing.type_check_only +class ObjectRetention(typing_extensions.TypedDict, total=False): + retainUntilTime: str + retentionMode: typing_extensions.Literal[ + "RETENTION_MODE_UNSPECIFIED", "LOCKED", "UNLOCKED" + ] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -154,6 +162,7 @@ class PutMetadata(typing_extensions.TypedDict, total=False): contentType: str customMetadata: dict[str, typing.Any] customTime: str + objectRetention: ObjectRetention @typing.type_check_only class PutObjectHold(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi index 72a53865..1740c2ee 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi @@ -148,6 +148,9 @@ class Container(typing_extensions.TypedDict, total=False): "elementVisibilityTime", "elementVisibilityFirstTime", "elementVisibilityRecentTime", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] ] fingerprint: str diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi index 42651157..39484972 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi @@ -240,6 +240,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] | _list[ typing_extensions.Literal[ @@ -357,6 +360,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] ] = ..., **kwargs: typing.Any, @@ -480,6 +486,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] | _list[ typing_extensions.Literal[ @@ -597,6 +606,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] ] = ..., **kwargs: typing.Any, @@ -728,6 +740,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] = ..., **kwargs: typing.Any, ) -> RevertBuiltInVariableResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi index b74f136d..73f94cfb 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi @@ -146,6 +146,9 @@ class BuiltInVariable(typing_extensions.TypedDict, total=False): "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion", + "analyticsClientId", + "analyticsSessionId", + "analyticsSessionNumber", ] workspaceId: str diff --git a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi index e953e6da..5d111201 100644 --- a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi @@ -59,7 +59,14 @@ class AndroidModel(typing_extensions.TypedDict, total=False): "DEVICE_FORM_UNSPECIFIED", "VIRTUAL", "PHYSICAL", "EMULATOR" ] formFactor: typing_extensions.Literal[ - "DEVICE_FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", "WEARABLE" + "DEVICE_FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "WEARABLE", + "TV", + "AUTOMOTIVE", + "DESKTOP", + "XR", ] id: str labInfo: LabInfo @@ -299,7 +306,14 @@ class IosDeviceList(typing_extensions.TypedDict, total=False): class IosModel(typing_extensions.TypedDict, total=False): deviceCapabilities: _list[str] formFactor: typing_extensions.Literal[ - "DEVICE_FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", "WEARABLE" + "DEVICE_FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "WEARABLE", + "TV", + "AUTOMOTIVE", + "DESKTOP", + "XR", ] id: str name: str diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi index 08801ffc..dbb78d8e 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi @@ -36,6 +36,7 @@ class TexttospeechResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi index 69fe092d..d8f104e5 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi @@ -7,6 +7,7 @@ _list = list @typing.type_check_only class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): lowLatencyJourneySynthesis: bool + relaxSafetyFilters: bool @typing.type_check_only class AudioConfig(typing_extensions.TypedDict, total=False): @@ -67,6 +68,7 @@ class GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata( class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListVoicesResponse(typing_extensions.TypedDict, total=False): @@ -76,6 +78,15 @@ class ListVoicesResponse(typing_extensions.TypedDict, total=False): class MultiSpeakerMarkup(typing_extensions.TypedDict, total=False): turns: _list[Turn] +@typing.type_check_only +class MultiSpeakerVoiceConfig(typing_extensions.TypedDict, total=False): + speakerVoiceConfigs: _list[MultispeakerPrebuiltVoice] + +@typing.type_check_only +class MultispeakerPrebuiltVoice(typing_extensions.TypedDict, total=False): + speakerAlias: str + speakerId: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -95,6 +106,7 @@ class SynthesisInput(typing_extensions.TypedDict, total=False): customPronunciations: CustomPronunciations markup: str multiSpeakerMarkup: MultiSpeakerMarkup + prompt: str ssml: str text: str @@ -144,6 +156,8 @@ class VoiceCloneParams(typing_extensions.TypedDict, total=False): class VoiceSelectionParams(typing_extensions.TypedDict, total=False): customVoice: CustomVoiceParams languageCode: str + modelName: str + multiSpeakerVoiceConfig: MultiSpeakerVoiceConfig name: str ssmlGender: typing_extensions.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi index 10ed57e7..6aa760de 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi @@ -29,6 +29,7 @@ class TexttospeechResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi index 26c0ea85..c3f713dd 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi @@ -7,6 +7,7 @@ _list = list @typing.type_check_only class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): lowLatencyJourneySynthesis: bool + relaxSafetyFilters: bool @typing.type_check_only class AudioConfig(typing_extensions.TypedDict, total=False): @@ -62,6 +63,7 @@ class GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata( class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListVoicesResponse(typing_extensions.TypedDict, total=False): @@ -71,6 +73,15 @@ class ListVoicesResponse(typing_extensions.TypedDict, total=False): class MultiSpeakerMarkup(typing_extensions.TypedDict, total=False): turns: _list[Turn] +@typing.type_check_only +class MultiSpeakerVoiceConfig(typing_extensions.TypedDict, total=False): + speakerVoiceConfigs: _list[MultispeakerPrebuiltVoice] + +@typing.type_check_only +class MultispeakerPrebuiltVoice(typing_extensions.TypedDict, total=False): + speakerAlias: str + speakerId: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -90,6 +101,7 @@ class SynthesisInput(typing_extensions.TypedDict, total=False): customPronunciations: CustomPronunciations markup: str multiSpeakerMarkup: MultiSpeakerMarkup + prompt: str ssml: str text: str @@ -149,6 +161,8 @@ class VoiceCloneParams(typing_extensions.TypedDict, total=False): class VoiceSelectionParams(typing_extensions.TypedDict, total=False): customVoice: CustomVoiceParams languageCode: str + modelName: str + multiSpeakerVoiceConfig: MultiSpeakerVoiceConfig name: str ssmlGender: typing_extensions.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" diff --git a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi index 1cdd0b5f..dde1e652 100644 --- a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi @@ -107,6 +107,7 @@ class TPUResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi index 3cc2f45f..d559cb30 100644 --- a/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi @@ -33,6 +33,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 ListTensorFlowVersionsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi index ffdea791..bae397e7 100644 --- a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi @@ -108,6 +108,7 @@ class TPUResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi index 3cc2f45f..d559cb30 100644 --- a/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi @@ -33,6 +33,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 ListTensorFlowVersionsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi index 38360872..d16bd66e 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi @@ -115,6 +115,7 @@ class TPUResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi index 22641a54..f71c6100 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi @@ -32,9 +32,17 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] sourceDisk: str +@typing.type_check_only +class BootDiskConfig(typing_extensions.TypedDict, total=False): + customerEncryptionKey: CustomerEncryptionKey + @typing.type_check_only class CreatingData(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): + kmsKeyName: str + @typing.type_check_only class DeletingData(typing_extensions.TypedDict, total=False): ... @@ -106,6 +114,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 ListQueuedResourcesResponse(typing_extensions.TypedDict, total=False): @@ -153,6 +162,7 @@ class Node(typing_extensions.TypedDict, total=False): apiVersion: typing_extensions.Literal[ "API_VERSION_UNSPECIFIED", "V1_ALPHA1", "V1", "V2_ALPHA1", "V2" ] + bootDiskConfig: BootDiskConfig cidrBlock: str createTime: str dataDisks: _list[AttachedDisk] diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi index df1f57cf..c6822fe2 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi @@ -130,6 +130,7 @@ class TPUResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -160,6 +161,9 @@ class TPUResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> QueuedResourceHttpRequest: ... + def getMaintenanceInfo( + self, *, name: str, **kwargs: typing.Any + ) -> GetMaintenanceInfoResponseHttpRequest: ... def list( self, *, @@ -305,6 +309,14 @@ class GetGuestAttributesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GetGuestAttributesResponse: ... +@typing.type_check_only +class GetMaintenanceInfoResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetMaintenanceInfoResponse: ... + @typing.type_check_only class ListAcceleratorTypesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi index 41c9ebcd..4ed6c820 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi @@ -44,6 +44,7 @@ class BootDiskConfig(typing_extensions.TypedDict, total=False): provisionedIops: str provisionedThroughput: str sourceImage: str + storagePool: str @typing.type_check_only class CreatingData(typing_extensions.TypedDict, total=False): ... @@ -78,6 +79,10 @@ class GetGuestAttributesRequest(typing_extensions.TypedDict, total=False): class GetGuestAttributesResponse(typing_extensions.TypedDict, total=False): guestAttributes: _list[GuestAttributes] +@typing.type_check_only +class GetMaintenanceInfoResponse(typing_extensions.TypedDict, total=False): + nodeUpcomingMaintenances: _list[NodeUpcomingMaintenanceInfo] + @typing.type_check_only class Guaranteed(typing_extensions.TypedDict, total=False): minDuration: str @@ -124,6 +129,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 ListQueuedResourcesResponse(typing_extensions.TypedDict, total=False): @@ -235,6 +241,12 @@ class NodeSpec(typing_extensions.TypedDict, total=False): nodeId: str parent: str +@typing.type_check_only +class NodeUpcomingMaintenanceInfo(typing_extensions.TypedDict, total=False): + nodeName: str + nodeUid: str + upcomingMaintenance: UpcomingMaintenance + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool diff --git a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi index 8e59466c..6f14c5e6 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi @@ -223,10 +223,15 @@ class Image(typing_extensions.TypedDict, total=False): @typing.type_check_only class Input(typing_extensions.TypedDict, total=False): + attributes: InputAttributes key: str preprocessingConfig: PreprocessingConfig uri: str +@typing.type_check_only +class InputAttributes(typing_extensions.TypedDict, total=False): + trackDefinitions: _list[TrackDefinition] + @typing.type_check_only class Job(typing_extensions.TypedDict, total=False): batchModePriority: int @@ -390,6 +395,13 @@ class TextStream(typing_extensions.TypedDict, total=False): languageCode: str mapping: _list[TextMapping] +@typing.type_check_only +class TrackDefinition(typing_extensions.TypedDict, total=False): + detectLanguages: bool + detectedLanguages: _list[str] + inputTrack: int + languages: _list[str] + @typing.type_check_only class VideoStream(typing_extensions.TypedDict, total=False): h264: H264CodecSettings diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi index 65bd9746..132a6ffa 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi @@ -18,6 +18,12 @@ class TravelImpactModelResource(googleapiclient.discovery.Resource): def computeFlightEmissions( self, *, body: ComputeFlightEmissionsRequest = ..., **kwargs: typing.Any ) -> ComputeFlightEmissionsResponseHttpRequest: ... + def computeScope3FlightEmissions( + self, + *, + body: ComputeScope3FlightEmissionsRequest = ..., + **kwargs: typing.Any, + ) -> ComputeScope3FlightEmissionsResponseHttpRequest: ... def computeTypicalFlightEmissions( self, *, @@ -47,6 +53,14 @@ class ComputeFlightEmissionsResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> ComputeFlightEmissionsResponse: ... +@typing.type_check_only +class ComputeScope3FlightEmissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ComputeScope3FlightEmissionsResponse: ... + @typing.type_check_only class ComputeTypicalFlightEmissionsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi index ed9819ca..28fa1176 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi @@ -13,6 +13,16 @@ class ComputeFlightEmissionsResponse(typing_extensions.TypedDict, total=False): flightEmissions: _list[FlightWithEmissions] modelVersion: ModelVersion +@typing.type_check_only +class ComputeScope3FlightEmissionsRequest(typing_extensions.TypedDict, total=False): + flights: _list[Scope3FlightSegment] + modelVersion: ModelVersion + +@typing.type_check_only +class ComputeScope3FlightEmissionsResponse(typing_extensions.TypedDict, total=False): + flightEmissions: _list[Scope3FlightEmissions] + modelVersion: ModelVersion + @typing.type_check_only class ComputeTypicalFlightEmissionsRequest(typing_extensions.TypedDict, total=False): markets: _list[Market] @@ -75,6 +85,31 @@ class ModelVersion(typing_extensions.TypedDict, total=False): minor: int patch: int +@typing.type_check_only +class Scope3FlightEmissions(typing_extensions.TypedDict, total=False): + flight: Scope3FlightSegment + source: typing_extensions.Literal[ + "SCOPE3_DATA_TYPE_UNSPECIFIED", + "TIM_EMISSIONS", + "TYPICAL_FLIGHT_EMISSIONS", + "DISTANCE_BASED_EMISSIONS", + ] + ttwEmissionsGramsPerPax: str + wttEmissionsGramsPerPax: str + wtwEmissionsGramsPerPax: str + +@typing.type_check_only +class Scope3FlightSegment(typing_extensions.TypedDict, total=False): + cabinClass: typing_extensions.Literal[ + "CABIN_CLASS_UNSPECIFIED", "ECONOMY", "PREMIUM_ECONOMY", "BUSINESS", "FIRST" + ] + carrierCode: str + departureDate: Date + destination: str + distanceKm: str + flightNumber: int + origin: str + @typing.type_check_only class TypicalFlightEmissions(typing_extensions.TypedDict, total=False): emissionsGramsPerPax: EmissionsGramsPerPax diff --git a/googleapiclient-stubs/_apis/vault/v1/resources.pyi b/googleapiclient-stubs/_apis/vault/v1/resources.pyi index 2c748565..19618874 100644 --- a/googleapiclient-stubs/_apis/vault/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vault/v1/resources.pyi @@ -235,6 +235,7 @@ class VaultResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi index cf91a66d..afdb3991 100644 --- a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi @@ -309,6 +309,7 @@ class ListMattersResponse(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 ListSavedQueriesResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi b/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi index 4e4a0355..7d262cc4 100644 --- a/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi @@ -73,9 +73,15 @@ class Release(typing_extensions.TypedDict, total=False): fractionGroup: str name: str pinnable: bool + rolloutData: _list[RolloutData] serving: Interval version: str +@typing.type_check_only +class RolloutData(typing_extensions.TypedDict, total=False): + rolloutName: str + tag: _list[str] + @typing.type_check_only class Version(typing_extensions.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/vision/v1/resources.pyi b/googleapiclient-stubs/_apis/vision/v1/resources.pyi index 51be7fee..83af7827 100644 --- a/googleapiclient-stubs/_apis/vision/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vision/v1/resources.pyi @@ -55,6 +55,7 @@ class VisionResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/vision/v1/schemas.pyi b/googleapiclient-stubs/_apis/vision/v1/schemas.pyi index e4f98384..2a11fe62 100644 --- a/googleapiclient-stubs/_apis/vision/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vision/v1/schemas.pyi @@ -2148,6 +2148,7 @@ class LatLongRect(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 ListProductSetsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi index 0ae9a49d..89056bb4 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi @@ -157,6 +157,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -207,6 +208,62 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class DiskMigrationJobsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelDiskMigrationJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: DiskMigrationJob = ..., + diskMigrationJobId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DiskMigrationJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDiskMigrationJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDiskMigrationJobsResponseHttpRequest, + previous_response: ListDiskMigrationJobsResponse, + ) -> ListDiskMigrationJobsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DiskMigrationJob = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def run( + self, + *, + name: str, + body: RunDiskMigrationJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class MigratingVmsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -463,6 +520,23 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): previous_request: FetchInventoryResponseHttpRequest, previous_response: FetchInventoryResponse, ) -> FetchInventoryResponseHttpRequest | None: ... + def fetchStorageInventory( + self, + *, + source: str, + forceRefresh: bool = ..., + pageSize: int = ..., + pageToken: str = ..., + type: typing_extensions.Literal[ + "STORAGE_TYPE_UNSPECIFIED", "DISKS", "SNAPSHOTS" + ] = ..., + **kwargs: typing.Any, + ) -> FetchStorageInventoryResponseHttpRequest: ... + def fetchStorageInventory_next( + self, + previous_request: FetchStorageInventoryResponseHttpRequest, + previous_response: FetchStorageInventoryResponse, + ) -> FetchStorageInventoryResponseHttpRequest | None: ... def get( self, *, name: str, **kwargs: typing.Any ) -> SourceHttpRequest: ... @@ -491,6 +565,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def datacenterConnectors(self) -> DatacenterConnectorsResource: ... + def diskMigrationJobs(self) -> DiskMigrationJobsResource: ... def migratingVms(self) -> MigratingVmsResource: ... def utilizationReports(self) -> UtilizationReportsResource: ... @@ -600,6 +675,14 @@ class DatacenterConnectorHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DatacenterConnector: ... +@typing.type_check_only +class DiskMigrationJobHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DiskMigrationJob: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -616,6 +699,14 @@ class FetchInventoryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FetchInventoryResponse: ... +@typing.type_check_only +class FetchStorageInventoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchStorageInventoryResponse: ... + @typing.type_check_only class GroupHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -664,6 +755,14 @@ class ListDatacenterConnectorsResponseHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> ListDatacenterConnectorsResponse: ... +@typing.type_check_only +class ListDiskMigrationJobsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDiskMigrationJobsResponse: ... + @typing.type_check_only class ListGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi index 60da523d..e245fb56 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi @@ -10,6 +10,11 @@ class AccessKeyCredentials(typing_extensions.TypedDict, total=False): secretAccessKey: str sessionToken: str +@typing.type_check_only +class AdaptationModifier(typing_extensions.TypedDict, total=False): + modifier: str + value: str + @typing.type_check_only class AdaptingOSStep(typing_extensions.TypedDict, total=False): ... @@ -56,6 +61,15 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): publicIp: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] +@typing.type_check_only +class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): + diskType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "GP2", "GP3", "IO1", "IO2", "ST1", "SC1", "STANDARD" + ] + sizeGib: str + tags: dict[str, typing.Any] + volumeId: str + @typing.type_check_only class AwsSourceVmDetails(typing_extensions.TypedDict, total=False): architecture: typing_extensions.Literal[ @@ -182,6 +196,9 @@ class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... @@ -223,6 +240,19 @@ class CloneStep(typing_extensions.TypedDict, total=False): preparingVmDisks: PreparingVMDisksStep startTime: str +@typing.type_check_only +class ComputeEngineDisk(typing_extensions.TypedDict, total=False): + diskId: str + diskType: typing_extensions.Literal[ + "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", + "COMPUTE_ENGINE_DISK_TYPE_STANDARD", + "COMPUTE_ENGINE_DISK_TYPE_SSD", + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + ] + replicaZones: _list[str] + zone: str + @typing.type_check_only class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False): disks: _list[PersistentDiskDefaults] @@ -239,6 +269,7 @@ class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense bootConversion: typing_extensions.Literal[ @@ -281,6 +312,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): @typing.type_check_only class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense bootConversion: typing_extensions.Literal[ @@ -332,9 +364,15 @@ class ComputeScheduling(typing_extensions.TypedDict, total=False): "RESTART_TYPE_UNSPECIFIED", "AUTOMATIC_RESTART", "NO_AUTOMATIC_RESTART" ] +@typing.type_check_only +class CopyingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CreatingImageStep(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CreatingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CutoverForecast(typing_extensions.TypedDict, total=False): estimatedCutoverJobDuration: str @@ -425,6 +463,40 @@ class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): singleRegionStorage: bool targetProject: str +@typing.type_check_only +class DiskMigrationJob(typing_extensions.TypedDict, total=False): + awsSourceDiskDetails: AwsSourceDiskDetails + createTime: str + errors: _list[Status] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "READY", + "RUNNING", + "SUCCEEDED", + "CANCELLING", + "CANCELLED", + "FAILED", + ] + steps: _list[DiskMigrationStep] + targetDetails: DiskMigrationJobTargetDetails + updateTime: str + +@typing.type_check_only +class DiskMigrationJobTargetDetails(typing_extensions.TypedDict, total=False): + encryption: Encryption + labels: dict[str, typing.Any] + targetDisk: ComputeEngineDisk + targetProject: str + +@typing.type_check_only +class DiskMigrationStep(typing_extensions.TypedDict, total=False): + copyingSourceDiskSnapshot: CopyingSourceDiskSnapshotStep + creatingSourceDiskSnapshot: CreatingSourceDiskSnapshotStep + endTime: str + provisioningTargetDisk: ProvisioningTargetDiskStep + startTime: str + @typing.type_check_only class DisksMigrationDisksTargetDefaults(typing_extensions.TypedDict, total=False): ... @@ -478,6 +550,12 @@ class FetchInventoryResponse(typing_extensions.TypedDict, total=False): updateTime: str vmwareVms: VmwareVmsDetails +@typing.type_check_only +class FetchStorageInventoryResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resources: _list[SourceStorageResource] + updateTime: str + @typing.type_check_only class FinalizeMigrationRequest(typing_extensions.TypedDict, total=False): ... @@ -528,6 +606,7 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] bootConversion: typing_extensions.Literal[ "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" ] @@ -579,6 +658,12 @@ class ListDatacenterConnectorsResponse(typing_extensions.TypedDict, total=False) nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListDiskMigrationJobsResponse(typing_extensions.TypedDict, total=False): + diskMigrationJobs: _list[DiskMigrationJob] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListGroupsResponse(typing_extensions.TypedDict, total=False): groups: _list[Group] @@ -612,6 +697,7 @@ class ListMigratingVmsResponse(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 ListReplicationCyclesResponse(typing_extensions.TypedDict, total=False): @@ -731,6 +817,7 @@ class MigrationError(typing_extensions.TypedDict, total=False): "UTILIZATION_REPORT_ERROR", "APPLIANCE_UPGRADE_ERROR", "IMAGE_IMPORT_ERROR", + "DISK_MIGRATION_ERROR", ] errorMessage: LocalizedMessage errorTime: str @@ -816,6 +903,9 @@ class PostProcessingStep(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class PreparingVMDisksStep(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ProvisioningTargetDiskStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class RemoveGroupMigrationRequest(typing_extensions.TypedDict, total=False): migratingVm: str @@ -849,6 +939,9 @@ class ReplicationSync(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchedulePolicy(typing_extensions.TypedDict, total=False): idleDuration: str @@ -889,6 +982,10 @@ class Source(typing_extensions.TypedDict, total=False): updateTime: str vmware: VmwareSourceDetails +@typing.type_check_only +class SourceStorageResource(typing_extensions.TypedDict, total=False): + awsDiskDetails: AwsSourceDiskDetails + @typing.type_check_only class StartMigrationRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi index 0ae9a49d..89056bb4 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi @@ -157,6 +157,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -207,6 +208,62 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class DiskMigrationJobsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelDiskMigrationJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: DiskMigrationJob = ..., + diskMigrationJobId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DiskMigrationJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDiskMigrationJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDiskMigrationJobsResponseHttpRequest, + previous_response: ListDiskMigrationJobsResponse, + ) -> ListDiskMigrationJobsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DiskMigrationJob = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def run( + self, + *, + name: str, + body: RunDiskMigrationJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class MigratingVmsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -463,6 +520,23 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): previous_request: FetchInventoryResponseHttpRequest, previous_response: FetchInventoryResponse, ) -> FetchInventoryResponseHttpRequest | None: ... + def fetchStorageInventory( + self, + *, + source: str, + forceRefresh: bool = ..., + pageSize: int = ..., + pageToken: str = ..., + type: typing_extensions.Literal[ + "STORAGE_TYPE_UNSPECIFIED", "DISKS", "SNAPSHOTS" + ] = ..., + **kwargs: typing.Any, + ) -> FetchStorageInventoryResponseHttpRequest: ... + def fetchStorageInventory_next( + self, + previous_request: FetchStorageInventoryResponseHttpRequest, + previous_response: FetchStorageInventoryResponse, + ) -> FetchStorageInventoryResponseHttpRequest | None: ... def get( self, *, name: str, **kwargs: typing.Any ) -> SourceHttpRequest: ... @@ -491,6 +565,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def datacenterConnectors(self) -> DatacenterConnectorsResource: ... + def diskMigrationJobs(self) -> DiskMigrationJobsResource: ... def migratingVms(self) -> MigratingVmsResource: ... def utilizationReports(self) -> UtilizationReportsResource: ... @@ -600,6 +675,14 @@ class DatacenterConnectorHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DatacenterConnector: ... +@typing.type_check_only +class DiskMigrationJobHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DiskMigrationJob: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -616,6 +699,14 @@ class FetchInventoryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FetchInventoryResponse: ... +@typing.type_check_only +class FetchStorageInventoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchStorageInventoryResponse: ... + @typing.type_check_only class GroupHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -664,6 +755,14 @@ class ListDatacenterConnectorsResponseHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> ListDatacenterConnectorsResponse: ... +@typing.type_check_only +class ListDiskMigrationJobsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDiskMigrationJobsResponse: ... + @typing.type_check_only class ListGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index 5de66d53..ab8ca3d9 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -10,6 +10,11 @@ class AccessKeyCredentials(typing_extensions.TypedDict, total=False): secretAccessKey: str sessionToken: str +@typing.type_check_only +class AdaptationModifier(typing_extensions.TypedDict, total=False): + modifier: str + value: str + @typing.type_check_only class AdaptingOSStep(typing_extensions.TypedDict, total=False): ... @@ -56,6 +61,15 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): publicIp: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] +@typing.type_check_only +class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): + diskType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "GP2", "GP3", "IO1", "IO2", "ST1", "SC1", "STANDARD" + ] + sizeGib: str + tags: dict[str, typing.Any] + volumeId: str + @typing.type_check_only class AwsSourceVmDetails(typing_extensions.TypedDict, total=False): architecture: typing_extensions.Literal[ @@ -182,6 +196,9 @@ class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... @@ -225,6 +242,19 @@ class CloneStep(typing_extensions.TypedDict, total=False): preparingVmDisks: PreparingVMDisksStep startTime: str +@typing.type_check_only +class ComputeEngineDisk(typing_extensions.TypedDict, total=False): + diskId: str + diskType: typing_extensions.Literal[ + "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", + "COMPUTE_ENGINE_DISK_TYPE_STANDARD", + "COMPUTE_ENGINE_DISK_TYPE_SSD", + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + ] + replicaZones: _list[str] + zone: str + @typing.type_check_only class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False): disks: _list[PersistentDiskDefaults] @@ -241,6 +271,7 @@ class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense bootConversion: typing_extensions.Literal[ @@ -283,6 +314,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): @typing.type_check_only class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense bootConversion: typing_extensions.Literal[ @@ -335,9 +367,15 @@ class ComputeScheduling(typing_extensions.TypedDict, total=False): "RESTART_TYPE_UNSPECIFIED", "AUTOMATIC_RESTART", "NO_AUTOMATIC_RESTART" ] +@typing.type_check_only +class CopyingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CreatingImageStep(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CreatingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CutoverForecast(typing_extensions.TypedDict, total=False): estimatedCutoverJobDuration: str @@ -431,6 +469,40 @@ class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): singleRegionStorage: bool targetProject: str +@typing.type_check_only +class DiskMigrationJob(typing_extensions.TypedDict, total=False): + awsSourceDiskDetails: AwsSourceDiskDetails + createTime: str + errors: _list[Status] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "READY", + "RUNNING", + "SUCCEEDED", + "CANCELLING", + "CANCELLED", + "FAILED", + ] + steps: _list[DiskMigrationStep] + targetDetails: DiskMigrationJobTargetDetails + updateTime: str + +@typing.type_check_only +class DiskMigrationJobTargetDetails(typing_extensions.TypedDict, total=False): + encryption: Encryption + labels: dict[str, typing.Any] + targetDisk: ComputeEngineDisk + targetProject: str + +@typing.type_check_only +class DiskMigrationStep(typing_extensions.TypedDict, total=False): + copyingSourceDiskSnapshot: CopyingSourceDiskSnapshotStep + creatingSourceDiskSnapshot: CreatingSourceDiskSnapshotStep + endTime: str + provisioningTargetDisk: ProvisioningTargetDiskStep + startTime: str + @typing.type_check_only class DisksMigrationDisksTargetDefaults(typing_extensions.TypedDict, total=False): ... @@ -484,6 +556,12 @@ class FetchInventoryResponse(typing_extensions.TypedDict, total=False): updateTime: str vmwareVms: VmwareVmsDetails +@typing.type_check_only +class FetchStorageInventoryResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resources: _list[SourceStorageResource] + updateTime: str + @typing.type_check_only class FinalizeMigrationRequest(typing_extensions.TypedDict, total=False): ... @@ -534,6 +612,7 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): + adaptationModifiers: _list[AdaptationModifier] bootConversion: typing_extensions.Literal[ "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" ] @@ -585,6 +664,12 @@ class ListDatacenterConnectorsResponse(typing_extensions.TypedDict, total=False) nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListDiskMigrationJobsResponse(typing_extensions.TypedDict, total=False): + diskMigrationJobs: _list[DiskMigrationJob] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListGroupsResponse(typing_extensions.TypedDict, total=False): groups: _list[Group] @@ -618,6 +703,7 @@ class ListMigratingVmsResponse(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 ListReplicationCyclesResponse(typing_extensions.TypedDict, total=False): @@ -739,6 +825,7 @@ class MigrationError(typing_extensions.TypedDict, total=False): "UTILIZATION_REPORT_ERROR", "APPLIANCE_UPGRADE_ERROR", "IMAGE_IMPORT_ERROR", + "DISK_MIGRATION_ERROR", ] errorMessage: LocalizedMessage errorTime: str @@ -824,6 +911,9 @@ class PostProcessingStep(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class PreparingVMDisksStep(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ProvisioningTargetDiskStep(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class RemoveGroupMigrationRequest(typing_extensions.TypedDict, total=False): migratingVm: str @@ -858,6 +948,9 @@ class ReplicationSync(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchedulePolicy(typing_extensions.TypedDict, total=False): idleDuration: str @@ -899,6 +992,10 @@ class Source(typing_extensions.TypedDict, total=False): updateTime: str vmware: VmwareSourceDetails +@typing.type_check_only +class SourceStorageResource(typing_extensions.TypedDict, total=False): + awsDiskDetails: AwsSourceDiskDetails + @typing.type_check_only class StartMigrationRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi index 12d4a4ad..1ec95d4e 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi @@ -640,6 +640,13 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def privateCloudDeletionNow( + self, + *, + name: str, + body: AcceleratePrivateCloudDeletionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def resetNsxCredentials( self, *, diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi index 2198eefc..1a644c5d 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi @@ -4,6 +4,11 @@ import typing_extensions _list = list +@typing.type_check_only +class AcceleratePrivateCloudDeletionRequest(typing_extensions.TypedDict, total=False): + etag: str + requestId: str + @typing.type_check_only class Announcement(typing_extensions.TypedDict, total=False): activityType: str diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi index a813189a..74bc72e8 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi @@ -946,6 +946,7 @@ class GroupingInfo(typing_extensions.TypedDict, total=False): class Image(typing_extensions.TypedDict, total=False): contentDescription: LocalizedString kind: str + privateImageId: str sourceUri: ImageUri @typing.type_check_only @@ -1244,6 +1245,7 @@ class MediaRequestInfo(typing_extensions.TypedDict, total=False): notificationType: typing_extensions.Literal[ "START", "PROGRESS", "END", "RESPONSE_SENT", "ERROR" ] + physicalHeaders: str requestId: str requestReceivedParamsServingInfo: str totalBytes: str @@ -1891,6 +1893,13 @@ class TranslatedString(typing_extensions.TypedDict, total=False): class UpcomingNotification(typing_extensions.TypedDict, total=False): enableNotification: bool +@typing.type_check_only +class UploadPrivateImageRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UploadPrivateImageResponse(typing_extensions.TypedDict, total=False): + privateImageId: str + @typing.type_check_only class Uri(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi index d1432477..8b7a38cc 100644 --- a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi @@ -19,10 +19,12 @@ class WebfontsResource(googleapiclient.discovery.Resource): self, *, capability: typing_extensions.Literal[ - "CAPABILITY_UNSPECIFIED", "WOFF2", "VF" + "CAPABILITY_UNSPECIFIED", "WOFF2", "VF", "FAMILY_TAGS" ] | _list[ - typing_extensions.Literal["CAPABILITY_UNSPECIFIED", "WOFF2", "VF"] + typing_extensions.Literal[ + "CAPABILITY_UNSPECIFIED", "WOFF2", "VF", "FAMILY_TAGS" + ] ] = ..., category: str = ..., family: str | _list[str] = ..., diff --git a/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi b/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi index 09d12c8f..273afad6 100644 --- a/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi @@ -10,6 +10,11 @@ class Axis(typing_extensions.TypedDict, total=False): start: float tag: str +@typing.type_check_only +class Tag(typing_extensions.TypedDict, total=False): + name: str + weight: float + @typing.type_check_only class Webfont(typing_extensions.TypedDict, total=False): axes: _list[Axis] @@ -21,6 +26,7 @@ class Webfont(typing_extensions.TypedDict, total=False): lastModified: str menu: str subsets: _list[str] + tags: _list[Tag] variants: _list[str] version: str diff --git a/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi b/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi index 143bf727..4471d2a7 100644 --- a/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi @@ -62,6 +62,7 @@ class WebRiskResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi b/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi index 094087c3..4fa94a88 100644 --- a/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi @@ -106,6 +106,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/workloadmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi index c1f7cff3..fd60edb0 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi @@ -140,6 +140,15 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): previous_request: ListEvaluationsResponseHttpRequest, previous_response: ListEvaluationsResponse, ) -> ListEvaluationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Evaluation = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def executions(self) -> ExecutionsResource: ... @typing.type_check_only @@ -177,6 +186,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -204,11 +214,6 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): pageToken: str = ..., **kwargs: typing.Any, ) -> ListRulesResponseHttpRequest: ... - def list_next( - self, - previous_request: ListRulesResponseHttpRequest, - previous_response: ListRulesResponse, - ) -> ListRulesResponseHttpRequest | None: ... def get( self, *, name: str, **kwargs: typing.Any diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi index d1126ed5..90f3bf95 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi @@ -9,6 +9,15 @@ class AgentCommand(typing_extensions.TypedDict, total=False): command: str parameters: dict[str, typing.Any] +@typing.type_check_only +class AgentStates(typing_extensions.TypedDict, total=False): + availableVersion: str + hanaMonitoring: ServiceStates + installedVersion: str + isFullyEnabled: bool + processMetrics: ServiceStates + systemDiscovery: ServiceStates + @typing.type_check_only class AgentStatus(typing_extensions.TypedDict, total=False): agentName: str @@ -22,6 +31,7 @@ class AgentStatus(typing_extensions.TypedDict, total=False): "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] installedVersion: str + instanceUri: str kernelVersion: SapDiscoveryResourceInstancePropertiesKernelVersion references: _list[AgentStatusReference] services: _list[AgentStatusServiceStatus] @@ -128,6 +138,7 @@ class Evaluation(typing_extensions.TypedDict, total=False): evaluationType: typing_extensions.Literal[ "EVALUATION_TYPE_UNSPECIFIED", "SAP", "SQL_SERVER", "OTHER", "SCC_IAC" ] + kmsKey: str labels: dict[str, typing.Any] name: str resourceFilter: ResourceFilter @@ -140,6 +151,7 @@ class Evaluation(typing_extensions.TypedDict, total=False): @typing.type_check_only class Execution(typing_extensions.TypedDict, total=False): endTime: str + engine: typing_extensions.Literal["ENGINE_UNSPECIFIED", "ENGINE_SCANNER", "V2"] evaluationId: str externalDataSources: _list[ExternalDataSources] inventoryTime: str @@ -176,10 +188,16 @@ class ExternalDataSources(typing_extensions.TypedDict, total=False): class GceInstanceFilter(typing_extensions.TypedDict, total=False): serviceAccounts: _list[str] +@typing.type_check_only +class IAMPermission(typing_extensions.TypedDict, total=False): + granted: bool + name: str + @typing.type_check_only class Insight(typing_extensions.TypedDict, total=False): agentStatus: AgentStatus instanceId: str + openShiftValidation: OpenShiftValidation sapDiscovery: SapDiscovery sapValidation: SapValidation sentTime: str @@ -204,6 +222,17 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): status: str upcomingMaintenanceEvent: UpcomingMaintenanceEvent +@typing.type_check_only +class InvalidRule(typing_extensions.TypedDict, total=False): + displayName: str + gcsUri: str + name: str + valiadtionError: str + +@typing.type_check_only +class InvalidRulesWrapper(typing_extensions.TypedDict, total=False): + invalidRules: _list[InvalidRule] + @typing.type_check_only class ListDiscoveredProfilesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -236,10 +265,11 @@ 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 ListRulesResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str + invalidRulesWrapper: InvalidRulesWrapper rules: _list[Rule] @typing.type_check_only @@ -259,6 +289,11 @@ class Location(typing_extensions.TypedDict, total=False): class Notice(typing_extensions.TypedDict, total=False): message: str +@typing.type_check_only +class OpenShiftValidation(typing_extensions.TypedDict, total=False): + clusterId: str + validationDetails: dict[str, typing.Any] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -304,6 +339,7 @@ class ResourceStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Rule(typing_extensions.TypedDict, total=False): + assetType: str description: str displayName: str errorMessage: str @@ -311,6 +347,7 @@ class Rule(typing_extensions.TypedDict, total=False): primaryCategory: str remediation: str revisionId: str + ruleType: typing_extensions.Literal["RULE_TYPE_UNSPECIFIED", "BASELINE", "CUSTOM"] secondaryCategory: str severity: str tags: _list[str] @@ -525,6 +562,7 @@ class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties( @typing.type_check_only class SapInstanceProperties(typing_extensions.TypedDict, total=False): + agentStates: AgentStates numbers: _list[str] @typing.type_check_only @@ -569,6 +607,18 @@ class ScannedResource(typing_extensions.TypedDict, total=False): resource: str type: str +@typing.type_check_only +class ServiceStates(typing_extensions.TypedDict, total=False): + iamPermissions: _list[IAMPermission] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CONFIG_FAILURE", + "IAM_FAILURE", + "FUNCTIONALITY_FAILURE", + "ENABLED", + "DISABLED", + ] + @typing.type_check_only class ShellCommand(typing_extensions.TypedDict, total=False): args: str diff --git a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi index 7de0f5ad..3651f571 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi @@ -39,6 +39,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index d1442774..fabdc596 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -151,6 +151,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 ListUsableWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi index dff286d1..25a5f53e 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi @@ -39,6 +39,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index 29bed4ee..d05ae972 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -153,6 +153,7 @@ class HttpOptions(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 ListUsableWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): @@ -307,6 +308,7 @@ class Workstation(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkstationBoostConfig(typing_extensions.TypedDict, total=False): id: str + running: bool @typing.type_check_only class WorkstationCluster(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi index 1dbde66b..6227a986 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi @@ -941,6 +941,29 @@ class YouTubeResource(googleapiclient.discovery.Resource): class YoutubeResource(googleapiclient.discovery.Resource): @typing.type_check_only class V3Resource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LiveChatResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessagesResource(googleapiclient.discovery.Resource): + def stream( + self, + *, + hl: str = ..., + liveChatId: str = ..., + maxResults: int = ..., + pageToken: str = ..., + part: str | _list[str] = ..., + profileImageSize: int = ..., + **kwargs: typing.Any, + ) -> LiveChatMessageListResponseHttpRequest: ... + def stream_next( + self, + previous_request: LiveChatMessageListResponseHttpRequest, + previous_response: LiveChatMessageListResponse, + ) -> LiveChatMessageListResponseHttpRequest | None: ... + + def messages(self) -> MessagesResource: ... + def updateCommentThreads( self, *, @@ -948,6 +971,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): part: str | _list[str] = ..., **kwargs: typing.Any, ) -> CommentThreadHttpRequest: ... + def liveChat(self) -> LiveChatResource: ... def v3(self) -> V3Resource: ... diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 644a0d42..8154ecfc 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -86,6 +86,7 @@ import googleapiclient._apis.bigquery.v2 import googleapiclient._apis.bigqueryconnection.v1 import googleapiclient._apis.bigqueryconnection.v1beta1 import googleapiclient._apis.bigquerydatapolicy.v1 +import googleapiclient._apis.bigquerydatapolicy.v2 import googleapiclient._apis.bigquerydatatransfer.v1 import googleapiclient._apis.bigqueryreservation.v1 import googleapiclient._apis.bigqueryreservation.v1alpha2 @@ -108,6 +109,7 @@ 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.civicinfo.v2 import googleapiclient._apis.classroom.v1 import googleapiclient._apis.cloudasset.v1 @@ -138,6 +140,7 @@ import googleapiclient._apis.cloudidentity.v1 import googleapiclient._apis.cloudidentity.v1beta1 import googleapiclient._apis.cloudiot.v1 import googleapiclient._apis.cloudkms.v1 +import googleapiclient._apis.cloudlocationfinder.v1 import googleapiclient._apis.cloudlocationfinder.v1alpha import googleapiclient._apis.cloudprofiler.v2 import googleapiclient._apis.cloudresourcemanager.v1 @@ -181,11 +184,13 @@ import googleapiclient._apis.customsearch.v1 import googleapiclient._apis.datacatalog.v1 import googleapiclient._apis.datacatalog.v1beta1 import googleapiclient._apis.dataflow.v1b3 +import googleapiclient._apis.dataform.v1 import googleapiclient._apis.dataform.v1beta1 import googleapiclient._apis.datafusion.v1 import googleapiclient._apis.datafusion.v1beta1 import googleapiclient._apis.datalabeling.v1beta1 import googleapiclient._apis.datalineage.v1 +import googleapiclient._apis.datamanager.v1 import googleapiclient._apis.datamigration.v1 import googleapiclient._apis.datamigration.v1beta1 import googleapiclient._apis.datapipelines.v1 @@ -207,6 +212,7 @@ import googleapiclient._apis.dfareporting.v3_3 import googleapiclient._apis.dfareporting.v3_4 import googleapiclient._apis.dfareporting.v3_5 import googleapiclient._apis.dfareporting.v4 +import googleapiclient._apis.dfareporting.v5 import googleapiclient._apis.dialogflow.v2 import googleapiclient._apis.dialogflow.v2beta1 import googleapiclient._apis.dialogflow.v3 @@ -339,17 +345,29 @@ import googleapiclient._apis.marketingplatformadmin.v1alpha import googleapiclient._apis.meet.v2 import googleapiclient._apis.memcache.v1 import googleapiclient._apis.memcache.v1beta2 +import googleapiclient._apis.merchantapi.accounts_v1 import googleapiclient._apis.merchantapi.accounts_v1beta +import googleapiclient._apis.merchantapi.conversions_v1 import googleapiclient._apis.merchantapi.conversions_v1beta +import googleapiclient._apis.merchantapi.datasources_v1 import googleapiclient._apis.merchantapi.datasources_v1beta +import googleapiclient._apis.merchantapi.inventories_v1 import googleapiclient._apis.merchantapi.inventories_v1beta +import googleapiclient._apis.merchantapi.issueresolution_v1 import googleapiclient._apis.merchantapi.issueresolution_v1beta +import googleapiclient._apis.merchantapi.lfp_v1 import googleapiclient._apis.merchantapi.lfp_v1beta +import googleapiclient._apis.merchantapi.notifications_v1 import googleapiclient._apis.merchantapi.notifications_v1beta +import googleapiclient._apis.merchantapi.ordertracking_v1 import googleapiclient._apis.merchantapi.ordertracking_v1beta +import googleapiclient._apis.merchantapi.products_v1 import googleapiclient._apis.merchantapi.products_v1beta +import googleapiclient._apis.merchantapi.promotions_v1 import googleapiclient._apis.merchantapi.promotions_v1beta +import googleapiclient._apis.merchantapi.quota_v1 import googleapiclient._apis.merchantapi.quota_v1beta +import googleapiclient._apis.merchantapi.reports_v1 import googleapiclient._apis.merchantapi.reports_v1beta import googleapiclient._apis.merchantapi.reviews_v1beta import googleapiclient._apis.metastore.v1 @@ -464,6 +482,7 @@ import googleapiclient._apis.searchconsole.v1 import googleapiclient._apis.secretmanager.v1 import googleapiclient._apis.secretmanager.v1beta1 import googleapiclient._apis.secretmanager.v1beta2 +import googleapiclient._apis.securesourcemanager.v1 import googleapiclient._apis.securitycenter.v1 import googleapiclient._apis.securitycenter.v1beta1 import googleapiclient._apis.securitycenter.v1beta2 @@ -2165,6 +2184,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.bigquerydatapolicy.v1.BigQueryDataPolicyServiceResource: ... @overload +def build( + serviceName: Literal["bigquerydatapolicy"], + 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.bigquerydatapolicy.v2.BigQueryDataPolicyServiceResource: ... +@overload def build( serviceName: Literal["bigquerydatatransfer"], version: Literal["v1"], @@ -2605,6 +2644,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.chromeuxreport.v1.ChromeUXReportResource: ... @overload +def build( + serviceName: Literal["chromewebstore"], + version: Literal["v1.1"], + 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.v1_1.ChromewebstoreResource: ... +@overload def build( serviceName: Literal["civicinfo"], version: Literal["v2"], @@ -3207,6 +3266,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.cloudkms.v1.CloudKMSResource: ... @overload +def build( + serviceName: Literal["cloudlocationfinder"], + 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.cloudlocationfinder.v1.CloudLocationFinderResource: ... +@overload def build( serviceName: Literal["cloudlocationfinder"], version: Literal["v1alpha"], @@ -4071,6 +4150,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.dataflow.v1b3.DataflowResource: ... @overload +def build( + serviceName: Literal["dataform"], + 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.dataform.v1.DataformResource: ... +@overload def build( serviceName: Literal["dataform"], version: Literal["v1beta1"], @@ -4171,6 +4270,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.datalineage.v1.DatalineageResource: ... @overload +def build( + serviceName: Literal["datamanager"], + 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.datamanager.v1.DataManagerResource: ... +@overload def build( serviceName: Literal["datamigration"], version: Literal["v1"], @@ -4591,6 +4710,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.dfareporting.v4.DfareportingResource: ... @overload +def build( + serviceName: Literal["dfareporting"], + version: Literal["v5"], + 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.dfareporting.v5.DfareportingResource: ... +@overload def build( serviceName: Literal["dialogflow"], version: Literal["v2"], @@ -7235,6 +7374,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.memcache.v1beta2.CloudMemorystoreForMemcachedResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["accounts_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.merchantapi.accounts_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["accounts_v1beta"], @@ -7255,6 +7414,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.accounts_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["conversions_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.merchantapi.conversions_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["conversions_v1beta"], @@ -7275,6 +7454,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.conversions_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["datasources_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.merchantapi.datasources_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["datasources_v1beta"], @@ -7295,6 +7494,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.datasources_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["inventories_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.merchantapi.inventories_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["inventories_v1beta"], @@ -7315,6 +7534,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.inventories_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["issueresolution_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.merchantapi.issueresolution_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["issueresolution_v1beta"], @@ -7335,6 +7574,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.issueresolution_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["lfp_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.merchantapi.lfp_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["lfp_v1beta"], @@ -7355,6 +7614,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.lfp_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["notifications_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.merchantapi.notifications_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["notifications_v1beta"], @@ -7375,6 +7654,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.notifications_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["ordertracking_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.merchantapi.ordertracking_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["ordertracking_v1beta"], @@ -7395,6 +7694,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.ordertracking_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["products_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.merchantapi.products_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["products_v1beta"], @@ -7415,6 +7734,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.products_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["promotions_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.merchantapi.promotions_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["promotions_v1beta"], @@ -7435,6 +7774,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.promotions_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["quota_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.merchantapi.quota_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["quota_v1beta"], @@ -7455,6 +7814,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.quota_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["reports_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.merchantapi.reports_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["reports_v1beta"], @@ -9747,6 +10126,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.secretmanager.v1beta2.SecretManagerResource: ... @overload +def build( + serviceName: Literal["securesourcemanager"], + 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.securesourcemanager.v1.SecureSourceManagerResource: ... +@overload def build( serviceName: Literal["securitycenter"], version: Literal["v1"], diff --git a/pyproject.toml b/pyproject.toml index 129a32d5..21bdbe72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.176.0", + "google-api-python-client>=2.186.0", "types-httplib2>=0.22.0.2", "typing-extensions>=3.10.0", ] diff --git a/uv.lock b/uv.lock index 16f1fc75..ef8e4f1b 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.7" resolution-markers = [ "python_full_version < '3.8'", @@ -140,7 +140,7 @@ wheels = [ [[package]] name = "google-api-python-client" -version = "2.176.0" +version = "2.186.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-api-core" }, @@ -149,9 +149,9 @@ dependencies = [ { name = "httplib2" }, { name = "uritemplate" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3e/38/daf70faf6d05556d382bac640bc6765f09fcfb9dfb51ac4a595d3453a2a9/google_api_python_client-2.176.0.tar.gz", hash = "sha256:2b451cdd7fd10faeb5dd20f7d992f185e1e8f4124c35f2cdcc77c843139a4cf1", size = 13154773, upload-time = "2025-07-08T18:07:10.354Z" } +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" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b1/2c/758f415a19a12c3c6d06902794b0dd4c521d912a59b98ab752bba48812df/google_api_python_client-2.176.0-py3-none-any.whl", hash = "sha256:e22239797f1d085341e12cd924591fc65c56d08e0af02549d7606092e6296510", size = 13678445, upload-time = "2025-07-08T18:07:07.799Z" }, + { 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" }, ] [[package]] @@ -173,7 +173,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.176.0" }, + { name = "google-api-python-client", specifier = ">=2.186.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, { name = "typing-extensions", specifier = ">=3.10.0" }, ]