diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index 849c84c7..04356191 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -13,6 +13,8 @@ class AccessApprovalServiceAccount(typing_extensions.TypedDict, total=False): class AccessApprovalSettings(typing_extensions.TypedDict, total=False): activeKeyVersion: str ancestorHasActiveKeyVersion: bool + approvalPolicy: CustomerApprovalApprovalPolicy + effectiveApprovalPolicy: CustomerApprovalApprovalPolicy enrolledAncestor: bool enrolledServices: _list[EnrolledService] invalidKeyVersion: bool @@ -71,12 +73,23 @@ class ApproveDecision(typing_extensions.TypedDict, total=False): autoApproved: bool expireTime: str invalidateTime: str + policyApproved: bool signatureInfo: SignatureInfo @typing.type_check_only class AugmentedInfo(typing_extensions.TypedDict, total=False): command: str +@typing.type_check_only +class CustomerApprovalApprovalPolicy(typing_extensions.TypedDict, total=False): + justificationBasedApprovalPolicy: typing_extensions.Literal[ + "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED", + "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL", + "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS", + "JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED", + "JUSTIFICATION_BASED_APPROVAL_INHERITED", + ] + @typing.type_check_only class DismissApprovalRequestMessage(typing_extensions.TypedDict, total=False): ... @@ -147,6 +160,9 @@ class SignatureInfo(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] googlePublicKeyPem: str serializedApprovalRequest: str diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index 5f9e3a76..bf53db74 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -162,6 +162,7 @@ class EgressTo(typing_extensions.TypedDict, total=False): externalResources: _list[str] operations: _list[ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -222,6 +223,7 @@ class IngressSource(typing_extensions.TypedDict, total=False): class IngressTo(typing_extensions.TypedDict, total=False): operations: _list[ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class ListAccessLevelsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi b/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi index e89410a3..985cbdef 100644 --- a/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi @@ -184,6 +184,7 @@ class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=Fa ] hasInferredComponents: bool hasReplacedComponents: bool + hasSpellCorrectedComponents: bool hasUnconfirmedComponents: bool inputGranularity: typing_extensions.Literal[ "GRANULARITY_UNSPECIFIED", @@ -194,6 +195,13 @@ class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=Fa "ROUTE", "OTHER", ] + possibleNextAction: typing_extensions.Literal[ + "POSSIBLE_NEXT_ACTION_UNSPECIFIED", + "FIX", + "CONFIRM_ADD_SUBPREMISES", + "CONFIRM", + "ACCEPT", + ] validationGranularity: typing_extensions.Literal[ "GRANULARITY_UNSPECIFIED", "SUB_PREMISE", diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi index 1f206371..6e31facc 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi @@ -233,6 +233,10 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): "educationUpgrade", "education", "kioskUpgrade", + "enterpriseUpgradePerpetual", + "enterpriseUpgradeFixedTerm", + "educationUpgradePerpetual", + "educationUpgradeFixedTerm", ] diskSpaceUsage: ByteUsage diskVolumeReports: _list[dict[str, typing.Any]] @@ -347,6 +351,7 @@ class DirectoryChromeosdevicesCommand(typing_extensions.TypedDict, total=False): "REMOTE_POWERWASH", "DEVICE_START_CRD_SESSION", "CAPTURE_LOGS", + "FETCH_CRD_AVAILABILITY_INFO", "FETCH_SUPPORT_PACKET", ] @@ -372,6 +377,7 @@ class DirectoryChromeosdevicesIssueCommandRequest( "REMOTE_POWERWASH", "DEVICE_START_CRD_SESSION", "CAPTURE_LOGS", + "FETCH_CRD_AVAILABILITY_INFO", "FETCH_SUPPORT_PACKET", ] payload: str diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index df563431..e69cf35e 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -42,6 +42,7 @@ class ReportsResource(googleapiclient.discovery.Resource): "data_studio", "keep", "vault", + "gemini_in_workspace_apps", ], actorIpAddress: str = ..., customerId: str = ..., diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi index 5cc81e60..e6df697d 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi @@ -19,7 +19,22 @@ class Activity(typing_extensions.TypedDict, total=False): id: dict[str, typing.Any] ipAddress: str kind: str + networkInfo: ActivityNetworkInfo ownerDomain: str + resourceDetails: _list[ResourceDetails] + +@typing.type_check_only +class ActivityNetworkInfo(typing_extensions.TypedDict, total=False): + ipAsn: _list[int] + regionCode: str + subdivisionCode: str + +@typing.type_check_only +class AppliedLabel(typing_extensions.TypedDict, total=False): + fieldValues: _list[FieldValue] + id: str + reason: Reason + title: str @typing.type_check_only class Channel(typing_extensions.TypedDict, total=False): @@ -34,6 +49,51 @@ class Channel(typing_extensions.TypedDict, total=False): token: str type: str +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class FieldValue(typing_extensions.TypedDict, total=False): + dateValue: Date + displayName: str + id: str + integerValue: str + longTextValue: str + reason: Reason + selectionListValue: FieldValueSelectionListValue + selectionValue: FieldValueSelectionValue + textListValue: FieldValueTextListValue + textValue: str + type: str + unsetValue: bool + userListValue: FieldValueUserListValue + userValue: FieldValueUserValue + +@typing.type_check_only +class FieldValueSelectionListValue(typing_extensions.TypedDict, total=False): + values: _list[FieldValueSelectionValue] + +@typing.type_check_only +class FieldValueSelectionValue(typing_extensions.TypedDict, total=False): + badged: bool + displayName: str + id: str + +@typing.type_check_only +class FieldValueTextListValue(typing_extensions.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class FieldValueUserListValue(typing_extensions.TypedDict, total=False): + values: _list[FieldValueUserValue] + +@typing.type_check_only +class FieldValueUserValue(typing_extensions.TypedDict, total=False): + email: str + @typing.type_check_only class NestedParameter(typing_extensions.TypedDict, total=False): boolValue: bool @@ -44,6 +104,18 @@ class NestedParameter(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class Reason(typing_extensions.TypedDict, total=False): + reasonType: str + +@typing.type_check_only +class ResourceDetails(typing_extensions.TypedDict, total=False): + appliedLabels: _list[AppliedLabel] + id: str + relation: str + title: str + type: str + @typing.type_check_only class UsageReport(typing_extensions.TypedDict, total=False): date: str diff --git a/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi b/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi index 1e0e4746..bea367df 100644 --- a/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi @@ -201,6 +201,9 @@ class PolicyIssue(typing_extensions.TypedDict, total=False): class PolicyTopic(typing_extensions.TypedDict, total=False): mustFix: bool topic: str + type: typing_extensions.Literal[ + "POLICY_TOPIC_TYPE_UNSPECIFIED", "POLICY", "ADVERTISER_PREFERENCE", "REGULATORY" + ] @typing.type_check_only class ReportResult(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi index a9f9b227..00a4a823 100644 --- a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi @@ -21,6 +21,9 @@ class AdSensePlatformResource(googleapiclient.discovery.Resource): class ChildAccountsResource(googleapiclient.discovery.Resource): @typing.type_check_only class SitesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PlatformChildSiteHttpRequest: ... def list( self, *, @@ -47,6 +50,9 @@ class AdSensePlatformResource(googleapiclient.discovery.Resource): @typing.type_check_only class GroupsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PlatformGroupHttpRequest: ... def list( self, *, @@ -60,6 +66,14 @@ class AdSensePlatformResource(googleapiclient.discovery.Resource): previous_request: ListPlatformGroupsResponseHttpRequest, previous_response: ListPlatformGroupsResponse, ) -> ListPlatformGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: PlatformGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> PlatformGroupHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -263,6 +277,14 @@ class PlatformChildSiteHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> PlatformChildSite: ... +@typing.type_check_only +class PlatformGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PlatformGroup: ... + @typing.type_check_only class RequestSiteReviewResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index b23f1a0c..a1309500 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -13,6 +13,36 @@ _list = list @typing.type_check_only class AiplatformResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BatchPredictionJobsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: GoogleCloudAiplatformV1BatchPredictionJob = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListBatchPredictionJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest | None + ): ... + @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -101,6 +131,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): @typing.type_check_only class EndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChatResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def computeTokens( self, *, @@ -115,6 +155,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1CountTokensRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def generateContent( self, *, @@ -122,6 +169,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1GenerateContentRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def streamGenerateContent( self, *, @@ -129,6 +190,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1GenerateContentRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def chat(self) -> ChatResource: ... @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): @@ -1148,6 +1210,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1FeatureGroupHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1173,6 +1242,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def features(self) -> FeaturesResource: ... def operations(self) -> OperationsResource: ... @@ -2758,6 +2841,22 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleCloudAiplatformV1ListModelsResponseHttpRequest, previous_response: GoogleCloudAiplatformV1ListModelsResponse, ) -> GoogleCloudAiplatformV1ListModelsResponseHttpRequest | None: ... + def listCheckpoints( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest: ... + def listCheckpoints_next( + self, + previous_request: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse, + ) -> ( + GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest + | None + ): ... def listVersions( self, *, @@ -3550,6 +3649,39 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def ragFiles(self) -> RagFilesResource: ... + @typing.type_check_only + class RagEngineConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class ReasoningEnginesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -3589,7 +3721,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -4513,6 +4645,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1CorroborateContentRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1CorroborateContentResponseHttpRequest: ... + def deploy( + self, + *, + destination: str, + body: GoogleCloudAiplatformV1DeployRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateDataset( + self, + *, + location: str, + body: GoogleCloudAiplatformV1EvaluateDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def evaluateInstances( self, *, @@ -4523,10 +4669,14 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudLocationLocationHttpRequest: ... + def getRagEngineConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1RagEngineConfigHttpRequest: ... def list( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -4544,6 +4694,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1RetrieveContextsRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1RetrieveContextsResponseHttpRequest: ... + def updateRagEngineConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RagEngineConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... def cachedContents(self) -> CachedContentsResource: ... def customJobs(self) -> CustomJobsResource: ... @@ -4572,6 +4729,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def pipelineJobs(self) -> PipelineJobsResource: ... def publishers(self) -> PublishersResource: ... def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... def schedules(self) -> SchedulesResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... @@ -4610,6 +4768,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1CountTokensRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def generateContent( self, *, @@ -4632,6 +4797,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1PublisherModelHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def streamGenerateContent( self, *, @@ -4642,6 +4821,58 @@ class AiplatformResource(googleapiclient.discovery.Resource): def models(self) -> ModelsResource: ... + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ReasoningEngineHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListReasoningEnginesResponse, + ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def query( + self, + *, + name: str, + body: GoogleCloudAiplatformV1QueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1QueryReasoningEngineResponseHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -4654,11 +4885,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... def datasets(self) -> DatasetsResource: ... def endpoints(self) -> EndpointsResource: ... def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... + def reasoningEngines(self) -> ReasoningEnginesResource: ... @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): @@ -5348,6 +5581,16 @@ class GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListModelEvaluationsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -5758,6 +6001,16 @@ class GoogleCloudAiplatformV1RagCorpusHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> GoogleCloudAiplatformV1RagCorpus: ... +@typing.type_check_only +class GoogleCloudAiplatformV1RagEngineConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1RagEngineConfig: ... + @typing.type_check_only class GoogleCloudAiplatformV1RagFileHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index c8f87c27..28667e14 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -11,6 +11,15 @@ class CloudAiLargeModelsVisionGenerateVideoResponse( generatedSamples: _list[CloudAiLargeModelsVisionMedia] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] + videos: _list[CloudAiLargeModelsVisionGenerateVideoResponseVideo] + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoResponseVideo( + typing_extensions.TypedDict, total=False +): + bytesBase64Encoded: str + gcsUri: str + mimeType: str @typing.type_check_only class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): @@ -96,6 +105,7 @@ class CloudAiLargeModelsVisionSemanticFilterResponse( class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): encodedVideo: str encoding: str + text: str uri: str video: str @@ -215,6 +225,7 @@ class GoogleCloudAiplatformV1ApiAuthApiKeyConfig( typing_extensions.TypedDict, total=False ): apiKeySecretVersion: str + apiKeyString: str @typing.type_check_only class GoogleCloudAiplatformV1Artifact(typing_extensions.TypedDict, total=False): @@ -278,6 +289,67 @@ class GoogleCloudAiplatformV1AugmentPromptResponse( augmentedPrompt: _list[GoogleCloudAiplatformV1Content] facts: _list[GoogleCloudAiplatformV1Fact] +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfig(typing_extensions.TypedDict, total=False): + apiKeyConfig: GoogleCloudAiplatformV1AuthConfigApiKeyConfig + authType: typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "API_KEY_AUTH", + "HTTP_BASIC_AUTH", + "GOOGLE_SERVICE_ACCOUNT_AUTH", + "OAUTH", + "OIDC_AUTH", + ] + googleServiceAccountConfig: ( + GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig + ) + httpBasicAuthConfig: GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig + oauthConfig: GoogleCloudAiplatformV1AuthConfigOauthConfig + oidcConfig: GoogleCloudAiplatformV1AuthConfigOidcConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfigApiKeyConfig( + typing_extensions.TypedDict, total=False +): + apiKeySecret: str + apiKeyString: str + httpElementLocation: typing_extensions.Literal[ + "HTTP_IN_UNSPECIFIED", + "HTTP_IN_QUERY", + "HTTP_IN_HEADER", + "HTTP_IN_PATH", + "HTTP_IN_BODY", + "HTTP_IN_COOKIE", + ] + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig( + typing_extensions.TypedDict, total=False +): + credentialSecret: str + +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfigOauthConfig( + typing_extensions.TypedDict, total=False +): + accessToken: str + serviceAccount: str + +@typing.type_check_only +class GoogleCloudAiplatformV1AuthConfigOidcConfig( + typing_extensions.TypedDict, total=False +): + idToken: str + serviceAccount: str + @typing.type_check_only class GoogleCloudAiplatformV1AutomaticResources( typing_extensions.TypedDict, total=False @@ -285,6 +357,12 @@ class GoogleCloudAiplatformV1AutomaticResources( maxReplicaCount: int minReplicaCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1AutoraterConfig(typing_extensions.TypedDict, total=False): + autoraterModel: str + flipEnabled: bool + samplingCount: int + @typing.type_check_only class GoogleCloudAiplatformV1AutoscalingMetricSpec( typing_extensions.TypedDict, total=False @@ -573,6 +651,7 @@ class GoogleCloudAiplatformV1BleuSpec(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudAiplatformV1Blob(typing_extensions.TypedDict, total=False): data: str + displayName: str mimeType: str @typing.type_check_only @@ -595,6 +674,7 @@ class GoogleCloudAiplatformV1CachedContent(typing_extensions.TypedDict, total=Fa contents: _list[GoogleCloudAiplatformV1Content] createTime: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec expireTime: str model: str name: str @@ -672,11 +752,17 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "IMAGE_SAFETY", + "IMAGE_PROHIBITED_CONTENT", + "IMAGE_RECITATION", + "IMAGE_OTHER", + "UNEXPECTED_TOOL_CALL", ] groundingMetadata: GoogleCloudAiplatformV1GroundingMetadata index: int logprobsResult: GoogleCloudAiplatformV1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1SafetyRating] + urlContextMetadata: GoogleCloudAiplatformV1UrlContextMetadata @typing.type_check_only class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata( @@ -697,6 +783,12 @@ class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse( ): shouldStop: bool +@typing.type_check_only +class GoogleCloudAiplatformV1Checkpoint(typing_extensions.TypedDict, total=False): + checkpointId: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1Citation(typing_extensions.TypedDict, total=False): endIndex: int @@ -723,6 +815,18 @@ class GoogleCloudAiplatformV1ClientConnectionConfig( ): inferenceTimeout: str +@typing.type_check_only +class GoogleCloudAiplatformV1CodeExecutionResult( + 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 GoogleCloudAiplatformV1CoherenceInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1CoherenceInstance @@ -744,6 +848,11 @@ class GoogleCloudAiplatformV1CoherenceResult(typing_extensions.TypedDict, total= class GoogleCloudAiplatformV1CoherenceSpec(typing_extensions.TypedDict, total=False): version: int +@typing.type_check_only +class GoogleCloudAiplatformV1ColabImage(typing_extensions.TypedDict, total=False): + description: str + releaseName: str + @typing.type_check_only class GoogleCloudAiplatformV1CometInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1CometInstance @@ -812,6 +921,16 @@ class GoogleCloudAiplatformV1Content(typing_extensions.TypedDict, total=False): parts: _list[GoogleCloudAiplatformV1Part] role: str +@typing.type_check_only +class GoogleCloudAiplatformV1ContentMap(typing_extensions.TypedDict, total=False): + values: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1ContentMapContents( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1Content] + @typing.type_check_only class GoogleCloudAiplatformV1Context(typing_extensions.TypedDict, total=False): createTime: str @@ -887,6 +1006,7 @@ class GoogleCloudAiplatformV1CountTokensRequest( class GoogleCloudAiplatformV1CountTokensResponse( typing_extensions.TypedDict, total=False ): + promptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @@ -1105,12 +1225,23 @@ class GoogleCloudAiplatformV1CustomJobSpec(typing_extensions.TypedDict, total=Fa network: str persistentResourceId: str protectedArtifactLocationId: str + pscInterfaceConfig: GoogleCloudAiplatformV1PscInterfaceConfig reservedIpRanges: _list[str] scheduling: GoogleCloudAiplatformV1Scheduling serviceAccount: str tensorboard: str workerPoolSpecs: _list[GoogleCloudAiplatformV1WorkerPoolSpec] +@typing.type_check_only +class GoogleCloudAiplatformV1CustomOutput(typing_extensions.TypedDict, total=False): + rawOutputs: GoogleCloudAiplatformV1RawOutput + +@typing.type_check_only +class GoogleCloudAiplatformV1CustomOutputFormatConfig( + typing_extensions.TypedDict, total=False +): + returnRawOutput: bool + @typing.type_check_only class GoogleCloudAiplatformV1DataItem(typing_extensions.TypedDict, total=False): createTime: str @@ -1308,6 +1439,55 @@ class GoogleCloudAiplatformV1DeployModelResponse( ): deployedModel: GoogleCloudAiplatformV1DeployedModel +@typing.type_check_only +class GoogleCloudAiplatformV1DeployOperationMetadata( + typing_extensions.TypedDict, total=False +): + destination: str + genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata + modelId: str + projectNumber: str + publisherModel: str + +@typing.type_check_only +class GoogleCloudAiplatformV1DeployRequest(typing_extensions.TypedDict, total=False): + deployConfig: GoogleCloudAiplatformV1DeployRequestDeployConfig + endpointConfig: GoogleCloudAiplatformV1DeployRequestEndpointConfig + huggingFaceModelId: str + modelConfig: GoogleCloudAiplatformV1DeployRequestModelConfig + publisherModelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1DeployRequestDeployConfig( + typing_extensions.TypedDict, total=False +): + dedicatedResources: GoogleCloudAiplatformV1DedicatedResources + fastTryoutEnabled: bool + systemLabels: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1DeployRequestEndpointConfig( + typing_extensions.TypedDict, total=False +): + dedicatedEndpointEnabled: bool + endpointDisplayName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1DeployRequestModelConfig( + typing_extensions.TypedDict, total=False +): + acceptEula: bool + containerSpec: GoogleCloudAiplatformV1ModelContainerSpec + huggingFaceAccessToken: str + huggingFaceCacheEnabled: bool + modelDisplayName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1DeployResponse(typing_extensions.TypedDict, total=False): + endpoint: str + model: str + publisherModel: str + @typing.type_check_only class GoogleCloudAiplatformV1DeployedIndex(typing_extensions.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1AutomaticResources @@ -1346,6 +1526,7 @@ class GoogleCloudAiplatformV1DeployedIndexRef(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1DeployedModel(typing_extensions.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1AutomaticResources + checkpointId: str createTime: str dedicatedResources: GoogleCloudAiplatformV1DedicatedResources disableContainerLogging: bool @@ -1360,11 +1541,13 @@ class GoogleCloudAiplatformV1DeployedModel(typing_extensions.TypedDict, total=Fa privateEndpoints: GoogleCloudAiplatformV1PrivateEndpoints serviceAccount: str sharedResources: str + speculativeDecodingSpec: GoogleCloudAiplatformV1SpeculativeDecodingSpec status: GoogleCloudAiplatformV1DeployedModelStatus systemLabels: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1DeployedModelRef(typing_extensions.TypedDict, total=False): + checkpointId: str deployedModelId: str endpoint: str @@ -1433,6 +1616,12 @@ class GoogleCloudAiplatformV1DiskSpec(typing_extensions.TypedDict, total=False): bootDiskSizeGb: int bootDiskType: str +@typing.type_check_only +class GoogleCloudAiplatformV1DnsPeeringConfig(typing_extensions.TypedDict, total=False): + domain: str + targetNetwork: str + targetProject: str + @typing.type_check_only class GoogleCloudAiplatformV1DoubleArray(typing_extensions.TypedDict, total=False): values: _list[float] @@ -1460,6 +1649,7 @@ class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): enablePrivateServiceConnect: bool encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec etag: str + genAiAdvancedFeaturesConfig: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig labels: dict[str, typing.Any] modelDeploymentMonitoringJob: str name: str @@ -1473,6 +1663,11 @@ class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): trafficSplit: dict[str, typing.Any] updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1EnterpriseWebSearch( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1EntityIdSelector(typing_extensions.TypedDict, total=False): csvSource: GoogleCloudAiplatformV1CsvSource @@ -1517,10 +1712,20 @@ class GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem( annotationResourceName: str distance: float +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluateDatasetRequest( + typing_extensions.TypedDict, total=False +): + autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig + dataset: GoogleCloudAiplatformV1EvaluationDataset + metrics: _list[GoogleCloudAiplatformV1Metric] + outputConfig: GoogleCloudAiplatformV1OutputConfig + @typing.type_check_only class GoogleCloudAiplatformV1EvaluateInstancesRequest( typing_extensions.TypedDict, total=False ): + autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig bleuInput: GoogleCloudAiplatformV1BleuInput coherenceInput: GoogleCloudAiplatformV1CoherenceInput cometInput: GoogleCloudAiplatformV1CometInput @@ -1548,6 +1753,9 @@ class GoogleCloudAiplatformV1EvaluateInstancesRequest( GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput ) rougeInput: GoogleCloudAiplatformV1RougeInput + rubricBasedInstructionFollowingInput: ( + GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput + ) safetyInput: GoogleCloudAiplatformV1SafetyInput summarizationHelpfulnessInput: GoogleCloudAiplatformV1SummarizationHelpfulnessInput summarizationQualityInput: GoogleCloudAiplatformV1SummarizationQualityInput @@ -1596,6 +1804,9 @@ class GoogleCloudAiplatformV1EvaluateInstancesResponse( GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult ) rougeResults: GoogleCloudAiplatformV1RougeResults + rubricBasedInstructionFollowingResult: ( + GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult + ) safetyResult: GoogleCloudAiplatformV1SafetyResult summarizationHelpfulnessResult: ( GoogleCloudAiplatformV1SummarizationHelpfulnessResult @@ -1641,6 +1852,13 @@ class GoogleCloudAiplatformV1EvaluatedAnnotationExplanation( explanation: GoogleCloudAiplatformV1Explanation explanationType: str +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationDataset( + typing_extensions.TypedDict, total=False +): + bigquerySource: GoogleCloudAiplatformV1BigQuerySource + gcsSource: GoogleCloudAiplatformV1GcsSource + @typing.type_check_only class GoogleCloudAiplatformV1Event(typing_extensions.TypedDict, total=False): artifact: str @@ -1710,6 +1928,11 @@ class GoogleCloudAiplatformV1ExamplesRestrictionsNamespace( deny: _list[str] namespaceName: str +@typing.type_check_only +class GoogleCloudAiplatformV1ExecutableCode(typing_extensions.TypedDict, total=False): + code: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + @typing.type_check_only class GoogleCloudAiplatformV1Execution(typing_extensions.TypedDict, total=False): createTime: str @@ -1996,8 +2219,33 @@ class GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse( nextPageToken: str timeSeriesDataPoints: _list[GoogleCloudAiplatformV1TimeSeriesDataPoint] +@typing.type_check_only +class GoogleCloudAiplatformV1ExternalApi(typing_extensions.TypedDict, total=False): + apiAuth: GoogleCloudAiplatformV1ApiAuth + apiSpec: typing_extensions.Literal[ + "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" + ] + authConfig: GoogleCloudAiplatformV1AuthConfig + elasticSearchParams: GoogleCloudAiplatformV1ExternalApiElasticSearchParams + endpoint: str + simpleSearchParams: GoogleCloudAiplatformV1ExternalApiSimpleSearchParams + +@typing.type_check_only +class GoogleCloudAiplatformV1ExternalApiElasticSearchParams( + typing_extensions.TypedDict, total=False +): + index: str + numHits: int + searchTemplate: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ExternalApiSimpleSearchParams( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1Fact(typing_extensions.TypedDict, total=False): + chunk: GoogleCloudAiplatformV1RagChunk query: str score: float summary: str @@ -2047,6 +2295,12 @@ class GoogleCloudAiplatformV1FeatureGroup(typing_extensions.TypedDict, total=Fal etag: str labels: dict[str, typing.Any] name: str + serviceAccountEmail: str + serviceAgentType: typing_extensions.Literal[ + "SERVICE_AGENT_TYPE_UNSPECIFIED", + "SERVICE_AGENT_TYPE_PROJECT", + "SERVICE_AGENT_TYPE_FEATURE_GROUP", + ] updateTime: str @typing.type_check_only @@ -2193,6 +2447,12 @@ class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=Fals optimizedConfig: GoogleCloudAiplatformV1FeatureViewOptimizedConfig satisfiesPzi: bool satisfiesPzs: bool + serviceAccountEmail: str + serviceAgentType: typing_extensions.Literal[ + "SERVICE_AGENT_TYPE_UNSPECIFIED", + "SERVICE_AGENT_TYPE_PROJECT", + "SERVICE_AGENT_TYPE_FEATURE_VIEW", + ] syncConfig: GoogleCloudAiplatformV1FeatureViewSyncConfig updateTime: str vertexRagSource: GoogleCloudAiplatformV1FeatureViewVertexRagSource @@ -2413,6 +2673,7 @@ class GoogleCloudAiplatformV1FetchPredictOperationRequest( @typing.type_check_only class GoogleCloudAiplatformV1FileData(typing_extensions.TypedDict, total=False): + displayName: str fileUri: str mimeType: str @@ -2543,7 +2804,9 @@ class GoogleCloudAiplatformV1FunctionDeclaration( description: str name: str parameters: GoogleCloudAiplatformV1Schema + parametersJsonSchema: typing.Any response: GoogleCloudAiplatformV1Schema + responseJsonSchema: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1FunctionResponse(typing_extensions.TypedDict, total=False): @@ -2558,6 +2821,18 @@ class GoogleCloudAiplatformV1GcsDestination(typing_extensions.TypedDict, total=F class GoogleCloudAiplatformV1GcsSource(typing_extensions.TypedDict, total=False): uris: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig( + typing_extensions.TypedDict, total=False +): + ragConfig: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig( + typing_extensions.TypedDict, total=False +): + enableRag: bool + @typing.type_check_only class GoogleCloudAiplatformV1GenerateContentRequest( typing_extensions.TypedDict, total=False @@ -2576,8 +2851,10 @@ class GoogleCloudAiplatformV1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1Candidate] + createTime: str modelVersion: str promptFeedback: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback + responseId: str usageMetadata: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata @typing.type_check_only @@ -2590,6 +2867,7 @@ class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "IMAGE_SAFETY", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1SafetyRating] @@ -2598,15 +2876,42 @@ class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( typing_extensions.TypedDict, total=False ): + cacheTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] cachedContentTokenCount: int candidatesTokenCount: int + candidatesTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] promptTokenCount: int + promptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] + thoughtsTokenCount: int + toolUsePromptTokenCount: int + toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalTokenCount: int + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateVideoResponse( + typing_extensions.TypedDict, total=False +): + generatedSamples: _list[str] + raiMediaFilteredCount: int + raiMediaFilteredReasons: _list[str] + videos: _list[GoogleCloudAiplatformV1GenerateVideoResponseVideo] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateVideoResponseVideo( + typing_extensions.TypedDict, total=False +): + bytesBase64Encoded: str + gcsUri: str + mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total=False): audioTimestamp: bool candidateCount: int + enableAffectiveDialog: bool frequencyPenalty: float logprobs: int maxOutputTokens: int @@ -2617,6 +2922,7 @@ class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total "MEDIA_RESOLUTION_HIGH", ] presencePenalty: float + responseJsonSchema: typing.Any responseLogprobs: bool responseMimeType: str responseModalities: _list[ @@ -2628,6 +2934,7 @@ class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total speechConfig: GoogleCloudAiplatformV1SpeechConfig stopSequences: _list[str] temperature: float + thinkingConfig: GoogleCloudAiplatformV1GenerationConfigThinkingConfig topK: float topP: float @@ -2652,6 +2959,13 @@ class GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode( ): modelName: str +@typing.type_check_only +class GoogleCloudAiplatformV1GenerationConfigThinkingConfig( + typing_extensions.TypedDict, total=False +): + includeThoughts: bool + thinkingBudget: int + @typing.type_check_only class GoogleCloudAiplatformV1GenericOperationMetadata( typing_extensions.TypedDict, total=False @@ -2720,6 +3034,7 @@ class GoogleCloudAiplatformV1GroundingChunk(typing_extensions.TypedDict, total=F class GoogleCloudAiplatformV1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + ragChunk: GoogleCloudAiplatformV1RagChunk text: str title: str uri: str @@ -2728,6 +3043,7 @@ class GoogleCloudAiplatformV1GroundingChunkRetrievedContext( class GoogleCloudAiplatformV1GroundingChunkWeb( typing_extensions.TypedDict, total=False ): + domain: str title: str uri: str @@ -2866,11 +3182,15 @@ class GoogleCloudAiplatformV1ImportRagFilesConfig( ): gcsSource: GoogleCloudAiplatformV1GcsSource googleDriveSource: GoogleCloudAiplatformV1GoogleDriveSource + importResultBigquerySink: GoogleCloudAiplatformV1BigQueryDestination + importResultGcsSink: GoogleCloudAiplatformV1GcsDestination jiraSource: GoogleCloudAiplatformV1JiraSource maxEmbeddingRequestsPerMin: int partialFailureBigquerySink: GoogleCloudAiplatformV1BigQueryDestination partialFailureGcsSink: GoogleCloudAiplatformV1GcsDestination + ragFileParsingConfig: GoogleCloudAiplatformV1RagFileParsingConfig ragFileTransformationConfig: GoogleCloudAiplatformV1RagFileTransformationConfig + rebuildAnnIndex: bool sharePointSources: GoogleCloudAiplatformV1SharePointSources slackSource: GoogleCloudAiplatformV1SlackSource @@ -3232,6 +3552,13 @@ class GoogleCloudAiplatformV1ListModelEvaluationsResponse( modelEvaluations: _list[GoogleCloudAiplatformV1ModelEvaluation] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse( + typing_extensions.TypedDict, total=False +): + checkpoints: _list[GoogleCloudAiplatformV1ModelVersionCheckpoint] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1ListModelVersionsResponse( typing_extensions.TypedDict, total=False @@ -3444,6 +3771,8 @@ class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=Fals "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", + "NVIDIA_B200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3514,6 +3843,29 @@ class GoogleCloudAiplatformV1MetadataStoreMetadataStoreState( ): diskUtilizationBytes: str +@typing.type_check_only +class GoogleCloudAiplatformV1Metric(typing_extensions.TypedDict, total=False): + aggregationMetrics: _list[ + typing_extensions.Literal[ + "AGGREGATION_METRIC_UNSPECIFIED", + "AVERAGE", + "MODE", + "STANDARD_DEVIATION", + "VARIANCE", + "MINIMUM", + "MAXIMUM", + "MEDIAN", + "PERCENTILE_P90", + "PERCENTILE_P95", + "PERCENTILE_P99", + ] + ] + bleuSpec: GoogleCloudAiplatformV1BleuSpec + exactMatchSpec: GoogleCloudAiplatformV1ExactMatchSpec + pairwiseMetricSpec: GoogleCloudAiplatformV1PairwiseMetricSpec + pointwiseMetricSpec: GoogleCloudAiplatformV1PointwiseMetricSpec + rougeSpec: GoogleCloudAiplatformV1RougeSpec + @typing.type_check_only class GoogleCloudAiplatformV1MetricxInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1MetricxInstance @@ -3652,13 +4004,24 @@ class GoogleCloudAiplatformV1MigrateResourceResponse( migratableResource: GoogleCloudAiplatformV1MigratableResource model: str +@typing.type_check_only +class GoogleCloudAiplatformV1ModalityTokenCount( + typing_extensions.TypedDict, total=False +): + modality: typing_extensions.Literal[ + "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" + ] + tokenCount: int + @typing.type_check_only class GoogleCloudAiplatformV1Model(typing_extensions.TypedDict, total=False): artifactUri: str baseModelSource: GoogleCloudAiplatformV1ModelBaseModelSource + checkpoints: _list[GoogleCloudAiplatformV1Checkpoint] containerSpec: GoogleCloudAiplatformV1ModelContainerSpec createTime: str dataStats: GoogleCloudAiplatformV1ModelDataStats + defaultCheckpointId: str deployedModels: _list[GoogleCloudAiplatformV1DeployedModelRef] description: str displayName: str @@ -3714,6 +4077,7 @@ class GoogleCloudAiplatformV1ModelContainerSpec( healthProbe: GoogleCloudAiplatformV1Probe healthRoute: str imageUri: str + invokeRoutePrefix: str livenessProbe: GoogleCloudAiplatformV1Probe ports: _list[GoogleCloudAiplatformV1Port] predictRoute: str @@ -3898,6 +4262,8 @@ class GoogleCloudAiplatformV1ModelGardenSource( typing_extensions.TypedDict, total=False ): publicModelName: str + skipHfModelCache: bool + versionId: str @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringAlertConfig( @@ -4016,6 +4382,14 @@ class GoogleCloudAiplatformV1ModelSourceInfo(typing_extensions.TypedDict, total= "MARKETPLACE", ] +@typing.type_check_only +class GoogleCloudAiplatformV1ModelVersionCheckpoint( + typing_extensions.TypedDict, total=False +): + checkpointId: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata( typing_extensions.TypedDict, total=False @@ -4255,6 +4629,8 @@ class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError( "INVALID_TOKEN_VALUE", "INVALID_SPARSE_EMBEDDING", "INVALID_EMBEDDING", + "INVALID_EMBEDDING_METADATA", + "EMBEDDING_METADATA_EXCEEDS_SIZE_LIMIT", ] rawRecord: str sourceGcsUri: str @@ -4379,6 +4755,19 @@ class GoogleCloudAiplatformV1NotebookIdleShutdownConfig( idleShutdownDisabled: bool idleTimeout: str +@typing.type_check_only +class GoogleCloudAiplatformV1NotebookReservationAffinity( + typing_extensions.TypedDict, total=False +): + consumeReservationType: typing_extensions.Literal[ + "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", + "RESERVATION_NONE", + "RESERVATION_ANY", + "RESERVATION_SPECIFIC", + ] + key: str + values: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total=False): createTime: str @@ -4403,6 +4792,7 @@ class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total= "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] proxyUri: str + reservationAffinity: GoogleCloudAiplatformV1NotebookReservationAffinity runtimeState: typing_extensions.Literal[ "RUNTIME_STATE_UNSPECIFIED", "RUNNING", @@ -4418,6 +4808,7 @@ class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total= satisfiesPzs: bool serviceAccount: str shieldedVmConfig: GoogleCloudAiplatformV1ShieldedVmConfig + softwareConfig: GoogleCloudAiplatformV1NotebookSoftwareConfig updateTime: str version: str @@ -4442,8 +4833,10 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate( notebookRuntimeType: typing_extensions.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] + reservationAffinity: GoogleCloudAiplatformV1NotebookReservationAffinity serviceAccount: str shieldedVmConfig: GoogleCloudAiplatformV1ShieldedVmConfig + softwareConfig: GoogleCloudAiplatformV1NotebookSoftwareConfig updateTime: str @typing.type_check_only @@ -4452,12 +4845,32 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplateRef( ): notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1NotebookSoftwareConfig( + typing_extensions.TypedDict, total=False +): + colabImage: GoogleCloudAiplatformV1ColabImage + env: _list[GoogleCloudAiplatformV1EnvVar] + postStartupScriptConfig: GoogleCloudAiplatformV1PostStartupScriptConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1OutputConfig(typing_extensions.TypedDict, total=False): + gcsDestination: GoogleCloudAiplatformV1GcsDestination + @typing.type_check_only class GoogleCloudAiplatformV1PSCAutomationConfig( typing_extensions.TypedDict, total=False ): + errorMessage: str + forwardingRule: str + ipAddress: str network: str projectId: str + state: typing_extensions.Literal[ + "PSC_AUTOMATION_STATE_UNSPECIFIED", + "PSC_AUTOMATION_STATE_SUCCESSFUL", + "PSC_AUTOMATION_STATE_FAILED", + ] @typing.type_check_only class GoogleCloudAiplatformV1PairwiseMetricInput( @@ -4470,12 +4883,14 @@ class GoogleCloudAiplatformV1PairwiseMetricInput( class GoogleCloudAiplatformV1PairwiseMetricInstance( typing_extensions.TypedDict, total=False ): + contentMapInstance: GoogleCloudAiplatformV1ContentMap jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1PairwiseMetricResult( typing_extensions.TypedDict, total=False ): + customOutput: GoogleCloudAiplatformV1CustomOutput explanation: str pairwiseChoice: typing_extensions.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" @@ -4485,7 +4900,11 @@ class GoogleCloudAiplatformV1PairwiseMetricResult( class GoogleCloudAiplatformV1PairwiseMetricSpec( typing_extensions.TypedDict, total=False ): + baselineResponseFieldName: str + candidateResponseFieldName: str + customOutputFormatConfig: GoogleCloudAiplatformV1CustomOutputFormatConfig metricPromptTemplate: str + systemInstruction: str @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput( @@ -4557,11 +4976,15 @@ class GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec( @typing.type_check_only class GoogleCloudAiplatformV1Part(typing_extensions.TypedDict, total=False): + codeExecutionResult: GoogleCloudAiplatformV1CodeExecutionResult + executableCode: GoogleCloudAiplatformV1ExecutableCode fileData: GoogleCloudAiplatformV1FileData functionCall: GoogleCloudAiplatformV1FunctionCall functionResponse: GoogleCloudAiplatformV1FunctionResponse inlineData: GoogleCloudAiplatformV1Blob text: str + thought: bool + thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1VideoMetadata @typing.type_check_only @@ -4592,6 +5015,7 @@ class GoogleCloudAiplatformV1PersistentResource( labels: dict[str, typing.Any] name: str network: str + pscInterfaceConfig: GoogleCloudAiplatformV1PscInterfaceConfig reservedIpRanges: _list[str] resourcePools: _list[GoogleCloudAiplatformV1ResourcePool] resourceRuntime: GoogleCloudAiplatformV1ResourceRuntime @@ -4623,6 +5047,7 @@ class GoogleCloudAiplatformV1PipelineJob(typing_extensions.TypedDict, total=Fals network: str pipelineSpec: dict[str, typing.Any] preflightValidations: bool + pscInterfaceConfig: GoogleCloudAiplatformV1PscInterfaceConfig reservedIpRanges: _list[str] runtimeConfig: GoogleCloudAiplatformV1PipelineJobRuntimeConfig scheduleName: str @@ -4701,6 +5126,7 @@ class GoogleCloudAiplatformV1PipelineTaskDetail( ] taskId: str taskName: str + taskUniqueName: str @typing.type_check_only class GoogleCloudAiplatformV1PipelineTaskDetailArtifactList( @@ -4767,12 +5193,14 @@ class GoogleCloudAiplatformV1PointwiseMetricInput( class GoogleCloudAiplatformV1PointwiseMetricInstance( typing_extensions.TypedDict, total=False ): + contentMapInstance: GoogleCloudAiplatformV1ContentMap jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1PointwiseMetricResult( typing_extensions.TypedDict, total=False ): + customOutput: GoogleCloudAiplatformV1CustomOutput explanation: str score: float @@ -4780,12 +5208,27 @@ class GoogleCloudAiplatformV1PointwiseMetricResult( class GoogleCloudAiplatformV1PointwiseMetricSpec( typing_extensions.TypedDict, total=False ): + customOutputFormatConfig: GoogleCloudAiplatformV1CustomOutputFormatConfig metricPromptTemplate: str + systemInstruction: str @typing.type_check_only class GoogleCloudAiplatformV1Port(typing_extensions.TypedDict, total=False): containerPort: int +@typing.type_check_only +class GoogleCloudAiplatformV1PostStartupScriptConfig( + typing_extensions.TypedDict, total=False +): + postStartupScript: str + postStartupScriptBehavior: typing_extensions.Literal[ + "POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", + "RUN_ONCE", + "RUN_EVERY_START", + "DOWNLOAD_AND_RUN_EVERY_START", + ] + postStartupScriptUrl: str + @typing.type_check_only class GoogleCloudAiplatformV1PrebuiltVoiceConfig( typing_extensions.TypedDict, total=False @@ -4851,14 +5294,18 @@ class GoogleCloudAiplatformV1PrivateServiceConnectConfig( ): enablePrivateServiceConnect: bool projectAllowlist: _list[str] + pscAutomationConfigs: _list[GoogleCloudAiplatformV1PSCAutomationConfig] serviceAttachment: str @typing.type_check_only class GoogleCloudAiplatformV1Probe(typing_extensions.TypedDict, total=False): exec: GoogleCloudAiplatformV1ProbeExecAction + failureThreshold: int grpc: GoogleCloudAiplatformV1ProbeGrpcAction httpGet: GoogleCloudAiplatformV1ProbeHttpGetAction + initialDelaySeconds: int periodSeconds: int + successThreshold: int tcpSocket: GoogleCloudAiplatformV1ProbeTcpSocketAction timeoutSeconds: int @@ -4901,6 +5348,13 @@ class GoogleCloudAiplatformV1PscAutomatedEndpoints( network: str projectId: str +@typing.type_check_only +class GoogleCloudAiplatformV1PscInterfaceConfig( + typing_extensions.TypedDict, total=False +): + dnsPeeringConfigs: _list[GoogleCloudAiplatformV1DnsPeeringConfig] + networkAttachment: str + @typing.type_check_only class GoogleCloudAiplatformV1PublisherModel(typing_extensions.TypedDict, total=False): frameworks: _list[str] @@ -5026,6 +5480,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReference resourceDescription: str resourceTitle: str resourceUseCase: str + supportsWorkbench: bool title: str @typing.type_check_only @@ -5268,6 +5723,16 @@ class GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec( useReference: bool version: int +@typing.type_check_only +class GoogleCloudAiplatformV1RagChunk(typing_extensions.TypedDict, total=False): + pageSpan: GoogleCloudAiplatformV1RagChunkPageSpan + text: str + +@typing.type_check_only +class GoogleCloudAiplatformV1RagChunkPageSpan(typing_extensions.TypedDict, total=False): + firstPage: int + lastPage: int + @typing.type_check_only class GoogleCloudAiplatformV1RagContexts(typing_extensions.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1RagContextsContext] @@ -5276,6 +5741,7 @@ class GoogleCloudAiplatformV1RagContexts(typing_extensions.TypedDict, total=Fals class GoogleCloudAiplatformV1RagContextsContext( typing_extensions.TypedDict, total=False ): + chunk: GoogleCloudAiplatformV1RagChunk score: float sourceDisplayName: str sourceUri: str @@ -5287,9 +5753,11 @@ class GoogleCloudAiplatformV1RagCorpus(typing_extensions.TypedDict, total=False) createTime: str description: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec name: str updateTime: str vectorDbConfig: GoogleCloudAiplatformV1RagVectorDbConfig + vertexAiSearchConfig: GoogleCloudAiplatformV1VertexAiSearchConfig @typing.type_check_only class GoogleCloudAiplatformV1RagEmbeddingModelConfig( @@ -5307,6 +5775,11 @@ class GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint( model: str modelVersionId: str +@typing.type_check_only +class GoogleCloudAiplatformV1RagEngineConfig(typing_extensions.TypedDict, total=False): + name: str + ragManagedDbConfig: GoogleCloudAiplatformV1RagManagedDbConfig + @typing.type_check_only class GoogleCloudAiplatformV1RagFile(typing_extensions.TypedDict, total=False): createTime: str @@ -5321,6 +5794,7 @@ class GoogleCloudAiplatformV1RagFile(typing_extensions.TypedDict, total=False): sharePointSources: GoogleCloudAiplatformV1SharePointSources slackSource: GoogleCloudAiplatformV1SlackSource updateTime: str + userMetadata: str @typing.type_check_only class GoogleCloudAiplatformV1RagFileChunkingConfig( @@ -5335,12 +5809,57 @@ class GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking( chunkOverlap: int chunkSize: int +@typing.type_check_only +class GoogleCloudAiplatformV1RagFileParsingConfig( + typing_extensions.TypedDict, total=False +): + layoutParser: GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser + llmParser: GoogleCloudAiplatformV1RagFileParsingConfigLlmParser + +@typing.type_check_only +class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser( + typing_extensions.TypedDict, total=False +): + maxParsingRequestsPerMin: int + processorName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser( + typing_extensions.TypedDict, total=False +): + customParsingPrompt: str + maxParsingRequestsPerMin: int + modelName: str + @typing.type_check_only class GoogleCloudAiplatformV1RagFileTransformationConfig( typing_extensions.TypedDict, total=False ): ragFileChunkingConfig: GoogleCloudAiplatformV1RagFileChunkingConfig +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfig( + typing_extensions.TypedDict, total=False +): + basic: GoogleCloudAiplatformV1RagManagedDbConfigBasic + scaled: GoogleCloudAiplatformV1RagManagedDbConfigScaled + unprovisioned: GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned + +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfigBasic( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfigScaled( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1RagQuery(typing_extensions.TypedDict, total=False): ragRetrievalConfig: GoogleCloudAiplatformV1RagRetrievalConfig @@ -5351,6 +5870,7 @@ class GoogleCloudAiplatformV1RagRetrievalConfig( typing_extensions.TypedDict, total=False ): filter: GoogleCloudAiplatformV1RagRetrievalConfigFilter + ranking: GoogleCloudAiplatformV1RagRetrievalConfigRanking topK: int @typing.type_check_only @@ -5361,6 +5881,25 @@ class GoogleCloudAiplatformV1RagRetrievalConfigFilter( vectorDistanceThreshold: float vectorSimilarityThreshold: float +@typing.type_check_only +class GoogleCloudAiplatformV1RagRetrievalConfigRanking( + typing_extensions.TypedDict, total=False +): + llmRanker: GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker + rankService: GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService + +@typing.type_check_only +class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker( + typing_extensions.TypedDict, total=False +): + modelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService( + typing_extensions.TypedDict, total=False +): + modelName: str + @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfig( typing_extensions.TypedDict, total=False @@ -5380,6 +5919,20 @@ class GoogleCloudAiplatformV1RagVectorDbConfigPinecone( @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb( typing_extensions.TypedDict, total=False +): + ann: GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN + knn: GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN + +@typing.type_check_only +class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN( + typing_extensions.TypedDict, total=False +): + leafCount: int + treeDepth: int + +@typing.type_check_only +class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN( + typing_extensions.TypedDict, total=False ): ... @typing.type_check_only @@ -5389,6 +5942,10 @@ class GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch( index: str indexEndpoint: str +@typing.type_check_only +class GoogleCloudAiplatformV1RawOutput(typing_extensions.TypedDict, total=False): + rawOutput: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1RawPredictRequest( typing_extensions.TypedDict, total=False @@ -5520,9 +6077,18 @@ class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total= class GoogleCloudAiplatformV1ReasoningEngineSpec( typing_extensions.TypedDict, total=False ): + agentFramework: str classMethods: _list[dict[str, typing.Any]] + deploymentSpec: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec packageSpec: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec( + typing_extensions.TypedDict, total=False +): + env: _list[GoogleCloudAiplatformV1EnvVar] + secretEnv: _list[GoogleCloudAiplatformV1SecretEnvVar] + @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec( typing_extensions.TypedDict, total=False @@ -5638,6 +6204,7 @@ class GoogleCloudAiplatformV1ResumeScheduleRequest( @typing.type_check_only class GoogleCloudAiplatformV1Retrieval(typing_extensions.TypedDict, total=False): disableAttribution: bool + externalApi: GoogleCloudAiplatformV1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1VertexRagStore @@ -5705,6 +6272,38 @@ class GoogleCloudAiplatformV1RougeSpec(typing_extensions.TypedDict, total=False) splitSummaries: bool useStemmer: bool +@typing.type_check_only +class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance + metricSpec: GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult( + typing_extensions.TypedDict, total=False +): + rubricCritiqueResults: _list[GoogleCloudAiplatformV1RubricCritiqueResult] + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1RubricCritiqueResult( + typing_extensions.TypedDict, total=False +): + rubric: str + verdict: bool + @typing.type_check_only class GoogleCloudAiplatformV1SafetyInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1SafetyInstance @@ -5724,6 +6323,18 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + ] + overwrittenThreshold: typing_extensions.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -5753,6 +6364,10 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -5861,8 +6476,10 @@ class GoogleCloudAiplatformV1Scheduling(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): + additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1Schema] default: typing.Any + defs: dict[str, typing.Any] description: str enum: _list[str] example: typing.Any @@ -5880,10 +6497,18 @@ class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): pattern: str properties: dict[str, typing.Any] propertyOrdering: _list[str] + ref: str required: _list[str] title: str type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STRING", "NUMBER", "INTEGER", "BOOLEAN", "ARRAY", "OBJECT" + "TYPE_UNSPECIFIED", + "STRING", + "NUMBER", + "INTEGER", + "BOOLEAN", + "ARRAY", + "OBJECT", + "NULL", ] @typing.type_check_only @@ -7566,6 +8191,16 @@ class GoogleCloudAiplatformV1SearchNearestEntitiesResponse( ): nearestNeighbors: GoogleCloudAiplatformV1NearestNeighbors +@typing.type_check_only +class GoogleCloudAiplatformV1SecretEnvVar(typing_extensions.TypedDict, total=False): + name: str + secretRef: GoogleCloudAiplatformV1SecretRef + +@typing.type_check_only +class GoogleCloudAiplatformV1SecretRef(typing_extensions.TypedDict, total=False): + secret: str + version: str + @typing.type_check_only class GoogleCloudAiplatformV1Segment(typing_extensions.TypedDict, total=False): endIndex: int @@ -7638,8 +8273,31 @@ class GoogleCloudAiplatformV1SpecialistPool(typing_extensions.TypedDict, total=F specialistManagersCount: int specialistWorkerEmails: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1SpeculativeDecodingSpec( + typing_extensions.TypedDict, total=False +): + draftModelSpeculation: ( + GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation + ) + ngramSpeculation: GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation + speculativeTokenCount: int + +@typing.type_check_only +class GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation( + typing_extensions.TypedDict, total=False +): + draftModel: str + +@typing.type_check_only +class GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation( + typing_extensions.TypedDict, total=False +): + ngramSize: int + @typing.type_check_only class GoogleCloudAiplatformV1SpeechConfig(typing_extensions.TypedDict, total=False): + languageCode: str voiceConfig: GoogleCloudAiplatformV1VoiceConfig @typing.type_check_only @@ -8014,6 +8672,7 @@ class GoogleCloudAiplatformV1SupervisedHyperParameters( adapterSize: typing_extensions.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", + "ADAPTER_SIZE_TWO", "ADAPTER_SIZE_FOUR", "ADAPTER_SIZE_EIGHT", "ADAPTER_SIZE_SIXTEEN", @@ -8073,6 +8732,7 @@ class GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket( class GoogleCloudAiplatformV1SupervisedTuningSpec( typing_extensions.TypedDict, total=False ): + exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1SupervisedHyperParameters trainingDatasetUri: str validationDatasetUri: str @@ -8244,10 +8904,14 @@ 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] googleSearch: GoogleCloudAiplatformV1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1GoogleSearchRetrieval retrieval: GoogleCloudAiplatformV1Retrieval + urlContext: GoogleCloudAiplatformV1UrlContext @typing.type_check_only class GoogleCloudAiplatformV1ToolCall(typing_extensions.TypedDict, total=False): @@ -8285,6 +8949,17 @@ class GoogleCloudAiplatformV1ToolCallValidSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +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 @@ -8663,9 +9338,19 @@ class GoogleCloudAiplatformV1TrialParameter(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1TunedModel(typing_extensions.TypedDict, total=False): + checkpoints: _list[GoogleCloudAiplatformV1TunedModelCheckpoint] endpoint: str model: str +@typing.type_check_only +class GoogleCloudAiplatformV1TunedModelCheckpoint( + typing_extensions.TypedDict, total=False +): + checkpointId: str + endpoint: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1TunedModelRef(typing_extensions.TypedDict, total=False): pipelineJob: str @@ -8912,6 +9597,24 @@ class GoogleCloudAiplatformV1UpsertDatapointsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1UrlContext(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1UrlContextMetadata( + typing_extensions.TypedDict, total=False +): + urlMetadata: _list[GoogleCloudAiplatformV1UrlMetadata] + +@typing.type_check_only +class GoogleCloudAiplatformV1UrlMetadata(typing_extensions.TypedDict, total=False): + retrievedUrl: str + urlRetrievalStatus: typing_extensions.Literal[ + "URL_RETRIEVAL_STATUS_UNSPECIFIED", + "URL_RETRIEVAL_STATUS_SUCCESS", + "URL_RETRIEVAL_STATUS_ERROR", + ] + @typing.type_check_only class GoogleCloudAiplatformV1UserActionReference( typing_extensions.TypedDict, total=False @@ -8928,7 +9631,24 @@ class GoogleCloudAiplatformV1Value(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudAiplatformV1VertexAISearch(typing_extensions.TypedDict, total=False): + dataStoreSpecs: _list[GoogleCloudAiplatformV1VertexAISearchDataStoreSpec] datastore: str + engine: str + filter: str + maxResults: int + +@typing.type_check_only +class GoogleCloudAiplatformV1VertexAISearchDataStoreSpec( + typing_extensions.TypedDict, total=False +): + dataStore: str + filter: str + +@typing.type_check_only +class GoogleCloudAiplatformV1VertexAiSearchConfig( + typing_extensions.TypedDict, total=False +): + servingConfig: str @typing.type_check_only class GoogleCloudAiplatformV1VertexRagStore(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index 6e075521..02fb5221 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -13,6 +13,37 @@ _list = list @typing.type_check_only class AiplatformResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BatchPredictionJobsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: GoogleCloudAiplatformV1beta1BatchPredictionJob = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest + | None + ): ... + @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -102,6 +133,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): @typing.type_check_only class EndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChatResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def computeTokens( self, *, @@ -116,6 +157,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def generateContent( self, *, @@ -123,6 +171,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def streamGenerateContent( self, *, @@ -130,6 +192,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def chat(self) -> ChatResource: ... @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): @@ -728,6 +791,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): ): ... def operations(self) -> OperationsResource: ... + def assemble( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AssembleDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def assess( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AssessDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, @@ -1162,6 +1239,96 @@ class AiplatformResource(googleapiclient.discovery.Resource): def chat(self) -> ChatResource: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class EvaluationItemsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EvaluationRunsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EvaluationSetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class EvaluationTasksResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1223,6 +1390,86 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + exampleStore_createTime: str = ..., + exampleStore_description: str = ..., + exampleStore_displayName: str = ..., + exampleStore_exampleStoreConfig_vertexEmbeddingModel: str = ..., + exampleStore_name: str = ..., + exampleStore_updateTime: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetchExamples( + self, + *, + exampleStore: str, + body: GoogleCloudAiplatformV1beta1FetchExamplesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest: ... + def fetchExamples_next( + self, + previous_request: GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1FetchExamplesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest | None + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListExampleStoresResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExampleStore = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def removeExamples( + self, + *, + exampleStore: str, + body: GoogleCloudAiplatformV1beta1RemoveExamplesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RemoveExamplesResponseHttpRequest: ... + def searchExamples( + self, + *, + exampleStore: str, + body: GoogleCloudAiplatformV1beta1SearchExamplesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchExamplesResponseHttpRequest: ... + def upsertExamples( + self, + *, + exampleStore: str, + body: GoogleCloudAiplatformV1beta1UpsertExamplesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1UpsertExamplesResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -1447,6 +1694,14 @@ class AiplatformResource(googleapiclient.discovery.Resource): GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1FeatureMonitor = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def featureMonitorJobs(self) -> FeatureMonitorJobsResource: ... def operations(self) -> OperationsResource: ... @@ -1700,6 +1955,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def directWrite( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseHttpRequest: ... def fetchFeatureValues( self, *, @@ -2465,6 +2727,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1beta1IndexHttpRequest: ... + def import_( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ImportIndexRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, @@ -3390,6 +3659,22 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest | None ): ... + def listCheckpoints( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest: ... + def listCheckpoints_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest + | None + ): ... def listVersions( self, *, @@ -4033,6 +4318,14 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def export( + self, + *, + parent: str, + name: str, + body: GoogleCloudAiplatformV1beta1ExportPublisherModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def fetchPredictOperation( self, *, @@ -4040,6 +4333,11 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def fetchPublisherModelConfig( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest + ): ... def generateContent( self, *, @@ -4086,6 +4384,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1beta1StreamingPredictResponseHttpRequest ): ... + def setPublisherModelConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def streamGenerateContent( self, *, @@ -4241,7 +4546,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def ragFiles(self) -> RagFilesResource: ... @typing.type_check_only - class ReasoningEnginesResource(googleapiclient.discovery.Resource): + class RagEngineConfigResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4271,34 +4576,318 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def appendEvent( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SessionEvent = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Session = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Session = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def events(self) -> EventsResource: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, ) -> ( GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest | None @@ -4327,7 +4916,11 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleApiHttpBodyHttpRequest: ... + def examples(self) -> ExamplesResource: ... + def memories(self) -> MemoriesResource: ... def operations(self) -> OperationsResource: ... + def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... + def sessions(self) -> SessionsResource: ... @typing.type_check_only class SchedulesResource(googleapiclient.discovery.Resource): @@ -5229,12 +5822,26 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1CorroborateContentResponseHttpRequest: ... def deploy( + self, + *, + destination: str, + body: GoogleCloudAiplatformV1beta1DeployRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def deployPublisherModel( self, *, destination: str, body: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateDataset( + self, + *, + location: str, + body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def evaluateInstances( self, *, @@ -5245,10 +5852,14 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudLocationLocationHttpRequest: ... + def getRagEngineConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1RagEngineConfigHttpRequest: ... def list( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -5266,6 +5877,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1RetrieveContextsResponseHttpRequest: ... + def updateRagEngineConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RagEngineConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def agents(self) -> AgentsResource: ... def apps(self) -> AppsResource: ... def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... @@ -5276,6 +5894,9 @@ class AiplatformResource(googleapiclient.discovery.Resource): def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... def edgeDevices(self) -> EdgeDevicesResource: ... def endpoints(self) -> EndpointsResource: ... + def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationRuns(self) -> EvaluationRunsResource: ... + def evaluationSets(self) -> EvaluationSetsResource: ... def evaluationTasks(self) -> EvaluationTasksResource: ... def exampleStores(self) -> ExampleStoresResource: ... def extensionControllers(self) -> ExtensionControllersResource: ... @@ -5302,6 +5923,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def pipelineJobs(self) -> PipelineJobsResource: ... def publishers(self) -> PublishersResource: ... def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... def schedules(self) -> SchedulesResource: ... def solvers(self) -> SolversResource: ... @@ -5311,6 +5933,27 @@ class AiplatformResource(googleapiclient.discovery.Resource): def trainingPipelines(self) -> TrainingPipelinesResource: ... def tuningJobs(self) -> TuningJobsResource: ... + @typing.type_check_only + class ModelGardenEulaResource(googleapiclient.discovery.Resource): + def accept( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest + ): ... + def check( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest + ): ... + def getCacheConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1beta1CacheConfigHttpRequest: ... @@ -5322,6 +5965,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def locations(self) -> LocationsResource: ... + def modelGardenEula(self) -> ModelGardenEulaResource: ... @typing.type_check_only class PublishersResource(googleapiclient.discovery.Resource): @@ -5330,74 +5974,270 @@ class AiplatformResource(googleapiclient.discovery.Resource): def computeTokens( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def get( + self, + *, + name: str, + huggingFaceToken: str = ..., + includeEquivalentModelGardenModelDeploymentConfigs: bool = ..., + isHuggingFaceModel: bool = ..., + languageCode: str = ..., + view: typing_extensions.Literal[ + "PUBLISHER_MODEL_VIEW_UNSPECIFIED", + "PUBLISHER_MODEL_VIEW_BASIC", + "PUBLISHER_MODEL_VIEW_FULL", + "PUBLISHER_MODEL_VERSION_VIEW_BASIC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PublisherModelHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + languageCode: str = ..., + listAllVersions: bool = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "PUBLISHER_MODEL_VIEW_UNSPECIFIED", + "PUBLISHER_MODEL_VIEW_BASIC", + "PUBLISHER_MODEL_VIEW_FULL", + "PUBLISHER_MODEL_VERSION_VIEW_BASIC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListPublisherModelsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest + | None + ): ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + + def models(self) -> ModelsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... - def countTokens( + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... - def generateContent( + ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest | None + ): ... + + def appendEvent( self, *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1SessionEvent = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... - def get( + ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... + def create( self, *, - name: str, - huggingFaceToken: str = ..., - isHuggingFaceModel: bool = ..., - languageCode: str = ..., - view: typing_extensions.Literal[ - "PUBLISHER_MODEL_VIEW_UNSPECIFIED", - "PUBLISHER_MODEL_VIEW_BASIC", - "PUBLISHER_MODEL_VIEW_FULL", - "PUBLISHER_MODEL_VERSION_VIEW_BASIC", - ] = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1Session = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PublisherModelHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - languageCode: str = ..., - listAllVersions: bool = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - view: typing_extensions.Literal[ - "PUBLISHER_MODEL_VIEW_UNSPECIFIED", - "PUBLISHER_MODEL_VIEW_BASIC", - "PUBLISHER_MODEL_VIEW_FULL", - "PUBLISHER_MODEL_VERSION_VIEW_BASIC", - ] = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListPublisherModelsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest - | None - ): ... - def streamGenerateContent( + previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, + ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest | None: ... + def patch( self, *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1Session = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def events(self) -> EventsResource: ... - def models(self) -> ModelsResource: ... + def create( + self, + *, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def query( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1QueryReasoningEngineResponseHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def memories(self) -> MemoriesResource: ... + def sessions(self) -> SessionsResource: ... def new_batch_http_request( self, @@ -5411,11 +6251,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... def datasets(self) -> DatasetsResource: ... def endpoints(self) -> EndpointsResource: ... def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... + def reasoningEngines(self) -> ReasoningEnginesResource: ... @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): @@ -5465,6 +6307,16 @@ class GoogleCloudAiplatformV1beta1AnnotationSpecHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1AnnotationSpec: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1AppendEventResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ArtifactHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -5687,6 +6539,16 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1EvaluateInstancesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ExampleStore: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteExtensionResponseHttpRequest( googleapiclient.http.HttpRequest @@ -5795,6 +6657,16 @@ class GoogleCloudAiplatformV1beta1FeatureViewHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1FeatureView: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewSyncHttpRequest( googleapiclient.http.HttpRequest @@ -5815,6 +6687,16 @@ class GoogleCloudAiplatformV1beta1FeaturestoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1Featurestore: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1FetchExamplesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6023,6 +6905,26 @@ class GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListEntityTypesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListEventsResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListExampleStoresResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6153,6 +7055,16 @@ class GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListIndexesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6223,6 +7135,16 @@ class GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListModelMonitorsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6383,6 +7305,16 @@ class GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListSchedulesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListSessionsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6473,6 +7405,14 @@ class GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListTuningJobsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1Memory: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest( googleapiclient.http.HttpRequest @@ -6639,6 +7579,26 @@ class GoogleCloudAiplatformV1beta1PublisherModelHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1PublisherModel: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1PublisherModelConfig: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6679,6 +7639,16 @@ class GoogleCloudAiplatformV1beta1RagCorpusHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1RagCorpus: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagEngineConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1RagEngineConfig: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -6777,6 +7747,16 @@ class GoogleCloudAiplatformV1beta1RemoveDatapointsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1RemoveDatapointsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RemoveExamplesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1RemoveExamplesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportExecutionEventResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6807,6 +7787,16 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1RetrieveContextsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ScheduleHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -6825,6 +7815,16 @@ class GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1SearchDataItemsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SearchExamplesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1SearchExamplesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6885,6 +7885,14 @@ class GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SessionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1Session: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1SpecialistPoolHttpRequest( googleapiclient.http.HttpRequest @@ -7021,6 +8029,16 @@ class GoogleCloudAiplatformV1beta1UpsertDatapointsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1UpsertDatapointsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UpsertExamplesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1UpsertExamplesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteFeatureValuesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index d4bb55f6..56fb5b4c 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -11,6 +11,15 @@ class CloudAiLargeModelsVisionGenerateVideoResponse( generatedSamples: _list[CloudAiLargeModelsVisionMedia] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] + videos: _list[CloudAiLargeModelsVisionGenerateVideoResponseVideo] + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoResponseVideo( + typing_extensions.TypedDict, total=False +): + bytesBase64Encoded: str + gcsUri: str + mimeType: str @typing.type_check_only class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): @@ -96,6 +105,7 @@ class CloudAiLargeModelsVisionSemanticFilterResponse( class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): encodedVideo: str encoding: str + text: str uri: str video: str @@ -138,6 +148,12 @@ class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): data: str extensions: _list[dict[str, typing.Any]] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest( + typing_extensions.TypedDict, total=False +): + publisherModel: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ActiveLearningConfig( typing_extensions.TypedDict, total=False @@ -217,6 +233,12 @@ class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig( typing_extensions.TypedDict, total=False ): apiKeySecretVersion: str + apiKeyString: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AppendEventResponse( + typing_extensions.TypedDict, total=False +): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1Artifact(typing_extensions.TypedDict, total=False): @@ -242,6 +264,57 @@ class GoogleCloudAiplatformV1beta1ArtifactTypeSchema( schemaUri: str schemaVersion: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssembleDataRequest( + typing_extensions.TypedDict, total=False +): + geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig + geminiTemplateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig + requestColumnName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssessDataRequest( + typing_extensions.TypedDict, total=False +): + batchPredictionResourceUsageAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig + batchPredictionValidationAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig + geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig + geminiTemplateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig + requestColumnName: str + tuningResourceUsageAssessmentConfig: ( + GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig + ) + tuningValidationAssessmentConfig: ( + GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig( + typing_extensions.TypedDict, total=False +): + modelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig( + typing_extensions.TypedDict, total=False +): + modelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig( + typing_extensions.TypedDict, total=False +): + modelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig( + typing_extensions.TypedDict, total=False +): + datasetUsage: typing_extensions.Literal[ + "DATASET_USAGE_UNSPECIFIED", "SFT_TRAINING", "SFT_VALIDATION" + ] + modelName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata( typing_extensions.TypedDict, total=False @@ -357,6 +430,14 @@ class GoogleCloudAiplatformV1beta1AutomaticResources( maxReplicaCount: int minReplicaCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AutoraterConfig( + typing_extensions.TypedDict, total=False +): + autoraterModel: str + flipEnabled: bool + samplingCount: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1AutoscalingMetricSpec( typing_extensions.TypedDict, total=False @@ -668,6 +749,7 @@ class GoogleCloudAiplatformV1beta1BleuSpec(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudAiplatformV1beta1Blob(typing_extensions.TypedDict, total=False): data: str + displayName: str mimeType: str @typing.type_check_only @@ -692,6 +774,7 @@ class GoogleCloudAiplatformV1beta1CachedContent( contents: _list[GoogleCloudAiplatformV1beta1Content] createTime: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec expireTime: str model: str name: str @@ -769,11 +852,23 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "IMAGE_SAFETY", + "IMAGE_PROHIBITED_CONTENT", + "IMAGE_RECITATION", + "IMAGE_OTHER", + "UNEXPECTED_TOOL_CALL", ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int logprobsResult: GoogleCloudAiplatformV1beta1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] + urlContextMetadata: GoogleCloudAiplatformV1beta1UrlContextMetadata + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest( + typing_extensions.TypedDict, total=False +): + publisherModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata( @@ -794,6 +889,12 @@ class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateResponse( ): shouldStop: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Checkpoint(typing_extensions.TypedDict, total=False): + checkpointId: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=False): endIndex: int @@ -861,6 +962,11 @@ class GoogleCloudAiplatformV1beta1CoherenceSpec( ): version: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ColabImage(typing_extensions.TypedDict, total=False): + description: str + releaseName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1CometInput(typing_extensions.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1CometInstance @@ -935,6 +1041,29 @@ class GoogleCloudAiplatformV1beta1Content(typing_extensions.TypedDict, total=Fal parts: _list[GoogleCloudAiplatformV1beta1Part] role: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ContentMap(typing_extensions.TypedDict, total=False): + values: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ContentMapContents( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ContentsExample( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + expectedContents: _list[GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + @typing.type_check_only class GoogleCloudAiplatformV1beta1Context(typing_extensions.TypedDict, total=False): createTime: str @@ -1014,6 +1143,7 @@ class GoogleCloudAiplatformV1beta1CountTokensRequest( class GoogleCloudAiplatformV1beta1CountTokensResponse( typing_extensions.TypedDict, total=False ): + promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @@ -1269,6 +1399,18 @@ class GoogleCloudAiplatformV1beta1CustomJobSpec( tensorboard: str workerPoolSpecs: _list[GoogleCloudAiplatformV1beta1WorkerPoolSpec] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CustomOutput( + typing_extensions.TypedDict, total=False +): + rawOutputs: GoogleCloudAiplatformV1beta1RawOutput + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CustomOutputFormatConfig( + typing_extensions.TypedDict, total=False +): + returnRawOutput: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1DataItem(typing_extensions.TypedDict, total=False): createTime: str @@ -1397,6 +1539,7 @@ class GoogleCloudAiplatformV1beta1DedicatedResources( typing_extensions.TypedDict, total=False ): autoscalingMetricSpecs: _list[GoogleCloudAiplatformV1beta1AutoscalingMetricSpec] + flexStart: GoogleCloudAiplatformV1beta1FlexStart machineSpec: GoogleCloudAiplatformV1beta1MachineSpec maxReplicaCount: int minReplicaCount: int @@ -1517,6 +1660,41 @@ class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest( model: str modelDisplayName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DeployRequest( + typing_extensions.TypedDict, total=False +): + deployConfig: GoogleCloudAiplatformV1beta1DeployRequestDeployConfig + endpointConfig: GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig + huggingFaceModelId: str + modelConfig: GoogleCloudAiplatformV1beta1DeployRequestModelConfig + publisherModelName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig( + typing_extensions.TypedDict, total=False +): + dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources + fastTryoutEnabled: bool + systemLabels: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig( + typing_extensions.TypedDict, total=False +): + dedicatedEndpointEnabled: bool + endpointDisplayName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DeployRequestModelConfig( + typing_extensions.TypedDict, total=False +): + acceptEula: bool + containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec + huggingFaceAccessToken: str + huggingFaceCacheEnabled: bool + modelDisplayName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata( typing_extensions.TypedDict, total=False @@ -1567,6 +1745,7 @@ class GoogleCloudAiplatformV1beta1DeployedModel( typing_extensions.TypedDict, total=False ): automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources + checkpointId: str createTime: str dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources disableExplanations: bool @@ -1579,8 +1758,10 @@ class GoogleCloudAiplatformV1beta1DeployedModel( model: str modelVersionId: str privateEndpoints: GoogleCloudAiplatformV1beta1PrivateEndpoints + rolloutOptions: GoogleCloudAiplatformV1beta1RolloutOptions serviceAccount: str sharedResources: str + speculativeDecodingSpec: GoogleCloudAiplatformV1beta1SpeculativeDecodingSpec status: GoogleCloudAiplatformV1beta1DeployedModelStatus systemLabels: dict[str, typing.Any] @@ -1588,6 +1769,7 @@ class GoogleCloudAiplatformV1beta1DeployedModel( class GoogleCloudAiplatformV1beta1DeployedModelRef( typing_extensions.TypedDict, total=False ): + checkpointId: str deployedModelId: str endpoint: str @@ -1669,6 +1851,7 @@ class GoogleCloudAiplatformV1beta1DistillationHyperParameters( adapterSize: typing_extensions.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", + "ADAPTER_SIZE_TWO", "ADAPTER_SIZE_FOUR", "ADAPTER_SIZE_EIGHT", "ADAPTER_SIZE_SIXTEEN", @@ -1689,6 +1872,14 @@ class GoogleCloudAiplatformV1beta1DistillationSpec( tunedTeacherModelSource: str validationDatasetUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DnsPeeringConfig( + typing_extensions.TypedDict, total=False +): + domain: str + targetNetwork: str + targetProject: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1DoubleArray(typing_extensions.TypedDict, total=False): values: _list[float] @@ -1718,6 +1909,7 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa enablePrivateServiceConnect: bool encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec etag: str + genAiAdvancedFeaturesConfig: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig labels: dict[str, typing.Any] modelDeploymentMonitoringJob: str name: str @@ -1731,6 +1923,11 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa trafficSplit: dict[str, typing.Any] updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1EntityIdSelector( typing_extensions.TypedDict, total=False @@ -1779,10 +1976,20 @@ class GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotationAttributedItem( annotationResourceName: str distance: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest( + typing_extensions.TypedDict, total=False +): + autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig + dataset: GoogleCloudAiplatformV1beta1EvaluationDataset + metrics: _list[GoogleCloudAiplatformV1beta1Metric] + outputConfig: GoogleCloudAiplatformV1beta1OutputConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( typing_extensions.TypedDict, total=False ): + autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig bleuInput: GoogleCloudAiplatformV1beta1BleuInput coherenceInput: GoogleCloudAiplatformV1beta1CoherenceInput cometInput: GoogleCloudAiplatformV1beta1CometInput @@ -1812,6 +2019,9 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput ) rougeInput: GoogleCloudAiplatformV1beta1RougeInput + rubricBasedInstructionFollowingInput: ( + GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput + ) safetyInput: GoogleCloudAiplatformV1beta1SafetyInput summarizationHelpfulnessInput: ( GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInput @@ -1866,6 +2076,9 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponse( GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult ) rougeResults: GoogleCloudAiplatformV1beta1RougeResults + rubricBasedInstructionFollowingResult: ( + GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult + ) safetyResult: GoogleCloudAiplatformV1beta1SafetyResult summarizationHelpfulnessResult: ( GoogleCloudAiplatformV1beta1SummarizationHelpfulnessResult @@ -1917,6 +2130,13 @@ class GoogleCloudAiplatformV1beta1EvaluatedAnnotationExplanation( explanation: GoogleCloudAiplatformV1beta1Explanation explanationType: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationDataset( + typing_extensions.TypedDict, total=False +): + bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource + gcsSource: GoogleCloudAiplatformV1beta1GcsSource + @typing.type_check_only class GoogleCloudAiplatformV1beta1Event(typing_extensions.TypedDict, total=False): artifact: str @@ -1925,6 +2145,30 @@ class GoogleCloudAiplatformV1beta1Event(typing_extensions.TypedDict, total=False labels: dict[str, typing.Any] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EventActions( + typing_extensions.TypedDict, total=False +): + artifactDelta: dict[str, typing.Any] + escalate: bool + requestedAuthConfigs: dict[str, typing.Any] + skipSummarization: bool + stateDelta: dict[str, typing.Any] + transferAgent: str + transferToAgent: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EventMetadata( + typing_extensions.TypedDict, total=False +): + branch: str + customMetadata: dict[str, typing.Any] + groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata + interrupted: bool + longRunningToolIds: _list[str] + partial: bool + turnComplete: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExactMatchInput( typing_extensions.TypedDict, total=False @@ -1956,6 +2200,30 @@ class GoogleCloudAiplatformV1beta1ExactMatchSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Example(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + exampleId: str + storedContentsExample: GoogleCloudAiplatformV1beta1StoredContentsExample + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExampleStore( + typing_extensions.TypedDict, total=False +): + createTime: str + description: str + displayName: str + exampleStoreConfig: GoogleCloudAiplatformV1beta1ExampleStoreConfig + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExampleStoreConfig( + typing_extensions.TypedDict, total=False +): + vertexEmbeddingModel: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Examples(typing_extensions.TypedDict, total=False): exampleGcsSource: GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource @@ -1964,6 +2232,15 @@ class GoogleCloudAiplatformV1beta1Examples(typing_extensions.TypedDict, total=Fa neighborCount: int presets: GoogleCloudAiplatformV1beta1Presets +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExamplesArrayFilter( + typing_extensions.TypedDict, total=False +): + arrayOperator: typing_extensions.Literal[ + "ARRAY_OPERATOR_UNSPECIFIED", "CONTAINS_ANY", "CONTAINS_ALL" + ] + values: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource( typing_extensions.TypedDict, total=False @@ -2291,6 +2568,12 @@ class GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata( ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExportPublisherModelRequest( + typing_extensions.TypedDict, total=False +): + destination: GoogleCloudAiplatformV1beta1GcsDestination + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportPublisherModelResponse( typing_extensions.TypedDict, total=False @@ -2361,8 +2644,33 @@ class GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig( ): serviceDirectory: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total=False): + apiAuth: GoogleCloudAiplatformV1beta1ApiAuth + apiSpec: typing_extensions.Literal[ + "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" + ] + authConfig: GoogleCloudAiplatformV1beta1AuthConfig + elasticSearchParams: GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams + endpoint: str + simpleSearchParams: GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( + typing_extensions.TypedDict, total=False +): + index: str + numHits: int + searchTemplate: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1Fact(typing_extensions.TypedDict, total=False): + chunk: GoogleCloudAiplatformV1beta1RagChunk query: str score: float summary: str @@ -2682,6 +2990,53 @@ class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey( ): parts: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest( + typing_extensions.TypedDict, total=False +): + dataKeyAndFeatureValues: _list[ + GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues( + typing_extensions.TypedDict, total=False +): + dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey + features: _list[ + GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature( + typing_extensions.TypedDict, total=False +): + name: str + valueAndTimestamp: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp( + typing_extensions.TypedDict, total=False +): + timestamp: str + value: GoogleCloudAiplatformV1beta1FeatureValue + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse( + typing_extensions.TypedDict, total=False +): + status: GoogleRpcStatus + writeResponses: _list[ + GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseWriteResponse + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseWriteResponse( + typing_extensions.TypedDict, total=False +): + dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey + onlineStoreWriteTime: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource( typing_extensions.TypedDict, total=False @@ -2873,6 +3228,22 @@ class GoogleCloudAiplatformV1beta1FeaturestoreOnlineServingConfigScaling( maxNodeCount: int minNodeCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FetchExamplesRequest( + typing_extensions.TypedDict, total=False +): + exampleIds: _list[str] + pageSize: int + pageToken: str + storedContentsExampleFilter: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FetchExamplesResponse( + typing_extensions.TypedDict, total=False +): + examples: _list[GoogleCloudAiplatformV1beta1Example] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest( typing_extensions.TypedDict, total=False @@ -2917,6 +3288,7 @@ class GoogleCloudAiplatformV1beta1FetchPredictOperationRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1FileData(typing_extensions.TypedDict, total=False): + displayName: str fileUri: str mimeType: str @@ -2979,6 +3351,10 @@ class GoogleCloudAiplatformV1beta1FindNeighborsResponseNeighbor( distance: float sparseDistance: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FlexStart(typing_extensions.TypedDict, total=False): + maxRuntimeDuration: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1FluencyInput( typing_extensions.TypedDict, total=False @@ -3045,6 +3421,7 @@ class GoogleCloudAiplatformV1beta1FunctionCall( typing_extensions.TypedDict, total=False ): args: dict[str, typing.Any] + id: str name: str @typing.type_check_only @@ -3061,12 +3438,15 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration( description: str name: str parameters: GoogleCloudAiplatformV1beta1Schema + parametersJsonSchema: typing.Any response: GoogleCloudAiplatformV1beta1Schema + responseJsonSchema: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionResponse( typing_extensions.TypedDict, total=False ): + id: str name: str response: dict[str, typing.Any] @@ -3080,6 +3460,46 @@ class GoogleCloudAiplatformV1beta1GcsDestination( class GoogleCloudAiplatformV1beta1GcsSource(typing_extensions.TypedDict, total=False): uris: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiExample( + typing_extensions.TypedDict, total=False +): + cachedContent: str + contents: _list[GoogleCloudAiplatformV1beta1Content] + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig + labels: dict[str, typing.Any] + model: str + safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] + systemInstruction: GoogleCloudAiplatformV1beta1Content + toolConfig: GoogleCloudAiplatformV1beta1ToolConfig + tools: _list[GoogleCloudAiplatformV1beta1Tool] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig( + typing_extensions.TypedDict, total=False +): + assembledRequestColumnName: str + templateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiTemplateConfig( + typing_extensions.TypedDict, total=False +): + fieldMapping: dict[str, typing.Any] + geminiExample: GoogleCloudAiplatformV1beta1GeminiExample + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig( + typing_extensions.TypedDict, total=False +): + ragConfig: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfigRagConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfigRagConfig( + typing_extensions.TypedDict, total=False +): + enableRag: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest( typing_extensions.TypedDict, total=False @@ -3113,8 +3533,10 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] + createTime: str modelVersion: str promptFeedback: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback + responseId: str usageMetadata: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata @typing.type_check_only @@ -3127,6 +3549,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "IMAGE_SAFETY", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @@ -3135,10 +3558,54 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( typing_extensions.TypedDict, total=False ): + cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] cachedContentTokenCount: int candidatesTokenCount: int + candidatesTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] promptTokenCount: int + promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + thoughtsTokenCount: int + toolUsePromptTokenCount: int + toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( + typing_extensions.TypedDict, total=False +): + directContentsSource: ( + GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource + ) + disableConsolidation: bool + scope: dict[str, typing.Any] + vertexSessionSource: ( + GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource( + typing_extensions.TypedDict, total=False +): + events: _list[ + GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( + typing_extensions.TypedDict, total=False +): + endTime: str + session: str + startTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateVideoResponse( @@ -3147,6 +3614,15 @@ class GoogleCloudAiplatformV1beta1GenerateVideoResponse( generatedSamples: _list[str] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] + videos: _list[GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo( + typing_extensions.TypedDict, total=False +): + bytesBase64Encoded: str + gcsUri: str + mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfig( @@ -3154,6 +3630,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( ): audioTimestamp: bool candidateCount: int + enableAffectiveDialog: bool frequencyPenalty: float logprobs: int maxOutputTokens: int @@ -3163,7 +3640,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( "MEDIA_RESOLUTION_MEDIUM", "MEDIA_RESOLUTION_HIGH", ] + modelConfig: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig presencePenalty: float + responseJsonSchema: typing.Any responseLogprobs: bool responseMimeType: str responseModalities: _list[ @@ -3175,9 +3654,21 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( speechConfig: GoogleCloudAiplatformV1beta1SpeechConfig stopSequences: _list[str] temperature: float + thinkingConfig: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig topK: float topP: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( + typing_extensions.TypedDict, total=False +): + featureSelectionPreference: typing_extensions.Literal[ + "FEATURE_SELECTION_PREFERENCE_UNSPECIFIED", + "PRIORITIZE_QUALITY", + "BALANCED", + "PRIORITIZE_COST", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( typing_extensions.TypedDict, total=False @@ -3201,6 +3692,13 @@ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode ): modelName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( + typing_extensions.TypedDict, total=False +): + includeThoughts: bool + thinkingBudget: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenericOperationMetadata( typing_extensions.TypedDict, total=False @@ -3273,6 +3771,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunk( class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + ragChunk: GoogleCloudAiplatformV1beta1RagChunk text: str title: str uri: str @@ -3281,6 +3780,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( class GoogleCloudAiplatformV1beta1GroundingChunkWeb( typing_extensions.TypedDict, total=False ): + domain: str title: str uri: str @@ -3420,6 +3920,58 @@ class GoogleCloudAiplatformV1beta1ImportFeatureValuesResponse( invalidRowCount: str timestampOutsideRetentionRowsCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequest( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig + isCompleteOverwrite: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig( + typing_extensions.TypedDict, total=False +): + bigQuerySourceConfig: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig( + typing_extensions.TypedDict, total=False +): + datapointFieldMapping: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping + tablePath: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping( + typing_extensions.TypedDict, total=False +): + embeddingColumn: str + idColumn: str + metadataColumns: _list[str] + numericRestricts: _list[ + GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict + ] + restricts: _list[ + GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict( + typing_extensions.TypedDict, total=False +): + namespace: str + valueColumn: str + valueType: typing_extensions.Literal[ + "VALUE_TYPE_UNSPECIFIED", "INT", "FLOAT", "DOUBLE" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict( + typing_extensions.TypedDict, total=False +): + allowColumn: _list[str] + denyColumn: _list[str] + namespace: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest( typing_extensions.TypedDict, total=False @@ -3431,14 +3983,19 @@ class GoogleCloudAiplatformV1beta1ImportRagFilesConfig( typing_extensions.TypedDict, total=False ): gcsSource: GoogleCloudAiplatformV1beta1GcsSource + globalMaxEmbeddingRequestsPerMin: int googleDriveSource: GoogleCloudAiplatformV1beta1GoogleDriveSource + importResultBigquerySink: GoogleCloudAiplatformV1beta1BigQueryDestination + importResultGcsSink: GoogleCloudAiplatformV1beta1GcsDestination jiraSource: GoogleCloudAiplatformV1beta1JiraSource maxEmbeddingRequestsPerMin: int partialFailureBigquerySink: GoogleCloudAiplatformV1beta1BigQueryDestination partialFailureGcsSink: GoogleCloudAiplatformV1beta1GcsDestination ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig + ragFileMetadataConfig: GoogleCloudAiplatformV1beta1RagFileMetadataConfig ragFileParsingConfig: GoogleCloudAiplatformV1beta1RagFileParsingConfig ragFileTransformationConfig: GoogleCloudAiplatformV1beta1RagFileTransformationConfig + rebuildAnnIndex: bool sharePointSources: GoogleCloudAiplatformV1beta1SharePointSources slackSource: GoogleCloudAiplatformV1beta1SlackSource @@ -3723,6 +4280,20 @@ class GoogleCloudAiplatformV1beta1ListEntityTypesResponse( entityTypes: _list[GoogleCloudAiplatformV1beta1EntityType] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListEventsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sessionEvents: _list[GoogleCloudAiplatformV1beta1SessionEvent] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListExampleStoresResponse( + typing_extensions.TypedDict, total=False +): + exampleStores: _list[GoogleCloudAiplatformV1beta1ExampleStore] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListExecutionsResponse( typing_extensions.TypedDict, total=False @@ -3814,6 +4385,13 @@ class GoogleCloudAiplatformV1beta1ListIndexesResponse( indexes: _list[GoogleCloudAiplatformV1beta1Index] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListMemoriesResponse( + typing_extensions.TypedDict, total=False +): + memories: _list[GoogleCloudAiplatformV1beta1Memory] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse( typing_extensions.TypedDict, total=False @@ -3865,6 +4443,13 @@ class GoogleCloudAiplatformV1beta1ListModelMonitorsResponse( modelMonitors: _list[GoogleCloudAiplatformV1beta1ModelMonitor] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse( + typing_extensions.TypedDict, total=False +): + checkpoints: _list[GoogleCloudAiplatformV1beta1ModelVersionCheckpoint] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelVersionsResponse( typing_extensions.TypedDict, total=False @@ -3981,6 +4566,13 @@ class GoogleCloudAiplatformV1beta1ListSchedulesResponse( nextPageToken: str schedules: _list[GoogleCloudAiplatformV1beta1Schedule] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListSessionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sessions: _list[GoogleCloudAiplatformV1beta1Session] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse( typing_extensions.TypedDict, total=False @@ -4086,12 +4678,15 @@ class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", + "NVIDIA_B200", "TPU_V2", "TPU_V3", "TPU_V4_POD", "TPU_V5_LITEPOD", ] machineType: str + multihostGpuNodeCount: int reservationAffinity: GoogleCloudAiplatformV1beta1ReservationAffinity tpuTopology: str @@ -4114,6 +4709,16 @@ class GoogleCloudAiplatformV1beta1MeasurementMetric( metricId: str value: float +@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 + @typing.type_check_only class GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest( typing_extensions.TypedDict, total=False @@ -4160,6 +4765,29 @@ class GoogleCloudAiplatformV1beta1MetadataStoreMetadataStoreState( ): diskUtilizationBytes: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Metric(typing_extensions.TypedDict, total=False): + aggregationMetrics: _list[ + typing_extensions.Literal[ + "AGGREGATION_METRIC_UNSPECIFIED", + "AVERAGE", + "MODE", + "STANDARD_DEVIATION", + "VARIANCE", + "MINIMUM", + "MAXIMUM", + "MEDIAN", + "PERCENTILE_P90", + "PERCENTILE_P95", + "PERCENTILE_P99", + ] + ] + bleuSpec: GoogleCloudAiplatformV1beta1BleuSpec + exactMatchSpec: GoogleCloudAiplatformV1beta1ExactMatchSpec + pairwiseMetricSpec: GoogleCloudAiplatformV1beta1PairwiseMetricSpec + pointwiseMetricSpec: GoogleCloudAiplatformV1beta1PointwiseMetricSpec + rougeSpec: GoogleCloudAiplatformV1beta1RougeSpec + @typing.type_check_only class GoogleCloudAiplatformV1beta1MetricxInput( typing_extensions.TypedDict, total=False @@ -4304,12 +4932,23 @@ class GoogleCloudAiplatformV1beta1MigrateResourceResponse( migratableResource: GoogleCloudAiplatformV1beta1MigratableResource model: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ModalityTokenCount( + typing_extensions.TypedDict, total=False +): + modality: typing_extensions.Literal[ + "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" + ] + tokenCount: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1Model(typing_extensions.TypedDict, total=False): artifactUri: str baseModelSource: GoogleCloudAiplatformV1beta1ModelBaseModelSource + checkpoints: _list[GoogleCloudAiplatformV1beta1Checkpoint] containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec createTime: str + defaultCheckpointId: str deployedModels: _list[GoogleCloudAiplatformV1beta1DeployedModelRef] description: str displayName: str @@ -4364,6 +5003,7 @@ class GoogleCloudAiplatformV1beta1ModelContainerSpec( healthProbe: GoogleCloudAiplatformV1beta1Probe healthRoute: str imageUri: str + invokeRoutePrefix: str livenessProbe: GoogleCloudAiplatformV1beta1Probe ports: _list[GoogleCloudAiplatformV1beta1Port] predictRoute: str @@ -4551,6 +5191,8 @@ class GoogleCloudAiplatformV1beta1ModelGardenSource( typing_extensions.TypedDict, total=False ): publicModelName: str + skipHfModelCache: bool + versionId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitor( @@ -4558,6 +5200,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitor( ): createTime: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec modelMonitoringSchema: GoogleCloudAiplatformV1beta1ModelMonitoringSchema modelMonitoringTarget: GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTarget @@ -5005,6 +5648,14 @@ class GoogleCloudAiplatformV1beta1ModelSourceInfo( "MARKETPLACE", ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ModelVersionCheckpoint( + typing_extensions.TypedDict, total=False +): + checkpointId: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata( typing_extensions.TypedDict, total=False @@ -5250,6 +5901,8 @@ class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataRecordEr "INVALID_TOKEN_VALUE", "INVALID_SPARSE_EMBEDDING", "INVALID_EMBEDDING", + "INVALID_EMBEDDING_METADATA", + "EMBEDDING_METADATA_EXCEEDS_SIZE_LIMIT", ] rawRecord: str sourceGcsUri: str @@ -5376,6 +6029,19 @@ class GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig( idleShutdownDisabled: bool idleTimeout: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1NotebookReservationAffinity( + typing_extensions.TypedDict, total=False +): + consumeReservationType: typing_extensions.Literal[ + "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", + "RESERVATION_NONE", + "RESERVATION_ANY", + "RESERVATION_SPECIFIC", + ] + key: str + values: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookRuntime( typing_extensions.TypedDict, total=False @@ -5402,6 +6068,7 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime( "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] proxyUri: str + reservationAffinity: GoogleCloudAiplatformV1beta1NotebookReservationAffinity runtimeState: typing_extensions.Literal[ "RUNTIME_STATE_UNSPECIFIED", "RUNNING", @@ -5417,6 +6084,7 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime( satisfiesPzs: bool serviceAccount: str shieldedVmConfig: GoogleCloudAiplatformV1beta1ShieldedVmConfig + softwareConfig: GoogleCloudAiplatformV1beta1NotebookSoftwareConfig updateTime: str version: str @@ -5441,8 +6109,10 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate( notebookRuntimeType: typing_extensions.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] + reservationAffinity: GoogleCloudAiplatformV1beta1NotebookReservationAffinity serviceAccount: str shieldedVmConfig: GoogleCloudAiplatformV1beta1ShieldedVmConfig + softwareConfig: GoogleCloudAiplatformV1beta1NotebookSoftwareConfig updateTime: str @typing.type_check_only @@ -5451,12 +6121,34 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateRef( ): notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig( + typing_extensions.TypedDict, total=False +): + colabImage: GoogleCloudAiplatformV1beta1ColabImage + env: _list[GoogleCloudAiplatformV1beta1EnvVar] + postStartupScriptConfig: GoogleCloudAiplatformV1beta1PostStartupScriptConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1OutputConfig( + typing_extensions.TypedDict, total=False +): + gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination + @typing.type_check_only class GoogleCloudAiplatformV1beta1PSCAutomationConfig( typing_extensions.TypedDict, total=False ): + errorMessage: str + forwardingRule: str + ipAddress: str network: str projectId: str + state: typing_extensions.Literal[ + "PSC_AUTOMATION_STATE_UNSPECIFIED", + "PSC_AUTOMATION_STATE_SUCCESSFUL", + "PSC_AUTOMATION_STATE_FAILED", + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseMetricInput( @@ -5469,12 +6161,14 @@ class GoogleCloudAiplatformV1beta1PairwiseMetricInput( class GoogleCloudAiplatformV1beta1PairwiseMetricInstance( typing_extensions.TypedDict, total=False ): + contentMapInstance: GoogleCloudAiplatformV1beta1ContentMap jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseMetricResult( typing_extensions.TypedDict, total=False ): + customOutput: GoogleCloudAiplatformV1beta1CustomOutput explanation: str pairwiseChoice: typing_extensions.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" @@ -5484,7 +6178,11 @@ class GoogleCloudAiplatformV1beta1PairwiseMetricResult( class GoogleCloudAiplatformV1beta1PairwiseMetricSpec( typing_extensions.TypedDict, total=False ): + baselineResponseFieldName: str + candidateResponseFieldName: str + customOutputFormatConfig: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig metricPromptTemplate: str + systemInstruction: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput( @@ -5564,6 +6262,7 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) inlineData: GoogleCloudAiplatformV1beta1Blob text: str thought: bool + thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata @typing.type_check_only @@ -5736,6 +6435,7 @@ class GoogleCloudAiplatformV1beta1PipelineTaskDetail( ] taskId: str taskName: str + taskUniqueName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskDetailArtifactList( @@ -5829,12 +6529,14 @@ class GoogleCloudAiplatformV1beta1PointwiseMetricInput( class GoogleCloudAiplatformV1beta1PointwiseMetricInstance( typing_extensions.TypedDict, total=False ): + contentMapInstance: GoogleCloudAiplatformV1beta1ContentMap jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PointwiseMetricResult( typing_extensions.TypedDict, total=False ): + customOutput: GoogleCloudAiplatformV1beta1CustomOutput explanation: str score: float @@ -5842,12 +6544,27 @@ class GoogleCloudAiplatformV1beta1PointwiseMetricResult( class GoogleCloudAiplatformV1beta1PointwiseMetricSpec( typing_extensions.TypedDict, total=False ): + customOutputFormatConfig: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig metricPromptTemplate: str + systemInstruction: str @typing.type_check_only class GoogleCloudAiplatformV1beta1Port(typing_extensions.TypedDict, total=False): containerPort: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PostStartupScriptConfig( + typing_extensions.TypedDict, total=False +): + postStartupScript: str + postStartupScriptBehavior: typing_extensions.Literal[ + "POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", + "RUN_ONCE", + "RUN_EVERY_START", + "DOWNLOAD_AND_RUN_EVERY_START", + ] + postStartupScriptUrl: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( typing_extensions.TypedDict, total=False @@ -5890,7 +6607,9 @@ class GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig( typing_extensions.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination + enableOtelLogging: bool enabled: bool + requestResponseLoggingSchemaVersion: str samplingRate: float @typing.type_check_only @@ -5935,14 +6654,18 @@ class GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig( enablePrivateServiceConnect: bool enableSecurePrivateServiceConnect: bool projectAllowlist: _list[str] + pscAutomationConfigs: _list[GoogleCloudAiplatformV1beta1PSCAutomationConfig] serviceAttachment: str @typing.type_check_only class GoogleCloudAiplatformV1beta1Probe(typing_extensions.TypedDict, total=False): exec: GoogleCloudAiplatformV1beta1ProbeExecAction + failureThreshold: int grpc: GoogleCloudAiplatformV1beta1ProbeGrpcAction httpGet: GoogleCloudAiplatformV1beta1ProbeHttpGetAction + initialDelaySeconds: int periodSeconds: int + successThreshold: int tcpSocket: GoogleCloudAiplatformV1beta1ProbeTcpSocketAction timeoutSeconds: int @@ -5995,6 +6718,7 @@ class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints( class GoogleCloudAiplatformV1beta1PscInterfaceConfig( typing_extensions.TypedDict, total=False ): + dnsPeeringConfigs: _list[GoogleCloudAiplatformV1beta1DnsPeeringConfig] networkAttachment: str @typing.type_check_only @@ -6129,6 +6853,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceRefe resourceDescription: str resourceTitle: str resourceUseCase: str + supportsWorkbench: bool title: str @typing.type_check_only @@ -6138,6 +6863,12 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionViewRestApi( documentations: _list[GoogleCloudAiplatformV1beta1PublisherModelDocumentation] title: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelConfig( + typing_extensions.TypedDict, total=False +): + loggingConfig: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelDocumentation( typing_extensions.TypedDict, total=False @@ -6145,6 +6876,14 @@ class GoogleCloudAiplatformV1beta1PublisherModelDocumentation( content: str title: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance( + typing_extensions.TypedDict, total=False +): + projectNumber: str + publisherModel: str + publisherModelEulaAcked: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelParent( typing_extensions.TypedDict, total=False @@ -6391,6 +7130,18 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceSpec( useReference: bool version: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagChunk(typing_extensions.TypedDict, total=False): + pageSpan: GoogleCloudAiplatformV1beta1RagChunkPageSpan + text: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagChunkPageSpan( + typing_extensions.TypedDict, total=False +): + firstPage: int + lastPage: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagContexts(typing_extensions.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1beta1RagContextsContext] @@ -6399,6 +7150,7 @@ class GoogleCloudAiplatformV1beta1RagContexts(typing_extensions.TypedDict, total class GoogleCloudAiplatformV1beta1RagContextsContext( typing_extensions.TypedDict, total=False ): + chunk: GoogleCloudAiplatformV1beta1RagChunk distance: float score: float sourceDisplayName: str @@ -6409,16 +7161,37 @@ class GoogleCloudAiplatformV1beta1RagContextsContext( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagCorpus(typing_extensions.TypedDict, total=False): corpusStatus: GoogleCloudAiplatformV1beta1CorpusStatus + corpusTypeConfig: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig createTime: str description: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec name: str ragEmbeddingModelConfig: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig + ragFilesCount: int ragVectorDbConfig: GoogleCloudAiplatformV1beta1RagVectorDbConfig updateTime: str vectorDbConfig: GoogleCloudAiplatformV1beta1RagVectorDbConfig vertexAiSearchConfig: GoogleCloudAiplatformV1beta1VertexAiSearchConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig( + typing_extensions.TypedDict, total=False +): + documentCorpus: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus + memoryCorpus: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus( + typing_extensions.TypedDict, total=False +): + llmParser: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig( typing_extensions.TypedDict, total=False @@ -6463,6 +7236,13 @@ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoin model: str modelVersionId: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagEngineConfig( + typing_extensions.TypedDict, total=False +): + name: str + ragManagedDbConfig: GoogleCloudAiplatformV1beta1RagManagedDbConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=False): createTime: str @@ -6481,6 +7261,7 @@ class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=Fal sizeBytes: str slackSource: GoogleCloudAiplatformV1beta1SlackSource updateTime: str + userMetadata: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileChunkingConfig( @@ -6499,6 +7280,17 @@ class GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking( chunkOverlap: int chunkSize: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagFileMetadataConfig( + typing_extensions.TypedDict, total=False +): + gcsMetadataSchemaSource: GoogleCloudAiplatformV1beta1GcsSource + gcsMetadataSource: GoogleCloudAiplatformV1beta1GcsSource + googleDriveMetadataSchemaSource: GoogleCloudAiplatformV1beta1GoogleDriveSource + googleDriveMetadataSource: GoogleCloudAiplatformV1beta1GoogleDriveSource + inlineMetadataSchemaSource: str + inlineMetadataSource: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileParsingConfig( typing_extensions.TypedDict, total=False @@ -6518,6 +7310,7 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser( class GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser( typing_extensions.TypedDict, total=False ): + globalMaxParsingRequestsPerMin: int maxParsingRequestsPerMin: int processorName: str @@ -6526,6 +7319,7 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser( typing_extensions.TypedDict, total=False ): customParsingPrompt: str + globalMaxParsingRequestsPerMin: int maxParsingRequestsPerMin: int modelName: str @@ -6535,6 +7329,35 @@ class GoogleCloudAiplatformV1beta1RagFileTransformationConfig( ): ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfig( + typing_extensions.TypedDict, total=False +): + basic: GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic + enterprise: GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise + scaled: GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled + unprovisioned: GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagQuery(typing_extensions.TypedDict, total=False): ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig @@ -6611,6 +7434,20 @@ class GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb( typing_extensions.TypedDict, total=False +): + ann: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN + knn: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN( + typing_extensions.TypedDict, total=False +): + leafCount: int + treeDepth: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN( + typing_extensions.TypedDict, total=False ): ... @typing.type_check_only @@ -6633,6 +7470,10 @@ class GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate( collectionName: str httpEndpoint: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RawOutput(typing_extensions.TypedDict, total=False): + rawOutput: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1RawPredictRequest( typing_extensions.TypedDict, total=False @@ -6757,6 +7598,7 @@ class GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData( class GoogleCloudAiplatformV1beta1ReasoningEngine( typing_extensions.TypedDict, total=False ): + contextSpec: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec createTime: str description: str displayName: str @@ -6765,13 +7607,49 @@ class GoogleCloudAiplatformV1beta1ReasoningEngine( spec: GoogleCloudAiplatformV1beta1ReasoningEngineSpec updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec( + typing_extensions.TypedDict, total=False +): + memoryBankConfig: ( + GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig( + typing_extensions.TypedDict, total=False +): + generationConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig + similaritySearchConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig( + typing_extensions.TypedDict, total=False +): + model: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig( + typing_extensions.TypedDict, total=False +): + embeddingModel: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( typing_extensions.TypedDict, total=False ): + agentFramework: str classMethods: _list[dict[str, typing.Any]] + deploymentSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec packageSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec( + typing_extensions.TypedDict, total=False +): + env: _list[GoogleCloudAiplatformV1beta1EnvVar] + secretEnv: _list[GoogleCloudAiplatformV1beta1SecretEnvVar] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec( typing_extensions.TypedDict, total=False @@ -6824,6 +7702,19 @@ class GoogleCloudAiplatformV1beta1RemoveDatapointsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RemoveExamplesRequest( + typing_extensions.TypedDict, total=False +): + exampleIds: _list[str] + storedContentsExampleFilter: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RemoveExamplesResponse( + typing_extensions.TypedDict, total=False +): + exampleIds: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportExecutionEventRequest( typing_extensions.TypedDict, total=False @@ -6927,6 +7818,7 @@ class GoogleCloudAiplatformV1beta1ResumeScheduleRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1Retrieval(typing_extensions.TypedDict, total=False): disableAttribution: bool + externalApi: GoogleCloudAiplatformV1beta1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1beta1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore @@ -6973,6 +7865,59 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsResponse( ): contexts: GoogleCloudAiplatformV1beta1RagContexts +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest( + typing_extensions.TypedDict, total=False +): + scope: dict[str, typing.Any] + similaritySearchParams: ( + GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams + ) + simpleRetrievalParams: ( + GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams( + typing_extensions.TypedDict, total=False +): + searchQuery: str + topK: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams( + typing_extensions.TypedDict, total=False +): + pageSize: int + pageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + retrievedMemories: _list[ + GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory( + typing_extensions.TypedDict, total=False +): + distance: float + memory: GoogleCloudAiplatformV1beta1Memory + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RolloutOptions( + typing_extensions.TypedDict, total=False +): + maxSurgePercentage: int + maxSurgeReplicas: int + maxUnavailablePercentage: int + maxUnavailableReplicas: int + previousDeployedModel: str + revisionNumber: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1RougeInput(typing_extensions.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1RougeInstance] @@ -7003,6 +7948,38 @@ class GoogleCloudAiplatformV1beta1RougeSpec(typing_extensions.TypedDict, total=F splitSummaries: bool useStemmer: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance + metricSpec: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult( + typing_extensions.TypedDict, total=False +): + rubricCritiqueResults: _list[GoogleCloudAiplatformV1beta1RubricCritiqueResult] + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RubricCritiqueResult( + typing_extensions.TypedDict, total=False +): + rubric: str + verdict: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1RuntimeArtifact( typing_extensions.TypedDict, total=False @@ -7063,6 +8040,18 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + ] + overwrittenThreshold: typing_extensions.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -7096,6 +8085,10 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -7217,8 +8210,10 @@ class GoogleCloudAiplatformV1beta1Scheduling(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): + additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any + defs: dict[str, typing.Any] description: str enum: _list[str] example: typing.Any @@ -7236,10 +8231,18 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals pattern: str properties: dict[str, typing.Any] propertyOrdering: _list[str] + ref: str required: _list[str] title: str type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STRING", "NUMBER", "INTEGER", "BOOLEAN", "ARRAY", "OBJECT" + "TYPE_UNSPECIFIED", + "STRING", + "NUMBER", + "INTEGER", + "BOOLEAN", + "ARRAY", + "OBJECT", + "NULL", ] @typing.type_check_only @@ -8875,6 +9878,28 @@ class GoogleCloudAiplatformV1beta1SearchEntryPoint( renderedContent: str sdkBlob: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SearchExamplesRequest( + typing_extensions.TypedDict, total=False +): + storedContentsExampleParameters: ( + GoogleCloudAiplatformV1beta1StoredContentsExampleParameters + ) + topK: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SearchExamplesResponse( + typing_extensions.TypedDict, total=False +): + results: _list[GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample( + typing_extensions.TypedDict, total=False +): + example: GoogleCloudAiplatformV1beta1Example + similarityScore: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchFeaturesResponse( typing_extensions.TypedDict, total=False @@ -8997,6 +10022,18 @@ class GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse( ): nearestNeighbors: GoogleCloudAiplatformV1beta1NearestNeighbors +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SecretEnvVar( + typing_extensions.TypedDict, total=False +): + name: str + secretRef: GoogleCloudAiplatformV1beta1SecretRef + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SecretRef(typing_extensions.TypedDict, total=False): + secret: str + version: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=False): endIndex: int @@ -9011,6 +10048,35 @@ class GoogleCloudAiplatformV1beta1ServiceAccountSpec( enableCustomServiceAccount: bool serviceAccount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Session(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + sessionState: dict[str, typing.Any] + updateTime: str + userId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SessionEvent( + typing_extensions.TypedDict, total=False +): + actions: GoogleCloudAiplatformV1beta1EventActions + author: str + content: GoogleCloudAiplatformV1beta1Content + errorCode: str + errorMessage: str + eventMetadata: GoogleCloudAiplatformV1beta1EventMetadata + invocationId: str + name: str + timestamp: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest( + typing_extensions.TypedDict, total=False +): + publisherModelConfig: GoogleCloudAiplatformV1beta1PublisherModelConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1SharePointSources( typing_extensions.TypedDict, total=False @@ -9077,10 +10143,35 @@ class GoogleCloudAiplatformV1beta1SpecialistPool( specialistManagersCount: int specialistWorkerEmails: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpec( + typing_extensions.TypedDict, total=False +): + draftModelSpeculation: ( + GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecDraftModelSpeculation + ) + ngramSpeculation: ( + GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecNgramSpeculation + ) + speculativeTokenCount: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecDraftModelSpeculation( + typing_extensions.TypedDict, total=False +): + draftModel: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecNgramSpeculation( + typing_extensions.TypedDict, total=False +): + ngramSize: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1SpeechConfig( typing_extensions.TypedDict, total=False ): + languageCode: str voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only @@ -9105,6 +10196,53 @@ class GoogleCloudAiplatformV1beta1StopTrialRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExample( + typing_extensions.TypedDict, total=False +): + contentsExample: GoogleCloudAiplatformV1beta1ContentsExample + searchKey: str + searchKeyGenerationMethod: ( + GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExampleFilter( + typing_extensions.TypedDict, total=False +): + functionNames: GoogleCloudAiplatformV1beta1ExamplesArrayFilter + searchKeys: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExampleParameters( + typing_extensions.TypedDict, total=False +): + contentSearchKey: ( + GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey + ) + functionNames: GoogleCloudAiplatformV1beta1ExamplesArrayFilter + searchKey: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + searchKeyGenerationMethod: ( + GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod( + typing_extensions.TypedDict, total=False +): + lastEntry: GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethodLastEntry + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethodLastEntry( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1StratifiedSplit( typing_extensions.TypedDict, total=False @@ -9497,6 +10635,7 @@ class GoogleCloudAiplatformV1beta1SupervisedHyperParameters( adapterSize: typing_extensions.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", + "ADAPTER_SIZE_TWO", "ADAPTER_SIZE_FOUR", "ADAPTER_SIZE_EIGHT", "ADAPTER_SIZE_SIXTEEN", @@ -9556,6 +10695,7 @@ class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBuck class GoogleCloudAiplatformV1beta1SupervisedTuningSpec( typing_extensions.TypedDict, total=False ): + exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1beta1SupervisedHyperParameters trainingDatasetUri: str validationDatasetUri: str @@ -9738,10 +10878,13 @@ class GoogleCloudAiplatformV1beta1TokensInfo(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1beta1ToolCodeExecution + computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse + enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch functionDeclarations: _list[GoogleCloudAiplatformV1beta1FunctionDeclaration] googleSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval retrieval: GoogleCloudAiplatformV1beta1Retrieval + urlContext: GoogleCloudAiplatformV1beta1UrlContext @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolCall(typing_extensions.TypedDict, total=False): @@ -9786,6 +10929,14 @@ 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 @@ -10193,9 +11344,19 @@ class GoogleCloudAiplatformV1beta1TrialParameter( @typing.type_check_only class GoogleCloudAiplatformV1beta1TunedModel(typing_extensions.TypedDict, total=False): + checkpoints: _list[GoogleCloudAiplatformV1beta1TunedModelCheckpoint] endpoint: str model: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1TunedModelCheckpoint( + typing_extensions.TypedDict, total=False +): + checkpointId: str + endpoint: str + epoch: str + step: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1TunedModelRef( typing_extensions.TypedDict, total=False @@ -10225,6 +11386,8 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F name: str partnerModelTuningSpec: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec pipelineJob: str + satisfiesPzi: bool + satisfiesPzs: bool serviceAccount: str startTime: str state: typing_extensions.Literal[ @@ -10435,6 +11598,8 @@ class GoogleCloudAiplatformV1beta1UploadRagFileConfig( typing_extensions.TypedDict, total=False ): ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig + ragFileMetadataConfig: GoogleCloudAiplatformV1beta1RagFileMetadataConfig + ragFileParsingConfig: GoogleCloudAiplatformV1beta1RagFileParsingConfig ragFileTransformationConfig: GoogleCloudAiplatformV1beta1RagFileTransformationConfig @typing.type_check_only @@ -10463,6 +11628,46 @@ class GoogleCloudAiplatformV1beta1UpsertDatapointsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UpsertExamplesRequest( + typing_extensions.TypedDict, total=False +): + examples: _list[GoogleCloudAiplatformV1beta1Example] + overwrite: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UpsertExamplesResponse( + typing_extensions.TypedDict, total=False +): + results: _list[GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult( + typing_extensions.TypedDict, total=False +): + example: GoogleCloudAiplatformV1beta1Example + status: GoogleRpcStatus + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlContext( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlContextMetadata( + typing_extensions.TypedDict, total=False +): + urlMetadata: _list[GoogleCloudAiplatformV1beta1UrlMetadata] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlMetadata(typing_extensions.TypedDict, total=False): + retrievedUrl: str + urlRetrievalStatus: typing_extensions.Literal[ + "URL_RETRIEVAL_STATUS_UNSPECIFIED", + "URL_RETRIEVAL_STATUS_SUCCESS", + "URL_RETRIEVAL_STATUS_ERROR", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1UserActionReference( typing_extensions.TypedDict, total=False @@ -10481,7 +11686,18 @@ class GoogleCloudAiplatformV1beta1Value(typing_extensions.TypedDict, total=False class GoogleCloudAiplatformV1beta1VertexAISearch( typing_extensions.TypedDict, total=False ): + dataStoreSpecs: _list[GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec] datastore: str + engine: str + filter: str + maxResults: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec( + typing_extensions.TypedDict, total=False +): + dataStore: str + filter: str @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexAiSearchConfig( @@ -10497,6 +11713,7 @@ class GoogleCloudAiplatformV1beta1VertexRagStore( ragResources: _list[GoogleCloudAiplatformV1beta1VertexRagStoreRagResource] ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig similarityTopK: int + storeContext: bool vectorDistanceThreshold: float @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi index 095e5241..dab04eaa 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi @@ -399,6 +399,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "CHROME_WARN_PAGE_PRINT", "CHROME_BLOCK_URL_VISITED", "CHROME_WARN_URL_VISITED", + "CHROME_BLOCK_SCREENSHOT", "CHROME_STORE_CONTENT", "DELETE_WEBPROTECT_EVIDENCE", "CHAT_BLOCK_CONTENT", @@ -437,6 +438,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "CHROME_WARN_PAGE_PRINT", "CHROME_BLOCK_URL_VISITED", "CHROME_WARN_URL_VISITED", + "CHROME_BLOCK_SCREENSHOT", "CHROME_STORE_CONTENT", "DELETE_WEBPROTECT_EVIDENCE", "CHAT_BLOCK_CONTENT", @@ -552,6 +554,21 @@ class UserDefinedDetectorInfo(typing_extensions.TypedDict, total=False): displayName: str resourceName: str +@typing.type_check_only +class VaultAcceleratedDeletion(typing_extensions.TypedDict, total=False): + actionType: typing_extensions.Literal[ + "VAULT_ACCELERATED_DELETION_ACTION_TYPE_UNSPECIFIED", + "VAULT_ACCELERATED_DELETION_ACTION_TYPE_CREATE", + "VAULT_ACCELERATED_DELETION_ACTION_TYPE_CANCEL", + ] + appType: typing_extensions.Literal[ + "VAULT_ACCELERATED_DELETION_APP_TYPE_UNSPECIFIED", + "VAULT_ACCELERATED_DELETION_APP_TYPE_GMAIL", + ] + createTime: str + deletionRequestId: str + matterId: str + @typing.type_check_only class VoiceMisconfiguration(typing_extensions.TypedDict, total=False): entityName: str diff --git a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi index 36cc511f..a2ef4736 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi @@ -261,6 +261,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ClusterHttpRequest: ... + def import_( + self, + *, + name: str, + body: ImportClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def list( self, *, @@ -301,6 +308,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): body: RestoreClusterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def restoreFromCloudSQL( + self, + *, + parent: str, + body: RestoreFromCloudSQLRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def switchover( self, *, @@ -356,6 +370,9 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" + ] = ..., **kwargs: typing.Any, ) -> ListSupportedDatabaseFlagsResponseHttpRequest: ... def list_next( @@ -371,6 +388,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index 49675b10..2c9b3e4e 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -24,6 +24,7 @@ class Backup(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str clusterUid: str + createCompletionTime: str createTime: str databaseVersion: typing_extensions.Literal[ "DATABASE_VERSION_UNSPECIFIED", @@ -77,11 +78,18 @@ class CloudControl2SharedOperationsReconciliationOperationMetadata( "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class CloudSQLBackupRunSource(typing_extensions.TypedDict, total=False): + backupRunId: str + instanceId: str + project: str + @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource + cloudsqlBackupRunSource: CloudSQLBackupRunSource clusterType: typing_extensions.Literal[ "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" ] @@ -203,6 +211,20 @@ class CsvExportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str selectQuery: str +@typing.type_check_only +class CsvImportOptions(typing_extensions.TypedDict, total=False): + columns: _list[str] + escapeCharacter: str + fieldDelimiter: str + quoteCharacter: str + table: str + +@typing.type_check_only +class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -252,6 +274,12 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class GoogleTypeDate(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): hours: int @@ -259,6 +287,18 @@ class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class ImportClusterRequest(typing_extensions.TypedDict, total=False): + csvImportOptions: CsvImportOptions + database: str + gcsUri: str + sqlImportOptions: SqlImportOptions + user: str + +@typing.type_check_only +class ImportClusterResponse(typing_extensions.TypedDict, total=False): + bytesDownloaded: str + @typing.type_check_only class InjectFaultRequest(typing_extensions.TypedDict, total=False): faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] @@ -267,6 +307,9 @@ class InjectFaultRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + activationPolicy: typing_extensions.Literal[ + "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" + ] annotations: dict[str, typing.Any] availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" @@ -287,6 +330,7 @@ class Instance(typing_extensions.TypedDict, total=False): name: str networkConfig: InstanceNetworkConfig nodes: _list[Node] + observabilityConfig: ObservabilityInstanceConfig outboundPublicIpAddresses: _list[str] pscInstanceConfig: PscInstanceConfig publicIpAddress: str @@ -311,9 +355,11 @@ class Instance(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): + allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool enablePublicIp: bool + network: str @typing.type_check_only class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): @@ -374,6 +420,7 @@ class ListUsersResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfig(typing_extensions.TypedDict, total=False): cpuCount: int + machineType: str @typing.type_check_only class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -381,6 +428,7 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): + denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only @@ -415,6 +463,17 @@ class Node(typing_extensions.TypedDict, total=False): state: str zoneId: str +@typing.type_check_only +class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): + enabled: bool + maxQueryStringLength: int + preserveComments: bool + queryPlansPerMinute: int + recordApplicationTags: bool + trackActiveQueries: bool + trackWaitEventTypes: bool + trackWaitEvents: bool + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -431,6 +490,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): requestedCancellation: bool statusMessage: str target: str + upgradeClusterStatus: UpgradeClusterStatus verb: str @typing.type_check_only @@ -443,16 +503,31 @@ class PromoteClusterRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): + consumerNetwork: str + consumerNetworkStatus: str + consumerProject: str + ipAddress: str + status: str + @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): pscEnabled: bool + serviceOwnedProjectNumber: str @typing.type_check_only class PscInstanceConfig(typing_extensions.TypedDict, total=False): allowedConsumerProjects: _list[str] + pscAutoConnections: _list[PscAutoConnectionConfig] pscDnsName: str + pscInterfaceConfigs: _list[PscInterfaceConfig] serviceAttachmentLink: str +@typing.type_check_only +class PscInterfaceConfig(typing_extensions.TypedDict, total=False): + networkAttachmentResource: str + @typing.type_check_only class QuantityBasedExpiry(typing_extensions.TypedDict, total=False): retentionCount: int @@ -473,6 +548,10 @@ class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): class ReadPoolConfig(typing_extensions.TypedDict, total=False): nodeCount: int +@typing.type_check_only +class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): + upgradeStats: Stats + @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): nodeIds: _list[str] @@ -488,6 +567,12 @@ class RestoreClusterRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): + cloudsqlBackupRunSource: CloudSQLBackupRunSource + cluster: Cluster + clusterId: str + @typing.type_check_only class SecondaryConfig(typing_extensions.TypedDict, total=False): primaryClusterName: str @@ -499,6 +584,9 @@ class SqlExportOptions(typing_extensions.TypedDict, total=False): schemaOnly: bool tables: _list[str] +@typing.type_check_only +class SqlImportOptions(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SslConfig(typing_extensions.TypedDict, total=False): caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] @@ -535,6 +623,37 @@ class StageInfo(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class StageStatus(typing_extensions.TypedDict, total=False): + readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + +@typing.type_check_only +class Stats(typing_extensions.TypedDict, total=False): + failed: int + notStarted: int + ongoing: int + success: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -622,6 +741,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( description: str eventTime: str externalUri: str + location: str name: str provider: typing_extensions.Literal[ "PROVIDER_UNSPECIFIED", @@ -728,6 +848,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -779,6 +914,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "DELETED", "STATE_OTHER", ] + gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId instanceType: typing_extensions.Literal[ "INSTANCE_TYPE_UNSPECIFIED", @@ -790,6 +926,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", "SUB_RESOURCE_TYPE_READ_REPLICA", + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] location: str @@ -799,6 +936,15 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + suspensionReason: typing_extensions.Literal[ + "SUSPENSION_REASON_UNSPECIFIED", + "WIPEOUT_HIDE_EVENT", + "WIPEOUT_PURGE_EVENT", + "BILLING_DISABLED", + "ABUSER_DETECTED", + "ENCRYPTION_KEY_INACCESSIBLE", + "REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE", + ] tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -898,6 +1044,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] @typing.type_check_only @@ -907,7 +1068,15 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( entitlementState: typing_extensions.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] + type: typing_extensions.Literal[ + "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( + typing_extensions.TypedDict, total=False +): + gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( @@ -915,6 +1084,7 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + isDeletionProtectionEnabled: bool product: StorageDatabasecenterProtoCommonProduct resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceName: str @@ -942,6 +1112,9 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( "NETWORK_CONNECTIONS", "STORAGE_UTILIZATION", "STORAGE_USED_BYTES", + "NODE_COUNT", + "MEMORY_USED_BYTES", + "PROCESSING_UNIT_COUNT", ] observationTime: str resourceName: str @@ -1010,6 +1183,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_EXADATA_ORACLE", + "ENGINE_ADB_SERVERLESS_ORACLE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -1022,8 +1197,10 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_OTHER", ] version: str @@ -1046,7 +1223,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): flagName: str integerRestrictions: IntegerRestrictions name: str + recommendedIntegerValue: str + recommendedStringValue: str requiresDbRestart: bool + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ typing_extensions.Literal[ @@ -1105,6 +1285,35 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): + cancellable: bool + sourceVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + stages: _list[StageStatus] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + targetVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi index dee167e9..a2ef4736 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi @@ -261,6 +261,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ClusterHttpRequest: ... + def import_( + self, + *, + name: str, + body: ImportClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def list( self, *, @@ -363,6 +370,9 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" + ] = ..., **kwargs: typing.Any, ) -> ListSupportedDatabaseFlagsResponseHttpRequest: ... def list_next( @@ -378,6 +388,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 71bb7498..0fbf3190 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -24,6 +24,7 @@ class Backup(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str clusterUid: str + createCompletionTime: str createTime: str databaseVersion: typing_extensions.Literal[ "DATABASE_VERSION_UNSPECIFIED", @@ -31,6 +32,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str description: str @@ -102,6 +104,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str displayName: str @@ -123,6 +126,7 @@ class Cluster(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool secondaryConfig: SecondaryConfig + serviceAccountEmail: str sslConfig: SslConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -155,6 +159,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str @@ -179,6 +184,24 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): pscDnsName: str publicIpAddress: str +@typing.type_check_only +class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): + defaultPoolSize: str + enable: bool + enabled: bool + flags: dict[str, typing.Any] + ignoreStartupParameters: _list[str] + maxClientConn: str + maxPreparedStatements: str + minPoolSize: str + poolMode: typing_extensions.Literal[ + "POOL_MODE_UNSPECIFIED", "POOL_MODE_SESSION", "POOL_MODE_TRANSACTION" + ] + poolerCount: int + queryWaitTimeout: str + serverIdleTimeout: str + statsUsers: _list[str] + @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -215,6 +238,20 @@ class CsvExportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str selectQuery: str +@typing.type_check_only +class CsvImportOptions(typing_extensions.TypedDict, total=False): + columns: _list[str] + escapeCharacter: str + fieldDelimiter: str + quoteCharacter: str + table: str + +@typing.type_check_only +class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -241,6 +278,12 @@ class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class GCAInstanceConfig(typing_extensions.TypedDict, total=False): + gcaEntitlement: typing_extensions.Literal[ + "GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD" + ] + @typing.type_check_only class GcsDestination(typing_extensions.TypedDict, total=False): uri: str @@ -268,6 +311,12 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class GoogleTypeDate(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): hours: int @@ -275,6 +324,14 @@ class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class ImportClusterRequest(typing_extensions.TypedDict, total=False): + csvImportOptions: CsvImportOptions + database: str + gcsUri: str + sqlImportOptions: SqlImportOptions + user: str + @typing.type_check_only class InjectFaultRequest(typing_extensions.TypedDict, total=False): faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] @@ -283,16 +340,21 @@ class InjectFaultRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + activationPolicy: typing_extensions.Literal[ + "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" + ] annotations: dict[str, typing.Any] availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig + connectionPoolConfig: ConnectionPoolConfig createTime: str databaseFlags: dict[str, typing.Any] deleteTime: str displayName: str etag: str + gcaConfig: GCAInstanceConfig gceZone: str geminiConfig: GeminiInstanceConfig instanceType: typing_extensions.Literal[ @@ -331,9 +393,11 @@ class Instance(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): + allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool enablePublicIp: bool + network: str @typing.type_check_only class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): @@ -394,6 +458,7 @@ class ListUsersResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfig(typing_extensions.TypedDict, total=False): cpuCount: int + machineType: str @typing.type_check_only class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -401,6 +466,7 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): + denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only @@ -437,6 +503,7 @@ class Node(typing_extensions.TypedDict, total=False): @typing.type_check_only class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): + assistiveExperiencesEnabled: bool enabled: bool maxQueryStringLength: int preserveComments: bool @@ -463,6 +530,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): requestedCancellation: bool statusMessage: str target: str + upgradeClusterStatus: UpgradeClusterStatus verb: str @typing.type_check_only @@ -475,6 +543,14 @@ class PromoteClusterRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): + consumerNetwork: str + consumerNetworkStatus: str + consumerProject: str + ipAddress: str + status: str + @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): pscEnabled: bool @@ -483,6 +559,7 @@ class PscConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class PscInstanceConfig(typing_extensions.TypedDict, total=False): allowedConsumerProjects: _list[str] + pscAutoConnections: _list[PscAutoConnectionConfig] pscDnsName: str pscInterfaceConfigs: _list[PscInterfaceConfig] serviceAttachmentLink: str @@ -511,6 +588,10 @@ class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): class ReadPoolConfig(typing_extensions.TypedDict, total=False): nodeCount: int +@typing.type_check_only +class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): + upgradeStats: Stats + @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): nodeIds: _list[str] @@ -543,6 +624,9 @@ class SqlExportOptions(typing_extensions.TypedDict, total=False): schemaOnly: bool tables: _list[str] +@typing.type_check_only +class SqlImportOptions(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SslConfig(typing_extensions.TypedDict, total=False): caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] @@ -579,6 +663,37 @@ class StageInfo(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class StageStatus(typing_extensions.TypedDict, total=False): + readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + +@typing.type_check_only +class Stats(typing_extensions.TypedDict, total=False): + failed: int + notStarted: int + ongoing: int + success: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -666,6 +781,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( description: str eventTime: str externalUri: str + location: str name: str provider: typing_extensions.Literal[ "PROVIDER_UNSPECIFIED", @@ -772,6 +888,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -823,6 +954,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "DELETED", "STATE_OTHER", ] + gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId instanceType: typing_extensions.Literal[ "INSTANCE_TYPE_UNSPECIFIED", @@ -834,6 +966,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", "SUB_RESOURCE_TYPE_READ_REPLICA", + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] location: str @@ -843,6 +976,15 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + suspensionReason: typing_extensions.Literal[ + "SUSPENSION_REASON_UNSPECIFIED", + "WIPEOUT_HIDE_EVENT", + "WIPEOUT_PURGE_EVENT", + "BILLING_DISABLED", + "ABUSER_DETECTED", + "ENCRYPTION_KEY_INACCESSIBLE", + "REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE", + ] tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -942,6 +1084,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] @typing.type_check_only @@ -951,7 +1108,15 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( entitlementState: typing_extensions.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] + type: typing_extensions.Literal[ + "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( + typing_extensions.TypedDict, total=False +): + gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( @@ -959,6 +1124,7 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + isDeletionProtectionEnabled: bool product: StorageDatabasecenterProtoCommonProduct resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceName: str @@ -986,6 +1152,9 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( "NETWORK_CONNECTIONS", "STORAGE_UTILIZATION", "STORAGE_USED_BYTES", + "NODE_COUNT", + "MEMORY_USED_BYTES", + "PROCESSING_UNIT_COUNT", ] observationTime: str resourceName: str @@ -1054,6 +1223,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_EXADATA_ORACLE", + "ENGINE_ADB_SERVERLESS_ORACLE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -1066,8 +1237,10 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_OTHER", ] version: str @@ -1090,7 +1263,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): flagName: str integerRestrictions: IntegerRestrictions name: str + recommendedIntegerValue: str + recommendedStringValue: str requiresDbRestart: bool + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ typing_extensions.Literal[ @@ -1099,6 +1275,7 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] ] valueType: typing_extensions.Literal[ @@ -1136,6 +1313,7 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] @typing.type_check_only @@ -1153,6 +1331,37 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): + cancellable: bool + sourceVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + ] + stages: _list[StageStatus] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + targetVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi index 7514e528..af446524 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi @@ -261,6 +261,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ClusterHttpRequest: ... + def import_( + self, + *, + name: str, + body: ImportClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def list( self, *, @@ -359,6 +366,9 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" + ] = ..., **kwargs: typing.Any, ) -> ListSupportedDatabaseFlagsResponseHttpRequest: ... def list_next( @@ -374,6 +384,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 7319321b..3ab46915 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -24,6 +24,7 @@ class Backup(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str clusterUid: str + createCompletionTime: str createTime: str databaseVersion: typing_extensions.Literal[ "DATABASE_VERSION_UNSPECIFIED", @@ -31,6 +32,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str description: str @@ -98,6 +100,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] deleteTime: str displayName: str @@ -118,6 +121,7 @@ class Cluster(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzs: bool secondaryConfig: SecondaryConfig + serviceAccountEmail: str sslConfig: SslConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -150,6 +154,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str @@ -174,6 +179,24 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): pscDnsName: str publicIpAddress: str +@typing.type_check_only +class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): + defaultPoolSize: str + enable: bool + enabled: bool + flags: dict[str, typing.Any] + ignoreStartupParameters: _list[str] + maxClientConn: str + maxPreparedStatements: str + minPoolSize: str + poolMode: typing_extensions.Literal[ + "POOL_MODE_UNSPECIFIED", "POOL_MODE_SESSION", "POOL_MODE_TRANSACTION" + ] + poolerCount: int + queryWaitTimeout: str + serverIdleTimeout: str + statsUsers: _list[str] + @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -210,6 +233,20 @@ class CsvExportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str selectQuery: str +@typing.type_check_only +class CsvImportOptions(typing_extensions.TypedDict, total=False): + columns: _list[str] + escapeCharacter: str + fieldDelimiter: str + quoteCharacter: str + table: str + +@typing.type_check_only +class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + time: GoogleTypeTimeOfDay + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -236,6 +273,12 @@ class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class GCAInstanceConfig(typing_extensions.TypedDict, total=False): + gcaEntitlement: typing_extensions.Literal[ + "GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD" + ] + @typing.type_check_only class GcsDestination(typing_extensions.TypedDict, total=False): uri: str @@ -263,6 +306,12 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class GoogleTypeDate(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): hours: int @@ -270,6 +319,14 @@ class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class ImportClusterRequest(typing_extensions.TypedDict, total=False): + csvImportOptions: CsvImportOptions + database: str + gcsUri: str + sqlImportOptions: SqlImportOptions + user: str + @typing.type_check_only class InjectFaultRequest(typing_extensions.TypedDict, total=False): faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] @@ -278,16 +335,21 @@ class InjectFaultRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + activationPolicy: typing_extensions.Literal[ + "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" + ] annotations: dict[str, typing.Any] availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig + connectionPoolConfig: ConnectionPoolConfig createTime: str databaseFlags: dict[str, typing.Any] deleteTime: str displayName: str etag: str + gcaConfig: GCAInstanceConfig gceZone: str geminiConfig: GeminiInstanceConfig instanceType: typing_extensions.Literal[ @@ -325,9 +387,11 @@ class Instance(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): + allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool enablePublicIp: bool + network: str @typing.type_check_only class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): @@ -388,6 +452,7 @@ class ListUsersResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfig(typing_extensions.TypedDict, total=False): cpuCount: int + machineType: str @typing.type_check_only class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -395,6 +460,7 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): + denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only @@ -431,6 +497,7 @@ class Node(typing_extensions.TypedDict, total=False): @typing.type_check_only class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): + assistiveExperiencesEnabled: bool enabled: bool maxQueryStringLength: int preserveComments: bool @@ -457,6 +524,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): requestedCancellation: bool statusMessage: str target: str + upgradeClusterStatus: UpgradeClusterStatus verb: str @typing.type_check_only @@ -469,16 +537,31 @@ class PromoteClusterRequest(typing_extensions.TypedDict, total=False): requestId: str validateOnly: bool +@typing.type_check_only +class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): + consumerNetwork: str + consumerNetworkStatus: str + consumerProject: str + ipAddress: str + status: str + @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): pscEnabled: bool + serviceOwnedProjectNumber: str @typing.type_check_only class PscInstanceConfig(typing_extensions.TypedDict, total=False): allowedConsumerProjects: _list[str] + pscAutoConnections: _list[PscAutoConnectionConfig] pscDnsName: str + pscInterfaceConfigs: _list[PscInterfaceConfig] serviceAttachmentLink: str +@typing.type_check_only +class PscInterfaceConfig(typing_extensions.TypedDict, total=False): + networkAttachmentResource: str + @typing.type_check_only class QuantityBasedExpiry(typing_extensions.TypedDict, total=False): retentionCount: int @@ -499,6 +582,10 @@ class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): class ReadPoolConfig(typing_extensions.TypedDict, total=False): nodeCount: int +@typing.type_check_only +class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): + upgradeStats: Stats + @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): nodeIds: _list[str] @@ -531,6 +618,9 @@ class SqlExportOptions(typing_extensions.TypedDict, total=False): schemaOnly: bool tables: _list[str] +@typing.type_check_only +class SqlImportOptions(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SslConfig(typing_extensions.TypedDict, total=False): caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] @@ -567,6 +657,37 @@ class StageInfo(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class StageStatus(typing_extensions.TypedDict, total=False): + readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + +@typing.type_check_only +class Stats(typing_extensions.TypedDict, total=False): + failed: int + notStarted: int + ongoing: int + success: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -654,6 +775,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( description: str eventTime: str externalUri: str + location: str name: str provider: typing_extensions.Literal[ "PROVIDER_UNSPECIFIED", @@ -760,6 +882,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -811,6 +948,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "DELETED", "STATE_OTHER", ] + gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId instanceType: typing_extensions.Literal[ "INSTANCE_TYPE_UNSPECIFIED", @@ -822,6 +960,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", "SUB_RESOURCE_TYPE_READ_REPLICA", + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] location: str @@ -831,6 +970,15 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + suspensionReason: typing_extensions.Literal[ + "SUSPENSION_REASON_UNSPECIFIED", + "WIPEOUT_HIDE_EVENT", + "WIPEOUT_PURGE_EVENT", + "BILLING_DISABLED", + "ABUSER_DETECTED", + "ENCRYPTION_KEY_INACCESSIBLE", + "REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE", + ] tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -930,6 +1078,21 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", ] @typing.type_check_only @@ -939,7 +1102,15 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( entitlementState: typing_extensions.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] + type: typing_extensions.Literal[ + "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" + ] + +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( + typing_extensions.TypedDict, total=False +): + gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( @@ -947,6 +1118,7 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + isDeletionProtectionEnabled: bool product: StorageDatabasecenterProtoCommonProduct resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId resourceName: str @@ -974,6 +1146,9 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( "NETWORK_CONNECTIONS", "STORAGE_UTILIZATION", "STORAGE_USED_BYTES", + "NODE_COUNT", + "MEMORY_USED_BYTES", + "PROCESSING_UNIT_COUNT", ] observationTime: str resourceName: str @@ -1042,6 +1217,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_EXADATA_ORACLE", + "ENGINE_ADB_SERVERLESS_ORACLE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -1054,8 +1231,10 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_OTHER", ] version: str @@ -1078,7 +1257,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): flagName: str integerRestrictions: IntegerRestrictions name: str + recommendedIntegerValue: str + recommendedStringValue: str requiresDbRestart: bool + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ typing_extensions.Literal[ @@ -1087,6 +1269,7 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] ] valueType: typing_extensions.Literal[ @@ -1124,6 +1307,7 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", ] @typing.type_check_only @@ -1141,6 +1325,37 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): "CANCELLED", ] +@typing.type_check_only +class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): + cancellable: bool + sourceVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + ] + stages: _list[StageStatus] + state: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + targetVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi index 6b90696b..628bbf07 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi @@ -1046,6 +1046,47 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleAnalyticsAdminV1alphaKeyEventHttpRequest: ... + @typing.type_check_only + class ReportingDataAnnotationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleAnalyticsAdminV1alphaReportingDataAnnotation = ..., + **kwargs: typing.Any, + ) -> GoogleAnalyticsAdminV1alphaReportingDataAnnotationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleAnalyticsAdminV1alphaReportingDataAnnotationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponseHttpRequest, + previous_response: GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse, + ) -> ( + GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleAnalyticsAdminV1alphaReportingDataAnnotation = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleAnalyticsAdminV1alphaReportingDataAnnotationHttpRequest: ... + @typing.type_check_only class RollupPropertySourceLinksResource(googleapiclient.discovery.Resource): def create( @@ -1160,6 +1201,38 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleAnalyticsAdminV1alphaSubpropertyEventFilterHttpRequest: ... + @typing.type_check_only + class SubpropertySyncConfigsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleAnalyticsAdminV1alphaSubpropertySyncConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponseHttpRequest, + previous_response: GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponse, + ) -> ( + GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleAnalyticsAdminV1alphaSubpropertySyncConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleAnalyticsAdminV1alphaSubpropertySyncConfigHttpRequest: ... + def acknowledgeUserDataCollection( self, *, @@ -1219,6 +1292,9 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): def getGoogleSignalsSettings( self, *, name: str, **kwargs: typing.Any ) -> GoogleAnalyticsAdminV1alphaGoogleSignalsSettingsHttpRequest: ... + def getReportingIdentitySettings( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleAnalyticsAdminV1alphaReportingIdentitySettingsHttpRequest: ... def list( self, *, @@ -1310,9 +1386,11 @@ class GoogleAnalyticsAdminResource(googleapiclient.discovery.Resource): def firebaseLinks(self) -> FirebaseLinksResource: ... def googleAdsLinks(self) -> GoogleAdsLinksResource: ... def keyEvents(self) -> KeyEventsResource: ... + def reportingDataAnnotations(self) -> ReportingDataAnnotationsResource: ... def rollupPropertySourceLinks(self) -> RollupPropertySourceLinksResource: ... def searchAds360Links(self) -> SearchAds360LinksResource: ... def subpropertyEventFilters(self) -> SubpropertyEventFiltersResource: ... + def subpropertySyncConfigs(self) -> SubpropertySyncConfigsResource: ... def new_batch_http_request( self, @@ -1908,6 +1986,16 @@ class GoogleAnalyticsAdminV1alphaListPropertiesResponseHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaListPropertiesResponse: ... +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse: ... + @typing.type_check_only class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1948,6 +2036,16 @@ class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponseHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse: ... +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponse: ... + @typing.type_check_only class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecretHttpRequest( googleapiclient.http.HttpRequest @@ -1986,6 +2084,26 @@ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponseHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse: ... +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaReportingDataAnnotationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAnalyticsAdminV1alphaReportingDataAnnotation: ... + +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaReportingIdentitySettingsHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAnalyticsAdminV1alphaReportingIdentitySettings: ... + @typing.type_check_only class GoogleAnalyticsAdminV1alphaRollupPropertySourceLinkHttpRequest( googleapiclient.http.HttpRequest @@ -2056,6 +2174,16 @@ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterHttpRequest( num_retries: int = 0, ) -> GoogleAnalyticsAdminV1alphaSubpropertyEventFilter: ... +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaSubpropertySyncConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAnalyticsAdminV1alphaSubpropertySyncConfig: ... + @typing.type_check_only class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi index fe41cb70..43895fdf 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi @@ -545,12 +545,16 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( firebaseLink: GoogleAnalyticsAdminV1alphaFirebaseLink googleAdsLink: GoogleAnalyticsAdminV1alphaGoogleAdsLink googleSignalsSettings: GoogleAnalyticsAdminV1alphaGoogleSignalsSettings + keyEvent: GoogleAnalyticsAdminV1alphaKeyEvent measurementProtocolSecret: GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret property: GoogleAnalyticsAdminV1alphaProperty + reportingDataAnnotation: GoogleAnalyticsAdminV1alphaReportingDataAnnotation + reportingIdentitySettings: GoogleAnalyticsAdminV1alphaReportingIdentitySettings searchAds360Link: GoogleAnalyticsAdminV1alphaSearchAds360Link skadnetworkConversionValueSchema: ( GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema ) + subpropertySyncConfig: GoogleAnalyticsAdminV1alphaSubpropertySyncConfig @typing.type_check_only class GoogleAnalyticsAdminV1alphaChangeHistoryEvent( @@ -1225,6 +1229,13 @@ class GoogleAnalyticsAdminV1alphaListPropertiesResponse( nextPageToken: str properties: _list[GoogleAnalyticsAdminV1alphaProperty] +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + reportingDataAnnotations: _list[GoogleAnalyticsAdminV1alphaReportingDataAnnotation] + @typing.type_check_only class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse( typing_extensions.TypedDict, total=False @@ -1257,6 +1268,13 @@ class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse( nextPageToken: str subpropertyEventFilters: _list[GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + subpropertySyncConfigs: _list[GoogleAnalyticsAdminV1alphaSubpropertySyncConfig] + @typing.type_check_only class GoogleAnalyticsAdminV1alphaMatchingCondition( typing_extensions.TypedDict, total=False @@ -1391,6 +1409,9 @@ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse( class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest( typing_extensions.TypedDict, total=False ): + customDimensionAndMetricSynchronizationMode: typing_extensions.Literal[ + "SYNCHRONIZATION_MODE_UNSPECIFIED", "NONE", "ALL" + ] subproperty: GoogleAnalyticsAdminV1alphaProperty subpropertyEventFilter: GoogleAnalyticsAdminV1alphaSubpropertyEventFilter @@ -1407,6 +1428,36 @@ class GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest( ): eventEditRules: _list[str] +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaReportingDataAnnotation( + typing_extensions.TypedDict, total=False +): + annotationDate: GoogleTypeDate + annotationDateRange: GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange + color: typing_extensions.Literal[ + "COLOR_UNSPECIFIED", "PURPLE", "BROWN", "BLUE", "GREEN", "RED", "CYAN", "ORANGE" + ] + description: str + name: str + systemGenerated: bool + title: str + +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange( + typing_extensions.TypedDict, total=False +): + endDate: GoogleTypeDate + startDate: GoogleTypeDate + +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaReportingIdentitySettings( + typing_extensions.TypedDict, total=False +): + name: str + reportingIdentity: typing_extensions.Literal[ + "IDENTITY_BLENDING_STRATEGY_UNSPECIFIED", "BLENDED", "OBSERVED", "DEVICE_BASED" + ] + @typing.type_check_only class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink( typing_extensions.TypedDict, total=False @@ -1505,7 +1556,11 @@ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( "ADSENSE_LINK", "AUDIENCE", "EVENT_CREATE_RULE", + "KEY_EVENT", "CALCULATED_METRIC", + "REPORTING_DATA_ANNOTATION", + "SUBPROPERTY_SYNC_CONFIG", + "REPORTING_IDENTITY_SETTINGS", ] ] @@ -1585,6 +1640,16 @@ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList( GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression ] +@typing.type_check_only +class GoogleAnalyticsAdminV1alphaSubpropertySyncConfig( + typing_extensions.TypedDict, total=False +): + applyToProperty: str + customDimensionAndMetricSyncMode: typing_extensions.Literal[ + "SYNCHRONIZATION_MODE_UNSPECIFIED", "NONE", "ALL" + ] + name: str + @typing.type_check_only class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest( typing_extensions.TypedDict, total=False @@ -1593,3 +1658,9 @@ class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest( @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleTypeDate(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi index 3f782f30..3f0d2fe9 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi @@ -54,7 +54,11 @@ class AnalyticsHubResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ListingHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + deleteCommercial: bool = ..., + **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi index 61fb7133..f4a4d02d 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi @@ -4,11 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class AnalyticsHubSubscriptionInfo(typing_extensions.TypedDict, total=False): - listing: str - subscription: str - @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -30,14 +25,6 @@ class AvroConfig(typing_extensions.TypedDict, total=False): class BigQueryConfig(typing_extensions.TypedDict, total=False): dropUnknownFields: bool serviceAccountEmail: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACTIVE", - "PERMISSION_DENIED", - "NOT_FOUND", - "SCHEMA_MISMATCH", - "IN_TRANSIT_LOCATION_RESTRICTION", - ] table: str useTableSchema: bool useTopicSchema: bool @@ -66,14 +53,6 @@ class CloudStorageConfig(typing_extensions.TypedDict, total=False): maxDuration: str maxMessages: str serviceAccountEmail: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACTIVE", - "PERMISSION_DENIED", - "NOT_FOUND", - "IN_TRANSIT_LOCATION_RESTRICTION", - "SCHEMA_MISMATCH", - ] textConfig: TextConfig @typing.type_check_only @@ -86,6 +65,7 @@ class DataExchange(typing_extensions.TypedDict, total=False): documentation: str icon: str listingCount: int + logLinkedDatasetQueryUserEmail: bool name: str primaryContact: str sharingEnvironmentConfig: SharingEnvironmentConfig @@ -179,7 +159,6 @@ class GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMark @typing.type_check_only class GooglePubsubV1Subscription(typing_extensions.TypedDict, total=False): ackDeadlineSeconds: int - analyticsHubSubscriptionInfo: AnalyticsHubSubscriptionInfo bigqueryConfig: BigQueryConfig cloudStorageConfig: CloudStorageConfig deadLetterPolicy: DeadLetterPolicy @@ -190,12 +169,16 @@ class GooglePubsubV1Subscription(typing_extensions.TypedDict, total=False): filter: str labels: dict[str, typing.Any] messageRetentionDuration: str + messageTransforms: _list[MessageTransform] name: str pushConfig: PushConfig retainAckedMessages: bool retryPolicy: RetryPolicy - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOURCE_ERROR"] - topicMessageRetentionDuration: str + +@typing.type_check_only +class JavaScriptUDF(typing_extensions.TypedDict, total=False): + code: str + functionName: str @typing.type_check_only class LinkedResource(typing_extensions.TypedDict, total=False): @@ -230,6 +213,7 @@ class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Listing(typing_extensions.TypedDict, total=False): + allowOnlyMetadataSharing: bool bigqueryDataset: BigQueryDatasetSource categories: _list[ typing_extensions.Literal[ @@ -253,6 +237,7 @@ class Listing(typing_extensions.TypedDict, total=False): "CATEGORY_SCIENCE_AND_RESEARCH", "CATEGORY_TRANSPORTATION_AND_LOGISTICS", "CATEGORY_TRAVEL_AND_TOURISM", + "CATEGORY_GOOGLE_EARTH_ENGINE", ] ] commercialInfo: GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo @@ -264,6 +249,7 @@ class Listing(typing_extensions.TypedDict, total=False): displayName: str documentation: str icon: str + logLinkedDatasetQueryUserEmail: bool name: str primaryContact: str publisher: Publisher @@ -275,6 +261,12 @@ class Listing(typing_extensions.TypedDict, total=False): restrictedExportConfig: RestrictedExportConfig state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE"] +@typing.type_check_only +class MessageTransform(typing_extensions.TypedDict, total=False): + disabled: bool + enabled: bool + javascriptUdf: JavaScriptUDF + @typing.type_check_only class NoWrapper(typing_extensions.TypedDict, total=False): writeMetadata: bool @@ -355,7 +347,8 @@ class RetryPolicy(typing_extensions.TypedDict, total=False): minimumBackoff: str @typing.type_check_only -class RevokeSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class RevokeSubscriptionRequest(typing_extensions.TypedDict, total=False): + revokeCommercial: bool @typing.type_check_only class RevokeSubscriptionResponse(typing_extensions.TypedDict, total=False): ... @@ -406,10 +399,12 @@ class Subscription(typing_extensions.TypedDict, total=False): commercialInfo: GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo creationTime: str dataExchange: str + destinationDataset: DestinationDataset lastModifyTime: str linkedDatasetMap: dict[str, typing.Any] linkedResources: _list[LinkedResource] listing: str + logLinkedDatasetQueryUserEmail: bool name: str organizationDisplayName: str organizationId: str diff --git a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi index 5a829a6e..00e115ce 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi @@ -45,6 +45,19 @@ class DataProvider(typing_extensions.TypedDict, total=False): name: str primaryContact: str +@typing.type_check_only +class DestinationDataset(typing_extensions.TypedDict, total=False): + datasetReference: DestinationDatasetReference + description: str + friendlyName: str + labels: dict[str, typing.Any] + location: str + +@typing.type_check_only +class DestinationDatasetReference(typing_extensions.TypedDict, total=False): + datasetId: str + projectId: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -107,6 +120,7 @@ class ListOrgDataExchangesResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Listing(typing_extensions.TypedDict, total=False): + allowOnlyMetadataSharing: bool bigqueryDataset: BigQueryDatasetSource categories: _list[ typing_extensions.Literal[ @@ -130,6 +144,7 @@ class Listing(typing_extensions.TypedDict, total=False): "CATEGORY_SCIENCE_AND_RESEARCH", "CATEGORY_TRANSPORTATION_AND_LOGISTICS", "CATEGORY_TRAVEL_AND_TOURISM", + "CATEGORY_GOOGLE_EARTH_ENGINE", ] ] dataProvider: DataProvider @@ -197,10 +212,12 @@ class Subscription(typing_extensions.TypedDict, total=False): commercialInfo: CommercialInfo creationTime: str dataExchange: str + destinationDataset: DestinationDataset lastModifyTime: str linkedDatasetMap: dict[str, typing.Any] linkedResources: _list[LinkedResource] listing: str + logLinkedDatasetQueryUserEmail: bool name: str organizationDisplayName: str organizationId: str diff --git a/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi b/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi index 374ae8da..b1952d8c 100644 --- a/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi @@ -79,6 +79,14 @@ class AndroidEnterpriseResource(googleapiclient.discovery.Resource): def enroll( self, *, token: str, body: Enterprise = ..., **kwargs: typing.Any ) -> EnterpriseHttpRequest: ... + def generateEnterpriseUpgradeUrl( + self, + *, + enterpriseId: str, + adminEmail: str = ..., + allowedDomains: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GenerateEnterpriseUpgradeUrlResponseHttpRequest: ... def generateSignupUrl( self, *, @@ -619,6 +627,14 @@ class EntitlementsListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EntitlementsListResponse: ... +@typing.type_check_only +class GenerateEnterpriseUpgradeUrlResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateEnterpriseUpgradeUrlResponse: ... + @typing.type_check_only class GroupLicenseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi index 31a7e68c..d565f770 100644 --- a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi @@ -203,8 +203,16 @@ class EnrollmentToken(typing_extensions.TypedDict, total=False): @typing.type_check_only class Enterprise(typing_extensions.TypedDict, total=False): administrator: _list[Administrator] + enterpriseType: typing_extensions.Literal[ + "enterpriseTypeUnspecified", + "managedGoogleDomain", + "managedGooglePlayAccountsEnterprise", + ] googleAuthenticationSettings: GoogleAuthenticationSettings id: str + managedGoogleDomainType: typing_extensions.Literal[ + "managedGoogleDomainTypeUnspecified", "typeTeam", "typeDomain" + ] name: str primaryDomain: str @@ -216,6 +224,12 @@ class EnterpriseAccount(typing_extensions.TypedDict, total=False): class EnterpriseAuthenticationAppLinkConfig(typing_extensions.TypedDict, total=False): uri: str +@typing.type_check_only +class EnterpriseUpgradeEvent(typing_extensions.TypedDict, total=False): + upgradeState: typing_extensions.Literal[ + "upgradeStateUnspecified", "upgradeStateSucceeded" + ] + @typing.type_check_only class EnterprisesListResponse(typing_extensions.TypedDict, total=False): enterprise: _list[Enterprise] @@ -236,6 +250,10 @@ class Entitlement(typing_extensions.TypedDict, total=False): class EntitlementsListResponse(typing_extensions.TypedDict, total=False): entitlement: _list[Entitlement] +@typing.type_check_only +class GenerateEnterpriseUpgradeUrlResponse(typing_extensions.TypedDict, total=False): + url: str + @typing.type_check_only class GoogleAuthenticationSettings(typing_extensions.TypedDict, total=False): dedicatedDevicesAllowed: typing_extensions.Literal[ @@ -366,6 +384,7 @@ class Notification(typing_extensions.TypedDict, total=False): appUpdateEvent: AppUpdateEvent deviceReportUpdateEvent: DeviceReportUpdateEvent enterpriseId: str + enterpriseUpgradeEvent: EnterpriseUpgradeEvent installFailureEvent: InstallFailureEvent newDeviceEvent: NewDeviceEvent newPermissionsEvent: NewPermissionsEvent @@ -380,6 +399,7 @@ class Notification(typing_extensions.TypedDict, total=False): "productAvailabilityChange", "newDevice", "deviceReportUpdate", + "enterpriseUpgrade", ] productApprovalEvent: ProductApprovalEvent productAvailabilityChangeEvent: ProductAvailabilityChangeEvent diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi index 5c694bab..95c98bb3 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi @@ -54,12 +54,14 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): "WIPE_DATA_FLAG_UNSPECIFIED", "PRESERVE_RESET_PROTECTION_DATA", "WIPE_EXTERNAL_STORAGE", + "WIPE_ESIMS", ] | _list[ typing_extensions.Literal[ "WIPE_DATA_FLAG_UNSPECIFIED", "PRESERVE_RESET_PROTECTION_DATA", "WIPE_EXTERNAL_STORAGE", + "WIPE_ESIMS", ] ] = ..., wipeReasonMessage: str = ..., @@ -158,6 +160,13 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): previous_request: ListPoliciesResponseHttpRequest, previous_response: ListPoliciesResponse, ) -> ListPoliciesResponseHttpRequest | None: ... + def modifyPolicyApplications( + self, + *, + name: str, + body: ModifyPolicyApplicationsRequest = ..., + **kwargs: typing.Any, + ) -> ModifyPolicyApplicationsResponseHttpRequest: ... def patch( self, *, @@ -166,6 +175,13 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def removePolicyApplications( + self, + *, + name: str, + body: RemovePolicyApplicationsRequest = ..., + **kwargs: typing.Any, + ) -> RemovePolicyApplicationsResponseHttpRequest: ... @typing.type_check_only class WebAppsResource(googleapiclient.discovery.Resource): @@ -215,6 +231,13 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> EnterpriseHttpRequest: ... def delete(self, *, name: str, **kwargs: typing.Any) -> EmptyHttpRequest: ... + def generateEnterpriseUpgradeUrl( + self, + *, + name: str, + body: GenerateEnterpriseUpgradeUrlRequest = ..., + **kwargs: typing.Any, + ) -> GenerateEnterpriseUpgradeUrlResponseHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> EnterpriseHttpRequest: ... def list( self, @@ -322,6 +345,14 @@ class EnterpriseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Enterprise: ... +@typing.type_check_only +class GenerateEnterpriseUpgradeUrlResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateEnterpriseUpgradeUrlResponse: ... + @typing.type_check_only class ListDevicesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -386,6 +417,14 @@ class MigrationTokenHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MigrationToken: ... +@typing.type_check_only +class ModifyPolicyApplicationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ModifyPolicyApplicationsResponse: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -410,6 +449,14 @@ class ProvisioningInfoHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ProvisioningInfo: ... +@typing.type_check_only +class RemovePolicyApplicationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemovePolicyApplicationsResponse: ... + @typing.type_check_only class SignupUrlHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index e7b11a23..872e4067 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -11,6 +11,13 @@ class AdbShellCommandEvent(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdbShellInteractiveEvent(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class AddEsimParams(typing_extensions.TypedDict, total=False): + activationCode: str + activationState: typing_extensions.Literal[ + "ACTIVATION_STATE_UNSPECIFIED", "ACTIVATED", "NOT_ACTIVATED" + ] + @typing.type_check_only class AdvancedSecurityOverrides(typing_extensions.TypedDict, total=False): commonCriteriaMode: typing_extensions.Literal[ @@ -54,6 +61,82 @@ class AlwaysOnVpnPackage(typing_extensions.TypedDict, total=False): class ApiLevelCondition(typing_extensions.TypedDict, total=False): minApiLevel: int +@typing.type_check_only +class ApnPolicy(typing_extensions.TypedDict, total=False): + apnSettings: _list[ApnSetting] + overrideApns: typing_extensions.Literal[ + "OVERRIDE_APNS_UNSPECIFIED", "OVERRIDE_APNS_DISABLED", "OVERRIDE_APNS_ENABLED" + ] + +@typing.type_check_only +class ApnSetting(typing_extensions.TypedDict, total=False): + alwaysOnSetting: typing_extensions.Literal[ + "ALWAYS_ON_SETTING_UNSPECIFIED", "NOT_ALWAYS_ON", "ALWAYS_ON" + ] + apn: str + apnTypes: _list[ + typing_extensions.Literal[ + "APN_TYPE_UNSPECIFIED", + "ENTERPRISE", + "BIP", + "CBS", + "DEFAULT", + "DUN", + "EMERGENCY", + "FOTA", + "HIPRI", + "IA", + "IMS", + "MCX", + "MMS", + "RCS", + "SUPL", + "VSIM", + "XCAP", + ] + ] + authType: typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", "NONE", "PAP", "CHAP", "PAP_OR_CHAP" + ] + carrierId: int + displayName: str + mmsProxyAddress: str + mmsProxyPort: int + mmsc: str + mtuV4: int + mtuV6: int + mvnoType: typing_extensions.Literal[ + "MVNO_TYPE_UNSPECIFIED", "GID", "ICCID", "IMSI", "SPN" + ] + networkTypes: _list[ + typing_extensions.Literal[ + "NETWORK_TYPE_UNSPECIFIED", + "EDGE", + "GPRS", + "GSM", + "HSDPA", + "HSPA", + "HSPAP", + "HSUPA", + "IWLAN", + "LTE", + "NR", + "TD_SCDMA", + "UMTS", + ] + ] + numericOperatorId: str + password: str + protocol: typing_extensions.Literal[ + "PROTOCOL_UNSPECIFIED", "IP", "IPV4V6", "IPV6", "NON_IP", "PPP", "UNSTRUCTURED" + ] + proxyAddress: str + proxyPort: int + roamingProtocol: typing_extensions.Literal[ + "PROTOCOL_UNSPECIFIED", "IP", "IPV4V6", "IPV6", "NON_IP", "PPP", "UNSTRUCTURED" + ] + username: str + @typing.type_check_only class AppProcessInfo(typing_extensions.TypedDict, total=False): apkSha256Hash: str @@ -198,6 +281,15 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): minimumVersionCode: int packageName: str permissionGrants: _list[PermissionGrant] + preferentialNetworkId: typing_extensions.Literal[ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE", + ] userControlSettings: typing_extensions.Literal[ "USER_CONTROL_SETTINGS_UNSPECIFIED", "USER_CONTROL_ALLOWED", @@ -209,6 +301,11 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): "WORK_PROFILE_WIDGETS_DISALLOWED", ] +@typing.type_check_only +class ApplicationPolicyChange(typing_extensions.TypedDict, total=False): + application: ApplicationPolicy + updateMask: str + @typing.type_check_only class ApplicationReport(typing_extensions.TypedDict, total=False): applicationSource: typing_extensions.Literal[ @@ -237,6 +334,16 @@ class ApplicationReport(typing_extensions.TypedDict, total=False): class ApplicationReportingSettings(typing_extensions.TypedDict, total=False): includeRemovedApps: bool +@typing.type_check_only +class BackupServiceToggledEvent(typing_extensions.TypedDict, total=False): + adminPackageName: str + adminUserId: int + backupServiceState: typing_extensions.Literal[ + "BACKUP_SERVICE_STATE_UNSPECIFIED", + "BACKUP_SERVICE_DISABLED", + "BACKUP_SERVICE_ENABLED", + ] + @typing.type_check_only class BatchUsageLogEvents(typing_extensions.TypedDict, total=False): device: str @@ -283,6 +390,7 @@ class ClearAppsDataStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Command(typing_extensions.TypedDict, total=False): + addEsimParams: AddEsimParams clearAppsDataParams: ClearAppsDataParams clearAppsDataStatus: ClearAppsDataStatus createTime: str @@ -295,7 +403,11 @@ class Command(typing_extensions.TypedDict, total=False): "INVALID_VALUE", "UNSUPPORTED", ] + esimStatus: EsimCommandStatus newPassword: str + removeEsimParams: RemoveEsimParams + requestDeviceInfoParams: RequestDeviceInfoParams + requestDeviceInfoStatus: RequestDeviceInfoStatus resetPasswordFlags: _list[ typing_extensions.Literal[ "RESET_PASSWORD_FLAG_UNSPECIFIED", @@ -317,8 +429,13 @@ class Command(typing_extensions.TypedDict, total=False): "CLEAR_APP_DATA", "START_LOST_MODE", "STOP_LOST_MODE", + "ADD_ESIM", + "REMOVE_ESIM", + "REQUEST_DEVICE_INFO", + "WIPE", ] userName: str + wipeParams: WipeParams @typing.type_check_only class CommonCriteriaModeInfo(typing_extensions.TypedDict, total=False): @@ -366,6 +483,11 @@ class ContentProviderEndpoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class CrossProfilePolicies(typing_extensions.TypedDict, total=False): + crossProfileAppFunctions: typing_extensions.Literal[ + "CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED", + "CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED", + "CROSS_PROFILE_APP_FUNCTIONS_ALLOWED", + ] crossProfileCopyPaste: typing_extensions.Literal[ "CROSS_PROFILE_COPY_PASTE_UNSPECIFIED", "COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", @@ -463,12 +585,19 @@ class Device(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeviceConnectivityManagement(typing_extensions.TypedDict, total=False): + apnPolicy: ApnPolicy + bluetoothSharing: typing_extensions.Literal[ + "BLUETOOTH_SHARING_UNSPECIFIED", + "BLUETOOTH_SHARING_ALLOWED", + "BLUETOOTH_SHARING_DISALLOWED", + ] configureWifi: typing_extensions.Literal[ "CONFIGURE_WIFI_UNSPECIFIED", "ALLOW_CONFIGURING_WIFI", "DISALLOW_ADD_WIFI_CONFIG", "DISALLOW_CONFIGURING_WIFI", ] + preferentialNetworkServiceSettings: PreferentialNetworkServiceSettings tetheringSettings: typing_extensions.Literal[ "TETHERING_SETTINGS_UNSPECIFIED", "ALLOW_ALL_TETHERING", @@ -565,6 +694,14 @@ class DpcMigrationInfo(typing_extensions.TypedDict, total=False): additionalData: str previousDpc: str +@typing.type_check_only +class Eid(typing_extensions.TypedDict, total=False): + eid: str + +@typing.type_check_only +class EidInfo(typing_extensions.TypedDict, total=False): + eids: _list[Eid] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -601,17 +738,62 @@ class Enterprise(typing_extensions.TypedDict, total=False): "STATUS_REPORT", "COMMAND", "USAGE_LOGS", + "ENTERPRISE_UPGRADE", ] ] enterpriseDisplayName: str + enterpriseType: typing_extensions.Literal[ + "ENTERPRISE_TYPE_UNSPECIFIED", + "MANAGED_GOOGLE_DOMAIN", + "MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE", + ] googleAuthenticationSettings: GoogleAuthenticationSettings logo: ExternalData + managedGoogleDomainType: typing_extensions.Literal[ + "MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED", "TYPE_TEAM", "TYPE_DOMAIN" + ] + managedGooglePlayAccountsEnterpriseType: typing_extensions.Literal[ + "MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED", + "CUSTOMER_MANAGED", + "EMM_MANAGED", + ] name: str primaryColor: int pubsubTopic: str signinDetails: _list[SigninDetail] termsAndConditions: _list[TermsAndConditions] +@typing.type_check_only +class EnterpriseUpgradeEvent(typing_extensions.TypedDict, total=False): + enterprise: str + upgradeState: typing_extensions.Literal[ + "UPGRADE_STATE_UNSPECIFIED", "UPGRADE_STATE_SUCCEEDED" + ] + +@typing.type_check_only +class EsimCommandStatus(typing_extensions.TypedDict, total=False): + esimInfo: EsimInfo + internalErrorDetails: InternalErrorDetails + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "SUCCESS", + "IN_PROGRESS", + "PENDING_USER_ACTION", + "ERROR_SETUP_IN_PROGRESS", + "ERROR_USER_DENIED", + "INTERNAL_ERROR", + "ERROR_ICC_ID_NOT_FOUND", + "ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT", + ] + +@typing.type_check_only +class EsimInfo(typing_extensions.TypedDict, total=False): + iccId: str + +@typing.type_check_only +class EuiccChipInfo(typing_extensions.TypedDict, total=False): + eid: str + @typing.type_check_only class ExtensionConfig(typing_extensions.TypedDict, total=False): notificationReceiver: str @@ -635,6 +817,15 @@ class FreezePeriod(typing_extensions.TypedDict, total=False): endDate: Date startDate: Date +@typing.type_check_only +class GenerateEnterpriseUpgradeUrlRequest(typing_extensions.TypedDict, total=False): + adminEmail: str + allowedDomains: _list[str] + +@typing.type_check_only +class GenerateEnterpriseUpgradeUrlResponse(typing_extensions.TypedDict, total=False): + url: str + @typing.type_check_only class GoogleAuthenticationSettings(typing_extensions.TypedDict, total=False): googleAuthenticationRequired: typing_extensions.Literal[ @@ -650,6 +841,7 @@ class HardwareInfo(typing_extensions.TypedDict, total=False): cpuThrottlingTemperatures: _list[float] deviceBasebandVersion: str enterpriseSpecificId: str + euiccChipInfo: _list[EuiccChipInfo] gpuShutdownTemperatures: _list[float] gpuThrottlingTemperatures: _list[float] hardware: str @@ -687,6 +879,46 @@ class InstallConstraint(typing_extensions.TypedDict, total=False): "INSTALL_ONLY_ON_UNMETERED_NETWORK", ] +@typing.type_check_only +class InternalErrorDetails(typing_extensions.TypedDict, total=False): + errorCode: str + errorCodeDetail: typing_extensions.Literal[ + "ERROR_CODE_DETAIL_UNSPECIFIED", + "ERROR_TIME_OUT", + "ERROR_EUICC_MISSING", + "ERROR_UNSUPPORTED_VERSION", + "ERROR_ADDRESS_MISSING", + "ERROR_INVALID_CONFIRMATION_CODE", + "ERROR_CERTIFICATE_ERROR", + "ERROR_NO_PROFILES_AVAILABLE", + "ERROR_CONNECTION_ERROR", + "ERROR_INVALID_RESPONSE", + "ERROR_CARRIER_LOCKED", + "ERROR_DISALLOWED_BY_PPR", + "ERROR_INVALID_ACTIVATION_CODE", + "ERROR_INCOMPATIBLE_CARRIER", + "ERROR_OPERATION_BUSY", + "ERROR_INSTALL_PROFILE", + "ERROR_EUICC_INSUFFICIENT_MEMORY", + "ERROR_INVALID_PORT", + "ERROR_SIM_MISSING", + ] + operationCode: str + operationCodeDetail: typing_extensions.Literal[ + "OPERATION_CODE_DETAIL_UNSPECIFIED", + "OPERATION_SYSTEM", + "OPERATION_SIM_SLOT", + "OPERATION_EUICC_CARD", + "OPERATION_SMDX", + "OPERATION_SWITCH", + "OPERATION_DOWNLOAD", + "OPERATION_METADATA", + "OPERATION_EUICC_GSMA", + "OPERATION_APDU", + "OPERATION_SMDX_SUBJECT_REASON_CODE", + "OPERATION_HTTP", + ] + @typing.type_check_only class IssueCommandResponse(typing_extensions.TypedDict, total=False): ... @@ -901,6 +1133,14 @@ class MigrationToken(typing_extensions.TypedDict, total=False): userId: str value: str +@typing.type_check_only +class ModifyPolicyApplicationsRequest(typing_extensions.TypedDict, total=False): + changes: _list[ApplicationPolicyChange] + +@typing.type_check_only +class ModifyPolicyApplicationsResponse(typing_extensions.TypedDict, total=False): + policy: Policy + @typing.type_check_only class NetworkInfo(typing_extensions.TypedDict, total=False): imei: str @@ -941,6 +1181,7 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "APP_INCOMPATIBLE", "APP_NOT_UPDATED", "DEVICE_INCOMPATIBLE", + "PROJECT_NOT_PERMITTED", ] packageName: str settingName: str @@ -955,6 +1196,9 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "ONC_WIFI_INVALID_ENTERPRISE_CONFIG", "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK", "ONC_WIFI_KEY_PAIR_ALIAS_NOT_CORRESPONDING_TO_EXISTING_KEY", + "PERMISSIBLE_USAGE_RESTRICTION", + "REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE", + "NEW_ACCOUNT_NOT_IN_ENTERPRISE", ] @typing.type_check_only @@ -972,6 +1216,7 @@ class NonComplianceDetailCondition(typing_extensions.TypedDict, total=False): "APP_INCOMPATIBLE", "APP_NOT_UPDATED", "DEVICE_INCOMPATIBLE", + "PROJECT_NOT_PERMITTED", ] packageName: str settingName: str @@ -1087,6 +1332,11 @@ class PersonalApplicationPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class PersonalUsagePolicies(typing_extensions.TypedDict, total=False): accountTypesWithManagementDisabled: _list[str] + bluetoothSharing: typing_extensions.Literal[ + "BLUETOOTH_SHARING_UNSPECIFIED", + "BLUETOOTH_SHARING_ALLOWED", + "BLUETOOTH_SHARING_DISALLOWED", + ] cameraDisabled: bool maxDaysWithWorkOff: int personalApplications: _list[PersonalApplicationPolicy] @@ -1117,6 +1367,9 @@ class Policy(typing_extensions.TypedDict, total=False): "WIFI_ONLY", "ALWAYS", ] + appFunctions: typing_extensions.Literal[ + "APP_FUNCTIONS_UNSPECIFIED", "APP_FUNCTIONS_DISALLOWED", "APP_FUNCTIONS_ALLOWED" + ] applications: _list[ApplicationPolicy] assistContentPolicy: typing_extensions.Literal[ "ASSIST_CONTENT_POLICY_UNSPECIFIED", @@ -1166,6 +1419,11 @@ class Policy(typing_extensions.TypedDict, total=False): "ENABLED_WITH_PASSWORD", ] ensureVerifyAppsEnabled: bool + enterpriseDisplayNameVisibility: typing_extensions.Literal[ + "ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED", + "ENTERPRISE_DISPLAY_NAME_VISIBLE", + "ENTERPRISE_DISPLAY_NAME_HIDDEN", + ] factoryResetDisabled: bool frpAdminEmails: _list[str] funDisabled: bool @@ -1268,6 +1526,10 @@ class Policy(typing_extensions.TypedDict, total=False): vpnConfigDisabled: bool wifiConfigDisabled: bool wifiConfigsLockdownEnabled: bool + wipeDataFlags: _list[ + typing_extensions.Literal["WIPE_DATA_FLAG_UNSPECIFIED", "WIPE_ESIMS"] + ] + workAccountSetupConfig: WorkAccountSetupConfig @typing.type_check_only class PolicyEnforcementRule(typing_extensions.TypedDict, total=False): @@ -1300,6 +1562,41 @@ class PowerManagementEvent(typing_extensions.TypedDict, total=False): "SHUTDOWN", ] +@typing.type_check_only +class PreferentialNetworkServiceConfig(typing_extensions.TypedDict, total=False): + fallbackToDefaultConnection: typing_extensions.Literal[ + "FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED", + "FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED", + "FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED", + ] + nonMatchingNetworks: typing_extensions.Literal[ + "NON_MATCHING_NETWORKS_UNSPECIFIED", + "NON_MATCHING_NETWORKS_ALLOWED", + "NON_MATCHING_NETWORKS_DISALLOWED", + ] + preferentialNetworkId: typing_extensions.Literal[ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE", + ] + +@typing.type_check_only +class PreferentialNetworkServiceSettings(typing_extensions.TypedDict, total=False): + defaultPreferentialNetworkId: typing_extensions.Literal[ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE", + ] + preferentialNetworkServiceConfigs: _list[PreferentialNetworkServiceConfig] + @typing.type_check_only class ProvisioningInfo(typing_extensions.TypedDict, total=False): apiLevel: int @@ -1331,6 +1628,33 @@ class RemoteLockEvent(typing_extensions.TypedDict, total=False): adminUserId: int targetUserId: int +@typing.type_check_only +class RemoveEsimParams(typing_extensions.TypedDict, total=False): + iccId: str + +@typing.type_check_only +class RemovePolicyApplicationsRequest(typing_extensions.TypedDict, total=False): + packageNames: _list[str] + +@typing.type_check_only +class RemovePolicyApplicationsResponse(typing_extensions.TypedDict, total=False): + policy: Policy + +@typing.type_check_only +class RequestDeviceInfoParams(typing_extensions.TypedDict, total=False): + deviceInfo: typing_extensions.Literal["DEVICE_INFO_UNSPECIFIED", "EID"] + +@typing.type_check_only +class RequestDeviceInfoStatus(typing_extensions.TypedDict, total=False): + eidInfo: EidInfo + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "SUCCEEDED", + "PENDING_USER_ACTION", + "USER_DECLINED", + "UNSUPPORTED", + ] + @typing.type_check_only class ScreenBrightnessSettings(typing_extensions.TypedDict, total=False): screenBrightness: int @@ -1480,7 +1804,13 @@ class SystemUpdateInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class TelephonyInfo(typing_extensions.TypedDict, total=False): + activationState: typing_extensions.Literal[ + "ACTIVATION_STATE_UNSPECIFIED", "ACTIVATED", "NOT_ACTIVATED" + ] carrierName: str + configMode: typing_extensions.Literal[ + "CONFIG_MODE_UNSPECIFIED", "ADMIN_CONFIGURED", "USER_CONFIGURED" + ] iccId: str phoneNumber: str @@ -1507,6 +1837,7 @@ class UsageLogEvent(typing_extensions.TypedDict, total=False): adbShellCommandEvent: AdbShellCommandEvent adbShellInteractiveEvent: AdbShellInteractiveEvent appProcessStartEvent: AppProcessStartEvent + backupServiceToggledEvent: BackupServiceToggledEvent certAuthorityInstalledEvent: CertAuthorityInstalledEvent certAuthorityRemovedEvent: CertAuthorityRemovedEvent certValidationFailureEvent: CertValidationFailureEvent @@ -1549,6 +1880,7 @@ class UsageLogEvent(typing_extensions.TypedDict, total=False): "LOST_MODE_OUTGOING_PHONE_CALL", "LOST_MODE_LOCATION", "ENROLLMENT_COMPLETE", + "BACKUP_SERVICE_TOGGLED", ] filePulledEvent: FilePulledEvent filePushedEvent: FilePushedEvent @@ -1648,3 +1980,24 @@ class WipeAction(typing_extensions.TypedDict, total=False): @typing.type_check_only class WipeFailureEvent(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class WipeParams(typing_extensions.TypedDict, total=False): + wipeDataFlags: _list[ + typing_extensions.Literal[ + "WIPE_DATA_FLAG_UNSPECIFIED", + "PRESERVE_RESET_PROTECTION_DATA", + "WIPE_EXTERNAL_STORAGE", + "WIPE_ESIMS", + ] + ] + wipeReason: UserFacingMessage + +@typing.type_check_only +class WorkAccountSetupConfig(typing_extensions.TypedDict, total=False): + authenticationType: typing_extensions.Literal[ + "AUTHENTICATION_TYPE_UNSPECIFIED", + "AUTHENTICATION_TYPE_NOT_ENFORCED", + "GOOGLE_AUTHENTICATED", + ] + requiredAccountEmail: str diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi index 42124142..8d53f806 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi @@ -827,6 +827,16 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): @typing.type_check_only class OrdersResource(googleapiclient.discovery.Resource): + def batchget( + self, + *, + packageName: str, + orderIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> BatchGetOrdersResponseHttpRequest: ... + def get( + self, *, packageName: str, orderId: str, **kwargs: typing.Any + ) -> OrderHttpRequest: ... def refund( self, *, @@ -866,6 +876,12 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ProductPurchaseHttpRequest: ... + @typing.type_check_only + class Productsv2Resource(googleapiclient.discovery.Resource): + def getproductpurchasev2( + self, *, packageName: str, token: str, **kwargs: typing.Any + ) -> ProductPurchaseV2HttpRequest: ... + @typing.type_check_only class SubscriptionsResource(googleapiclient.discovery.Resource): def acknowledge( @@ -950,6 +966,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): ) -> VoidedPurchasesListResponseHttpRequest: ... def products(self) -> ProductsResource: ... + def productsv2(self) -> Productsv2Resource: ... def subscriptions(self) -> SubscriptionsResource: ... def subscriptionsv2(self) -> Subscriptionsv2Resource: ... def voidedpurchases(self) -> VoidedpurchasesResource: ... @@ -1138,6 +1155,14 @@ class AppRecoveryActionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AppRecoveryAction: ... +@typing.type_check_only +class BatchGetOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchGetOrdersResponse: ... + @typing.type_check_only class BatchGetSubscriptionOffersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1422,6 +1447,14 @@ class MigrateBasePlanPricesResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> MigrateBasePlanPricesResponse: ... +@typing.type_check_only +class OrderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Order: ... + @typing.type_check_only class ProductPurchaseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1430,6 +1463,14 @@ class ProductPurchaseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ProductPurchase: ... +@typing.type_check_only +class ProductPurchaseV2HttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ProductPurchaseV2: ... + @typing.type_check_only class ReviewHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index 1b4d28d7..fd8a02d3 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -199,6 +199,10 @@ class BasePlan(typing_extensions.TypedDict, total=False): regionalConfigs: _list[RegionalBasePlanConfig] state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] +@typing.type_check_only +class BatchGetOrdersResponse(typing_extensions.TypedDict, total=False): + orders: _list[Order] + @typing.type_check_only class BatchGetSubscriptionOffersRequest(typing_extensions.TypedDict, total=False): requests: _list[GetSubscriptionOfferRequest] @@ -266,6 +270,12 @@ class BundlesListResponse(typing_extensions.TypedDict, total=False): bundles: _list[Bundle] kind: str +@typing.type_check_only +class BuyerAddress(typing_extensions.TypedDict, total=False): + buyerCountry: str + buyerPostcode: str + buyerState: str + @typing.type_check_only class CancelAppRecoveryRequest(typing_extensions.TypedDict, total=False): ... @@ -291,6 +301,10 @@ class CanceledStateContext(typing_extensions.TypedDict, total=False): systemInitiatedCancellation: SystemInitiatedCancellation userInitiatedCancellation: UserInitiatedCancellation +@typing.type_check_only +class CancellationEvent(typing_extensions.TypedDict, total=False): + eventTime: str + @typing.type_check_only class Comment(typing_extensions.TypedDict, total=False): developerComment: DeveloperComment @@ -304,6 +318,7 @@ class ConvertRegionPricesRequest(typing_extensions.TypedDict, total=False): class ConvertRegionPricesResponse(typing_extensions.TypedDict, total=False): convertedOtherRegionsPrice: ConvertedOtherRegionsPrice convertedRegionPrices: dict[str, typing.Any] + regionVersion: RegionsVersion @typing.type_check_only class ConvertedOtherRegionsPrice(typing_extensions.TypedDict, total=False): @@ -733,6 +748,17 @@ class LanguageTargeting(typing_extensions.TypedDict, total=False): alternatives: _list[str] value: _list[str] +@typing.type_check_only +class LineItem(typing_extensions.TypedDict, total=False): + listingPrice: Money + oneTimePurchaseDetails: OneTimePurchaseDetails + paidAppDetails: PaidAppDetails + productId: str + productTitle: str + subscriptionDetails: SubscriptionDetails + tax: Money + total: Money + @typing.type_check_only class ListAppRecoveriesResponse(typing_extensions.TypedDict, total=False): recoveryActions: _list[AppRecoveryAction] @@ -849,6 +875,48 @@ class OneTimeCode(typing_extensions.TypedDict, total=False): ... class OneTimeExternalTransaction(typing_extensions.TypedDict, total=False): externalTransactionToken: str +@typing.type_check_only +class OneTimePurchaseDetails(typing_extensions.TypedDict, total=False): + offerId: str + purchaseOptionId: str + quantity: int + rentalDetails: RentalDetails + +@typing.type_check_only +class Order(typing_extensions.TypedDict, total=False): + buyerAddress: BuyerAddress + createTime: str + developerRevenueInBuyerCurrency: Money + lastEventTime: str + lineItems: _list[LineItem] + orderDetails: OrderDetails + orderHistory: OrderHistory + orderId: str + pointsDetails: PointsDetails + purchaseToken: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "PROCESSED", + "CANCELED", + "PENDING_REFUND", + "PARTIALLY_REFUNDED", + "REFUNDED", + ] + tax: Money + total: Money + +@typing.type_check_only +class OrderDetails(typing_extensions.TypedDict, total=False): + taxInclusive: bool + +@typing.type_check_only +class OrderHistory(typing_extensions.TypedDict, total=False): + cancellationEvent: CancellationEvent + partialRefundEvents: _list[PartialRefundEvent] + processedEvent: ProcessedEvent + refundEvent: RefundEvent + @typing.type_check_only class OtherRecurringProduct(typing_extensions.TypedDict, total=False): ... @@ -889,11 +957,23 @@ class PageInfo(typing_extensions.TypedDict, total=False): startIndex: int totalResults: int +@typing.type_check_only +class PaidAppDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class PartialRefund(typing_extensions.TypedDict, total=False): refundId: str refundPreTaxAmount: Price +@typing.type_check_only +class PartialRefundEvent(typing_extensions.TypedDict, total=False): + createTime: str + processTime: str + refundDetails: RefundDetails + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PENDING", "PROCESSED_SUCCESSFULLY" + ] + @typing.type_check_only class PausedStateContext(typing_extensions.TypedDict, total=False): autoResumeTime: str @@ -901,6 +981,13 @@ class PausedStateContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class PendingCancellation(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class PointsDetails(typing_extensions.TypedDict, total=False): + pointsCouponValue: Money + pointsDiscountRateMicros: str + pointsOfferId: str + pointsSpent: str + @typing.type_check_only class PrepaidBasePlanType(typing_extensions.TypedDict, total=False): billingPeriodDuration: str @@ -917,6 +1004,30 @@ class Price(typing_extensions.TypedDict, total=False): currency: str priceMicros: str +@typing.type_check_only +class ProcessedEvent(typing_extensions.TypedDict, total=False): + eventTime: str + +@typing.type_check_only +class ProductLineItem(typing_extensions.TypedDict, total=False): + productId: str + productOfferDetails: ProductOfferDetails + +@typing.type_check_only +class ProductOfferDetails(typing_extensions.TypedDict, total=False): + consumptionState: typing_extensions.Literal[ + "CONSUMPTION_STATE_UNSPECIFIED", + "CONSUMPTION_STATE_YET_TO_BE_CONSUMED", + "CONSUMPTION_STATE_CONSUMED", + ] + offerId: str + offerTags: _list[str] + offerToken: str + purchaseOptionId: str + quantity: int + refundableQuantity: int + rentOfferDetails: RentOfferDetails + @typing.type_check_only class ProductPurchase(typing_extensions.TypedDict, total=False): acknowledgementState: int @@ -935,10 +1046,33 @@ class ProductPurchase(typing_extensions.TypedDict, total=False): refundableQuantity: int regionCode: str +@typing.type_check_only +class ProductPurchaseV2(typing_extensions.TypedDict, total=False): + acknowledgementState: typing_extensions.Literal[ + "ACKNOWLEDGEMENT_STATE_UNSPECIFIED", + "ACKNOWLEDGEMENT_STATE_PENDING", + "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED", + ] + kind: str + obfuscatedExternalAccountId: str + obfuscatedExternalProfileId: str + orderId: str + productLineItem: _list[ProductLineItem] + purchaseCompletionTime: str + purchaseStateContext: PurchaseStateContext + regionCode: str + testPurchaseContext: TestPurchaseContext + @typing.type_check_only class ProductPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): developerPayload: str +@typing.type_check_only +class PurchaseStateContext(typing_extensions.TypedDict, total=False): + purchaseState: typing_extensions.Literal[ + "PURCHASE_STATE_UNSPECIFIED", "PURCHASED", "CANCELLED", "PENDING" + ] + @typing.type_check_only class RecurringExternalTransaction(typing_extensions.TypedDict, total=False): externalSubscription: ExternalSubscription @@ -951,6 +1085,19 @@ class RecurringExternalTransaction(typing_extensions.TypedDict, total=False): ] otherRecurringProduct: OtherRecurringProduct +@typing.type_check_only +class RefundDetails(typing_extensions.TypedDict, total=False): + tax: Money + total: Money + +@typing.type_check_only +class RefundEvent(typing_extensions.TypedDict, total=False): + eventTime: str + refundDetails: RefundDetails + refundReason: typing_extensions.Literal[ + "REFUND_REASON_UNSPECIFIED", "OTHER", "CHARGEBACK" + ] + @typing.type_check_only class RefundExternalTransactionRequest(typing_extensions.TypedDict, total=False): fullRefund: FullRefund @@ -1034,6 +1181,12 @@ class RemoteInAppUpdateDataPerBundle(typing_extensions.TypedDict, total=False): totalDeviceCount: str versionCode: str +@typing.type_check_only +class RentOfferDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RentalDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ReplacementCancellation(typing_extensions.TypedDict, total=False): ... @@ -1069,11 +1222,16 @@ class ReviewsReplyResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class RevocationContext(typing_extensions.TypedDict, total=False): fullRefund: RevocationContextFullRefund + itemBasedRefund: RevocationContextItemBasedRefund proratedRefund: RevocationContextProratedRefund @typing.type_check_only class RevocationContextFullRefund(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RevocationContextItemBasedRefund(typing_extensions.TypedDict, total=False): + productId: str + @typing.type_check_only class RevocationContextProratedRefund(typing_extensions.TypedDict, total=False): ... @@ -1168,6 +1326,16 @@ class SubscriptionDeferralInfo(typing_extensions.TypedDict, total=False): desiredExpiryTimeMillis: str expectedExpiryTimeMillis: str +@typing.type_check_only +class SubscriptionDetails(typing_extensions.TypedDict, total=False): + basePlanId: str + offerId: str + offerPhase: typing_extensions.Literal[ + "OFFER_PHASE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" + ] + servicePeriodEndTime: str + servicePeriodStartTime: str + @typing.type_check_only class SubscriptionItemPriceChangeDetails(typing_extensions.TypedDict, total=False): expectedNewPriceChargeTime: str @@ -1179,7 +1347,11 @@ class SubscriptionItemPriceChangeDetails(typing_extensions.TypedDict, total=Fals "OPT_OUT_PRICE_INCREASE", ] priceChangeState: typing_extensions.Literal[ - "PRICE_CHANGE_STATE_UNSPECIFIED", "OUTSTANDING", "CONFIRMED", "APPLIED" + "PRICE_CHANGE_STATE_UNSPECIFIED", + "OUTSTANDING", + "CONFIRMED", + "APPLIED", + "CANCELED", ] @typing.type_check_only @@ -1256,6 +1428,7 @@ class SubscriptionPurchaseLineItem(typing_extensions.TypedDict, total=False): autoRenewingPlan: AutoRenewingPlan deferredItemReplacement: DeferredItemReplacement expiryTime: str + latestSuccessfulOrderId: str offerDetails: OfferDetails prepaidPlan: PrepaidPlan productId: str @@ -1372,6 +1545,10 @@ class TargetingUpdate(typing_extensions.TypedDict, total=False): @typing.type_check_only class TestPurchase(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class TestPurchaseContext(typing_extensions.TypedDict, total=False): + fopType: typing_extensions.Literal["FOP_TYPE_UNSPECIFIED", "TEST"] + @typing.type_check_only class Testers(typing_extensions.TypedDict, total=False): googleGroups: _list[str] diff --git a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi index 7a2c936a..ac760092 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi @@ -244,6 +244,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi index 7a2c936a..ac760092 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi @@ -244,6 +244,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index 1ac0f0d4..5cee2e13 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -140,9 +140,17 @@ class ApigeeResource(googleapiclient.discovery.Resource): attributevalue: str = ..., count: str = ..., expand: bool = ..., + space: str = ..., startKey: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ListApiProductsResponseHttpRequest: ... + def move( + self, + *, + name: str, + body: GoogleCloudApigeeV1MoveApiProductRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ApiProductHttpRequest: ... def update( self, *, @@ -155,6 +163,24 @@ class ApigeeResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApisResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DebugsessionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ListApiDebugSessionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListApiDebugSessionsResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListApiDebugSessionsResponse, + ) -> ( + GoogleCloudApigeeV1ListApiDebugSessionsResponseHttpRequest | None + ): ... + @typing.type_check_only class DeploymentsResource(googleapiclient.discovery.Resource): def list( @@ -244,6 +270,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): body: GoogleApiHttpBody = ..., action: str = ..., name: str = ..., + space: str = ..., validate: bool = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ApiProxyRevisionHttpRequest: ... @@ -259,8 +286,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): parent: str, includeMetaData: bool = ..., includeRevisions: bool = ..., + space: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ListApiProxiesResponseHttpRequest: ... + def move( + self, + *, + name: str, + body: GoogleCloudApigeeV1MoveApiProxyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ApiProxyHttpRequest: ... def patch( self, *, @@ -269,6 +304,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ApiProxyHttpRequest: ... + def debugsessions(self) -> DebugsessionsResource: ... def deployments(self) -> DeploymentsResource: ... def keyvaluemaps(self) -> KeyvaluemapsResource: ... def revisions(self) -> RevisionsResource: ... @@ -689,6 +725,36 @@ class ApigeeResource(googleapiclient.discovery.Resource): def balance(self) -> BalanceResource: ... def subscriptions(self) -> SubscriptionsResource: ... + @typing.type_check_only + class DnsZonesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1DnsZone = ..., + dnsZoneId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1DnsZoneHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ListDnsZonesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListDnsZonesResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListDnsZonesResponse, + ) -> GoogleCloudApigeeV1ListDnsZonesResponseHttpRequest | None: ... + @typing.type_check_only class EndpointAttachmentsResource(googleapiclient.discovery.Resource): def create( @@ -1269,6 +1335,9 @@ class ApigeeResource(googleapiclient.discovery.Resource): securityActionId: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SecurityActionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def disable( self, *, @@ -1302,6 +1371,14 @@ class ApigeeResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudApigeeV1ListSecurityActionsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudApigeeV1SecurityAction = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SecurityActionHttpRequest: ... @typing.type_check_only class SecurityIncidentsResource(googleapiclient.discovery.Resource): @@ -2020,6 +2097,50 @@ class ApigeeResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class SecurityMonitoringConditionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1SecurityMonitoringCondition = ..., + securityMonitoringConditionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse, + ) -> ( + GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudApigeeV1SecurityMonitoringCondition = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest: ... + @typing.type_check_only class SecurityProfilesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -2184,6 +2305,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): body: GoogleApiHttpBody = ..., action: str = ..., name: str = ..., + space: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SharedFlowRevisionHttpRequest: ... def delete( @@ -2198,8 +2320,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): parent: str, includeMetaData: bool = ..., includeRevisions: bool = ..., + space: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ListSharedFlowsResponseHttpRequest: ... + def move( + self, + *, + name: str, + body: GoogleCloudApigeeV1MoveSharedFlowRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SharedFlowHttpRequest: ... def deployments(self) -> DeploymentsResource: ... def revisions(self) -> RevisionsResource: ... @@ -2280,6 +2410,65 @@ class ApigeeResource(googleapiclient.discovery.Resource): def apicategories(self) -> ApicategoriesResource: ... def apidocs(self) -> ApidocsResource: ... + @typing.type_check_only + class SpacesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1Space = ..., + spaceId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SpaceHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1SpaceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ListSpacesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListSpacesResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListSpacesResponse, + ) -> GoogleCloudApigeeV1ListSpacesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApigeeV1Space = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1SpaceHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def create( self, *, @@ -2375,6 +2564,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): def datacollectors(self) -> DatacollectorsResource: ... def deployments(self) -> DeploymentsResource: ... def developers(self) -> DevelopersResource: ... + def dnsZones(self) -> DnsZonesResource: ... def endpointAttachments(self) -> EndpointAttachmentsResource: ... def envgroups(self) -> EnvgroupsResource: ... def environments(self) -> EnvironmentsResource: ... @@ -2387,10 +2577,14 @@ class ApigeeResource(googleapiclient.discovery.Resource): def optimizedHostStats(self) -> OptimizedHostStatsResource: ... def reports(self) -> ReportsResource: ... def securityAssessmentResults(self) -> SecurityAssessmentResultsResource: ... + def securityMonitoringConditions( + self, + ) -> SecurityMonitoringConditionsResource: ... def securityProfiles(self) -> SecurityProfilesResource: ... def securityProfilesV2(self) -> SecurityProfilesV2Resource: ... def sharedflows(self) -> SharedflowsResource: ... def sites(self) -> SitesResource: ... + def spaces(self) -> SpacesResource: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @@ -2764,6 +2958,14 @@ class GoogleCloudApigeeV1DeveloperSubscriptionHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1DeveloperSubscription: ... +@typing.type_check_only +class GoogleCloudApigeeV1DnsZoneHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1DnsZone: ... + @typing.type_check_only class GoogleCloudApigeeV1EndpointAttachmentHttpRequest( googleapiclient.http.HttpRequest @@ -2924,6 +3126,16 @@ class GoogleCloudApigeeV1ListApiCategoriesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListApiCategoriesResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListApiDebugSessionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListApiDebugSessionsResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListApiDocsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3072,6 +3284,16 @@ class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListDnsZonesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListDnsZonesResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListEndpointAttachmentsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3222,6 +3444,16 @@ class GoogleCloudApigeeV1ListSecurityIncidentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListSecurityIncidentsResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3272,6 +3504,16 @@ class GoogleCloudApigeeV1ListSharedFlowsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListSharedFlowsResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListSpacesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListSpacesResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListTraceConfigOverridesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3412,6 +3654,16 @@ class GoogleCloudApigeeV1SecurityIncidentHttpRequest(googleapiclient.http.HttpRe num_retries: int = 0, ) -> GoogleCloudApigeeV1SecurityIncident: ... +@typing.type_check_only +class GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1SecurityMonitoringCondition: ... + @typing.type_check_only class GoogleCloudApigeeV1SecurityProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3482,6 +3734,14 @@ class GoogleCloudApigeeV1SharedFlowRevisionHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1SharedFlowRevision: ... +@typing.type_check_only +class GoogleCloudApigeeV1SpaceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1Space: ... + @typing.type_check_only class GoogleCloudApigeeV1StatsHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index ba051b1b..d229e84d 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -113,6 +113,13 @@ class GoogleCloudApigeeV1ApiCategoryResponse(typing_extensions.TypedDict, total= requestId: str status: str +@typing.type_check_only +class GoogleCloudApigeeV1ApiDebugSession(typing_extensions.TypedDict, total=False): + apiProxyRevisionId: str + createTime: str + environmentId: str + id: str + @typing.type_check_only class GoogleCloudApigeeV1ApiDoc(typing_extensions.TypedDict, total=False): anonAllowed: bool @@ -178,6 +185,7 @@ class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): quotaInterval: str quotaTimeUnit: str scopes: _list[str] + space: str @typing.type_check_only class GoogleCloudApigeeV1ApiProductRef(typing_extensions.TypedDict, total=False): @@ -195,6 +203,7 @@ class GoogleCloudApigeeV1ApiProxy(typing_extensions.TypedDict, total=False): name: str readOnly: bool revision: _list[str] + space: str @typing.type_check_only class GoogleCloudApigeeV1ApiProxyRevision(typing_extensions.TypedDict, total=False): @@ -775,6 +784,23 @@ class GoogleCloudApigeeV1DisableSecurityActionRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudApigeeV1DnsZone(typing_extensions.TypedDict, total=False): + createTime: str + description: str + domain: str + name: str + peeringConfig: GoogleCloudApigeeV1DnsZonePeeringConfig + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApigeeV1DnsZonePeeringConfig(typing_extensions.TypedDict, total=False): + targetNetworkId: str + targetProjectId: str + @typing.type_check_only class GoogleCloudApigeeV1DocumentationFile(typing_extensions.TypedDict, total=False): contents: str @@ -1158,6 +1184,13 @@ class GoogleCloudApigeeV1ListApiCategoriesResponse( requestId: str status: str +@typing.type_check_only +class GoogleCloudApigeeV1ListApiDebugSessionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sessions: _list[GoogleCloudApigeeV1ApiDebugSession] + @typing.type_check_only class GoogleCloudApigeeV1ListApiDocsResponse(typing_extensions.TypedDict, total=False): data: _list[GoogleCloudApigeeV1ApiDoc] @@ -1258,6 +1291,11 @@ class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse( developerSubscriptions: _list[GoogleCloudApigeeV1DeveloperSubscription] nextStartKey: str +@typing.type_check_only +class GoogleCloudApigeeV1ListDnsZonesResponse(typing_extensions.TypedDict, total=False): + dnsZones: _list[GoogleCloudApigeeV1DnsZone] + nextPageToken: str + @typing.type_check_only class GoogleCloudApigeeV1ListEndpointAttachmentsResponse( typing_extensions.TypedDict, total=False @@ -1356,6 +1394,13 @@ class GoogleCloudApigeeV1ListSecurityIncidentsResponse( nextPageToken: str securityIncidents: _list[GoogleCloudApigeeV1SecurityIncident] +@typing.type_check_only +class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + securityMonitoringConditions: _list[GoogleCloudApigeeV1SecurityMonitoringCondition] + @typing.type_check_only class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse( typing_extensions.TypedDict, total=False @@ -1390,6 +1435,11 @@ class GoogleCloudApigeeV1ListSharedFlowsResponse( ): sharedFlows: _list[GoogleCloudApigeeV1SharedFlow] +@typing.type_check_only +class GoogleCloudApigeeV1ListSpacesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + spaces: _list[GoogleCloudApigeeV1Space] + @typing.type_check_only class GoogleCloudApigeeV1ListTraceConfigOverridesResponse( typing_extensions.TypedDict, total=False @@ -1419,6 +1469,22 @@ class GoogleCloudApigeeV1MetricAggregation(typing_extensions.TypedDict, total=Fa class GoogleCloudApigeeV1MonetizationConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class GoogleCloudApigeeV1MoveApiProductRequest( + typing_extensions.TypedDict, total=False +): + space: str + +@typing.type_check_only +class GoogleCloudApigeeV1MoveApiProxyRequest(typing_extensions.TypedDict, total=False): + space: str + +@typing.type_check_only +class GoogleCloudApigeeV1MoveSharedFlowRequest( + typing_extensions.TypedDict, total=False +): + space: str + @typing.type_check_only class GoogleCloudApigeeV1NatAddress(typing_extensions.TypedDict, total=False): ipAddress: str @@ -1518,6 +1584,7 @@ class GoogleCloudApigeeV1Organization(typing_extensions.TypedDict, total=False): expiresAt: str lastModifiedAt: str name: str + networkEgressRestricted: bool portalDisabled: bool projectId: str properties: GoogleCloudApigeeV1Properties @@ -2084,6 +2151,24 @@ class GoogleCloudApigeeV1SecurityIncident(typing_extensions.TypedDict, total=Fal ] trafficCount: str +@typing.type_check_only +class GoogleCloudApigeeV1SecurityMonitoringCondition( + typing_extensions.TypedDict, total=False +): + createTime: str + include: ( + GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray + ) + includeAllResources: ( + GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll + ) + name: str + profile: str + scope: str + totalDeployedResources: int + totalMonitoredResources: int + updateTime: str + @typing.type_check_only class GoogleCloudApigeeV1SecurityProfile(typing_extensions.TypedDict, total=False): description: str @@ -2241,6 +2326,7 @@ class GoogleCloudApigeeV1SharedFlow(typing_extensions.TypedDict, total=False): metaData: GoogleCloudApigeeV1EntityMetadata name: str revision: _list[str] + space: str @typing.type_check_only class GoogleCloudApigeeV1SharedFlowRevision(typing_extensions.TypedDict, total=False): @@ -2259,6 +2345,13 @@ class GoogleCloudApigeeV1SharedFlowRevision(typing_extensions.TypedDict, total=F sharedFlows: _list[str] type: str +@typing.type_check_only +class GoogleCloudApigeeV1Space(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + updateTime: str + @typing.type_check_only class GoogleCloudApigeeV1Stats(typing_extensions.TypedDict, total=False): environments: _list[GoogleCloudApigeeV1StatsEnvironmentStats] diff --git a/googleapiclient-stubs/_apis/apihub/__init__.pyi b/googleapiclient-stubs/_apis/apihub/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/apihub/v1/__init__.pyi b/googleapiclient-stubs/_apis/apihub/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/apihub/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi new file mode 100644 index 00000000..f44a5669 --- /dev/null +++ b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi @@ -0,0 +1,1062 @@ +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 APIHubResource(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 ApiHubInstancesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1ApiHubInstance = ..., + apiHubInstanceId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1ApiHubInstanceHttpRequest: ... + def lookup( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1LookupApiHubInstanceResponseHttpRequest: ... + + @typing.type_check_only + class ApisResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DefinitionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1DefinitionHttpRequest: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1ApiOperation = ..., + apiOperationId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ApiOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1ApiOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApihubV1ListApiOperationsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListApiOperationsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListApiOperationsResponse, + ) -> ( + GoogleCloudApihubV1ListApiOperationsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1ApiOperation = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ApiOperationHttpRequest: ... + + @typing.type_check_only + class SpecsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Spec = ..., + specId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1SpecHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1SpecHttpRequest: ... + def getContents( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1SpecContentsHttpRequest: ... + def lint( + self, + *, + name: str, + body: GoogleCloudApihubV1LintSpecRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListSpecsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListSpecsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListSpecsResponse, + ) -> GoogleCloudApihubV1ListSpecsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Spec = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1SpecHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Version = ..., + versionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1VersionHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1VersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListVersionsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListVersionsResponse, + ) -> GoogleCloudApihubV1ListVersionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Version = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1VersionHttpRequest: ... + def definitions(self) -> DefinitionsResource: ... + def operations(self) -> OperationsResource: ... + def specs(self) -> SpecsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Api = ..., + apiId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ApiHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1ApiHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListApisResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListApisResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListApisResponse, + ) -> GoogleCloudApihubV1ListApisResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Api = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ApiHttpRequest: ... + def versions(self) -> VersionsResource: ... + + @typing.type_check_only + class AttributesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Attribute = ..., + attributeId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1AttributeHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1AttributeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListAttributesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListAttributesResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListAttributesResponse, + ) -> GoogleCloudApihubV1ListAttributesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Attribute = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1AttributeHttpRequest: ... + + @typing.type_check_only + class CurationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Curation = ..., + curationId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1CurationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1CurationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListCurationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListCurationsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListCurationsResponse, + ) -> GoogleCloudApihubV1ListCurationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Curation = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1CurationHttpRequest: ... + + @typing.type_check_only + class DependenciesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Dependency = ..., + dependencyId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1DependencyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1DependencyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListDependenciesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListDependenciesResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListDependenciesResponse, + ) -> GoogleCloudApihubV1ListDependenciesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Dependency = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1DependencyHttpRequest: ... + + @typing.type_check_only + class DeploymentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Deployment = ..., + deploymentId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1DeploymentHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1DeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListDeploymentsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListDeploymentsResponse, + ) -> GoogleCloudApihubV1ListDeploymentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1Deployment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1DeploymentHttpRequest: ... + + @typing.type_check_only + class ExternalApisResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1ExternalApi = ..., + externalApiId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ExternalApiHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1ExternalApiHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListExternalApisResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListExternalApisResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListExternalApisResponse, + ) -> GoogleCloudApihubV1ListExternalApisResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1ExternalApi = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ExternalApiHttpRequest: ... + + @typing.type_check_only + class HostProjectRegistrationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1HostProjectRegistration = ..., + hostProjectRegistrationId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1HostProjectRegistrationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1HostProjectRegistrationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApihubV1ListHostProjectRegistrationsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListHostProjectRegistrationsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListHostProjectRegistrationsResponse, + ) -> ( + GoogleCloudApihubV1ListHostProjectRegistrationsResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: GoogleLongrunningCancelOperationRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + + @typing.type_check_only + class PluginsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InstancesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1PluginInstance = ..., + pluginInstanceId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def disableAction( + self, + *, + name: str, + body: GoogleCloudApihubV1DisablePluginInstanceActionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def enableAction( + self, + *, + name: str, + body: GoogleCloudApihubV1EnablePluginInstanceActionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def executeAction( + self, + *, + name: str, + body: GoogleCloudApihubV1ExecutePluginInstanceActionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1PluginInstanceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListPluginInstancesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListPluginInstancesResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListPluginInstancesResponse, + ) -> ( + GoogleCloudApihubV1ListPluginInstancesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudApihubV1PluginInstance = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1PluginInstanceHttpRequest: ... + + @typing.type_check_only + class StyleGuideResource(googleapiclient.discovery.Resource): + def getContents( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1StyleGuideContentsHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1Plugin = ..., + pluginId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1PluginHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def disable( + self, + *, + name: str, + body: GoogleCloudApihubV1DisablePluginRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1PluginHttpRequest: ... + def enable( + self, + *, + name: str, + body: GoogleCloudApihubV1EnablePluginRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1PluginHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1PluginHttpRequest: ... + def getStyleGuide( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1StyleGuideHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListPluginsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListPluginsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListPluginsResponse, + ) -> GoogleCloudApihubV1ListPluginsResponseHttpRequest | None: ... + def updateStyleGuide( + self, + *, + name: str, + body: GoogleCloudApihubV1StyleGuide = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1StyleGuideHttpRequest: ... + def instances(self) -> InstancesResource: ... + def styleGuide(self) -> StyleGuideResource: ... + + @typing.type_check_only + class RuntimeProjectAttachmentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApihubV1RuntimeProjectAttachment = ..., + runtimeProjectAttachmentId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1RuntimeProjectAttachmentHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1RuntimeProjectAttachmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse, + ) -> ( + GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponseHttpRequest + | None + ): ... + + def collectApiData( + self, + *, + location: str, + body: GoogleCloudApihubV1CollectApiDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudLocationLocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, + previous_response: GoogleCloudLocationListLocationsResponse, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... + def lookupRuntimeProjectAttachment( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponseHttpRequest + ): ... + def searchResources( + self, + *, + location: str, + body: GoogleCloudApihubV1SearchResourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1SearchResourcesResponseHttpRequest: ... + def searchResources_next( + self, + previous_request: GoogleCloudApihubV1SearchResourcesResponseHttpRequest, + previous_response: GoogleCloudApihubV1SearchResourcesResponse, + ) -> GoogleCloudApihubV1SearchResourcesResponseHttpRequest | None: ... + def apiHubInstances(self) -> ApiHubInstancesResource: ... + def apis(self) -> ApisResource: ... + def attributes(self) -> AttributesResource: ... + def curations(self) -> CurationsResource: ... + def dependencies(self) -> DependenciesResource: ... + def deployments(self) -> DeploymentsResource: ... + def externalApis(self) -> ExternalApisResource: ... + def hostProjectRegistrations(self) -> HostProjectRegistrationsResource: ... + def operations(self) -> OperationsResource: ... + def plugins(self) -> PluginsResource: ... + def runtimeProjectAttachments( + self, + ) -> RuntimeProjectAttachmentsResource: ... + + 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 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 GoogleCloudApihubV1ApiHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Api: ... + +@typing.type_check_only +class GoogleCloudApihubV1ApiHubInstanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ApiHubInstance: ... + +@typing.type_check_only +class GoogleCloudApihubV1ApiOperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ApiOperation: ... + +@typing.type_check_only +class GoogleCloudApihubV1AttributeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Attribute: ... + +@typing.type_check_only +class GoogleCloudApihubV1CurationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Curation: ... + +@typing.type_check_only +class GoogleCloudApihubV1DefinitionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Definition: ... + +@typing.type_check_only +class GoogleCloudApihubV1DependencyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Dependency: ... + +@typing.type_check_only +class GoogleCloudApihubV1DeploymentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Deployment: ... + +@typing.type_check_only +class GoogleCloudApihubV1ExternalApiHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ExternalApi: ... + +@typing.type_check_only +class GoogleCloudApihubV1HostProjectRegistrationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1HostProjectRegistration: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListApiOperationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListApiOperationsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListApisResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListApisResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListAttributesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListAttributesResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListCurationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListCurationsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListDependenciesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListDependenciesResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListDeploymentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListDeploymentsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListExternalApisResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListExternalApisResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListHostProjectRegistrationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListHostProjectRegistrationsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListPluginInstancesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListPluginInstancesResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListPluginsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListPluginsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListSpecsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListSpecsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1ListVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListVersionsResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1LookupApiHubInstanceResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1LookupApiHubInstanceResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1PluginHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Plugin: ... + +@typing.type_check_only +class GoogleCloudApihubV1PluginInstanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1PluginInstance: ... + +@typing.type_check_only +class GoogleCloudApihubV1RuntimeProjectAttachmentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1RuntimeProjectAttachment: ... + +@typing.type_check_only +class GoogleCloudApihubV1SearchResourcesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1SearchResourcesResponse: ... + +@typing.type_check_only +class GoogleCloudApihubV1SpecHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Spec: ... + +@typing.type_check_only +class GoogleCloudApihubV1SpecContentsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1SpecContents: ... + +@typing.type_check_only +class GoogleCloudApihubV1StyleGuideHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1StyleGuide: ... + +@typing.type_check_only +class GoogleCloudApihubV1StyleGuideContentsHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1StyleGuideContents: ... + +@typing.type_check_only +class GoogleCloudApihubV1VersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Version: ... + +@typing.type_check_only +class GoogleCloudLocationListLocationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudLocationListLocationsResponse: ... + +@typing.type_check_only +class GoogleCloudLocationLocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudLocationLocation: ... + +@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: ... diff --git a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi new file mode 100644 index 00000000..c1fc7fff --- /dev/null +++ b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi @@ -0,0 +1,922 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudApihubV1APIMetadata(typing_extensions.TypedDict, total=False): + api: GoogleCloudApihubV1Api + originalCreateTime: str + originalId: str + originalUpdateTime: str + versions: _list[GoogleCloudApihubV1VersionMetadata] + +@typing.type_check_only +class GoogleCloudApihubV1ActionExecutionDetail( + typing_extensions.TypedDict, total=False +): + actionId: str + +@typing.type_check_only +class GoogleCloudApihubV1AllowedValue(typing_extensions.TypedDict, total=False): + description: str + displayName: str + id: str + immutable: bool + +@typing.type_check_only +class GoogleCloudApihubV1Api(typing_extensions.TypedDict, total=False): + apiFunctionalRequirements: GoogleCloudApihubV1AttributeValues + apiRequirements: GoogleCloudApihubV1AttributeValues + apiStyle: GoogleCloudApihubV1AttributeValues + apiTechnicalRequirements: GoogleCloudApihubV1AttributeValues + attributes: dict[str, typing.Any] + businessUnit: GoogleCloudApihubV1AttributeValues + createTime: str + description: str + displayName: str + documentation: GoogleCloudApihubV1Documentation + fingerprint: str + maturityLevel: GoogleCloudApihubV1AttributeValues + name: str + owner: GoogleCloudApihubV1Owner + selectedVersion: str + sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] + targetUser: GoogleCloudApihubV1AttributeValues + team: GoogleCloudApihubV1AttributeValues + updateTime: str + versions: _list[str] + +@typing.type_check_only +class GoogleCloudApihubV1ApiData(typing_extensions.TypedDict, total=False): + apiMetadataList: GoogleCloudApihubV1ApiMetadataList + +@typing.type_check_only +class GoogleCloudApihubV1ApiHubInstance(typing_extensions.TypedDict, total=False): + config: GoogleCloudApihubV1Config + createTime: str + description: str + labels: dict[str, typing.Any] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "INACTIVE", + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "FAILED", + ] + stateMessage: str + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1ApiHubResource(typing_extensions.TypedDict, total=False): + api: GoogleCloudApihubV1Api + definition: GoogleCloudApihubV1Definition + deployment: GoogleCloudApihubV1Deployment + operation: GoogleCloudApihubV1ApiOperation + spec: GoogleCloudApihubV1Spec + version: GoogleCloudApihubV1Version + +@typing.type_check_only +class GoogleCloudApihubV1ApiKeyConfig(typing_extensions.TypedDict, total=False): + apiKey: GoogleCloudApihubV1Secret + httpElementLocation: typing_extensions.Literal[ + "HTTP_ELEMENT_LOCATION_UNSPECIFIED", "QUERY", "HEADER", "PATH", "BODY", "COOKIE" + ] + name: str + +@typing.type_check_only +class GoogleCloudApihubV1ApiMetadataList(typing_extensions.TypedDict, total=False): + apiMetadata: _list[GoogleCloudApihubV1APIMetadata] + +@typing.type_check_only +class GoogleCloudApihubV1ApiOperation(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + createTime: str + details: GoogleCloudApihubV1OperationDetails + name: str + sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] + spec: str + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails( + typing_extensions.TypedDict, total=False +): + triggerId: str + uri: str + +@typing.type_check_only +class GoogleCloudApihubV1Attribute(typing_extensions.TypedDict, total=False): + allowedValues: _list[GoogleCloudApihubV1AllowedValue] + cardinality: int + createTime: str + dataType: typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", "ENUM", "JSON", "STRING", "URI" + ] + definitionType: typing_extensions.Literal[ + "DEFINITION_TYPE_UNSPECIFIED", "SYSTEM_DEFINED", "USER_DEFINED" + ] + description: str + displayName: str + mandatory: bool + name: str + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", + "API", + "VERSION", + "SPEC", + "API_OPERATION", + "DEPLOYMENT", + "DEPENDENCY", + "DEFINITION", + "EXTERNAL_API", + "PLUGIN", + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1AttributeValues(typing_extensions.TypedDict, total=False): + attribute: str + enumValues: GoogleCloudApihubV1EnumAttributeValues + jsonValues: GoogleCloudApihubV1StringAttributeValues + stringValues: GoogleCloudApihubV1StringAttributeValues + uriValues: GoogleCloudApihubV1StringAttributeValues + +@typing.type_check_only +class GoogleCloudApihubV1AuthConfig(typing_extensions.TypedDict, total=False): + apiKeyConfig: GoogleCloudApihubV1ApiKeyConfig + authType: typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "GOOGLE_SERVICE_ACCOUNT", + "USER_PASSWORD", + "API_KEY", + "OAUTH2_CLIENT_CREDENTIALS", + ] + googleServiceAccountConfig: GoogleCloudApihubV1GoogleServiceAccountConfig + oauth2ClientCredentialsConfig: GoogleCloudApihubV1Oauth2ClientCredentialsConfig + userPasswordConfig: GoogleCloudApihubV1UserPasswordConfig + +@typing.type_check_only +class GoogleCloudApihubV1AuthConfigTemplate(typing_extensions.TypedDict, total=False): + serviceAccount: GoogleCloudApihubV1GoogleServiceAccountConfig + supportedAuthTypes: _list[ + typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "GOOGLE_SERVICE_ACCOUNT", + "USER_PASSWORD", + "API_KEY", + "OAUTH2_CLIENT_CREDENTIALS", + ] + ] + +@typing.type_check_only +class GoogleCloudApihubV1CollectApiDataRequest( + typing_extensions.TypedDict, total=False +): + actionId: str + apiData: GoogleCloudApihubV1ApiData + collectionType: typing_extensions.Literal[ + "COLLECTION_TYPE_UNSPECIFIED", + "COLLECTION_TYPE_UPSERT", + "COLLECTION_TYPE_DELETE", + ] + pluginInstance: str + +@typing.type_check_only +class GoogleCloudApihubV1Config(typing_extensions.TypedDict, total=False): + cmekKeyName: str + disableSearch: bool + encryptionType: typing_extensions.Literal[ + "ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK" + ] + vertexLocation: str + +@typing.type_check_only +class GoogleCloudApihubV1ConfigTemplate(typing_extensions.TypedDict, total=False): + additionalConfigTemplate: _list[GoogleCloudApihubV1ConfigVariableTemplate] + authConfigTemplate: GoogleCloudApihubV1AuthConfigTemplate + +@typing.type_check_only +class GoogleCloudApihubV1ConfigValueOption(typing_extensions.TypedDict, total=False): + description: str + displayName: str + id: str + +@typing.type_check_only +class GoogleCloudApihubV1ConfigVariable(typing_extensions.TypedDict, total=False): + boolValue: bool + enumValue: GoogleCloudApihubV1ConfigValueOption + intValue: str + key: str + multiIntValues: GoogleCloudApihubV1MultiIntValues + multiSelectValues: GoogleCloudApihubV1MultiSelectValues + multiStringValues: GoogleCloudApihubV1MultiStringValues + secretValue: GoogleCloudApihubV1Secret + stringValue: str + +@typing.type_check_only +class GoogleCloudApihubV1ConfigVariableTemplate( + typing_extensions.TypedDict, total=False +): + description: str + enumOptions: _list[GoogleCloudApihubV1ConfigValueOption] + id: str + multiSelectOptions: _list[GoogleCloudApihubV1ConfigValueOption] + required: bool + validationRegex: str + valueType: typing_extensions.Literal[ + "VALUE_TYPE_UNSPECIFIED", + "STRING", + "INT", + "BOOL", + "SECRET", + "ENUM", + "MULTI_SELECT", + "MULTI_STRING", + "MULTI_INT", + ] + +@typing.type_check_only +class GoogleCloudApihubV1Curation(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + endpoint: GoogleCloudApihubV1Endpoint + lastExecutionErrorCode: typing_extensions.Literal[ + "ERROR_CODE_UNSPECIFIED", "INTERNAL_ERROR", "UNAUTHORIZED" + ] + lastExecutionErrorMessage: str + lastExecutionState: typing_extensions.Literal[ + "LAST_EXECUTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" + ] + name: str + pluginInstanceActions: _list[GoogleCloudApihubV1PluginInstanceActionID] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1CurationConfig(typing_extensions.TypedDict, total=False): + curationType: typing_extensions.Literal[ + "CURATION_TYPE_UNSPECIFIED", + "DEFAULT_CURATION_FOR_API_METADATA", + "CUSTOM_CURATION_FOR_API_METADATA", + ] + customCuration: GoogleCloudApihubV1CustomCuration + +@typing.type_check_only +class GoogleCloudApihubV1CustomCuration(typing_extensions.TypedDict, total=False): + curation: str + +@typing.type_check_only +class GoogleCloudApihubV1Definition(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + createTime: str + name: str + schema: GoogleCloudApihubV1Schema + spec: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SCHEMA"] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1Dependency(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + consumer: GoogleCloudApihubV1DependencyEntityReference + createTime: str + description: str + discoveryMode: typing_extensions.Literal["DISCOVERY_MODE_UNSPECIFIED", "MANUAL"] + errorDetail: GoogleCloudApihubV1DependencyErrorDetail + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "PROPOSED", "VALIDATED"] + supplier: GoogleCloudApihubV1DependencyEntityReference + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1DependencyEntityReference( + typing_extensions.TypedDict, total=False +): + displayName: str + externalApiResourceName: str + operationResourceName: str + +@typing.type_check_only +class GoogleCloudApihubV1DependencyErrorDetail( + typing_extensions.TypedDict, total=False +): + error: typing_extensions.Literal[ + "ERROR_UNSPECIFIED", "SUPPLIER_NOT_FOUND", "SUPPLIER_RECREATED" + ] + errorTime: str + +@typing.type_check_only +class GoogleCloudApihubV1Deployment(typing_extensions.TypedDict, total=False): + apiVersions: _list[str] + attributes: dict[str, typing.Any] + createTime: str + deploymentType: GoogleCloudApihubV1AttributeValues + description: str + displayName: str + documentation: GoogleCloudApihubV1Documentation + endpoints: _list[str] + environment: GoogleCloudApihubV1AttributeValues + managementUrl: GoogleCloudApihubV1AttributeValues + name: str + resourceUri: str + slo: GoogleCloudApihubV1AttributeValues + sourceEnvironment: str + sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] + sourceProject: str + sourceUri: GoogleCloudApihubV1AttributeValues + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1DeploymentMetadata(typing_extensions.TypedDict, total=False): + deployment: GoogleCloudApihubV1Deployment + originalCreateTime: str + originalId: str + originalUpdateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1DisablePluginInstanceActionRequest( + typing_extensions.TypedDict, total=False +): + actionId: str + +@typing.type_check_only +class GoogleCloudApihubV1DisablePluginRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudApihubV1Documentation(typing_extensions.TypedDict, total=False): + externalUri: str + +@typing.type_check_only +class GoogleCloudApihubV1EnablePluginInstanceActionRequest( + typing_extensions.TypedDict, total=False +): + actionId: str + +@typing.type_check_only +class GoogleCloudApihubV1EnablePluginRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudApihubV1Endpoint(typing_extensions.TypedDict, total=False): + applicationIntegrationEndpointDetails: ( + GoogleCloudApihubV1ApplicationIntegrationEndpointDetails + ) + +@typing.type_check_only +class GoogleCloudApihubV1EnumAttributeValues(typing_extensions.TypedDict, total=False): + values: _list[GoogleCloudApihubV1AllowedValue] + +@typing.type_check_only +class GoogleCloudApihubV1ExecutePluginInstanceActionRequest( + typing_extensions.TypedDict, total=False +): + actionExecutionDetail: GoogleCloudApihubV1ActionExecutionDetail + +@typing.type_check_only +class GoogleCloudApihubV1ExecutionStatus(typing_extensions.TypedDict, total=False): + currentExecutionState: typing_extensions.Literal[ + "CURRENT_EXECUTION_STATE_UNSPECIFIED", "RUNNING", "NOT_RUNNING" + ] + lastExecution: GoogleCloudApihubV1LastExecution + +@typing.type_check_only +class GoogleCloudApihubV1ExternalApi(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + createTime: str + description: str + displayName: str + documentation: GoogleCloudApihubV1Documentation + endpoints: _list[str] + name: str + paths: _list[str] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1GoogleServiceAccountConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + +@typing.type_check_only +class GoogleCloudApihubV1HostProjectRegistration( + typing_extensions.TypedDict, total=False +): + createTime: str + gcpProject: str + name: str + +@typing.type_check_only +class GoogleCloudApihubV1HostingService(typing_extensions.TypedDict, total=False): + serviceUri: str + +@typing.type_check_only +class GoogleCloudApihubV1HttpOperation(typing_extensions.TypedDict, total=False): + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", + "GET", + "PUT", + "POST", + "DELETE", + "OPTIONS", + "HEAD", + "PATCH", + "TRACE", + ] + path: GoogleCloudApihubV1Path + +@typing.type_check_only +class GoogleCloudApihubV1Issue(typing_extensions.TypedDict, total=False): + code: str + message: str + path: _list[str] + range: GoogleCloudApihubV1Range + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", + "SEVERITY_ERROR", + "SEVERITY_WARNING", + "SEVERITY_INFO", + "SEVERITY_HINT", + ] + +@typing.type_check_only +class GoogleCloudApihubV1LastExecution(typing_extensions.TypedDict, total=False): + endTime: str + errorMessage: str + result: typing_extensions.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] + startTime: str + +@typing.type_check_only +class GoogleCloudApihubV1LintResponse(typing_extensions.TypedDict, total=False): + createTime: str + issues: _list[GoogleCloudApihubV1Issue] + linter: typing_extensions.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] + source: str + state: typing_extensions.Literal[ + "LINT_STATE_UNSPECIFIED", "LINT_STATE_SUCCESS", "LINT_STATE_ERROR" + ] + summary: _list[GoogleCloudApihubV1SummaryEntry] + +@typing.type_check_only +class GoogleCloudApihubV1LintSpecRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudApihubV1ListApiOperationsResponse( + typing_extensions.TypedDict, total=False +): + apiOperations: _list[GoogleCloudApihubV1ApiOperation] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListApisResponse(typing_extensions.TypedDict, total=False): + apis: _list[GoogleCloudApihubV1Api] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListAttributesResponse( + typing_extensions.TypedDict, total=False +): + attributes: _list[GoogleCloudApihubV1Attribute] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListCurationsResponse( + typing_extensions.TypedDict, total=False +): + curations: _list[GoogleCloudApihubV1Curation] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListDependenciesResponse( + typing_extensions.TypedDict, total=False +): + dependencies: _list[GoogleCloudApihubV1Dependency] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListDeploymentsResponse( + typing_extensions.TypedDict, total=False +): + deployments: _list[GoogleCloudApihubV1Deployment] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListExternalApisResponse( + typing_extensions.TypedDict, total=False +): + externalApis: _list[GoogleCloudApihubV1ExternalApi] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListHostProjectRegistrationsResponse( + typing_extensions.TypedDict, total=False +): + hostProjectRegistrations: _list[GoogleCloudApihubV1HostProjectRegistration] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudApihubV1ListPluginInstancesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + pluginInstances: _list[GoogleCloudApihubV1PluginInstance] + +@typing.type_check_only +class GoogleCloudApihubV1ListPluginsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + plugins: _list[GoogleCloudApihubV1Plugin] + +@typing.type_check_only +class GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + runtimeProjectAttachments: _list[GoogleCloudApihubV1RuntimeProjectAttachment] + +@typing.type_check_only +class GoogleCloudApihubV1ListSpecsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + specs: _list[GoogleCloudApihubV1Spec] + +@typing.type_check_only +class GoogleCloudApihubV1ListVersionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + versions: _list[GoogleCloudApihubV1Version] + +@typing.type_check_only +class GoogleCloudApihubV1LookupApiHubInstanceResponse( + typing_extensions.TypedDict, total=False +): + apiHubInstance: GoogleCloudApihubV1ApiHubInstance + +@typing.type_check_only +class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse( + typing_extensions.TypedDict, total=False +): + runtimeProjectAttachment: GoogleCloudApihubV1RuntimeProjectAttachment + +@typing.type_check_only +class GoogleCloudApihubV1MultiIntValues(typing_extensions.TypedDict, total=False): + values: _list[int] + +@typing.type_check_only +class GoogleCloudApihubV1MultiSelectValues(typing_extensions.TypedDict, total=False): + values: _list[GoogleCloudApihubV1ConfigValueOption] + +@typing.type_check_only +class GoogleCloudApihubV1MultiStringValues(typing_extensions.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class GoogleCloudApihubV1Oauth2ClientCredentialsConfig( + typing_extensions.TypedDict, total=False +): + clientId: str + clientSecret: GoogleCloudApihubV1Secret + +@typing.type_check_only +class GoogleCloudApihubV1OpenApiSpecDetails(typing_extensions.TypedDict, total=False): + format: typing_extensions.Literal[ + "FORMAT_UNSPECIFIED", + "OPEN_API_SPEC_2_0", + "OPEN_API_SPEC_3_0", + "OPEN_API_SPEC_3_1", + ] + owner: GoogleCloudApihubV1Owner + version: str + +@typing.type_check_only +class GoogleCloudApihubV1OperationDetails(typing_extensions.TypedDict, total=False): + deprecated: bool + description: str + documentation: GoogleCloudApihubV1Documentation + httpOperation: GoogleCloudApihubV1HttpOperation + +@typing.type_check_only +class GoogleCloudApihubV1OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudApihubV1Owner(typing_extensions.TypedDict, total=False): + displayName: str + email: str + +@typing.type_check_only +class GoogleCloudApihubV1Path(typing_extensions.TypedDict, total=False): + description: str + path: str + +@typing.type_check_only +class GoogleCloudApihubV1Plugin(typing_extensions.TypedDict, total=False): + actionsConfig: _list[GoogleCloudApihubV1PluginActionConfig] + configTemplate: GoogleCloudApihubV1ConfigTemplate + createTime: str + description: str + displayName: str + documentation: GoogleCloudApihubV1Documentation + gatewayType: typing_extensions.Literal[ + "GATEWAY_TYPE_UNSPECIFIED", + "APIGEE_X_AND_HYBRID", + "APIGEE_EDGE_PUBLIC_CLOUD", + "APIGEE_EDGE_PRIVATE_CLOUD", + "CLOUD_API_GATEWAY", + "CLOUD_ENDPOINTS", + "API_DISCOVERY", + "OTHERS", + ] + hostingService: GoogleCloudApihubV1HostingService + name: str + ownershipType: typing_extensions.Literal[ + "OWNERSHIP_TYPE_UNSPECIFIED", "SYSTEM_OWNED", "USER_OWNED" + ] + pluginCategory: typing_extensions.Literal[ + "PLUGIN_CATEGORY_UNSPECIFIED", "API_GATEWAY", "API_PRODUCER" + ] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + type: GoogleCloudApihubV1AttributeValues + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1PluginActionConfig(typing_extensions.TypedDict, total=False): + description: str + displayName: str + id: str + triggerMode: typing_extensions.Literal[ + "TRIGGER_MODE_UNSPECIFIED", + "API_HUB_ON_DEMAND_TRIGGER", + "API_HUB_SCHEDULE_TRIGGER", + "NON_API_HUB_MANAGED", + ] + +@typing.type_check_only +class GoogleCloudApihubV1PluginInstance(typing_extensions.TypedDict, total=False): + actions: _list[GoogleCloudApihubV1PluginInstanceAction] + additionalConfig: dict[str, typing.Any] + authConfig: GoogleCloudApihubV1AuthConfig + createTime: str + displayName: str + errorMessage: str + name: str + sourceProjectId: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "APPLYING_CONFIG", + "ERROR", + "FAILED", + "DELETING", + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1PluginInstanceAction(typing_extensions.TypedDict, total=False): + actionId: str + curationConfig: GoogleCloudApihubV1CurationConfig + hubInstanceAction: GoogleCloudApihubV1ExecutionStatus + resourceConfig: GoogleCloudApihubV1ResourceConfig + scheduleCronExpression: str + scheduleTimeZone: str + serviceAccount: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "ENABLING", "DISABLING", "ERROR" + ] + +@typing.type_check_only +class GoogleCloudApihubV1PluginInstanceActionID( + typing_extensions.TypedDict, total=False +): + actionId: str + pluginInstance: str + +@typing.type_check_only +class GoogleCloudApihubV1PluginInstanceActionSource( + typing_extensions.TypedDict, total=False +): + actionId: str + pluginInstance: str + +@typing.type_check_only +class GoogleCloudApihubV1Point(typing_extensions.TypedDict, total=False): + character: int + line: int + +@typing.type_check_only +class GoogleCloudApihubV1Range(typing_extensions.TypedDict, total=False): + end: GoogleCloudApihubV1Point + start: GoogleCloudApihubV1Point + +@typing.type_check_only +class GoogleCloudApihubV1ResourceConfig(typing_extensions.TypedDict, total=False): + actionType: typing_extensions.Literal[ + "ACTION_TYPE_UNSPECIFIED", "SYNC_METADATA", "SYNC_RUNTIME_DATA" + ] + pubsubTopic: str + +@typing.type_check_only +class GoogleCloudApihubV1RuntimeProjectAttachment( + typing_extensions.TypedDict, total=False +): + createTime: str + name: str + runtimeProject: str + +@typing.type_check_only +class GoogleCloudApihubV1Schema(typing_extensions.TypedDict, total=False): + displayName: str + rawValue: str + +@typing.type_check_only +class GoogleCloudApihubV1SearchResourcesRequest( + typing_extensions.TypedDict, total=False +): + filter: str + pageSize: int + pageToken: str + query: str + +@typing.type_check_only +class GoogleCloudApihubV1SearchResourcesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + searchResults: _list[GoogleCloudApihubV1SearchResult] + +@typing.type_check_only +class GoogleCloudApihubV1SearchResult(typing_extensions.TypedDict, total=False): + resource: GoogleCloudApihubV1ApiHubResource + +@typing.type_check_only +class GoogleCloudApihubV1Secret(typing_extensions.TypedDict, total=False): + secretVersion: str + +@typing.type_check_only +class GoogleCloudApihubV1SourceMetadata(typing_extensions.TypedDict, total=False): + originalResourceCreateTime: str + originalResourceId: str + originalResourceUpdateTime: str + pluginInstanceActionSource: GoogleCloudApihubV1PluginInstanceActionSource + sourceType: typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "PLUGIN"] + +@typing.type_check_only +class GoogleCloudApihubV1Spec(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + contents: GoogleCloudApihubV1SpecContents + createTime: str + details: GoogleCloudApihubV1SpecDetails + displayName: str + documentation: GoogleCloudApihubV1Documentation + lintResponse: GoogleCloudApihubV1LintResponse + name: str + parsingMode: typing_extensions.Literal[ + "PARSING_MODE_UNSPECIFIED", "RELAXED", "STRICT" + ] + sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] + sourceUri: str + specType: GoogleCloudApihubV1AttributeValues + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1SpecContents(typing_extensions.TypedDict, total=False): + contents: str + mimeType: str + +@typing.type_check_only +class GoogleCloudApihubV1SpecDetails(typing_extensions.TypedDict, total=False): + description: str + openApiSpecDetails: GoogleCloudApihubV1OpenApiSpecDetails + +@typing.type_check_only +class GoogleCloudApihubV1SpecMetadata(typing_extensions.TypedDict, total=False): + originalCreateTime: str + originalId: str + originalUpdateTime: str + spec: GoogleCloudApihubV1Spec + +@typing.type_check_only +class GoogleCloudApihubV1StringAttributeValues( + typing_extensions.TypedDict, total=False +): + values: _list[str] + +@typing.type_check_only +class GoogleCloudApihubV1StyleGuide(typing_extensions.TypedDict, total=False): + contents: GoogleCloudApihubV1StyleGuideContents + linter: typing_extensions.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] + name: str + +@typing.type_check_only +class GoogleCloudApihubV1StyleGuideContents(typing_extensions.TypedDict, total=False): + contents: str + mimeType: str + +@typing.type_check_only +class GoogleCloudApihubV1SummaryEntry(typing_extensions.TypedDict, total=False): + count: int + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", + "SEVERITY_ERROR", + "SEVERITY_WARNING", + "SEVERITY_INFO", + "SEVERITY_HINT", + ] + +@typing.type_check_only +class GoogleCloudApihubV1UserPasswordConfig(typing_extensions.TypedDict, total=False): + password: GoogleCloudApihubV1Secret + username: str + +@typing.type_check_only +class GoogleCloudApihubV1Version(typing_extensions.TypedDict, total=False): + accreditation: GoogleCloudApihubV1AttributeValues + apiOperations: _list[str] + attributes: dict[str, typing.Any] + compliance: GoogleCloudApihubV1AttributeValues + createTime: str + definitions: _list[str] + deployments: _list[str] + description: str + displayName: str + documentation: GoogleCloudApihubV1Documentation + lifecycle: GoogleCloudApihubV1AttributeValues + name: str + selectedDeployment: str + sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] + specs: _list[str] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1VersionMetadata(typing_extensions.TypedDict, total=False): + deployments: _list[GoogleCloudApihubV1DeploymentMetadata] + originalCreateTime: str + originalId: str + originalUpdateTime: str + specs: _list[GoogleCloudApihubV1SpecMetadata] + version: GoogleCloudApihubV1Version + +@typing.type_check_only +class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + cancelRequested: bool + createTime: str + endTime: str + statusDetail: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudLocationListLocationsResponse( + typing_extensions.TypedDict, total=False +): + locations: _list[GoogleCloudLocationLocation] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudLocationLocation(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 GoogleLongrunningCancelOperationRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[GoogleLongrunningOperation] + +@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 GoogleRpcStatus(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi index 797ccac8..2483491c 100644 --- a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi @@ -177,6 +177,7 @@ class APIManagementResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi index a094a55f..a08e6ba0 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi @@ -179,6 +179,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -395,6 +396,70 @@ class AppengineResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApplicationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizedCertificatesResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: AuthorizedCertificate = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> ListAuthorizedCertificatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizedCertificatesResponseHttpRequest, + previous_response: ListAuthorizedCertificatesResponse, + ) -> ListAuthorizedCertificatesResponseHttpRequest | None: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + body: AuthorizedCertificate = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + @typing.type_check_only class AuthorizedDomainsResource(googleapiclient.discovery.Resource): def list( @@ -413,6 +478,30 @@ class AppengineResource(googleapiclient.discovery.Resource): previous_response: ListAuthorizedDomainsResponse, ) -> ListAuthorizedDomainsResponseHttpRequest | None: ... + @typing.type_check_only + class DomainMappingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: DomainMapping = ..., + overrideStrategy: typing_extensions.Literal[ + "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" + ] = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> DomainMappingHttpRequest: ... + @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -427,6 +516,18 @@ class AppengineResource(googleapiclient.discovery.Resource): versionsId: str, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + body: Version = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, @@ -437,9 +538,33 @@ class AppengineResource(googleapiclient.discovery.Resource): servicesId: str, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + body: Service = ..., + migrateTraffic: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def versions(self) -> VersionsResource: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: Application = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def authorizedCertificates(self) -> AuthorizedCertificatesResource: ... def authorizedDomains(self) -> AuthorizedDomainsResource: ... + def domainMappings(self) -> DomainMappingsResource: ... def services(self) -> ServicesResource: ... def applications(self) -> ApplicationsResource: ... diff --git a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi index 46648b7a..b302d3a3 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi @@ -53,6 +53,7 @@ class Application(typing_extensions.TypedDict, total=False): servingStatus: typing_extensions.Literal[ "UNSPECIFIED", "SERVING", "USER_DISABLED", "SYSTEM_DISABLED" ] + sslPolicy: typing_extensions.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] @typing.type_check_only class AuthorizedCertificate(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi index bdc825fa..418ae0b7 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi @@ -135,6 +135,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -178,6 +179,70 @@ class AppengineResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApplicationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizedCertificatesResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: AuthorizedCertificate = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> ListAuthorizedCertificatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizedCertificatesResponseHttpRequest, + previous_response: ListAuthorizedCertificatesResponse, + ) -> ListAuthorizedCertificatesResponseHttpRequest | None: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + body: AuthorizedCertificate = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + @typing.type_check_only class AuthorizedDomainsResource(googleapiclient.discovery.Resource): def list( @@ -196,7 +261,34 @@ class AppengineResource(googleapiclient.discovery.Resource): previous_response: ListAuthorizedDomainsResponse, ) -> ListAuthorizedDomainsResponseHttpRequest | None: ... + @typing.type_check_only + class DomainMappingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: DomainMapping = ..., + noManagedCertificate: bool = ..., + overrideStrategy: typing_extensions.Literal[ + "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" + ] = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> DomainMappingHttpRequest: ... + + def authorizedCertificates(self) -> AuthorizedCertificatesResource: ... def authorizedDomains(self) -> AuthorizedDomainsResource: ... + def domainMappings(self) -> DomainMappingsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -231,6 +323,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, projectsId: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi index b129e818..d16e0c8c 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi @@ -179,6 +179,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -409,6 +410,70 @@ class AppengineResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApplicationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizedCertificatesResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: AuthorizedCertificate = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "BASIC_CERTIFICATE", "FULL_CERTIFICATE" + ] = ..., + **kwargs: typing.Any, + ) -> ListAuthorizedCertificatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizedCertificatesResponseHttpRequest, + previous_response: ListAuthorizedCertificatesResponse, + ) -> ListAuthorizedCertificatesResponseHttpRequest | None: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + authorizedCertificatesId: str, + body: AuthorizedCertificate = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AuthorizedCertificateHttpRequest: ... + @typing.type_check_only class AuthorizedDomainsResource(googleapiclient.discovery.Resource): def list( @@ -427,6 +492,30 @@ class AppengineResource(googleapiclient.discovery.Resource): previous_response: ListAuthorizedDomainsResponse, ) -> ListAuthorizedDomainsResponseHttpRequest | None: ... + @typing.type_check_only + class DomainMappingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: DomainMapping = ..., + overrideStrategy: typing_extensions.Literal[ + "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" + ] = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + domainMappingsId: str, + **kwargs: typing.Any, + ) -> DomainMappingHttpRequest: ... + @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -441,6 +530,18 @@ class AppengineResource(googleapiclient.discovery.Resource): versionsId: str, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + body: Version = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, @@ -451,9 +552,33 @@ class AppengineResource(googleapiclient.discovery.Resource): servicesId: str, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + body: Service = ..., + migrateTraffic: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def versions(self) -> VersionsResource: ... + def patch( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + body: Application = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def authorizedCertificates(self) -> AuthorizedCertificatesResource: ... def authorizedDomains(self) -> AuthorizedDomainsResource: ... + def domainMappings(self) -> DomainMappingsResource: ... def services(self) -> ServicesResource: ... @typing.type_check_only @@ -489,6 +614,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, projectsId: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index 91f16ea3..dc36e416 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -53,6 +53,7 @@ class Application(typing_extensions.TypedDict, total=False): servingStatus: typing_extensions.Literal[ "UNSPECIFIED", "SERVING", "USER_DISABLED", "SYSTEM_DISABLED" ] + sslPolicy: typing_extensions.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] @typing.type_check_only class AuthorizedCertificate(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi index 5d6770ef..eeb9495d 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi @@ -291,6 +291,7 @@ class AppHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi index 6be3e2c5..e0fcf4df 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi @@ -18,14 +18,6 @@ class Application(typing_extensions.TypedDict, total=False): uid: str updateTime: str -@typing.type_check_only -class AssetLocation(typing_extensions.TypedDict, total=False): - ccfeRmsPath: str - expected: IsolationExpectations - extraParameters: _list[ExtraParameter] - locationData: _list[LocationData] - parentAsset: _list[CloudAsset] - @typing.type_check_only class Attributes(typing_extensions.TypedDict, total=False): businessOwners: _list[ContactInfo] @@ -52,22 +44,9 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str -@typing.type_check_only -class BlobstoreLocation(typing_extensions.TypedDict, total=False): - policyId: _list[str] - @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CloudAsset(typing_extensions.TypedDict, total=False): - assetName: str - assetType: str - -@typing.type_check_only -class CloudAssetComposition(typing_extensions.TypedDict, total=False): - childAsset: _list[CloudAsset] - @typing.type_check_only class ContactInfo(typing_extensions.TypedDict, total=False): displayName: str @@ -89,10 +68,6 @@ class DetachServiceProjectAttachmentResponse( typing_extensions.TypedDict, total=False ): ... -@typing.type_check_only -class DirectLocationAssignment(typing_extensions.TypedDict, total=False): - location: _list[LocationAssignment] - @typing.type_check_only class DiscoveredService(typing_extensions.TypedDict, total=False): name: str @@ -121,45 +96,6 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str -@typing.type_check_only -class ExtraParameter(typing_extensions.TypedDict, total=False): - regionalMigDistributionPolicy: RegionalMigDistributionPolicy - -@typing.type_check_only -class IsolationExpectations(typing_extensions.TypedDict, total=False): - requirementOverride: RequirementOverride - ziOrgPolicy: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - ziRegionPolicy: typing_extensions.Literal[ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED", - ] - ziRegionState: typing_extensions.Literal[ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED", - ] - zoneIsolation: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zoneSeparation: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsOrgPolicy: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsRegionState: typing_extensions.Literal[ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED", - ] - @typing.type_check_only class ListApplicationsResponse(typing_extensions.TypedDict, total=False): applications: _list[Application] @@ -214,30 +150,6 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str -@typing.type_check_only -class LocationAssignment(typing_extensions.TypedDict, total=False): - location: str - locationType: typing_extensions.Literal[ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER", - ] - -@typing.type_check_only -class LocationData(typing_extensions.TypedDict, total=False): - blobstoreLocation: BlobstoreLocation - childAssetLocation: CloudAssetComposition - directLocation: DirectLocationAssignment - gcpProjectProxy: TenantProjectProxy - placerLocation: PlacerLocation - spannerLocation: SpannerLocation - @typing.type_check_only class LookupDiscoveredServiceResponse(typing_extensions.TypedDict, total=False): discoveredService: DiscoveredService @@ -268,10 +180,6 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str -@typing.type_check_only -class PlacerLocation(typing_extensions.TypedDict, total=False): - placerConfig: str - @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -286,20 +194,6 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] -@typing.type_check_only -class RegionalMigDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: int - zones: _list[ZoneConfiguration] - -@typing.type_check_only -class RequirementOverride(typing_extensions.TypedDict, total=False): - ziOverride: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zsOverride: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @@ -345,21 +239,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str -@typing.type_check_only -class SpannerLocation(typing_extensions.TypedDict, total=False): - backupName: _list[str] - dbName: _list[str] - @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class TenantProjectProxy(typing_extensions.TypedDict, total=False): - projectNumbers: _list[str] - @typing.type_check_only class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] @@ -393,7 +278,3 @@ class WorkloadProperties(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadReference(typing_extensions.TypedDict, total=False): uri: str - -@typing.type_check_only -class ZoneConfiguration(typing_extensions.TypedDict, total=False): - zone: str diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi index 6cbdfa3b..d478d212 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi @@ -321,6 +321,7 @@ class AppHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi index 0b011bb0..22b49def 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi @@ -18,14 +18,6 @@ class Application(typing_extensions.TypedDict, total=False): uid: str updateTime: str -@typing.type_check_only -class AssetLocation(typing_extensions.TypedDict, total=False): - ccfeRmsPath: str - expected: IsolationExpectations - extraParameters: _list[ExtraParameter] - locationData: _list[LocationData] - parentAsset: _list[CloudAsset] - @typing.type_check_only class Attributes(typing_extensions.TypedDict, total=False): businessOwners: _list[ContactInfo] @@ -52,10 +44,6 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str -@typing.type_check_only -class BlobstoreLocation(typing_extensions.TypedDict, total=False): - policyId: _list[str] - @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -63,15 +51,6 @@ class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... class Channel(typing_extensions.TypedDict, total=False): uri: str -@typing.type_check_only -class CloudAsset(typing_extensions.TypedDict, total=False): - assetName: str - assetType: str - -@typing.type_check_only -class CloudAssetComposition(typing_extensions.TypedDict, total=False): - childAsset: _list[CloudAsset] - @typing.type_check_only class ContactInfo(typing_extensions.TypedDict, total=False): channel: Channel @@ -96,10 +75,6 @@ class DetachServiceProjectAttachmentResponse( typing_extensions.TypedDict, total=False ): ... -@typing.type_check_only -class DirectLocationAssignment(typing_extensions.TypedDict, total=False): - location: _list[LocationAssignment] - @typing.type_check_only class DiscoveredService(typing_extensions.TypedDict, total=False): name: str @@ -129,10 +104,6 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str -@typing.type_check_only -class ExtraParameter(typing_extensions.TypedDict, total=False): - regionalMigDistributionPolicy: RegionalMigDistributionPolicy - @typing.type_check_only class FindUnregisteredServicesResponse(typing_extensions.TypedDict, total=False): discoveredServices: _list[DiscoveredService] @@ -145,41 +116,6 @@ class FindUnregisteredWorkloadsResponse(typing_extensions.TypedDict, total=False nextPageToken: str unreachable: _list[str] -@typing.type_check_only -class IsolationExpectations(typing_extensions.TypedDict, total=False): - requirementOverride: RequirementOverride - ziOrgPolicy: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - ziRegionPolicy: typing_extensions.Literal[ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED", - ] - ziRegionState: typing_extensions.Literal[ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED", - ] - zoneIsolation: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zoneSeparation: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsOrgPolicy: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsRegionState: typing_extensions.Literal[ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED", - ] - @typing.type_check_only class ListApplicationsResponse(typing_extensions.TypedDict, total=False): applications: _list[Application] @@ -234,30 +170,6 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str -@typing.type_check_only -class LocationAssignment(typing_extensions.TypedDict, total=False): - location: str - locationType: typing_extensions.Literal[ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER", - ] - -@typing.type_check_only -class LocationData(typing_extensions.TypedDict, total=False): - blobstoreLocation: BlobstoreLocation - childAssetLocation: CloudAssetComposition - directLocation: DirectLocationAssignment - gcpProjectProxy: TenantProjectProxy - placerLocation: PlacerLocation - spannerLocation: SpannerLocation - @typing.type_check_only class LookupDiscoveredServiceResponse(typing_extensions.TypedDict, total=False): discoveredService: DiscoveredService @@ -288,10 +200,6 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str -@typing.type_check_only -class PlacerLocation(typing_extensions.TypedDict, total=False): - placerConfig: str - @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -299,20 +207,6 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int -@typing.type_check_only -class RegionalMigDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: int - zones: _list[ZoneConfiguration] - -@typing.type_check_only -class RequirementOverride(typing_extensions.TypedDict, total=False): - ziOverride: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zsOverride: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @@ -359,21 +253,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str -@typing.type_check_only -class SpannerLocation(typing_extensions.TypedDict, total=False): - backupName: _list[str] - dbName: _list[str] - @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class TenantProjectProxy(typing_extensions.TypedDict, total=False): - projectNumbers: _list[str] - @typing.type_check_only class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] @@ -407,7 +292,3 @@ class WorkloadProperties(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadReference(typing_extensions.TypedDict, total=False): uri: str - -@typing.type_check_only -class ZoneConfiguration(typing_extensions.TypedDict, total=False): - zone: str diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi index e0394b71..a25ca2ed 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi @@ -501,6 +501,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi index 41c6a6c4..f688f534 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi @@ -208,6 +208,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi index 4ccc09ca..961b3ebf 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi @@ -258,6 +258,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi index 1805459e..80df7a36 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi @@ -39,6 +39,32 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): @typing.type_check_only class WorkloadsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UpdatesResource(googleapiclient.discovery.Resource): + def apply( + self, + *, + name: str, + body: GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponseHttpRequest + | None + ): ... + @typing.type_check_only class ViolationsResource(googleapiclient.discovery.Resource): def acknowledge( @@ -104,6 +130,9 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, etag: str = ..., **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def enableComplianceUpdates( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponseHttpRequest: ... def enableResourceMonitoring( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponseHttpRequest: ... @@ -148,6 +177,7 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): body: GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponseHttpRequest: ... + def updates(self) -> UpdatesResource: ... def violations(self) -> ViolationsResource: ... def operations(self) -> OperationsResource: ... @@ -189,6 +219,16 @@ class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponseHttpRequest( googleapiclient.http.HttpRequest @@ -209,6 +249,16 @@ class GoogleCloudAssuredworkloadsV1ListViolationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1ListViolationsResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListWorkloadsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index b52d3d2a..af425210 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -28,6 +28,26 @@ class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse( assetMoveAnalyses: _list[GoogleCloudAssuredworkloadsV1AssetMoveAnalysis] nextPageToken: str +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata( + typing_extensions.TypedDict, total=False +): + action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + createTime: str + updateName: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest( + typing_extensions.TypedDict, total=False +): + action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse( + typing_extensions.TypedDict, total=False +): + appliedUpdate: GoogleCloudAssuredworkloadsV1WorkloadUpdate + @typing.type_check_only class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis( typing_extensions.TypedDict, total=False @@ -66,11 +86,36 @@ class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata( "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075", "CANADA_CONTROLLED_GOODS", + "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", + "CANADA_DATA_BOUNDARY_AND_SUPPORT", + "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", + "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", + "DATA_BOUNDARY_FOR_CJIS", + "DATA_BOUNDARY_FOR_FEDRAMP_HIGH", + "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", + "DATA_BOUNDARY_FOR_IL2", + "DATA_BOUNDARY_FOR_IL4", + "DATA_BOUNDARY_FOR_IL5", + "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", + "DATA_BOUNDARY_FOR_ITAR", + "EU_DATA_BOUNDARY_AND_SUPPORT", + "ISRAEL_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", + "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", + "REGIONAL_DATA_BOUNDARY", + "JAPAN_DATA_BOUNDARY", ] createTime: str displayName: str parent: str +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse( typing_extensions.TypedDict, total=False @@ -83,6 +128,13 @@ class GoogleCloudAssuredworkloadsV1ListViolationsResponse( nextPageToken: str violations: _list[GoogleCloudAssuredworkloadsV1Violation] +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + workloadUpdates: _list[GoogleCloudAssuredworkloadsV1WorkloadUpdate] + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListWorkloadsResponse( typing_extensions.TypedDict, total=False @@ -117,6 +169,37 @@ class GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest( partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions updateMask: str +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1OrgPolicy(typing_extensions.TypedDict, total=False): + constraint: str + inherit: bool + reset: bool + resource: str + rule: GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule( + typing_extensions.TypedDict, total=False +): + allowAll: bool + denyAll: bool + enforce: bool + values: GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues( + typing_extensions.TypedDict, total=False +): + allowedValues: _list[str] + deniedValues: _list[str] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1OrgPolicyUpdate( + typing_extensions.TypedDict, total=False +): + appliedPolicy: GoogleCloudAssuredworkloadsV1OrgPolicy + suggestedPolicy: GoogleCloudAssuredworkloadsV1OrgPolicy + @typing.type_check_only class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest( typing_extensions.TypedDict, total=False @@ -133,6 +216,12 @@ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1UpdateDetails( + typing_extensions.TypedDict, total=False +): + orgPolicyUpdate: GoogleCloudAssuredworkloadsV1OrgPolicyUpdate + @typing.type_check_only class GoogleCloudAssuredworkloadsV1Violation(typing_extensions.TypedDict, total=False): acknowledged: bool @@ -240,6 +329,26 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075", "CANADA_CONTROLLED_GOODS", + "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", + "CANADA_DATA_BOUNDARY_AND_SUPPORT", + "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", + "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", + "DATA_BOUNDARY_FOR_CJIS", + "DATA_BOUNDARY_FOR_FEDRAMP_HIGH", + "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", + "DATA_BOUNDARY_FOR_IL2", + "DATA_BOUNDARY_FOR_IL4", + "DATA_BOUNDARY_FOR_IL5", + "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", + "DATA_BOUNDARY_FOR_ITAR", + "EU_DATA_BOUNDARY_AND_SUPPORT", + "ISRAEL_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", + "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", + "REGIONAL_DATA_BOUNDARY", + "JAPAN_DATA_BOUNDARY", ] complianceStatus: GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus compliantButDisallowedServices: _list[str] @@ -371,6 +480,18 @@ class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse( "SETUP_STATE_UNSPECIFIED", "STATUS_PENDING", "STATUS_COMPLETE" ] +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1WorkloadUpdate( + typing_extensions.TypedDict, total=False +): + createTime: str + details: GoogleCloudAssuredworkloadsV1UpdateDetails + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "AVAILABLE", "APPLIED", "WITHDRAWN" + ] + updateTime: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index 31930908..c066ed25 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -86,6 +86,26 @@ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata( "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075", "CANADA_CONTROLLED_GOODS", + "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", + "CANADA_DATA_BOUNDARY_AND_SUPPORT", + "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", + "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", + "DATA_BOUNDARY_FOR_CJIS", + "DATA_BOUNDARY_FOR_FEDRAMP_HIGH", + "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", + "DATA_BOUNDARY_FOR_IL2", + "DATA_BOUNDARY_FOR_IL4", + "DATA_BOUNDARY_FOR_IL5", + "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", + "DATA_BOUNDARY_FOR_ITAR", + "EU_DATA_BOUNDARY_AND_SUPPORT", + "ISRAEL_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", + "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", + "REGIONAL_DATA_BOUNDARY", + "JAPAN_DATA_BOUNDARY", ] createTime: str displayName: str @@ -314,6 +334,26 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075", "CANADA_CONTROLLED_GOODS", + "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", + "CANADA_DATA_BOUNDARY_AND_SUPPORT", + "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", + "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", + "DATA_BOUNDARY_FOR_CJIS", + "DATA_BOUNDARY_FOR_FEDRAMP_HIGH", + "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", + "DATA_BOUNDARY_FOR_IL2", + "DATA_BOUNDARY_FOR_IL4", + "DATA_BOUNDARY_FOR_IL5", + "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", + "DATA_BOUNDARY_FOR_ITAR", + "EU_DATA_BOUNDARY_AND_SUPPORT", + "ISRAEL_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_AND_SUPPORT", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", + "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", + "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", + "REGIONAL_DATA_BOUNDARY", + "JAPAN_DATA_BOUNDARY", ] complianceStatus: GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus complianceUpdatesEnabled: bool diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi index 46a58fe8..5eb7c140 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi @@ -144,6 +144,9 @@ class DeactivateClientUserRequest(typing_extensions.TypedDict, total=False): ... class Deal(typing_extensions.TypedDict, total=False): billedBuyer: str buyer: str + buyerPermissionType: typing_extensions.Literal[ + "BUYER_PERMISSION_TYPE_UNSPECIFIED", "NEGOTIATOR_ONLY", "BIDDER" + ] client: str createTime: str creativeRequirements: CreativeRequirements diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi index 0337146f..e283a913 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi @@ -158,6 +158,9 @@ class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): .. class Deal(typing_extensions.TypedDict, total=False): billedBuyer: str buyer: str + buyerPermissionType: typing_extensions.Literal[ + "BUYER_PERMISSION_TYPE_UNSPECIFIED", "NEGOTIATOR_ONLY", "BIDDER" + ] client: str createTime: str creativeRequirements: CreativeRequirements diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi new file mode 100644 index 00000000..5b00d25f --- /dev/null +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi @@ -0,0 +1,92 @@ +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 AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CuratorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DataSegmentsResource(googleapiclient.discovery.Resource): + def activate( + self, + *, + name: str, + body: ActivateDataSegmentRequest = ..., + **kwargs: typing.Any, + ) -> DataSegmentHttpRequest: ... + def create( + self, *, parent: str, body: DataSegment = ..., **kwargs: typing.Any + ) -> DataSegmentHttpRequest: ... + def deactivate( + self, + *, + name: str, + body: DeactivateDataSegmentRequest = ..., + **kwargs: typing.Any, + ) -> DataSegmentHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DataSegmentHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDataSegmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDataSegmentsResponseHttpRequest, + previous_response: ListDataSegmentsResponse, + ) -> ListDataSegmentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DataSegment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DataSegmentHttpRequest: ... + + def dataSegments(self) -> DataSegmentsResource: ... + + 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 curators(self) -> CuratorsResource: ... + +@typing.type_check_only +class DataSegmentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DataSegment: ... + +@typing.type_check_only +class ListDataSegmentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDataSegmentsResponse: ... diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi new file mode 100644 index 00000000..1a1f4e55 --- /dev/null +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi @@ -0,0 +1,30 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class ActivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DataSegment(typing_extensions.TypedDict, total=False): + cpmFee: Money + createTime: str + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + updateTime: str + +@typing.type_check_only +class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ListDataSegmentsResponse(typing_extensions.TypedDict, total=False): + dataSegments: _list[DataSegment] + nextPageToken: str + +@typing.type_check_only +class Money(typing_extensions.TypedDict, total=False): + currencyCode: str + nanos: int + units: str diff --git a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index 187e4b92..5a2a7900 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -31,6 +31,24 @@ class BackupdrResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, requestId: str = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def fetchForResourceType( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resourceType: str = ..., + **kwargs: typing.Any, + ) -> FetchBackupPlanAssociationsForResourceTypeResponseHttpRequest: ... + def fetchForResourceType_next( + self, + previous_request: FetchBackupPlanAssociationsForResourceTypeResponseHttpRequest, + previous_response: FetchBackupPlanAssociationsForResourceTypeResponse, + ) -> ( + FetchBackupPlanAssociationsForResourceTypeResponseHttpRequest | None + ): ... def get( self, *, name: str, **kwargs: typing.Any ) -> BackupPlanAssociationHttpRequest: ... @@ -48,6 +66,15 @@ class BackupdrResource(googleapiclient.discovery.Resource): previous_request: ListBackupPlanAssociationsResponseHttpRequest, previous_response: ListBackupPlanAssociationsResponse, ) -> ListBackupPlanAssociationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BackupPlanAssociation = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def triggerBackup( self, *, @@ -58,6 +85,25 @@ class BackupdrResource(googleapiclient.discovery.Resource): @typing.type_check_only class BackupPlansResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackupPlanRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackupPlanRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackupPlanRevisionsResponseHttpRequest, + previous_response: ListBackupPlanRevisionsResponse, + ) -> ListBackupPlanRevisionsResponseHttpRequest | None: ... + def create( self, *, @@ -88,6 +134,16 @@ class BackupdrResource(googleapiclient.discovery.Resource): previous_request: ListBackupPlansResponseHttpRequest, previous_response: ListBackupPlansResponse, ) -> ListBackupPlansResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BackupPlan = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def revisions(self) -> RevisionsResource: ... @typing.type_check_only class BackupVaultsResource(googleapiclient.discovery.Resource): @@ -296,6 +352,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): name: str, body: BackupVault = ..., force: bool = ..., + forceUpdateAccessRestriction: bool = ..., requestId: str = ..., updateMask: str = ..., validateOnly: bool = ..., @@ -310,6 +367,30 @@ class BackupdrResource(googleapiclient.discovery.Resource): ) -> TestIamPermissionsResponseHttpRequest: ... def dataSources(self) -> DataSourcesResource: ... + @typing.type_check_only + class DataSourceReferencesResource(googleapiclient.discovery.Resource): + def fetchForResourceType( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resourceType: str = ..., + **kwargs: typing.Any, + ) -> FetchDataSourceReferencesForResourceTypeResponseHttpRequest: ... + def fetchForResourceType_next( + self, + previous_request: FetchDataSourceReferencesForResourceTypeResponseHttpRequest, + previous_response: FetchDataSourceReferencesForResourceTypeResponse, + ) -> ( + FetchDataSourceReferencesForResourceTypeResponseHttpRequest | None + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DataSourceReferenceHttpRequest: ... + @typing.type_check_only class ManagementServersResource(googleapiclient.discovery.Resource): def create( @@ -394,6 +475,24 @@ class BackupdrResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class ResourceBackupConfigsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListResourceBackupConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListResourceBackupConfigsResponseHttpRequest, + previous_response: ListResourceBackupConfigsResponse, + ) -> ListResourceBackupConfigsResponseHttpRequest | None: ... + @typing.type_check_only class ServiceConfigResource(googleapiclient.discovery.Resource): def initialize( @@ -411,6 +510,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -424,8 +524,10 @@ class BackupdrResource(googleapiclient.discovery.Resource): def backupPlanAssociations(self) -> BackupPlanAssociationsResource: ... def backupPlans(self) -> BackupPlansResource: ... def backupVaults(self) -> BackupVaultsResource: ... + def dataSourceReferences(self) -> DataSourceReferencesResource: ... def managementServers(self) -> ManagementServersResource: ... def operations(self) -> OperationsResource: ... + def resourceBackupConfigs(self) -> ResourceBackupConfigsResource: ... def serviceConfig(self) -> ServiceConfigResource: ... def locations(self) -> LocationsResource: ... @@ -468,6 +570,14 @@ class BackupPlanAssociationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackupPlanAssociation: ... +@typing.type_check_only +class BackupPlanRevisionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackupPlanRevision: ... + @typing.type_check_only class BackupVaultHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -484,6 +594,14 @@ class DataSourceHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DataSource: ... +@typing.type_check_only +class DataSourceReferenceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DataSourceReference: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -500,6 +618,26 @@ class FetchAccessTokenResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FetchAccessTokenResponse: ... +@typing.type_check_only +class FetchBackupPlanAssociationsForResourceTypeResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchBackupPlanAssociationsForResourceTypeResponse: ... + +@typing.type_check_only +class FetchDataSourceReferencesForResourceTypeResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchDataSourceReferencesForResourceTypeResponse: ... + @typing.type_check_only class FetchUsableBackupVaultsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -524,6 +662,14 @@ class ListBackupPlanAssociationsResponseHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> ListBackupPlanAssociationsResponse: ... +@typing.type_check_only +class ListBackupPlanRevisionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackupPlanRevisionsResponse: ... + @typing.type_check_only class ListBackupPlansResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -580,6 +726,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListResourceBackupConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListResourceBackupConfigsResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index 1e07baab..6cb596c1 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -91,12 +91,14 @@ class Backup(typing_extensions.TypedDict, total=False): backupApplianceBackupProperties: BackupApplianceBackupProperties backupApplianceLocks: _list[BackupLock] backupType: typing_extensions.Literal[ - "BACKUP_TYPE_UNSPECIFIED", "SCHEDULED", "ON_DEMAND" + "BACKUP_TYPE_UNSPECIFIED", "SCHEDULED", "ON_DEMAND", "ON_DEMAND_OPERATIONAL" ] + cloudSqlInstanceBackupProperties: CloudSqlInstanceBackupProperties computeInstanceBackupProperties: ComputeInstanceBackupProperties consistencyTime: str createTime: str description: str + diskBackupProperties: DiskBackupProperties enforcedRetentionEndTime: str etag: str expireTime: str @@ -108,7 +110,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serviceLocks: _list[BackupLock] state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR", "UPLOADING" ] updateTime: str @@ -138,6 +140,26 @@ class BackupApplianceLockInfo(typing_extensions.TypedDict, total=False): lockReason: str slaId: str +@typing.type_check_only +class BackupConfigDetails(typing_extensions.TypedDict, total=False): + applicableResource: str + backupConfigSource: str + backupConfigSourceDisplayName: str + backupDrPlanConfig: BackupDrPlanConfig + backupDrTemplateConfig: BackupDrTemplateConfig + backupLocations: _list[BackupLocation] + backupVault: str + latestSuccessfulBackupTime: str + pitrSettings: PitrSettings + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "ERROR"] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "CLOUD_SQL_INSTANCE_BACKUP_CONFIG", + "COMPUTE_ENGINE_RESOURCE_POLICY", + "BACKUPDR_BACKUP_PLAN", + "BACKUPDR_TEMPLATE", + ] + @typing.type_check_only class BackupConfigInfo(typing_extensions.TypedDict, total=False): backupApplianceBackupConfig: BackupApplianceBackupConfig @@ -151,6 +173,28 @@ class BackupConfigInfo(typing_extensions.TypedDict, total=False): "PERMISSION_DENIED", ] lastSuccessfulBackupConsistencyTime: str + lastSuccessfulLogBackupConsistencyTime: str + +@typing.type_check_only +class BackupDrPlanConfig(typing_extensions.TypedDict, total=False): + backupDrPlanRules: _list[BackupDrPlanRule] + +@typing.type_check_only +class BackupDrPlanRule(typing_extensions.TypedDict, total=False): + lastSuccessfulBackupTime: str + ruleId: str + +@typing.type_check_only +class BackupDrTemplateConfig(typing_extensions.TypedDict, total=False): + firstPartyManagementUri: str + thirdPartyManagementUri: str + +@typing.type_check_only +class BackupLocation(typing_extensions.TypedDict, total=False): + locationId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", "MULTI_REGIONAL" + ] @typing.type_check_only class BackupLock(typing_extensions.TypedDict, total=False): @@ -167,16 +211,25 @@ class BackupPlan(typing_extensions.TypedDict, total=False): description: str etag: str labels: dict[str, typing.Any] + logRetentionDays: str name: str resourceType: str + revisionId: str + revisionName: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "UPDATING" ] + supportedResourceTypes: _list[str] updateTime: str @typing.type_check_only class BackupPlanAssociation(typing_extensions.TypedDict, total=False): backupPlan: str + backupPlanRevisionId: str + backupPlanRevisionName: str + cloudSqlInstanceBackupPlanAssociationProperties: ( + CloudSqlInstanceBackupPlanAssociationProperties + ) createTime: str dataSource: str name: str @@ -188,6 +241,16 @@ class BackupPlanAssociation(typing_extensions.TypedDict, total=False): ] updateTime: str +@typing.type_check_only +class BackupPlanRevision(typing_extensions.TypedDict, total=False): + backupPlanSnapshot: BackupPlan + createTime: str + name: str + revisionId: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" + ] + @typing.type_check_only class BackupRule(typing_extensions.TypedDict, total=False): backupRetentionDays: int @@ -215,7 +278,7 @@ class BackupVault(typing_extensions.TypedDict, total=False): name: str serviceAccount: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR", "UPDATING" ] totalStoredBytes: str uid: str @@ -235,6 +298,41 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CloudSqlInstanceBackupPlanAssociationProperties( + typing_extensions.TypedDict, total=False +): + instanceCreateTime: str + +@typing.type_check_only +class CloudSqlInstanceBackupProperties(typing_extensions.TypedDict, total=False): + databaseInstalledVersion: str + finalBackup: bool + instanceTier: str + sourceInstance: str + +@typing.type_check_only +class CloudSqlInstanceDataSourceProperties(typing_extensions.TypedDict, total=False): + databaseInstalledVersion: str + instanceCreateTime: str + instanceTier: str + name: str + +@typing.type_check_only +class CloudSqlInstanceDataSourceReferenceProperties( + typing_extensions.TypedDict, total=False +): + databaseInstalledVersion: str + instanceCreateTime: str + instanceTier: str + name: str + +@typing.type_check_only +class CloudSqlInstanceInitializationConfig(typing_extensions.TypedDict, total=False): + edition: typing_extensions.Literal[ + "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS" + ] + @typing.type_check_only class ComputeInstanceBackupProperties(typing_extensions.TypedDict, total=False): canIpForward: bool @@ -315,6 +413,7 @@ class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): @typing.type_check_only class DataSource(typing_extensions.TypedDict, total=False): + backupBlockedByVaultAccessRestriction: bool backupConfigInfo: BackupConfigInfo backupCount: str configState: typing_extensions.Literal[ @@ -342,13 +441,96 @@ class DataSourceBackupApplianceApplication(typing_extensions.TypedDict, total=Fa hostname: str type: str +@typing.type_check_only +class DataSourceBackupConfigInfo(typing_extensions.TypedDict, total=False): + lastBackupState: typing_extensions.Literal[ + "LAST_BACKUP_STATE_UNSPECIFIED", + "FIRST_BACKUP_PENDING", + "SUCCEEDED", + "FAILED", + "PERMISSION_DENIED", + ] + lastSuccessfulBackupConsistencyTime: str + @typing.type_check_only class DataSourceGcpResource(typing_extensions.TypedDict, total=False): + cloudSqlInstanceDatasourceProperties: CloudSqlInstanceDataSourceProperties computeInstanceDatasourceProperties: ComputeInstanceDataSourceProperties + diskDatasourceProperties: DiskDataSourceProperties gcpResourcename: str location: str type: str +@typing.type_check_only +class DataSourceGcpResourceInfo(typing_extensions.TypedDict, total=False): + cloudSqlInstanceProperties: CloudSqlInstanceDataSourceReferenceProperties + gcpResourcename: str + location: str + type: str + +@typing.type_check_only +class DataSourceReference(typing_extensions.TypedDict, total=False): + createTime: str + dataSource: str + dataSourceBackupConfigInfo: DataSourceBackupConfigInfo + dataSourceBackupConfigState: typing_extensions.Literal[ + "BACKUP_CONFIG_STATE_UNSPECIFIED", "ACTIVE", "PASSIVE" + ] + dataSourceBackupCount: str + dataSourceGcpResourceInfo: DataSourceGcpResourceInfo + name: str + +@typing.type_check_only +class DiskBackupProperties(typing_extensions.TypedDict, total=False): + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64" + ] + description: str + guestOsFeature: _list[GuestOsFeature] + licenses: _list[str] + region: str + replicaZones: _list[str] + sizeGb: str + sourceDisk: str + type: str + zone: str + +@typing.type_check_only +class DiskDataSourceProperties(typing_extensions.TypedDict, total=False): + description: str + name: str + sizeGb: str + type: str + +@typing.type_check_only +class DiskRestoreProperties(typing_extensions.TypedDict, total=False): + accessMode: typing_extensions.Literal[ + "READ_WRITE_SINGLE", "READ_WRITE_MANY", "READ_ONLY_MANY" + ] + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64" + ] + description: str + diskEncryptionKey: CustomerEncryptionKey + enableConfidentialCompute: bool + guestOsFeature: _list[GuestOsFeature] + labels: dict[str, typing.Any] + licenses: _list[str] + name: str + physicalBlockSizeBytes: str + provisionedIops: str + provisionedThroughput: str + resourceManagerTags: dict[str, typing.Any] + resourcePolicy: _list[str] + sizeGb: str + storagePool: str + type: str + +@typing.type_check_only +class DiskTargetEnvironment(typing_extensions.TypedDict, total=False): + project: str + zone: str + @typing.type_check_only class DisplayDevice(typing_extensions.TypedDict, total=False): enableDisplay: bool @@ -379,6 +561,20 @@ class FetchAccessTokenResponse(typing_extensions.TypedDict, total=False): token: str writeLocation: str +@typing.type_check_only +class FetchBackupPlanAssociationsForResourceTypeResponse( + typing_extensions.TypedDict, total=False +): + backupPlanAssociations: _list[BackupPlanAssociation] + nextPageToken: str + +@typing.type_check_only +class FetchDataSourceReferencesForResourceTypeResponse( + typing_extensions.TypedDict, total=False +): + dataSourceReferences: _list[DataSourceReference] + nextPageToken: str + @typing.type_check_only class FetchUsableBackupVaultsResponse(typing_extensions.TypedDict, total=False): backupVaults: _list[BackupVault] @@ -398,6 +594,8 @@ class FinalizeBackupRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class GCPBackupPlanInfo(typing_extensions.TypedDict, total=False): backupPlan: str + backupPlanRevisionId: str + backupPlanRevisionName: str backupPlanRuleId: str @typing.type_check_only @@ -405,6 +603,8 @@ class GcpBackupConfig(typing_extensions.TypedDict, total=False): backupPlan: str backupPlanAssociation: str backupPlanDescription: str + backupPlanRevisionId: str + backupPlanRevisionName: str backupPlanRules: _list[str] @typing.type_check_only @@ -440,6 +640,7 @@ class InitializeParams(typing_extensions.TypedDict, total=False): @typing.type_check_only class InitializeServiceRequest(typing_extensions.TypedDict, total=False): + cloudSqlInstanceInitializationConfig: CloudSqlInstanceInitializationConfig requestId: str resourceType: str @@ -464,6 +665,12 @@ class ListBackupPlanAssociationsResponse(typing_extensions.TypedDict, total=Fals nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListBackupPlanRevisionsResponse(typing_extensions.TypedDict, total=False): + backupPlanRevisions: _list[BackupPlanRevision] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListBackupPlansResponse(typing_extensions.TypedDict, total=False): backupPlans: _list[BackupPlan] @@ -504,6 +711,11 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListResourceBackupConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resourceBackupConfigs: _list[ResourceBackupConfig] + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -608,6 +820,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PitrSettings(typing_extensions.TypedDict, total=False): + retentionDays: int + @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -615,14 +831,37 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class RegionDiskTargetEnvironment(typing_extensions.TypedDict, total=False): + project: str + region: str + replicaZones: _list[str] + @typing.type_check_only class RemoveDataSourceRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class ResourceBackupConfig(typing_extensions.TypedDict, total=False): + backupConfigsDetails: _list[BackupConfigDetails] + backupConfigured: bool + name: str + targetResource: str + targetResourceDisplayName: str + targetResourceLabels: dict[str, typing.Any] + targetResourceType: typing_extensions.Literal[ + "RESOURCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "COMPUTE_ENGINE_VM" + ] + uid: str + vaulted: bool + @typing.type_check_only class RestoreBackupRequest(typing_extensions.TypedDict, total=False): computeInstanceRestoreProperties: ComputeInstanceRestoreProperties computeInstanceTargetEnvironment: ComputeInstanceTargetEnvironment + diskRestoreProperties: DiskRestoreProperties + diskTargetEnvironment: DiskTargetEnvironment + regionDiskTargetEnvironment: RegionDiskTargetEnvironment requestId: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi index 0b5d9a31..55f4892d 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi @@ -415,6 +415,7 @@ class BaremetalsolutionResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/batch/v1/resources.pyi b/googleapiclient-stubs/_apis/batch/v1/resources.pyi index 5534520a..1c152e8a 100644 --- a/googleapiclient-stubs/_apis/batch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/resources.pyi @@ -43,6 +43,13 @@ class BatchResource(googleapiclient.discovery.Resource): def tasks(self) -> TasksResource: ... + def cancel( + self, + *, + name: str, + body: CancelJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, *, @@ -125,6 +132,7 @@ class BatchResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi index b96098b4..f30ac26a 100644 --- a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi @@ -135,6 +135,10 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): class Barrier(typing_extensions.TypedDict, total=False): name: str +@typing.type_check_only +class CancelJobRequest(typing_extensions.TypedDict, total=False): + requestId: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -240,6 +244,8 @@ class JobStatus(typing_extensions.TypedDict, total=False): "SUCCEEDED", "FAILED", "DELETION_IN_PROGRESS", + "CANCELLATION_IN_PROGRESS", + "CANCELLED", ] statusEvents: _list[StatusEvent] taskGroups: dict[str, typing.Any] @@ -306,6 +312,8 @@ class Message(typing_extensions.TypedDict, total=False): "SUCCEEDED", "FAILED", "DELETION_IN_PROGRESS", + "CANCELLATION_IN_PROGRESS", + "CANCELLED", ] newTaskState: typing_extensions.Literal[ "STATE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi index b984c7c0..080e55e6 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi @@ -17,84 +17,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class GlobalResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class PartnerTenantsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class BrowserDlpRulesResource(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 ProxyConfigsResource(googleapiclient.discovery.Resource): - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def browserDlpRules(self) -> BrowserDlpRulesResource: ... - def proxyConfigs(self) -> ProxyConfigsResource: ... - - def partnerTenants(self) -> PartnerTenantsResource: ... - @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -125,7 +47,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def global_(self) -> GlobalResource: ... def operations(self) -> OperationsResource: ... def locations(self) -> LocationsResource: ... @@ -360,62 +281,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... - def shouldThrottle( - self, - *, - name: str, - port: int = ..., - requestedAmount: str = ..., - **kwargs: typing.Any, - ) -> ShouldThrottleResponseHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - @typing.type_check_only - class ClientConnectorServicesResource(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 ClientGatewaysResource(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, *, @@ -424,42 +289,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - @typing.type_check_only - class GlobalResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class SecurityGatewaysResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ApplicationsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudBeyondcorpSecuritygatewaysV1Application = ..., - applicationId: str = ..., - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleCloudBeyondcorpSecuritygatewaysV1Application = ..., - requestId: str = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - def applications(self) -> ApplicationsResource: ... - - def securityGateways(self) -> SecurityGatewaysResource: ... - @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -494,6 +323,15 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): class SecurityGatewaysResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApplicationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudBeyondcorpSecuritygatewaysV1Application = ..., + applicationId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, @@ -532,6 +370,15 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudBeyondcorpSecuritygatewaysV1Application = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -539,6 +386,13 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def create( self, @@ -619,6 +473,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -632,9 +487,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): def appConnections(self) -> AppConnectionsResource: ... def appConnectors(self) -> AppConnectorsResource: ... def appGateways(self) -> AppGatewaysResource: ... - def clientConnectorServices(self) -> ClientConnectorServicesResource: ... - def clientGateways(self) -> ClientGatewaysResource: ... - def global_(self) -> GlobalResource: ... def operations(self) -> OperationsResource: ... def securityGateways(self) -> SecurityGatewaysResource: ... @@ -832,11 +684,3 @@ class ListAppGatewaysResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ListAppGatewaysResponse: ... - -@typing.type_check_only -class ShouldThrottleResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ShouldThrottleResponse: ... diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi index 6caf09e9..ee9275d9 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi @@ -558,10 +558,6 @@ class ListAppGatewaysResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] -@typing.type_check_only -class ShouldThrottleResponse(typing_extensions.TypedDict, total=False): - shouldThrottle: bool - @typing.type_check_only class Tunnelv1ProtoTunnelerError(typing_extensions.TypedDict, total=False): err: str diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi index 7f10fa01..188c638a 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi @@ -21,150 +21,12 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): class GlobalResource(googleapiclient.discovery.Resource): @typing.type_check_only class PartnerTenantsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class BrowserDlpRulesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule = ..., - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, - *, - name: str, - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRuleHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def list( - self, *, parent: str, **kwargs: typing.Any - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponseHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule = ..., - requestId: str = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - 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 ProxyConfigsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig = ..., - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, - *, - name: str, - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfigHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponseHttpRequest, - previous_response: GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse, - ) -> ( - GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig = ..., - requestId: str = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant = ..., - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, requestId: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -183,31 +45,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant = ..., - requestId: str = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def browserDlpRules(self) -> BrowserDlpRulesResource: ... - def proxyConfigs(self) -> ProxyConfigsResource: ... def partnerTenants(self) -> PartnerTenantsResource: ... @@ -601,14 +438,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... - def shouldThrottle( - self, - *, - name: str, - port: int = ..., - requestedAmount: str = ..., - **kwargs: typing.Any, - ) -> ShouldThrottleResponseHttpRequest: ... def testIamPermissions( self, *, @@ -665,54 +494,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - @typing.type_check_only - class ClientConnectorServicesResource(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 ClientGatewaysResource(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 ConnectionsResource(googleapiclient.discovery.Resource): def create( @@ -790,13 +571,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... @typing.type_check_only class ConnectorsResource(googleapiclient.discovery.Resource): @@ -870,49 +644,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - @typing.type_check_only - class GlobalResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class SecurityGatewaysResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ApplicationsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication = ..., - applicationId: str = ..., - requestId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication = ..., - requestId: str = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - - def applications(self) -> ApplicationsResource: ... - - def securityGateways(self) -> SecurityGatewaysResource: ... @typing.type_check_only class InsightsResource(googleapiclient.discovery.Resource): @@ -1023,6 +754,15 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): class SecurityGatewaysResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApplicationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication = ..., + applicationId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, @@ -1059,6 +799,15 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -1066,6 +815,13 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def create( self, @@ -1144,6 +900,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1159,11 +916,8 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): def appGateways(self) -> AppGatewaysResource: ... def applicationDomains(self) -> ApplicationDomainsResource: ... def applications(self) -> ApplicationsResource: ... - def clientConnectorServices(self) -> ClientConnectorServicesResource: ... - def clientGateways(self) -> ClientGatewaysResource: ... def connections(self) -> ConnectionsResource: ... def connectors(self) -> ConnectorsResource: ... - def global_(self) -> GlobalResource: ... def insights(self) -> InsightsResource: ... def operations(self) -> OperationsResource: ... def securityGateways(self) -> SecurityGatewaysResource: ... @@ -1277,26 +1031,6 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponseHttp num_retries: int = 0, ) -> GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse: ... -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRuleHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule: ... - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse: ... - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1307,16 +1041,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpR num_retries: int = 0, ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse: ... -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse: ... - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantHttpRequest( googleapiclient.http.HttpRequest @@ -1327,16 +1051,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantHttpRequest( num_retries: int = 0, ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant: ... -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfigHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig: ... - @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1546,11 +1260,3 @@ class ResolveInstanceConfigResponseHttpRequest(googleapiclient.http.HttpRequest) http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ResolveInstanceConfigResponse: ... - -@typing.type_check_only -class ShouldThrottleResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ShouldThrottleResponse: ... diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi index 4a99a710..35493440 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi @@ -401,21 +401,6 @@ class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata( target: str verb: str -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule( - typing_extensions.TypedDict, total=False -): - group: GoogleCloudBeyondcorpPartnerservicesV1alphaGroup - name: str - ruleSetting: GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo( - typing_extensions.TypedDict, total=False -): - encryptionSaEmail: str - jwk: str - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup( typing_extensions.TypedDict, total=False @@ -423,12 +408,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup( email: str id: str -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse( - typing_extensions.TypedDict, total=False -): - browserDlpRules: _list[GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse( typing_extensions.TypedDict, total=False @@ -436,13 +415,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse( nextPageToken: str partnerTenants: _list[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - proxyConfigs: _list[GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata( typing_extensions.TypedDict, total=False @@ -473,46 +445,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant( partnerMetadata: GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata updateTime: str -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig( - typing_extensions.TypedDict, total=False -): - createTime: str - displayName: str - encryptionInfo: GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo - name: str - proxyProtocolConfig: GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig - proxyUri: str - routingInfo: GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo - transportInfo: GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo - updateTime: str - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig( - typing_extensions.TypedDict, total=False -): - metadata: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo( - typing_extensions.TypedDict, total=False -): - pacUri: str - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting( - typing_extensions.TypedDict, total=False -): - type: str - value: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo( - typing_extensions.TypedDict, total=False -): - serverCaCertPem: str - sslDecryptCaCertPem: str - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( typing_extensions.TypedDict, total=False @@ -648,6 +580,7 @@ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription( autoRenewEnabled: bool billingAccount: str createTime: str + csgCustomer: bool endTime: str name: str seatCount: str @@ -898,10 +831,6 @@ class ResourceInfo(typing_extensions.TypedDict, total=False): class ServiceAccount(typing_extensions.TypedDict, total=False): email: str -@typing.type_check_only -class ShouldThrottleResponse(typing_extensions.TypedDict, total=False): - shouldThrottle: bool - @typing.type_check_only class Tunnelv1ProtoTunnelerError(typing_extensions.TypedDict, total=False): err: str diff --git a/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi index 28c0bdb8..14d8b0b0 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi @@ -64,6 +64,12 @@ class BigqueryResource(googleapiclient.discovery.Resource): datasetId: str, body: Dataset = ..., accessPolicyVersion: int = ..., + updateMode: typing_extensions.Literal[ + "UPDATE_MODE_UNSPECIFIED", + "UPDATE_METADATA", + "UPDATE_ACL", + "UPDATE_FULL", + ] = ..., **kwargs: typing.Any, ) -> DatasetHttpRequest: ... def undelete( @@ -81,6 +87,12 @@ class BigqueryResource(googleapiclient.discovery.Resource): datasetId: str, body: Dataset = ..., accessPolicyVersion: int = ..., + updateMode: typing_extensions.Literal[ + "UPDATE_MODE_UNSPECIFIED", + "UPDATE_METADATA", + "UPDATE_ACL", + "UPDATE_FULL", + ] = ..., **kwargs: typing.Any, ) -> DatasetHttpRequest: ... @@ -256,6 +268,13 @@ class BigqueryResource(googleapiclient.discovery.Resource): body: SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def update( self, *, @@ -268,6 +287,34 @@ class BigqueryResource(googleapiclient.discovery.Resource): @typing.type_check_only class RowAccessPoliciesResource(googleapiclient.discovery.Resource): + def batchDelete( + self, + *, + projectId: str, + datasetId: str, + tableId: str, + body: BatchDeleteRowAccessPoliciesRequest = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def delete( + self, + *, + projectId: str, + datasetId: str, + tableId: str, + policyId: str, + force: bool = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def get( + self, + *, + projectId: str, + datasetId: str, + tableId: str, + policyId: str, + **kwargs: typing.Any, + ) -> RowAccessPolicyHttpRequest: ... def getIamPolicy( self, *, @@ -275,6 +322,15 @@ class BigqueryResource(googleapiclient.discovery.Resource): body: GetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def insert( + self, + *, + projectId: str, + datasetId: str, + tableId: str, + body: RowAccessPolicy = ..., + **kwargs: typing.Any, + ) -> RowAccessPolicyHttpRequest: ... def list( self, *, @@ -297,6 +353,16 @@ class BigqueryResource(googleapiclient.discovery.Resource): body: TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + def update( + self, + *, + projectId: str, + datasetId: str, + tableId: str, + policyId: str, + body: RowAccessPolicy = ..., + **kwargs: typing.Any, + ) -> RowAccessPolicyHttpRequest: ... @typing.type_check_only class TabledataResource(googleapiclient.discovery.Resource): @@ -548,6 +614,14 @@ class RoutineHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Routine: ... +@typing.type_check_only +class RowAccessPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RowAccessPolicy: ... + @typing.type_check_only class TableHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index 3144d3ec..7cfa7f61 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -142,6 +142,11 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): class AvroOptions(typing_extensions.TypedDict, total=False): useAvroLogicalTypes: bool +@typing.type_check_only +class BatchDeleteRowAccessPoliciesRequest(typing_extensions.TypedDict, total=False): + force: bool + policyIds: _list[str] + @typing.type_check_only class BiEngineReason(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal[ @@ -298,9 +303,11 @@ class CsvOptions(typing_extensions.TypedDict, total=False): encoding: str fieldDelimiter: str nullMarker: str + nullMarkers: _list[str] preserveAsciiControlCharacters: bool quote: str skipLeadingRows: str + sourceColumnMatch: str @typing.type_check_only class DataFormatOptions(typing_extensions.TypedDict, total=False): @@ -522,6 +529,8 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): compression: str connectionId: str csvOptions: CsvOptions + dateFormat: str + datetimeFormat: str decimalTargetTypes: _list[ typing_extensions.Literal[ "DECIMAL_TARGET_TYPE_UNSPECIFIED", "NUMERIC", "BIGNUMERIC", "STRING" @@ -548,12 +557,23 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): schema: TableSchema sourceFormat: str sourceUris: _list[str] + timeFormat: str + timeZone: str + timestampFormat: str @typing.type_check_only class ExternalDatasetReference(typing_extensions.TypedDict, total=False): connection: str externalSource: str +@typing.type_check_only +class ExternalRuntimeOptions(typing_extensions.TypedDict, total=False): + containerCpu: float + containerMemory: str + maxBatchingRows: str + runtimeConnection: str + runtimeVersion: str + @typing.type_check_only class ExternalServiceCost(typing_extensions.TypedDict, total=False): bytesBilled: str @@ -694,6 +714,7 @@ class IndexUnusedReason(typing_extensions.TypedDict, total=False): "BASE_TABLE_TOO_SMALL", "BASE_TABLE_TOO_LARGE", "ESTIMATED_PERFORMANCE_GAIN_TOO_LOW", + "COLUMN_METADATA_INDEX_NOT_USED", "NOT_SUPPORTED_IN_STANDARD_EDITION", "INDEX_SUPPRESSED_BY_FUNCTION_OPTION", "QUERY_CACHE_HIT", @@ -770,6 +791,7 @@ class JobConfiguration(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] load: JobConfigurationLoad query: JobConfigurationQuery + reservation: str @typing.type_check_only class JobConfigurationExtract(typing_extensions.TypedDict, total=False): @@ -797,6 +819,8 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): copyFilesOnly: bool createDisposition: str createSession: bool + dateFormat: str + datetimeFormat: str decimalTargetTypes: _list[ typing_extensions.Literal[ "DECIMAL_TARGET_TYPE_UNSPECIFIED", "NUMERIC", "BIGNUMERIC", "STRING" @@ -816,6 +840,7 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): jsonExtension: typing_extensions.Literal["JSON_EXTENSION_UNSPECIFIED", "GEOJSON"] maxBadRecords: int nullMarker: str + nullMarkers: _list[str] parquetOptions: ParquetOptions preserveAsciiControlCharacters: bool projectionFields: _list[str] @@ -827,9 +852,15 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): schemaInlineFormat: str schemaUpdateOptions: _list[str] skipLeadingRows: int + sourceColumnMatch: typing_extensions.Literal[ + "SOURCE_COLUMN_MATCH_UNSPECIFIED", "POSITION", "NAME" + ] sourceFormat: str sourceUris: _list[str] + timeFormat: str timePartitioning: TimePartitioning + timeZone: str + timestampFormat: str useAvroLogicalTypes: bool writeDisposition: str @@ -862,6 +893,7 @@ class JobConfigurationQuery(typing_extensions.TypedDict, total=False): useQueryCache: bool userDefinedFunctionResources: _list[UserDefinedFunctionResource] writeDisposition: str + writeIncrementalResults: bool @typing.type_check_only class JobConfigurationTableCopy(typing_extensions.TypedDict, total=False): @@ -1261,6 +1293,11 @@ class ProjectList(typing_extensions.TypedDict, total=False): class ProjectReference(typing_extensions.TypedDict, total=False): projectId: str +@typing.type_check_only +class PythonOptions(typing_extensions.TypedDict, total=False): + entryPoint: str + packages: _list[str] + @typing.type_check_only class QueryInfo(typing_extensions.TypedDict, total=False): optimizationDetails: dict[str, typing.Any] @@ -1291,6 +1328,7 @@ class QueryRequest(typing_extensions.TypedDict, total=False): continuous: bool createSession: bool defaultDataset: DatasetReference + destinationEncryptionConfiguration: EncryptionConfiguration dryRun: bool formatOptions: DataFormatOptions jobCreationMode: typing_extensions.Literal[ @@ -1298,6 +1336,7 @@ class QueryRequest(typing_extensions.TypedDict, total=False): "JOB_CREATION_REQUIRED", "JOB_CREATION_OPTIONAL", ] + jobTimeoutMs: str kind: str labels: dict[str, typing.Any] location: str @@ -1308,27 +1347,35 @@ class QueryRequest(typing_extensions.TypedDict, total=False): query: str queryParameters: _list[QueryParameter] requestId: str + reservation: str timeoutMs: int useLegacySql: bool useQueryCache: bool + writeIncrementalResults: bool @typing.type_check_only class QueryResponse(typing_extensions.TypedDict, total=False): cacheHit: bool + creationTime: str dmlStats: DmlStatistics + endTime: str errors: _list[ErrorProto] jobComplete: bool jobCreationReason: JobCreationReason jobReference: JobReference kind: str + location: str numDmlAffectedRows: str pageToken: str queryId: str rows: _list[TableRow] schema: TableSchema sessionInfo: SessionInfo + startTime: str + totalBytesBilled: str totalBytesProcessed: str totalRows: str + totalSlotMs: str @typing.type_check_only class QueryTimelineSample(typing_extensions.TypedDict, total=False): @@ -1337,6 +1384,7 @@ class QueryTimelineSample(typing_extensions.TypedDict, total=False): elapsedMs: str estimatedRunnableUnits: str pendingUnits: str + shuffleRamUsageRatio: float totalSlotMs: str @typing.type_check_only @@ -1405,11 +1453,13 @@ class Routine(typing_extensions.TypedDict, total=False): "DETERMINISM_LEVEL_UNSPECIFIED", "DETERMINISTIC", "NOT_DETERMINISTIC" ] etag: str + externalRuntimeOptions: ExternalRuntimeOptions importedLibraries: _list[str] language: typing_extensions.Literal[ "LANGUAGE_UNSPECIFIED", "SQL", "JAVASCRIPT", "PYTHON", "JAVA", "SCALA" ] lastModifiedTime: str + pythonOptions: PythonOptions remoteFunctionOptions: RemoteFunctionOptions returnTableType: StandardSqlTableType returnType: StandardSqlDataType @@ -1443,6 +1493,7 @@ class RowAccessPolicy(typing_extensions.TypedDict, total=False): creationTime: str etag: str filterPredicate: str + grantees: _list[str] lastModifiedTime: str rowAccessPolicyReference: RowAccessPolicyReference @@ -1599,6 +1650,26 @@ class StorageDescriptor(typing_extensions.TypedDict, total=False): outputFormat: str serdeInfo: SerDeInfo +@typing.type_check_only +class StoredColumnsUnusedReason(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "CODE_UNSPECIFIED", + "STORED_COLUMNS_COVER_INSUFFICIENT", + "BASE_TABLE_HAS_RLS", + "BASE_TABLE_HAS_CLS", + "UNSUPPORTED_PREFILTER", + "INTERNAL_ERROR", + "OTHER_REASON", + ] + message: str + uncoveredColumns: _list[str] + +@typing.type_check_only +class StoredColumnsUsage(typing_extensions.TypedDict, total=False): + baseTable: TableReference + isQueryAccelerated: bool + storedColumnsUnusedReasons: _list[StoredColumnsUnusedReason] + @typing.type_check_only class Streamingbuffer(typing_extensions.TypedDict, total=False): estimatedBytes: str @@ -1637,7 +1708,7 @@ class Table(typing_extensions.TypedDict, total=False): lastModifiedTime: str location: str managedTableType: typing_extensions.Literal[ - "MANAGED_TABLE_TYPE_UNSPECIFIED", "NATIVE", "ICEBERG" + "MANAGED_TABLE_TYPE_UNSPECIFIED", "NATIVE", "BIGLAKE" ] materializedView: MaterializedViewDefinition materializedViewStatus: MaterializedViewStatus @@ -1853,6 +1924,8 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): "FEEDBACK_TYPE_UNSPECIFIED", "IMPLICIT", "EXPLICIT" ] fitIntercept: bool + forecastLimitLowerBound: float + forecastLimitUpperBound: float hiddenUnits: _list[str] holidayRegion: typing_extensions.Literal[ "HOLIDAY_REGION_UNSPECIFIED", @@ -2126,6 +2199,7 @@ class VectorSearchStatistics(typing_extensions.TypedDict, total=False): indexUsageMode: typing_extensions.Literal[ "INDEX_USAGE_MODE_UNSPECIFIED", "UNUSED", "PARTIALLY_USED", "FULLY_USED" ] + storedColumnsUsages: _list[StoredColumnsUsage] @typing.type_check_only class ViewDefinition(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi index 99b0d756..8550545c 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi @@ -216,6 +216,7 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi index 1e6241f9..f26afb45 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi @@ -70,6 +70,36 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> SplitCapacityCommitmentResponseHttpRequest: ... + @typing.type_check_only + class ReservationGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ReservationGroup = ..., + reservationGroupId: str = ..., + **kwargs: typing.Any, + ) -> ReservationGroupHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ReservationGroupHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListReservationGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListReservationGroupsResponseHttpRequest, + previous_response: ListReservationGroupsResponse, + ) -> ListReservationGroupsResponseHttpRequest | None: ... + @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -85,6 +115,13 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -113,6 +150,20 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> AssignmentHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def create( self, @@ -135,6 +186,13 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> ReservationHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -156,6 +214,20 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> ReservationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def assignments(self) -> AssignmentsResource: ... def getBiReservation( @@ -198,6 +270,7 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> BiReservationHttpRequest: ... def capacityCommitments(self) -> CapacityCommitmentsResource: ... + def reservationGroups(self) -> ReservationGroupsResource: ... def reservations(self) -> ReservationsResource: ... def locations(self) -> LocationsResource: ... @@ -264,6 +337,14 @@ class ListCapacityCommitmentsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListCapacityCommitmentsResponse: ... +@typing.type_check_only +class ListReservationGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListReservationGroupsResponse: ... + @typing.type_check_only class ListReservationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -272,6 +353,14 @@ class ListReservationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListReservationsResponse: ... +@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 ReservationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -280,6 +369,14 @@ class ReservationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Reservation: ... +@typing.type_check_only +class ReservationGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationGroup: ... + @typing.type_check_only class SearchAllAssignmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -303,3 +400,11 @@ class SplitCapacityCommitmentResponseHttpRequest(googleapiclient.http.HttpReques http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> SplitCapacityCommitmentResponse: ... + +@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/bigqueryreservation/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi index aaf90cea..54122e31 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi @@ -19,6 +19,18 @@ class Assignment(typing_extensions.TypedDict, total=False): name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] +@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 Autoscale(typing_extensions.TypedDict, total=False): currentSlots: str @@ -31,6 +43,12 @@ class BiReservation(typing_extensions.TypedDict, total=False): size: str updateTime: str +@typing.type_check_only +class Binding(typing_extensions.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + @typing.type_check_only class CapacityCommitment(typing_extensions.TypedDict, total=False): commitmentEndTime: str @@ -73,7 +91,15 @@ class CapacityCommitment(typing_extensions.TypedDict, total=False): class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only -class FailoverReservationRequest(typing_extensions.TypedDict, total=False): ... +class Expr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class FailoverReservationRequest(typing_extensions.TypedDict, total=False): + failoverMode: typing_extensions.Literal["FAILOVER_MODE_UNSPECIFIED", "SOFT", "HARD"] @typing.type_check_only class ListAssignmentsResponse(typing_extensions.TypedDict, total=False): @@ -85,6 +111,11 @@ class ListCapacityCommitmentsResponse(typing_extensions.TypedDict, total=False): capacityCommitments: _list[CapacityCommitment] nextPageToken: str +@typing.type_check_only +class ListReservationGroupsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + reservationGroups: _list[ReservationGroup] + @typing.type_check_only class ListReservationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -92,6 +123,7 @@ class ListReservationsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MergeCapacityCommitmentsRequest(typing_extensions.TypedDict, total=False): + capacityCommitmentId: str capacityCommitmentIds: _list[str] @typing.type_check_only @@ -99,6 +131,20 @@ class MoveAssignmentRequest(typing_extensions.TypedDict, total=False): assignmentId: str destinationId: 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 ReplicationStatus(typing_extensions.TypedDict, total=False): + error: Status + lastErrorTime: str + lastReplicationTime: str + softFailoverStartTime: str + @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): autoscale: Autoscale @@ -109,14 +155,24 @@ class Reservation(typing_extensions.TypedDict, total=False): ] ignoreIdleSlots: bool labels: dict[str, typing.Any] + maxSlots: str multiRegionAuxiliary: bool name: str originalPrimaryLocation: str primaryLocation: str + replicationStatus: ReplicationStatus + reservationGroup: str + scalingMode: typing_extensions.Literal[ + "SCALING_MODE_UNSPECIFIED", "AUTOSCALE_ONLY", "IDLE_SLOTS_ONLY", "ALL_SLOTS" + ] secondaryLocation: str slotCapacity: str updateTime: str +@typing.type_check_only +class ReservationGroup(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class SearchAllAssignmentsResponse(typing_extensions.TypedDict, total=False): assignments: _list[Assignment] @@ -127,6 +183,11 @@ class SearchAssignmentsResponse(typing_extensions.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str +@typing.type_check_only +class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: Policy + updateMask: str + @typing.type_check_only class SplitCapacityCommitmentRequest(typing_extensions.TypedDict, total=False): slotCount: str @@ -147,3 +208,11 @@ class TableReference(typing_extensions.TypedDict, total=False): datasetId: str projectId: str tableId: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi index 8d5b1bec..67604cbf 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi @@ -36,6 +36,8 @@ 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: ... @@ -207,6 +209,124 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): def backups(self) -> BackupsResource: ... def hotTablets(self) -> HotTabletsResource: ... + @typing.type_check_only + class LogicalViewsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LogicalView = ..., + logicalViewId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LogicalViewHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLogicalViewsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLogicalViewsResponseHttpRequest, + previous_response: ListLogicalViewsResponse, + ) -> ListLogicalViewsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LogicalView = ..., + updateMask: str = ..., + **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: ... + + @typing.type_check_only + class MaterializedViewsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: MaterializedView = ..., + materializedViewId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> MaterializedViewHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMaterializedViewsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMaterializedViewsResponseHttpRequest, + previous_response: ListMaterializedViewsResponse, + ) -> ListMaterializedViewsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: MaterializedView = ..., + updateMask: str = ..., + **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: ... + @typing.type_check_only class TablesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -278,6 +398,66 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class SchemaBundlesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SchemaBundle = ..., + schemaBundleId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaBundleHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSchemaBundlesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSchemaBundlesResponseHttpRequest, + previous_response: ListSchemaBundlesResponse, + ) -> ListSchemaBundlesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SchemaBundle = ..., + ignoreWarnings: bool = ..., + updateMask: str = ..., + **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 checkConsistency( self, *, @@ -365,6 +545,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): *, name: str, body: Table = ..., + ignoreWarnings: bool = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -397,6 +578,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def authorizedViews(self) -> AuthorizedViewsResource: ... + def schemaBundles(self) -> SchemaBundlesResource: ... def create( self, @@ -453,14 +635,20 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): ) -> InstanceHttpRequest: ... def appProfiles(self) -> AppProfilesResource: ... def clusters(self) -> ClustersResource: ... + def logicalViews(self) -> LogicalViewsResource: ... + def materializedViews(self) -> MaterializedViewsResource: ... def tables(self) -> TablesResource: ... @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... def list( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -610,6 +798,22 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListLogicalViewsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLogicalViewsResponse: ... + +@typing.type_check_only +class ListMaterializedViewsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMaterializedViewsResponse: ... + @typing.type_check_only class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -618,6 +822,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListSchemaBundlesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSchemaBundlesResponse: ... + @typing.type_check_only class ListTablesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -626,6 +838,30 @@ 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( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LogicalView: ... + +@typing.type_check_only +class MaterializedViewHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MaterializedView: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -642,6 +878,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class SchemaBundleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SchemaBundle: ... + @typing.type_check_only class TableHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi index 40d632d0..64394953 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi @@ -202,6 +202,36 @@ class CreateInstanceRequest(typing_extensions.TypedDict, total=False): instanceId: str parent: str +@typing.type_check_only +class CreateLogicalViewMetadata(typing_extensions.TypedDict, total=False): + endTime: str + originalRequest: CreateLogicalViewRequest + startTime: str + +@typing.type_check_only +class CreateLogicalViewRequest(typing_extensions.TypedDict, total=False): + logicalView: LogicalView + logicalViewId: str + parent: str + +@typing.type_check_only +class CreateMaterializedViewMetadata(typing_extensions.TypedDict, total=False): + endTime: str + originalRequest: CreateMaterializedViewRequest + startTime: str + +@typing.type_check_only +class CreateMaterializedViewRequest(typing_extensions.TypedDict, total=False): + materializedView: MaterializedView + materializedViewId: str + parent: str + +@typing.type_check_only +class CreateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): + endTime: str + name: str + startTime: str + @typing.type_check_only class CreateTableRequest(typing_extensions.TypedDict, total=False): initialSplits: _list[Split] @@ -329,7 +359,8 @@ class GoogleBigtableAdminV2TypeBytesEncoding(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleBigtableAdminV2TypeBytesEncodingRaw( typing_extensions.TypedDict, total=False -): ... +): + escapeNulls: bool @typing.type_check_only class GoogleBigtableAdminV2TypeDate(typing_extensions.TypedDict, total=False): ... @@ -347,6 +378,7 @@ class GoogleBigtableAdminV2TypeInt64(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleBigtableAdminV2TypeInt64Encoding(typing_extensions.TypedDict, total=False): bigEndianBytes: GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes + orderedCodeBytes: GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes @typing.type_check_only class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes( @@ -354,6 +386,11 @@ class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes( ): bytesType: GoogleBigtableAdminV2TypeBytes +@typing.type_check_only +class GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleBigtableAdminV2TypeMap(typing_extensions.TypedDict, total=False): keyType: Type @@ -371,7 +408,8 @@ class GoogleBigtableAdminV2TypeStringEncoding(typing_extensions.TypedDict, total @typing.type_check_only class GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes( typing_extensions.TypedDict, total=False -): ... +): + nullEscapeChar: str @typing.type_check_only class GoogleBigtableAdminV2TypeStringEncodingUtf8Raw( @@ -380,15 +418,45 @@ class GoogleBigtableAdminV2TypeStringEncodingUtf8Raw( @typing.type_check_only class GoogleBigtableAdminV2TypeStruct(typing_extensions.TypedDict, total=False): + encoding: GoogleBigtableAdminV2TypeStructEncoding fields: _list[GoogleBigtableAdminV2TypeStructField] +@typing.type_check_only +class GoogleBigtableAdminV2TypeStructEncoding(typing_extensions.TypedDict, total=False): + delimitedBytes: GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes + orderedCodeBytes: GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes + singleton: GoogleBigtableAdminV2TypeStructEncodingSingleton + +@typing.type_check_only +class GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes( + typing_extensions.TypedDict, total=False +): + delimiter: str + +@typing.type_check_only +class GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleBigtableAdminV2TypeStructEncodingSingleton( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleBigtableAdminV2TypeStructField(typing_extensions.TypedDict, total=False): fieldName: str type: Type @typing.type_check_only -class GoogleBigtableAdminV2TypeTimestamp(typing_extensions.TypedDict, total=False): ... +class GoogleBigtableAdminV2TypeTimestamp(typing_extensions.TypedDict, total=False): + encoding: GoogleBigtableAdminV2TypeTimestampEncoding + +@typing.type_check_only +class GoogleBigtableAdminV2TypeTimestampEncoding( + typing_extensions.TypedDict, total=False +): + unixMicrosInt64: GoogleBigtableAdminV2TypeInt64Encoding @typing.type_check_only class HotTablet(typing_extensions.TypedDict, total=False): @@ -453,11 +521,26 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListLogicalViewsResponse(typing_extensions.TypedDict, total=False): + logicalViews: _list[LogicalView] + nextPageToken: str + +@typing.type_check_only +class ListMaterializedViewsResponse(typing_extensions.TypedDict, total=False): + materializedViews: _list[MaterializedView] + nextPageToken: str + @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListSchemaBundlesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + schemaBundles: _list[SchemaBundle] + @typing.type_check_only class ListTablesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -471,6 +554,20 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class LogicalView(typing_extensions.TypedDict, total=False): + deletionProtection: bool + etag: str + name: str + query: str + +@typing.type_check_only +class MaterializedView(typing_extensions.TypedDict, total=False): + deletionProtection: bool + etag: str + name: str + query: str + @typing.type_check_only class Modification(typing_extensions.TypedDict, total=False): create: ColumnFamily @@ -531,6 +628,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class ProtoSchema(typing_extensions.TypedDict, total=False): + protoDescriptors: str + @typing.type_check_only class RestoreInfo(typing_extensions.TypedDict, total=False): backupInfo: BackupInfo @@ -552,6 +653,12 @@ class RestoreTableRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RowAffinity(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class SchemaBundle(typing_extensions.TypedDict, total=False): + etag: str + name: str + protoSchema: ProtoSchema + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -593,7 +700,9 @@ class Table(typing_extensions.TypedDict, total=False): ] name: str restoreInfo: RestoreInfo + rowKeySchema: GoogleBigtableAdminV2TypeStruct stats: TableStats + tieredStorageConfig: TieredStorageConfig @typing.type_check_only class TableProgress(typing_extensions.TypedDict, total=False): @@ -618,6 +727,14 @@ class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class TieredStorageConfig(typing_extensions.TypedDict, total=False): + infrequentAccess: TieredStorageRule + +@typing.type_check_only +class TieredStorageRule(typing_extensions.TypedDict, total=False): + includeIfOlderThan: str + @typing.type_check_only class Type(typing_extensions.TypedDict, total=False): aggregateType: GoogleBigtableAdminV2TypeAggregate @@ -673,6 +790,23 @@ class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): originalRequest: PartialUpdateInstanceRequest requestTime: str +@typing.type_check_only +class UpdateLogicalViewMetadata(typing_extensions.TypedDict, total=False): + endTime: str + originalRequest: UpdateLogicalViewRequest + startTime: str + +@typing.type_check_only +class UpdateLogicalViewRequest(typing_extensions.TypedDict, total=False): + logicalView: LogicalView + updateMask: str + +@typing.type_check_only +class UpdateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): + endTime: str + name: str + startTime: str + @typing.type_check_only class UpdateTableMetadata(typing_extensions.TypedDict, total=False): endTime: str diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi index fbcec218..c9469335 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi @@ -313,6 +313,7 @@ class ValidateAttestationOccurrenceResponse(typing_extensions.TypedDict, total=F class VerificationRule(typing_extensions.TypedDict, total=False): attestationSource: AttestationSource configBasedBuildRequired: bool + customConstraints: str trustedBuilder: typing_extensions.Literal[ "BUILDER_UNSPECIFIED", "GOOGLE_CLOUD_BUILD" ] diff --git a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi index 8ca2f014..9541e76b 100644 --- a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi @@ -96,6 +96,7 @@ class BlockchainNodeEngineResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi index 02329c61..2a54ca20 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi @@ -297,6 +297,7 @@ class CertificateManagerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi index 676150fd..4e32fc27 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi @@ -32,9 +32,12 @@ class Certificate(typing_extensions.TypedDict, total=False): name: str pemCertificate: str sanDnsnames: _list[str] - scope: typing_extensions.Literal["DEFAULT", "EDGE_CACHE", "ALL_REGIONS"] + scope: typing_extensions.Literal[ + "DEFAULT", "EDGE_CACHE", "ALL_REGIONS", "CLIENT_AUTH" + ] selfManaged: SelfManagedCertificate updateTime: str + usedBy: _list[UsedBy] @typing.type_check_only class CertificateAuthorityConfig(typing_extensions.TypedDict, total=False): @@ -236,3 +239,7 @@ class TrustConfig(typing_extensions.TypedDict, total=False): class TrustStore(typing_extensions.TypedDict, total=False): intermediateCas: _list[IntermediateCA] trustAnchors: _list[TrustAnchor] + +@typing.type_check_only +class UsedBy(typing_extensions.TypedDict, total=False): + name: str diff --git a/googleapiclient-stubs/_apis/chat/v1/resources.pyi b/googleapiclient-stubs/_apis/chat/v1/resources.pyi index 09e85023..4d97cc5c 100644 --- a/googleapiclient-stubs/_apis/chat/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/resources.pyi @@ -13,6 +13,27 @@ _list = list @typing.type_check_only class HangoutsChatResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CustomEmojisResource(googleapiclient.discovery.Resource): + def create( + self, *, body: CustomEmoji = ..., **kwargs: typing.Any + ) -> CustomEmojiHttpRequest: ... + def delete(self, *, name: str, **kwargs: typing.Any) -> EmptyHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> CustomEmojiHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCustomEmojisResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomEmojisResponseHttpRequest, + previous_response: ListCustomEmojisResponse, + ) -> ListCustomEmojisResponseHttpRequest | None: ... + @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): def download( @@ -248,6 +269,20 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only class SpacesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SpaceNotificationSettingResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SpaceNotificationSettingHttpRequest: ... + def patch( + self, + *, + name: str, + body: SpaceNotificationSetting = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> SpaceNotificationSettingHttpRequest: ... + @typing.type_check_only class ThreadsResource(googleapiclient.discovery.Resource): def getThreadReadState( @@ -265,6 +300,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> SpaceReadStateHttpRequest: ... + def spaceNotificationSetting(self) -> SpaceNotificationSettingResource: ... def threads(self) -> ThreadsResource: ... def spaces(self) -> SpacesResource: ... @@ -281,6 +317,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def customEmojis(self) -> CustomEmojisResource: ... def media(self) -> MediaResource: ... def spaces(self) -> SpacesResource: ... def users(self) -> UsersResource: ... @@ -301,6 +338,14 @@ class CompleteImportSpaceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CompleteImportSpaceResponse: ... +@typing.type_check_only +class CustomEmojiHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomEmoji: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -309,6 +354,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ListCustomEmojisResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomEmojisResponse: ... + @typing.type_check_only class ListMembershipsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -405,6 +458,14 @@ class SpaceEventHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SpaceEvent: ... +@typing.type_check_only +class SpaceNotificationSettingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SpaceNotificationSetting: ... + @typing.type_check_only class SpaceReadStateHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index 051f016c..f55fb1e4 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -60,15 +60,27 @@ class ActionStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Annotation(typing_extensions.TypedDict, total=False): + customEmojiMetadata: CustomEmojiMetadata length: int richLinkMetadata: RichLinkMetadata slashCommand: SlashCommandMetadata startIndex: int type: typing_extensions.Literal[ - "ANNOTATION_TYPE_UNSPECIFIED", "USER_MENTION", "SLASH_COMMAND", "RICH_LINK" + "ANNOTATION_TYPE_UNSPECIFIED", + "USER_MENTION", + "SLASH_COMMAND", + "RICH_LINK", + "CUSTOM_EMOJI", ] userMention: UserMentionMetadata +@typing.type_check_only +class AppCommandMetadata(typing_extensions.TypedDict, total=False): + appCommandId: int + appCommandType: typing_extensions.Literal[ + "APP_COMMAND_TYPE_UNSPECIFIED", "SLASH_COMMAND", "QUICK_COMMAND" + ] + @typing.type_check_only class AttachedGif(typing_extensions.TypedDict, total=False): uri: str @@ -174,8 +186,21 @@ class CompleteImportSpaceResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class CustomEmoji(typing_extensions.TypedDict, total=False): + emojiName: str + name: str + payload: CustomEmojiPayload + temporaryImageUri: str uid: str +@typing.type_check_only +class CustomEmojiMetadata(typing_extensions.TypedDict, total=False): + customEmoji: CustomEmoji + +@typing.type_check_only +class CustomEmojiPayload(typing_extensions.TypedDict, total=False): + fileContent: str + filename: str + @typing.type_check_only class DateInput(typing_extensions.TypedDict, total=False): msSinceEpoch: str @@ -196,11 +221,13 @@ class DeletionMetadata(typing_extensions.TypedDict, total=False): "APP_MESSAGE_EXPIRY", "CREATOR_VIA_APP", "SPACE_OWNER_VIA_APP", + "SPACE_MEMBER", ] @typing.type_check_only class DeprecatedEvent(typing_extensions.TypedDict, total=False): action: FormAction + appCommandMetadata: AppCommandMetadata common: CommonEventObject configCompleteRedirectUrl: str dialogEventType: typing_extensions.Literal[ @@ -210,6 +237,7 @@ class DeprecatedEvent(typing_extensions.TypedDict, total=False): isDialogEvent: bool message: Message space: Space + thread: Thread threadKey: str token: str type: typing_extensions.Literal[ @@ -219,6 +247,7 @@ class DeprecatedEvent(typing_extensions.TypedDict, total=False): "REMOVED_FROM_SPACE", "CARD_CLICKED", "WIDGET_UPDATED", + "APP_COMMAND", ] user: User @@ -509,6 +538,7 @@ class GoogleAppsCardV1Section(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleAppsCardV1SelectionInput(typing_extensions.TypedDict, total=False): externalDataSource: GoogleAppsCardV1Action + hintText: str items: _list[GoogleAppsCardV1SelectionItem] label: str multiSelectMaxSelectedItems: int @@ -701,6 +731,11 @@ class KeyValue(typing_extensions.TypedDict, total=False): onClick: OnClick topLabel: str +@typing.type_check_only +class ListCustomEmojisResponse(typing_extensions.TypedDict, total=False): + customEmojis: _list[CustomEmoji] + nextPageToken: str + @typing.type_check_only class ListMembershipsResponse(typing_extensions.TypedDict, total=False): memberships: _list[Membership] @@ -997,6 +1032,20 @@ class SpaceEvent(typing_extensions.TypedDict, total=False): spaceBatchUpdatedEventData: SpaceBatchUpdatedEventData spaceUpdatedEventData: SpaceUpdatedEventData +@typing.type_check_only +class SpaceNotificationSetting(typing_extensions.TypedDict, total=False): + muteSetting: typing_extensions.Literal[ + "MUTE_SETTING_UNSPECIFIED", "UNMUTED", "MUTED" + ] + name: str + notificationSetting: typing_extensions.Literal[ + "NOTIFICATION_SETTING_UNSPECIFIED", + "ALL", + "MAIN_CONVERSATIONS", + "FOR_YOU", + "OFF", + ] + @typing.type_check_only class SpaceReadState(typing_extensions.TypedDict, total=False): lastReadTime: str diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi index 443aa42f..facb1477 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi @@ -96,6 +96,35 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): @typing.type_check_only class ProfilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CommandsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponseHttpRequest, + previous_response: GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse, + ) -> ( + GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponseHttpRequest + | None + ): ... + def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -120,6 +149,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponseHttpRequest | None ): ... + def commands(self) -> CommandsResource: ... @typing.type_check_only class ReportsResource(googleapiclient.discovery.Resource): @@ -634,6 +664,26 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfileHttpRequest( num_retries: int = 0, ) -> GoogleChromeManagementVersionsV1ChromeBrowserProfile: ... +@typing.type_check_only +class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand: ... + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse: ... + @typing.type_check_only class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi index 628cdf43..0a666902 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi @@ -137,7 +137,7 @@ class GoogleChromeManagementV1BootPerformanceReport( @typing.type_check_only class GoogleChromeManagementV1BrowserVersion(typing_extensions.TypedDict, total=False): channel: typing_extensions.Literal[ - "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "DEV", "BETA", "STABLE", "LTS" + "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "DEV", "BETA", "STABLE" ] count: str deviceOsVersion: str @@ -161,6 +161,7 @@ class GoogleChromeManagementV1ChromeAppInfo(typing_extensions.TypedDict, total=F isKioskOnly: bool isTheme: bool kioskEnabled: bool + manifestVersion: str minUserCount: int permissions: _list[GoogleChromeManagementV1ChromeAppPermission] siteAccess: _list[GoogleChromeManagementV1ChromeAppSiteAccess] @@ -377,19 +378,23 @@ class GoogleChromeManagementV1DisplayDevice(typing_extensions.TypedDict, total=F displayHeightMm: int displayName: str displayWidthMm: int + edidVersion: str internal: bool manufactureYear: int manufacturerId: str modelId: int + serialNumber: int @typing.type_check_only class GoogleChromeManagementV1DisplayInfo(typing_extensions.TypedDict, total=False): deviceId: str displayName: str + edidVersion: str isInternal: bool refreshRate: int resolutionHeight: int resolutionWidth: int + serialNumber: int @typing.type_check_only class GoogleChromeManagementV1EnumeratePrintJobsResponse( @@ -451,7 +456,7 @@ class GoogleChromeManagementV1HeartbeatStatusReport( ): reportTime: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNKNOWN", "ONLINE", "OFFLINE" + "STATE_UNSPECIFIED", "UNKNOWN", "ONLINE", "OFFLINE", "DEVICE_OUTDATED" ] @typing.type_check_only @@ -688,6 +693,7 @@ class GoogleChromeManagementV1RiskAssessmentEntry( "RISK_ASSESSMENT_PROVIDER_UNSPECIFIED", "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR", "RISK_ASSESSMENT_PROVIDER_SPIN_AI", + "RISK_ASSESSMENT_PROVIDER_LAYERX", ] riskAssessment: GoogleChromeManagementV1RiskAssessment riskLevel: typing_extensions.Literal[ @@ -948,6 +954,7 @@ class GoogleChromeManagementV1TelemetryEvent(typing_extensions.TypedDict, total= networkStateChangeEvent: ( GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent ) + osCrashEvent: GoogleChromeManagementV1TelemetryOsCrashEvent reportTime: str usbPeripheralsEvent: GoogleChromeManagementV1TelemetryUsbPeripheralsEvent user: GoogleChromeManagementV1TelemetryUserInfo @@ -1029,6 +1036,22 @@ class GoogleChromeManagementV1TelemetryNotificationFilter( userEmail: str userOrgUnitId: str +@typing.type_check_only +class GoogleChromeManagementV1TelemetryOsCrashEvent( + typing_extensions.TypedDict, total=False +): + crashId: str + crashType: typing_extensions.Literal[ + "CRASH_TYPE_UNSPECIFIED", "CRASH_TYPE_KERNEL", "CRASH_TYPE_EMBEDDED_CONTROLLER" + ] + sessionType: typing_extensions.Literal[ + "SESSION_TYPE_UNSPECIFIED", + "SESSION_TYPE_SIGNED_IN_USER", + "SESSION_TYPE_KIOSK", + "SESSION_TYPE_MANAGED_GUEST", + "SESSION_TYPE_ACTIVE_DIRECTORY", + ] + @typing.type_check_only class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent( typing_extensions.TypedDict, total=False @@ -1150,20 +1173,18 @@ class GoogleChromeManagementVersionsV1AttestationCredential( class GoogleChromeManagementVersionsV1CertificateProvisioningProcess( typing_extensions.TypedDict, total=False ): - caConnectionAdapterConfigReference: str chromeOsDevice: GoogleChromeManagementVersionsV1ChromeOsDevice chromeOsUserSession: GoogleChromeManagementVersionsV1ChromeOsUserSession failureMessage: str + genericCaConnection: GoogleChromeManagementVersionsV1GenericCaConnection + genericProfile: GoogleChromeManagementVersionsV1GenericProfile issuedCertificate: str name: str - profileAdapterConfigReference: str provisioningProfileId: str signData: str signature: str signatureAlgorithm: typing_extensions.Literal[ - "SIGNATURE_ALGORITHM_UNSPECIFIED", - "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", - "SIGNATURE_ALGORITHM_ECDSA_SHA256", + "SIGNATURE_ALGORITHM_UNSPECIFIED", "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256" ] startTime: str subjectPublicKeyInfo: str @@ -1210,6 +1231,32 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfile( userEmail: str userId: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand( + typing_extensions.TypedDict, total=False +): + commandResult: ( + GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult + ) + commandState: typing_extensions.Literal[ + "COMMAND_STATE_UNSPECIFIED", "PENDING", "EXPIRED", "EXECUTED_BY_CLIENT" + ] + commandType: str + issueTime: str + name: str + payload: dict[str, typing.Any] + validDuration: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult( + typing_extensions.TypedDict, total=False +): + clientExecutionTime: str + resultCode: str + resultType: typing_extensions.Literal[ + "COMMAND_RESULT_TYPE_UNSPECIFIED", "IGNORED", "FAILURE", "SUCCESS" + ] + @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeOsDevice( typing_extensions.TypedDict, total=False @@ -1234,6 +1281,28 @@ class GoogleChromeManagementVersionsV1DeviceInfo( hostname: str machine: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1GenericCaConnection( + typing_extensions.TypedDict, total=False +): + caConnectionAdapterConfigReference: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1GenericProfile( + typing_extensions.TypedDict, total=False +): + profileAdapterConfigReference: str + +@typing.type_check_only +class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse( + typing_extensions.TypedDict, total=False +): + chromeBrowserProfileCommands: _list[ + GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand + ] + nextPageToken: str + totalSize: str + @typing.type_check_only class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse( typing_extensions.TypedDict, total=False @@ -1333,57 +1402,6 @@ class GoogleChromeManagementVersionsV1SignDataResponse( GoogleChromeManagementVersionsV1CertificateProvisioningProcess ) -@typing.type_check_only -class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess( - typing_extensions.TypedDict, total=False -): - caConnectionAdapterConfigReference: str - chromeOsDevice: GoogleChromeManagementVersionsV1alpha1ChromeOsDevice - chromeOsUserSession: GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession - failureMessage: str - issuedCertificate: str - name: str - profileAdapterConfigReference: str - provisioningProfileId: str - signData: str - signature: str - signatureAlgorithm: typing_extensions.Literal[ - "SIGNATURE_ALGORITHM_UNSPECIFIED", - "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", - "SIGNATURE_ALGORITHM_ECDSA_SHA256", - ] - startTime: str - subjectPublicKeyInfo: str - -@typing.type_check_only -class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice( - typing_extensions.TypedDict, total=False -): - deviceDirectoryApiId: str - serialNumber: str - -@typing.type_check_only -class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession( - typing_extensions.TypedDict, total=False -): - chromeOsDevice: GoogleChromeManagementVersionsV1alpha1ChromeOsDevice - userDirectoryApiId: str - userPrimaryEmail: str - -@typing.type_check_only -class GoogleChromeManagementVersionsV1alpha1SignDataMetadata( - typing_extensions.TypedDict, total=False -): - startTime: str - -@typing.type_check_only -class GoogleChromeManagementVersionsV1alpha1SignDataResponse( - typing_extensions.TypedDict, total=False -): - certificateProvisioningProcess: ( - GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess - ) - @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi index 6a62daa7..f86d29e8 100644 --- a/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi @@ -393,11 +393,17 @@ class Proto2DescriptorProto(typing_extensions.TypedDict, total=False): name: str nestedType: _list[Proto2DescriptorProto] oneofDecl: _list[Proto2OneofDescriptorProto] + visibility: typing_extensions.Literal[ + "VISIBILITY_UNSET", "VISIBILITY_LOCAL", "VISIBILITY_EXPORT" + ] @typing.type_check_only class Proto2EnumDescriptorProto(typing_extensions.TypedDict, total=False): name: str value: _list[Proto2EnumValueDescriptorProto] + visibility: typing_extensions.Literal[ + "VISIBILITY_UNSET", "VISIBILITY_LOCAL", "VISIBILITY_EXPORT" + ] @typing.type_check_only class Proto2EnumValueDescriptorProto(typing_extensions.TypedDict, total=False): @@ -443,6 +449,7 @@ class Proto2FileDescriptorProto(typing_extensions.TypedDict, total=False): enumType: _list[Proto2EnumDescriptorProto] messageType: _list[Proto2DescriptorProto] name: str + optionDependency: _list[str] package: str syntax: str diff --git a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi index 9cb3aa0a..25abc1c4 100644 --- a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi @@ -66,6 +66,7 @@ class Percentiles(typing_extensions.TypedDict, total=False): @typing.type_check_only class QueryHistoryRequest(typing_extensions.TypedDict, total=False): + collectionPeriodCount: int formFactor: typing_extensions.Literal[ "ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET" ] diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi index 9b8f8a21..741e1664 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi @@ -17,16 +17,16 @@ class CivicInfoResource(googleapiclient.discovery.Resource): class DivisionsResource(googleapiclient.discovery.Resource): def queryDivisionByAddress( self, *, address: str = ..., **kwargs: typing.Any - ) -> DivisionByAddressResponseHttpRequest: ... + ) -> CivicinfoApiprotosV2DivisionByAddressResponseHttpRequest: ... def search( self, *, query: str = ..., **kwargs: typing.Any - ) -> DivisionSearchResponseHttpRequest: ... + ) -> CivicinfoApiprotosV2DivisionSearchResponseHttpRequest: ... @typing.type_check_only class ElectionsResource(googleapiclient.discovery.Resource): def electionQuery( self, *, productionDataOnly: bool = ..., **kwargs: typing.Any - ) -> ElectionsQueryResponseHttpRequest: ... + ) -> CivicinfoApiprotosV2ElectionsQueryResponseHttpRequest: ... def voterInfoQuery( self, *, @@ -36,132 +36,7 @@ class CivicInfoResource(googleapiclient.discovery.Resource): productionDataOnly: bool = ..., returnAllAvailableData: bool = ..., **kwargs: typing.Any, - ) -> VoterInfoResponseHttpRequest: ... - - @typing.type_check_only - class RepresentativesResource(googleapiclient.discovery.Resource): - def representativeInfoByAddress( - self, - *, - address: str = ..., - includeOffices: bool = ..., - levels: typing_extensions.Literal[ - "international", - "country", - "administrativeArea1", - "regional", - "administrativeArea2", - "locality", - "subLocality1", - "subLocality2", - "special", - ] - | _list[ - typing_extensions.Literal[ - "international", - "country", - "administrativeArea1", - "regional", - "administrativeArea2", - "locality", - "subLocality1", - "subLocality2", - "special", - ] - ] = ..., - roles: typing_extensions.Literal[ - "headOfState", - "headOfGovernment", - "deputyHeadOfGovernment", - "governmentOfficer", - "executiveCouncil", - "legislatorUpperBody", - "legislatorLowerBody", - "highestCourtJudge", - "judge", - "schoolBoard", - "specialPurposeOfficer", - "otherRole", - ] - | _list[ - typing_extensions.Literal[ - "headOfState", - "headOfGovernment", - "deputyHeadOfGovernment", - "governmentOfficer", - "executiveCouncil", - "legislatorUpperBody", - "legislatorLowerBody", - "highestCourtJudge", - "judge", - "schoolBoard", - "specialPurposeOfficer", - "otherRole", - ] - ] = ..., - **kwargs: typing.Any, - ) -> RepresentativeInfoResponseHttpRequest: ... - def representativeInfoByDivision( - self, - *, - ocdId: str, - levels: typing_extensions.Literal[ - "international", - "country", - "administrativeArea1", - "regional", - "administrativeArea2", - "locality", - "subLocality1", - "subLocality2", - "special", - ] - | _list[ - typing_extensions.Literal[ - "international", - "country", - "administrativeArea1", - "regional", - "administrativeArea2", - "locality", - "subLocality1", - "subLocality2", - "special", - ] - ] = ..., - recursive: bool = ..., - roles: typing_extensions.Literal[ - "headOfState", - "headOfGovernment", - "deputyHeadOfGovernment", - "governmentOfficer", - "executiveCouncil", - "legislatorUpperBody", - "legislatorLowerBody", - "highestCourtJudge", - "judge", - "schoolBoard", - "specialPurposeOfficer", - "otherRole", - ] - | _list[ - typing_extensions.Literal[ - "headOfState", - "headOfGovernment", - "deputyHeadOfGovernment", - "governmentOfficer", - "executiveCouncil", - "legislatorUpperBody", - "legislatorLowerBody", - "highestCourtJudge", - "judge", - "schoolBoard", - "specialPurposeOfficer", - "otherRole", - ] - ] = ..., - **kwargs: typing.Any, - ) -> RepresentativeInfoDataHttpRequest: ... + ) -> CivicinfoApiprotosV2VoterInfoResponseHttpRequest: ... def new_batch_http_request( self, @@ -177,52 +52,43 @@ class CivicInfoResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def divisions(self) -> DivisionsResource: ... def elections(self) -> ElectionsResource: ... - def representatives(self) -> RepresentativesResource: ... - -@typing.type_check_only -class DivisionByAddressResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> DivisionByAddressResponse: ... - -@typing.type_check_only -class DivisionSearchResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> DivisionSearchResponse: ... @typing.type_check_only -class ElectionsQueryResponseHttpRequest(googleapiclient.http.HttpRequest): +class CivicinfoApiprotosV2DivisionByAddressResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> ElectionsQueryResponse: ... + ) -> CivicinfoApiprotosV2DivisionByAddressResponse: ... @typing.type_check_only -class RepresentativeInfoDataHttpRequest(googleapiclient.http.HttpRequest): +class CivicinfoApiprotosV2DivisionSearchResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> RepresentativeInfoData: ... + ) -> CivicinfoApiprotosV2DivisionSearchResponse: ... @typing.type_check_only -class RepresentativeInfoResponseHttpRequest(googleapiclient.http.HttpRequest): +class CivicinfoApiprotosV2ElectionsQueryResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> RepresentativeInfoResponse: ... + ) -> CivicinfoApiprotosV2ElectionsQueryResponse: ... @typing.type_check_only -class VoterInfoResponseHttpRequest(googleapiclient.http.HttpRequest): +class CivicinfoApiprotosV2VoterInfoResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> VoterInfoResponse: ... + ) -> CivicinfoApiprotosV2VoterInfoResponse: ... diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi index 091db58e..fb36511c 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi @@ -5,34 +5,78 @@ import typing_extensions _list = list @typing.type_check_only -class AdministrationRegion(typing_extensions.TypedDict, total=False): - electionAdministrationBody: AdministrativeBody - local_jurisdiction: AdministrationRegion +class CivicinfoApiprotosV2DivisionByAddressResponse( + typing_extensions.TypedDict, total=False +): + divisions: dict[str, typing.Any] + normalizedInput: CivicinfoSchemaV2SimpleAddressType + +@typing.type_check_only +class CivicinfoApiprotosV2DivisionSearchResponse( + typing_extensions.TypedDict, total=False +): + kind: str + results: _list[CivicinfoApiprotosV2DivisionSearchResult] + +@typing.type_check_only +class CivicinfoApiprotosV2DivisionSearchResult( + typing_extensions.TypedDict, total=False +): + aliases: _list[str] name: str - sources: _list[Source] + ocdId: str + +@typing.type_check_only +class CivicinfoApiprotosV2ElectionsQueryResponse( + typing_extensions.TypedDict, total=False +): + elections: _list[CivicinfoSchemaV2Election] + kind: str @typing.type_check_only -class AdministrativeBody(typing_extensions.TypedDict, total=False): +class CivicinfoApiprotosV2VoterInfoResponse(typing_extensions.TypedDict, total=False): + contests: _list[CivicinfoSchemaV2Contest] + dropOffLocations: _list[CivicinfoSchemaV2PollingLocation] + earlyVoteSites: _list[CivicinfoSchemaV2PollingLocation] + election: CivicinfoSchemaV2Election + kind: str + mailOnly: bool + normalizedInput: CivicinfoSchemaV2SimpleAddressType + otherElections: _list[CivicinfoSchemaV2Election] + pollingLocations: _list[CivicinfoSchemaV2PollingLocation] + precinctId: str + precincts: _list[CivicinfoSchemaV2Precinct] + state: _list[CivicinfoSchemaV2AdministrationRegion] + +@typing.type_check_only +class CivicinfoSchemaV2AdministrationRegion(typing_extensions.TypedDict, total=False): + electionAdministrationBody: CivicinfoSchemaV2AdministrativeBody + local_jurisdiction: CivicinfoSchemaV2AdministrationRegion + name: str + sources: _list[CivicinfoSchemaV2Source] + +@typing.type_check_only +class CivicinfoSchemaV2AdministrativeBody(typing_extensions.TypedDict, total=False): absenteeVotingInfoUrl: str ballotInfoUrl: str - correspondenceAddress: SimpleAddressType + correspondenceAddress: CivicinfoSchemaV2SimpleAddressType electionInfoUrl: str electionNoticeText: str electionNoticeUrl: str - electionOfficials: _list[ElectionOfficial] + electionOfficials: _list[CivicinfoSchemaV2ElectionOfficial] electionRegistrationConfirmationUrl: str electionRegistrationUrl: str electionRulesUrl: str hoursOfOperation: str name: str - physicalAddress: SimpleAddressType + physicalAddress: CivicinfoSchemaV2SimpleAddressType voter_services: _list[str] votingLocationFinderUrl: str @typing.type_check_only -class Candidate(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Candidate(typing_extensions.TypedDict, total=False): candidateUrl: str - channels: _list[Channel] + channels: _list[CivicinfoSchemaV2Channel] email: str name: str orderOnBallot: str @@ -41,16 +85,16 @@ class Candidate(typing_extensions.TypedDict, total=False): photoUrl: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Channel(typing_extensions.TypedDict, total=False): id: str type: str @typing.type_check_only -class Contest(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Contest(typing_extensions.TypedDict, total=False): ballotPlacement: str ballotTitle: str - candidates: _list[Candidate] - district: ElectoralDistrict + candidates: _list[CivicinfoSchemaV2Candidate] + district: CivicinfoSchemaV2ElectoralDistrict electorateSpecifications: str level: _list[ typing_extensions.Literal[ @@ -95,28 +139,12 @@ class Contest(typing_extensions.TypedDict, total=False): "otherRole", ] ] - sources: _list[Source] + sources: _list[CivicinfoSchemaV2Source] special: str type: str @typing.type_check_only -class DivisionByAddressResponse(typing_extensions.TypedDict, total=False): - divisions: dict[str, typing.Any] - normalizedInput: SimpleAddressType - -@typing.type_check_only -class DivisionSearchResponse(typing_extensions.TypedDict, total=False): - kind: str - results: _list[DivisionSearchResult] - -@typing.type_check_only -class DivisionSearchResult(typing_extensions.TypedDict, total=False): - aliases: _list[str] - name: str - ocdId: str - -@typing.type_check_only -class Election(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Election(typing_extensions.TypedDict, total=False): electionDay: str id: str name: str @@ -126,7 +154,7 @@ class Election(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ElectionOfficial(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2ElectionOfficial(typing_extensions.TypedDict, total=False): emailAddress: str faxNumber: str name: str @@ -134,12 +162,7 @@ class ElectionOfficial(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ElectionsQueryResponse(typing_extensions.TypedDict, total=False): - elections: _list[Election] - kind: str - -@typing.type_check_only -class ElectoralDistrict(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2ElectoralDistrict(typing_extensions.TypedDict, total=False): id: str name: str scope: typing_extensions.Literal[ @@ -160,73 +183,26 @@ class ElectoralDistrict(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GeographicDivision(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2GeographicDivision(typing_extensions.TypedDict, total=False): alsoKnownAs: _list[str] name: str officeIndices: _list[int] @typing.type_check_only -class Office(typing_extensions.TypedDict, total=False): - divisionId: str - levels: _list[ - typing_extensions.Literal[ - "international", - "country", - "administrativeArea1", - "regional", - "administrativeArea2", - "locality", - "subLocality1", - "subLocality2", - "special", - ] - ] - name: str - officialIndices: _list[int] - roles: _list[ - typing_extensions.Literal[ - "headOfState", - "headOfGovernment", - "deputyHeadOfGovernment", - "governmentOfficer", - "executiveCouncil", - "legislatorUpperBody", - "legislatorLowerBody", - "highestCourtJudge", - "judge", - "schoolBoard", - "specialPurposeOfficer", - "otherRole", - ] - ] - sources: _list[Source] - -@typing.type_check_only -class Official(typing_extensions.TypedDict, total=False): - address: _list[SimpleAddressType] - channels: _list[Channel] - emails: _list[str] - name: str - party: str - phones: _list[str] - photoUrl: str - urls: _list[str] - -@typing.type_check_only -class PollingLocation(typing_extensions.TypedDict, total=False): - address: SimpleAddressType +class CivicinfoSchemaV2PollingLocation(typing_extensions.TypedDict, total=False): + address: CivicinfoSchemaV2SimpleAddressType endDate: str latitude: float longitude: float name: str notes: str pollingHours: str - sources: _list[Source] + sources: _list[CivicinfoSchemaV2Source] startDate: str voterServices: str @typing.type_check_only -class Precinct(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Precinct(typing_extensions.TypedDict, total=False): administrationRegionId: str contestId: _list[str] datasetId: str @@ -243,21 +219,8 @@ class Precinct(typing_extensions.TypedDict, total=False): ward: str @typing.type_check_only -class RepresentativeInfoData(typing_extensions.TypedDict, total=False): - divisions: dict[str, typing.Any] - offices: _list[Office] - officials: _list[Official] - -@typing.type_check_only -class RepresentativeInfoResponse(typing_extensions.TypedDict, total=False): - divisions: dict[str, typing.Any] - kind: str - normalizedInput: SimpleAddressType - offices: _list[Office] - officials: _list[Official] - -@typing.type_check_only -class SimpleAddressType(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2SimpleAddressType(typing_extensions.TypedDict, total=False): + addressLine: _list[str] city: str line1: str line2: str @@ -267,21 +230,6 @@ class SimpleAddressType(typing_extensions.TypedDict, total=False): zip: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Source(typing_extensions.TypedDict, total=False): name: str official: bool - -@typing.type_check_only -class VoterInfoResponse(typing_extensions.TypedDict, total=False): - contests: _list[Contest] - dropOffLocations: _list[PollingLocation] - earlyVoteSites: _list[PollingLocation] - election: Election - kind: str - mailOnly: bool - normalizedInput: SimpleAddressType - otherElections: _list[Election] - pollingLocations: _list[PollingLocation] - precinctId: str - precincts: _list[Precinct] - state: _list[AdministrationRegion] diff --git a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi index 0ae581fe..aa148ef2 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi @@ -774,6 +774,9 @@ class ClassroomResource(googleapiclient.discovery.Resource): ) -> CourseHttpRequest: ... def delete(self, *, id: str, **kwargs: typing.Any) -> EmptyHttpRequest: ... def get(self, *, id: str, **kwargs: typing.Any) -> CourseHttpRequest: ... + def getGradingPeriodSettings( + self, *, courseId: str, **kwargs: typing.Any + ) -> GradingPeriodSettingsHttpRequest: ... def list( self, *, @@ -817,6 +820,14 @@ class ClassroomResource(googleapiclient.discovery.Resource): def update( self, *, id: str, body: Course = ..., **kwargs: typing.Any ) -> CourseHttpRequest: ... + def updateGradingPeriodSettings( + self, + *, + courseId: str, + body: GradingPeriodSettings = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GradingPeriodSettingsHttpRequest: ... def aliases(self) -> AliasesResource: ... def announcements(self) -> AnnouncementsResource: ... def courseWork(self) -> CourseWorkResource: ... @@ -1022,6 +1033,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class GradingPeriodSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GradingPeriodSettings: ... + @typing.type_check_only class GuardianHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi index 6a0819e8..de5d15fa 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi @@ -149,6 +149,7 @@ class CourseWork(typing_extensions.TypedDict, total=False): dueDate: Date dueTime: TimeOfDay gradeCategory: GradeCategory + gradingPeriodId: str id: str individualStudentsOptions: IndividualStudentsOptions materials: _list[Material] @@ -249,6 +250,12 @@ class Form(typing_extensions.TypedDict, total=False): thumbnailUrl: str title: str +@typing.type_check_only +class GeminiGem(typing_extensions.TypedDict, total=False): + id: str + title: str + url: str + @typing.type_check_only class GlobalPermission(typing_extensions.TypedDict, total=False): permission: typing_extensions.Literal["PERMISSION_UNSPECIFIED", "CREATE_COURSE"] @@ -286,6 +293,18 @@ class GradebookSettings(typing_extensions.TypedDict, total=False): ] gradeCategories: _list[GradeCategory] +@typing.type_check_only +class GradingPeriod(typing_extensions.TypedDict, total=False): + endDate: Date + id: str + startDate: Date + title: str + +@typing.type_check_only +class GradingPeriodSettings(typing_extensions.TypedDict, total=False): + applyToExistingCoursework: bool + gradingPeriods: _list[GradingPeriod] + @typing.type_check_only class Guardian(typing_extensions.TypedDict, total=False): guardianId: str @@ -403,7 +422,9 @@ class ListTopicResponse(typing_extensions.TypedDict, total=False): class Material(typing_extensions.TypedDict, total=False): driveFile: SharedDriveFile form: Form + gem: GeminiGem link: Link + notebook: NotebookLmNotebook youtubeVideo: YouTubeVideo @typing.type_check_only @@ -443,6 +464,12 @@ class Name(typing_extensions.TypedDict, total=False): fullName: str givenName: str +@typing.type_check_only +class NotebookLmNotebook(typing_extensions.TypedDict, total=False): + id: str + title: str + url: str + @typing.type_check_only class ReclaimStudentSubmissionRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi index ba39f575..5db2d68c 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi @@ -548,6 +548,7 @@ class GoogleIdentityAccesscontextmanagerV1EgressTo( externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1IngressFrom( @@ -583,6 +584,7 @@ class GoogleIdentityAccesscontextmanagerV1IngressTo( ): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1MethodSelector( diff --git a/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi index 97f56d1c..d11d1bde 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi @@ -248,6 +248,7 @@ class GoogleIdentityAccesscontextmanagerV1EgressTo( externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1IngressFrom( @@ -283,6 +284,7 @@ class GoogleIdentityAccesscontextmanagerV1IngressTo( ): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1MethodSelector( diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi index 2c5f620c..d45bd8fb 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi @@ -223,6 +223,7 @@ class GoogleIdentityAccesscontextmanagerV1EgressTo( externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1IngressFrom( @@ -258,6 +259,7 @@ class GoogleIdentityAccesscontextmanagerV1IngressTo( ): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1MethodSelector( diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi index 65c0458c..ea3284c3 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi @@ -231,6 +231,7 @@ class GoogleIdentityAccesscontextmanagerV1EgressTo( externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1IngressFrom( @@ -266,6 +267,7 @@ class GoogleIdentityAccesscontextmanagerV1IngressTo( ): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1MethodSelector( diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi index cbc40125..6b24c8d0 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi @@ -262,6 +262,7 @@ class GoogleIdentityAccesscontextmanagerV1EgressTo( externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1IngressFrom( @@ -297,6 +298,7 @@ class GoogleIdentityAccesscontextmanagerV1IngressTo( ): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] + roles: _list[str] @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1MethodSelector( diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi index ce285380..d661e930 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi @@ -135,13 +135,6 @@ class CloudbillingResource(googleapiclient.discovery.Resource): def price(self) -> PriceResource: ... def prices(self) -> PricesResource: ... - def estimateCostScenario( - self, - *, - billingAccount: str, - body: EstimateCostScenarioForBillingAccountRequest = ..., - **kwargs: typing.Any, - ) -> EstimateCostScenarioForBillingAccountResponseHttpRequest: ... def services(self) -> ServicesResource: ... def skuGroups(self) -> SkuGroupsResource: ... def skus(self) -> SkusResource: ... @@ -215,15 +208,6 @@ class CloudbillingResource(googleapiclient.discovery.Resource): def price(self) -> PriceResource: ... def prices(self) -> PricesResource: ... - @typing.type_check_only - class V1betaResource(googleapiclient.discovery.Resource): - def estimateCostScenario( - self, - *, - body: EstimateCostScenarioWithListPriceRequest = ..., - **kwargs: typing.Any, - ) -> EstimateCostScenarioWithListPriceResponseHttpRequest: ... - def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -239,27 +223,6 @@ class CloudbillingResource(googleapiclient.discovery.Resource): def billingAccounts(self) -> BillingAccountsResource: ... def skuGroups(self) -> SkuGroupsResource: ... def skus(self) -> SkusResource: ... - def v1beta(self) -> V1betaResource: ... - -@typing.type_check_only -class EstimateCostScenarioForBillingAccountResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> EstimateCostScenarioForBillingAccountResponse: ... - -@typing.type_check_only -class EstimateCostScenarioWithListPriceResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> EstimateCostScenarioWithListPriceResponse: ... @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPriceHttpRequest( diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi index 93774489..d1a3054d 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi @@ -4,198 +4,10 @@ import typing_extensions _list = list -@typing.type_check_only -class CacheFillRegions(typing_extensions.TypedDict, total=False): - destinationRegion: typing_extensions.Literal[ - "CACHE_FILL_DESTINATION_REGION_UNSPECIFIED", - "CACHE_FILL_DESTINATION_REGION_ASIA_PACIFIC", - "CACHE_FILL_DESTINATION_REGION_EUROPE", - "CACHE_FILL_DESTINATION_REGION_NORTH_AMERICA", - "CACHE_FILL_DESTINATION_REGION_OCEANIA", - "CACHE_FILL_DESTINATION_REGION_SOUTH_AMERICA", - "CACHE_FILL_DESTINATION_REGION_CHINA", - "CACHE_FILL_DESTINATION_REGION_OTHERS", - ] - sourceRegion: typing_extensions.Literal[ - "CACHE_FILL_SOURCE_REGION_UNSPECIFIED", - "CACHE_FILL_REGION_ASIA_PACIFIC", - "CACHE_FILL_SOURCE_REGION_EUROPE", - "CACHE_FILL_SOURCE_REGION_NORTH_AMERICA", - "CACHE_FILL_SOURCE_REGION_OCEANIA", - "CACHE_FILL_SOURCE_REGION_SOUTH_AMERICA", - ] - -@typing.type_check_only -class CloudCdnEgressWorkload(typing_extensions.TypedDict, total=False): - cacheEgressDestination: typing_extensions.Literal[ - "CACHE_EGRESS_DESTINATION_UNSPECIFIED", - "CACHE_EGRESS_DESTINATION_ASIA_PACIFIC", - "CACHE_EGRESS_DESTINATION_CHINA", - "CACHE_EGRESS_DESTINATION_EUROPE", - "CACHE_EGRESS_DESTINATION_NORTH_AMERICA", - "CACHE_EGRESS_DESTINATION_OCEANIA", - "CACHE_EGRESS_DESTINATION_LATIN_AMERICA", - "CACHE_EGRESS_DESTINATION_OTHER_DESTINATIONS", - ] - cacheEgressRate: Usage - -@typing.type_check_only -class CloudCdnWorkload(typing_extensions.TypedDict, total=False): - cacheFillOriginService: typing_extensions.Literal[ - "CACHE_FILL_ORIGIN_SERVICE_UNSPECIFIED", - "CACHE_FILL_ORIGIN_SERVICE_GOOGLE_CLOUD_STORAGE_BUCKET", - "CACHE_FILL_ORIGIN_SERVICE_BACKEND_SERVICE", - ] - cacheFillRate: Usage - cacheFillRegions: CacheFillRegions - cacheLookUpRate: Usage - -@typing.type_check_only -class CloudInterconnectEgressWorkload(typing_extensions.TypedDict, total=False): - egressRate: Usage - interconnectConnectionLocation: typing_extensions.Literal[ - "INTERCONNECT_CONNECTION_LOCATION_UNSPECIFIED", - "INTERCONNECT_CONNECTION_LOCATION_ASIA", - "INTERCONNECT_CONNECTION_LOCATION_EUROPE", - "INTERCONNECT_CONNECTION_LOCATION_NORTH_AMERICA", - "INTERCONNECT_CONNECTION_LOCATION_SOUTH_AMERICA", - "INTERCONNECT_CONNECTION_LOCATION_AUSTRALIA", - ] - -@typing.type_check_only -class CloudInterconnectWorkload(typing_extensions.TypedDict, total=False): - interconnectAttachments: _list[VlanAttachment] - interconnectType: typing_extensions.Literal[ - "INTERCONNECT_TYPE_UNSPECIFIED", - "INTERCONNECT_TYPE_DEDICATED", - "INTERCONNECT_TYPE_PARTNER", - ] - linkType: typing_extensions.Literal[ - "LINK_TYPE_UNSPECIFIED", - "LINK_TYPE_ETHERNET_10G_LR", - "LINK_TYPE_ETHERNET_100G_LR", - ] - provisionedLinkCount: Usage - -@typing.type_check_only -class CloudStorageEgressWorkload(typing_extensions.TypedDict, total=False): - destinationContinent: typing_extensions.Literal[ - "DESTINATION_CONTINENT_UNSPECIFIED", - "DESTINATION_CONTINENT_ASIA_PACIFIC", - "DESTINATION_CONTINENT_AUTRALIA", - "DESTINATION_CONTINENT_EUROPE", - "DESTINATION_CONTINENT_NORTH_AMERICA", - "DESTINATION_CONTINENT_SOUTH_AMERICA", - ] - egressRate: Usage - sourceContinent: typing_extensions.Literal[ - "SOURCE_CONTINENT_UNSPECIFIED", - "SOURCE_CONTINENT_ASIA_PACIFIC", - "SOURCE_CONTINENT_AUSTRALIA", - "SOURCE_CONTINENT_EUROPE", - "SOURCE_CONTINENT_NORTH_AMERICA", - "SOURCE_CONTINENT_SOUTH_AMERICA", - ] - -@typing.type_check_only -class CloudStorageWorkload(typing_extensions.TypedDict, total=False): - dataRetrieval: Usage - dataStored: Usage - dualRegion: DualRegional - multiRegion: MultiRegional - operationA: Usage - operationB: Usage - region: Regional - storageClass: str - -@typing.type_check_only -class Commitment(typing_extensions.TypedDict, total=False): - name: str - vmResourceBasedCud: VmResourceBasedCud - -@typing.type_check_only -class CommitmentCostEstimate(typing_extensions.TypedDict, total=False): - commitmentTotalCostEstimate: CostEstimate - name: str - skuCostEstimates: _list[SkuCostEstimate] - -@typing.type_check_only -class ComputeVmWorkload(typing_extensions.TypedDict, total=False): - enableConfidentialCompute: bool - guestAccelerator: GuestAccelerator - instancesRunning: Usage - licenses: _list[str] - machineType: MachineType - persistentDisks: _list[PersistentDisk] - preemptible: bool - region: str - -@typing.type_check_only -class CostEstimate(typing_extensions.TypedDict, total=False): - creditEstimates: _list[CreditEstimate] - netCostEstimate: Money - preCreditCostEstimate: Money - -@typing.type_check_only -class CostEstimationResult(typing_extensions.TypedDict, total=False): - currencyCode: str - segmentCostEstimates: _list[SegmentCostEstimate] - skus: _list[Sku] - -@typing.type_check_only -class CostScenario(typing_extensions.TypedDict, total=False): - commitments: _list[Commitment] - scenarioConfig: ScenarioConfig - workloads: _list[Workload] - -@typing.type_check_only -class CreditEstimate(typing_extensions.TypedDict, total=False): - creditAmount: Money - creditDescription: str - creditType: str - -@typing.type_check_only -class CustomMachineType(typing_extensions.TypedDict, total=False): - machineSeries: str - memorySizeGb: float - virtualCpuCount: str - @typing.type_check_only class Decimal(typing_extensions.TypedDict, total=False): value: str -@typing.type_check_only -class DualRegional(typing_extensions.TypedDict, total=False): - name: str - -@typing.type_check_only -class EstimateCostScenarioForBillingAccountRequest( - typing_extensions.TypedDict, total=False -): - costScenario: CostScenario - -@typing.type_check_only -class EstimateCostScenarioForBillingAccountResponse( - typing_extensions.TypedDict, total=False -): - costEstimationResult: CostEstimationResult - -@typing.type_check_only -class EstimateCostScenarioWithListPriceRequest( - typing_extensions.TypedDict, total=False -): - costScenario: CostScenario - -@typing.type_check_only -class EstimateCostScenarioWithListPriceResponse( - typing_extensions.TypedDict, total=False -): - costEstimationResult: CostEstimationResult - -@typing.type_check_only -class EstimationTimePoint(typing_extensions.TypedDict, total=False): - estimationTimeFrameOffset: str - @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo( typing_extensions.TypedDict, total=False @@ -602,184 +414,8 @@ class GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory( ): category: str -@typing.type_check_only -class GuestAccelerator(typing_extensions.TypedDict, total=False): - acceleratorCount: str - acceleratorType: str - -@typing.type_check_only -class InterRegionEgress(typing_extensions.TypedDict, total=False): - destinationRegion: str - egressRate: Usage - sourceRegion: str - -@typing.type_check_only -class IntraRegionEgress(typing_extensions.TypedDict, total=False): - egressRate: Usage - -@typing.type_check_only -class MachineType(typing_extensions.TypedDict, total=False): - customMachineType: CustomMachineType - predefinedMachineType: PredefinedMachineType - @typing.type_check_only class Money(typing_extensions.TypedDict, total=False): currencyCode: str nanos: int units: str - -@typing.type_check_only -class MultiRegional(typing_extensions.TypedDict, total=False): - name: str - -@typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): - diskSize: Usage - diskType: str - provisionedIops: Usage - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_ZONAL", "SCOPE_REGIONAL" - ] - -@typing.type_check_only -class PredefinedMachineType(typing_extensions.TypedDict, total=False): - machineType: str - -@typing.type_check_only -class PremiumTierEgressWorkload(typing_extensions.TypedDict, total=False): - destinationContinent: typing_extensions.Literal[ - "DESTINATION_CONTINENT_UNSPECIFIED", - "DESTINATION_CONTINENT_ASIA_PACIFIC", - "DESTINATION_CONTINENT_AFRICA", - "DESTINATION_CONTINENT_NORTH_AMERICA", - "DESTINATION_CONTINENT_AUTRALIA", - "DESTINATION_CONTINENT_CENTRAL_AMERICA", - "DESTINATION_CONTINENT_CHINA", - "DESTINATION_CONTINENT_EASTERN_EUROPE", - "DESTINATION_CONTINENT_WESTERN_EUROPE", - "DESTINATION_CONTINENT_EMEA", - "DESTINATION_CONTINENT_INDIA", - "DESTINATION_CONTINENT_MIDDLE_EAST", - "DESTINATION_CONTINENT_SOUTH_AMERICA", - ] - egressRate: Usage - sourceRegion: str - -@typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): - effectiveTime: EstimationTimePoint - priceType: str - rate: Rate - -@typing.type_check_only -class Rate(typing_extensions.TypedDict, total=False): - tiers: _list[RateTier] - unit: str - unitCount: float - -@typing.type_check_only -class RateTier(typing_extensions.TypedDict, total=False): - price: Money - startAmount: float - -@typing.type_check_only -class Regional(typing_extensions.TypedDict, total=False): - name: str - -@typing.type_check_only -class ScenarioConfig(typing_extensions.TypedDict, total=False): - estimateDuration: str - -@typing.type_check_only -class SegmentCostEstimate(typing_extensions.TypedDict, total=False): - commitmentCostEstimates: _list[CommitmentCostEstimate] - segmentStartTime: EstimationTimePoint - segmentTotalCostEstimate: CostEstimate - workloadCostEstimates: _list[WorkloadCostEstimate] - -@typing.type_check_only -class Sku(typing_extensions.TypedDict, total=False): - displayName: str - prices: _list[Price] - sku: str - -@typing.type_check_only -class SkuCostEstimate(typing_extensions.TypedDict, total=False): - costEstimate: CostEstimate - sku: str - usageAmount: float - usageUnit: str - -@typing.type_check_only -class StandardTierEgressWorkload(typing_extensions.TypedDict, total=False): - egressRate: Usage - sourceRegion: str - -@typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): - usageRateTimeline: UsageRateTimeline - -@typing.type_check_only -class UsageRateTimeline(typing_extensions.TypedDict, total=False): - unit: str - usageRateTimelineEntries: _list[UsageRateTimelineEntry] - -@typing.type_check_only -class UsageRateTimelineEntry(typing_extensions.TypedDict, total=False): - effectiveTime: EstimationTimePoint - usageRate: float - -@typing.type_check_only -class VlanAttachment(typing_extensions.TypedDict, total=False): - bandwidth: typing_extensions.Literal[ - "BANDWIDTH_UNSPECIFIED", - "BANDWIDTH_BPS_50M", - "BANDWIDTH_BPS_100M", - "BANDWIDTH_BPS_200M", - "BANDWIDTH_BPS_300M", - "BANDWIDTH_BPS_400M", - "BANDWIDTH_BPS_500M", - "BANDWIDTH_BPS_1G", - "BANDWIDTH_BPS_2G", - "BANDWIDTH_BPS_5G", - "BANDWIDTH_BPS_10G", - "BANDWIDTH_BPS_20G", - "BANDWIDTH_BPS_50G", - ] - vlanCount: Usage - -@typing.type_check_only -class VmResourceBasedCud(typing_extensions.TypedDict, total=False): - guestAccelerator: GuestAccelerator - machineSeries: str - memorySizeGb: float - plan: typing_extensions.Literal[ - "COMMITMENT_PLAN_UNSPECIFIED", "TWELVE_MONTH", "THIRTY_SIX_MONTH" - ] - region: str - virtualCpuCount: str - -@typing.type_check_only -class VmToVmEgressWorkload(typing_extensions.TypedDict, total=False): - interRegionEgress: InterRegionEgress - intraRegionEgress: IntraRegionEgress - -@typing.type_check_only -class Workload(typing_extensions.TypedDict, total=False): - cloudCdnEgressWorkload: CloudCdnEgressWorkload - cloudCdnWorkload: CloudCdnWorkload - cloudInterconnectEgressWorkload: CloudInterconnectEgressWorkload - cloudInterconnectWorkload: CloudInterconnectWorkload - cloudStorageEgressWorkload: CloudStorageEgressWorkload - cloudStorageWorkload: CloudStorageWorkload - computeVmWorkload: ComputeVmWorkload - name: str - premiumTierEgressWorkload: PremiumTierEgressWorkload - standardTierEgressWorkload: StandardTierEgressWorkload - vmToVmEgressWorkload: VmToVmEgressWorkload - -@typing.type_check_only -class WorkloadCostEstimate(typing_extensions.TypedDict, total=False): - name: str - skuCostEstimates: _list[SkuCostEstimate] - workloadTotalCostEstimate: CostEstimate diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi index 7b8464dd..a626c07f 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi @@ -136,6 +136,7 @@ class Build(typing_extensions.TypedDict, total=False): availableSecrets: Secrets buildTriggerId: str createTime: str + dependencies: _list[Dependency] failureInfo: FailureInfo finishTime: str gitConfig: GitConfig @@ -217,6 +218,7 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "E2_MEDIUM", ] pool: PoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ @@ -266,6 +268,7 @@ class BuildTrigger(typing_extensions.TypedDict, total=False): build: Build createTime: str description: str + developerConnectEventConfig: DeveloperConnectEventConfig disabled: bool eventType: typing_extensions.Literal[ "EVENT_TYPE_UNSPECIFIED", "REPO", "WEBHOOK", "PUBSUB", "MANUAL" @@ -386,12 +389,32 @@ class DeleteWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False createTime: str workerPool: str +@typing.type_check_only +class Dependency(typing_extensions.TypedDict, total=False): + empty: bool + gitSource: GitSourceDependency + @typing.type_check_only class DeveloperConnectConfig(typing_extensions.TypedDict, total=False): dir: str gitRepositoryLink: str revision: str +@typing.type_check_only +class DeveloperConnectEventConfig(typing_extensions.TypedDict, total=False): + gitRepositoryLink: str + gitRepositoryLinkType: typing_extensions.Literal[ + "GIT_REPOSITORY_LINK_TYPE_UNSPECIFIED", + "GITHUB", + "GITHUB_ENTERPRISE", + "GITLAB", + "GITLAB_ENTERPRISE", + "BITBUCKET_DATA_CENTER", + "BITBUCKET_CLOUD", + ] + pullRequest: PullRequestFilter + push: PushFilter + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -537,6 +560,19 @@ class GitSource(typing_extensions.TypedDict, total=False): revision: str url: str +@typing.type_check_only +class GitSourceDependency(typing_extensions.TypedDict, total=False): + depth: str + destPath: str + recurseSubmodules: bool + repository: GitSourceRepository + revision: str + +@typing.type_check_only +class GitSourceRepository(typing_extensions.TypedDict, total=False): + developerConnect: str + url: str + @typing.type_check_only class GoModule(typing_extensions.TypedDict, total=False): modulePath: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi index 03c66121..2bb339b2 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi @@ -84,6 +84,7 @@ class CloudBuildResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListRepositoriesResponseHttpRequest: ... def list_next( @@ -137,6 +138,7 @@ class CloudBuildResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListConnectionsResponseHttpRequest: ... def list_next( @@ -198,6 +200,7 @@ class CloudBuildResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi index 5c9b96c8..f1163210 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi @@ -216,6 +216,7 @@ class InstallationState(typing_extensions.TypedDict, total=False): class ListConnectionsResponse(typing_extensions.TypedDict, total=False): connections: _list[Connection] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): @@ -226,6 +227,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi index a6f34226..210c2ace 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi @@ -191,6 +191,11 @@ class GoogleCloudChannelV1Customer(typing_extensions.TypedDict, total=False): cloudIdentityInfo: GoogleCloudChannelV1CloudIdentityInfo correlationId: str createTime: str + customerAttestationState: typing_extensions.Literal[ + "CUSTOMER_ATTESTATION_STATE_UNSPECIFIED", + "EXEMPT", + "NON_EXEMPT_AND_INFO_VERIFIED", + ] domain: str languageCode: str name: str @@ -1039,8 +1044,11 @@ class GoogleCloudChannelV1alpha1OperationMetadata( class GoogleCloudChannelV1alpha1OpportunityEvent( typing_extensions.TypedDict, total=False ): - eventType: typing_extensions.Literal["TYPE_UNSPECIFIED", "CREATED", "UPDATED"] + eventType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "CREATED", "UPDATED", "PARTNER_DETACHED" + ] opportunity: str + partner: str @typing.type_check_only class GoogleCloudChannelV1alpha1Parameter(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi index f204874b..37c1a129 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi @@ -563,6 +563,7 @@ class CloudDeployResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi index d3c4ddb1..f3208801 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi @@ -118,6 +118,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi index 6e26e4c3..ee8e1c24 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi @@ -67,6 +67,8 @@ class CloudFunction(typing_extensions.TypedDict, total=False): network: str onDeployUpdatePolicy: OnDeployUpdatePolicy runtime: str + satisfiesPzi: bool + satisfiesPzs: bool secretEnvironmentVariables: _list[SecretEnvVar] secretVolumes: _list[SecretVolume] serviceAccountEmail: str diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi index d0fb2c87..fc2668ae 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi @@ -44,6 +44,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def detachFunction( + self, + *, + name: str, + body: DetachFunctionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def generateDownloadUrl( self, *, @@ -157,6 +164,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index 2c20968a..f9ed3ff1 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -55,6 +55,9 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EventFilter(typing_extensions.TypedDict, total=False): attribute: str @@ -92,10 +95,18 @@ class Function(typing_extensions.TypedDict, total=False): kmsKeyName: str labels: dict[str, typing.Any] name: str + satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "DEPLOYING", "DELETING", "UNKNOWN" + "STATE_UNSPECIFIED", + "ACTIVE", + "FAILED", + "DEPLOYING", + "DELETING", + "UNKNOWN", + "DETACHING", + "DETACH_FAILED", ] stateMessages: _list[GoogleCloudFunctionsV2StateMessage] updateTime: str @@ -131,6 +142,7 @@ class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total buildName: str cancelRequested: bool createTime: str + customIamRoleDetected: bool endTime: str operationType: typing_extensions.Literal[ "OPERATIONTYPE_UNSPECIFIED", @@ -333,7 +345,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): ... +class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + triggerServiceAccount: str @typing.type_check_only class Source(typing_extensions.TypedDict, total=False): @@ -384,5 +397,4 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "DETACH_IN_PROGRESS", ] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi index d0fb2c87..fc2668ae 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi @@ -44,6 +44,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def detachFunction( + self, + *, + name: str, + body: DetachFunctionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def generateDownloadUrl( self, *, @@ -157,6 +164,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi index af1ddc82..575a7f03 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi @@ -55,6 +55,9 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EventFilter(typing_extensions.TypedDict, total=False): attribute: str @@ -92,10 +95,18 @@ class Function(typing_extensions.TypedDict, total=False): kmsKeyName: str labels: dict[str, typing.Any] name: str + satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "DEPLOYING", "DELETING", "UNKNOWN" + "STATE_UNSPECIFIED", + "ACTIVE", + "FAILED", + "DEPLOYING", + "DELETING", + "UNKNOWN", + "DETACHING", + "DETACH_FAILED", ] stateMessages: _list[GoogleCloudFunctionsV2alphaStateMessage] updateTime: str @@ -135,6 +146,7 @@ class GoogleCloudFunctionsV2alphaOperationMetadata( buildName: str cancelRequested: bool createTime: str + customIamRoleDetected: bool endTime: str operationType: typing_extensions.Literal[ "OPERATIONTYPE_UNSPECIFIED", @@ -337,7 +349,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): ... +class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + triggerServiceAccount: str @typing.type_check_only class Source(typing_extensions.TypedDict, total=False): @@ -388,5 +401,4 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "DETACH_IN_PROGRESS", ] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi index d0fb2c87..fc2668ae 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi @@ -44,6 +44,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def detachFunction( + self, + *, + name: str, + body: DetachFunctionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def generateDownloadUrl( self, *, @@ -157,6 +164,7 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi index 19960d30..f770b176 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi @@ -55,6 +55,9 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EventFilter(typing_extensions.TypedDict, total=False): attribute: str @@ -92,10 +95,18 @@ class Function(typing_extensions.TypedDict, total=False): kmsKeyName: str labels: dict[str, typing.Any] name: str + satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "DEPLOYING", "DELETING", "UNKNOWN" + "STATE_UNSPECIFIED", + "ACTIVE", + "FAILED", + "DEPLOYING", + "DELETING", + "UNKNOWN", + "DETACHING", + "DETACH_FAILED", ] stateMessages: _list[GoogleCloudFunctionsV2betaStateMessage] updateTime: str @@ -135,6 +146,7 @@ class GoogleCloudFunctionsV2betaOperationMetadata( buildName: str cancelRequested: bool createTime: str + customIamRoleDetected: bool endTime: str operationType: typing_extensions.Literal[ "OPERATIONTYPE_UNSPECIFIED", @@ -337,7 +349,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): ... +class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + triggerServiceAccount: str @typing.type_check_only class Source(typing_extensions.TypedDict, total=False): @@ -388,5 +401,4 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "DETACH_IN_PROGRESS", ] diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index fca4bdda..e255126e 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -18,6 +18,9 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def getAutokeyConfig( self, *, name: str, **kwargs: typing.Any ) -> AutokeyConfigHttpRequest: ... + def getKajPolicyConfig( + self, *, name: str, **kwargs: typing.Any + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... def updateAutokeyConfig( self, *, @@ -26,6 +29,28 @@ class CloudKMSResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> AutokeyConfigHttpRequest: ... + def updateKajPolicyConfig( + self, + *, + name: str, + body: KeyAccessJustificationsPolicyConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... + + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + def getKajPolicyConfig( + self, *, name: str, **kwargs: typing.Any + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... + def updateKajPolicyConfig( + self, + *, + name: str, + body: KeyAccessJustificationsPolicyConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @@ -182,7 +207,13 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> CryptoKeyVersionHttpRequest: ... def getPublicKey( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + publicKeyFormat: typing_extensions.Literal[ + "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "NIST_PQC" + ] = ..., + **kwargs: typing.Any, ) -> PublicKeyHttpRequest: ... def import_( self, @@ -458,6 +489,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -482,9 +514,28 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def keyRings(self) -> KeyRingsResource: ... def operations(self) -> OperationsResource: ... + def getKajPolicyConfig( + self, *, name: str, **kwargs: typing.Any + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... def showEffectiveAutokeyConfig( self, *, parent: str, **kwargs: typing.Any ) -> ShowEffectiveAutokeyConfigResponseHttpRequest: ... + def showEffectiveKeyAccessJustificationsEnrollmentConfig( + self, *, project: str, **kwargs: typing.Any + ) -> ( + ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponseHttpRequest + ): ... + def showEffectiveKeyAccessJustificationsPolicyConfig( + self, *, project: str, **kwargs: typing.Any + ) -> ShowEffectiveKeyAccessJustificationsPolicyConfigResponseHttpRequest: ... + def updateKajPolicyConfig( + self, + *, + name: str, + body: KeyAccessJustificationsPolicyConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... def locations(self) -> LocationsResource: ... def new_batch_http_request( @@ -500,6 +551,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def folders(self) -> FoldersResource: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -590,6 +642,14 @@ class ImportJobHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ImportJob: ... +@typing.type_check_only +class KeyAccessJustificationsPolicyConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> KeyAccessJustificationsPolicyConfig: ... + @typing.type_check_only class KeyHandleHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -734,6 +794,26 @@ class ShowEffectiveAutokeyConfigResponseHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> ShowEffectiveAutokeyConfigResponse: ... +@typing.type_check_only +class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse: ... + +@typing.type_check_only +class ShowEffectiveKeyAccessJustificationsPolicyConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShowEffectiveKeyAccessJustificationsPolicyConfigResponse: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index 8d35caf8..a319b279 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -50,6 +50,7 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AutokeyConfig(typing_extensions.TypedDict, total=False): + etag: str keyProject: str name: str state: typing_extensions.Literal[ @@ -80,6 +81,11 @@ class CertificateChains(typing_extensions.TypedDict, total=False): googleCardCerts: _list[str] googlePartitionCerts: _list[str] +@typing.type_check_only +class ChecksummedData(typing_extensions.TypedDict, total=False): + crc32cChecksum: str + data: str + @typing.type_check_only class CryptoKey(typing_extensions.TypedDict, total=False): createTime: str @@ -141,6 +147,9 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] attestation: KeyOperationAttestation createTime: str @@ -211,6 +220,9 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] protectionLevel: typing_extensions.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" @@ -338,6 +350,9 @@ class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] cryptoKeyVersion: str importJob: str @@ -369,6 +384,11 @@ class ImportJob(typing_extensions.TypedDict, total=False): "IMPORT_JOB_STATE_UNSPECIFIED", "PENDING_GENERATION", "ACTIVE", "EXPIRED" ] +@typing.type_check_only +class KeyAccessJustificationsEnrollmentConfig(typing_extensions.TypedDict, total=False): + auditLogging: bool + policyEnforcement: bool + @typing.type_check_only class KeyAccessJustificationsPolicy(typing_extensions.TypedDict, total=False): allowedAccessReasons: _list[ @@ -388,6 +408,11 @@ class KeyAccessJustificationsPolicy(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class KeyAccessJustificationsPolicyConfig(typing_extensions.TypedDict, total=False): + defaultKeyAccessJustificationPolicy: KeyAccessJustificationsPolicy + name: str + @typing.type_check_only class KeyHandle(typing_extensions.TypedDict, total=False): kmsKey: str @@ -547,6 +572,9 @@ class PublicKey(typing_extensions.TypedDict, total=False): "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] name: str pem: str @@ -554,6 +582,10 @@ class PublicKey(typing_extensions.TypedDict, total=False): protectionLevel: typing_extensions.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" ] + publicKey: ChecksummedData + publicKeyFormat: typing_extensions.Literal[ + "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "NIST_PQC" + ] @typing.type_check_only class RawDecryptRequest(typing_extensions.TypedDict, total=False): @@ -619,6 +651,20 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): class ShowEffectiveAutokeyConfigResponse(typing_extensions.TypedDict, total=False): keyProject: str +@typing.type_check_only +class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse( + typing_extensions.TypedDict, total=False +): + externalConfig: KeyAccessJustificationsEnrollmentConfig + hardwareConfig: KeyAccessJustificationsEnrollmentConfig + softwareConfig: KeyAccessJustificationsEnrollmentConfig + +@typing.type_check_only +class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse( + typing_extensions.TypedDict, total=False +): + effectiveKajPolicy: KeyAccessJustificationsPolicyConfig + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/__init__.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi new file mode 100644 index 00000000..5cfa5c27 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/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/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi new file mode 100644 index 00000000..e8867c0d --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi @@ -0,0 +1,49 @@ +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", + ] + 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/cloudresourcemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi index b396ad86..41539dfb 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi @@ -273,6 +273,7 @@ class Policy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Project(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str labels: dict[str, typing.Any] lifecycleState: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi index 8d472ac9..f7f79a5e 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi @@ -178,6 +178,7 @@ class Policy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Project(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str labels: dict[str, typing.Any] lifecycleState: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi index b5fa4538..5bb738df 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi @@ -91,11 +91,13 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class Folder(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str displayName: str lifecycleState: typing_extensions.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] + managementProject: str name: str parent: str tags: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi index b5fa4538..5bb738df 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi @@ -91,11 +91,13 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class Folder(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str displayName: str lifecycleState: typing_extensions.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] + managementProject: str name: str parent: str tags: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi index 4dd4f03f..629f4e45 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi @@ -31,6 +31,20 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): @typing.type_check_only class FoldersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CapabilitiesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CapabilityHttpRequest: ... + def patch( + self, + *, + name: str, + body: Capability = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( self, *, body: Folder = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... @@ -100,6 +114,7 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): def undelete( self, *, name: str, body: UndeleteFolderRequest = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def capabilities(self) -> CapabilitiesResource: ... @typing.type_check_only class LiensResource(googleapiclient.discovery.Resource): @@ -122,6 +137,34 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): previous_response: ListLiensResponse, ) -> ListLiensResponseHttpRequest | None: ... + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EffectiveTagBindingCollectionsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EffectiveTagBindingCollectionHttpRequest: ... + + @typing.type_check_only + class TagBindingCollectionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TagBindingCollectionHttpRequest: ... + def update( + self, + *, + name: str, + body: TagBindingCollection = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def effectiveTagBindingCollections( + self, + ) -> EffectiveTagBindingCollectionsResource: ... + def tagBindingCollections(self) -> TagBindingCollectionsResource: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get(self, *, name: str, **kwargs: typing.Any) -> OperationHttpRequest: ... @@ -434,6 +477,7 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): def effectiveTags(self) -> EffectiveTagsResource: ... def folders(self) -> FoldersResource: ... def liens(self) -> LiensResource: ... + def locations(self) -> LocationsResource: ... def operations(self) -> OperationsResource: ... def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... @@ -441,6 +485,22 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): def tagKeys(self) -> TagKeysResource: ... def tagValues(self) -> TagValuesResource: ... +@typing.type_check_only +class CapabilityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Capability: ... + +@typing.type_check_only +class EffectiveTagBindingCollectionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EffectiveTagBindingCollection: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -585,6 +645,14 @@ class SearchProjectsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SearchProjectsResponse: ... +@typing.type_check_only +class TagBindingCollectionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TagBindingCollection: ... + @typing.type_check_only class TagKeyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi index d8c7b289..3255bb7e 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi @@ -22,6 +22,11 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class Capability(typing_extensions.TypedDict, total=False): + name: str + value: bool + @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( typing_extensions.TypedDict, total=False @@ -91,6 +96,12 @@ class EffectiveTag(typing_extensions.TypedDict, total=False): tagKeyParentName: str tagValue: str +@typing.type_check_only +class EffectiveTagBindingCollection(typing_extensions.TypedDict, total=False): + effectiveTags: dict[str, typing.Any] + fullResourceName: str + name: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -103,10 +114,12 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class Folder(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str deleteTime: str displayName: str etag: str + managementProject: str name: str parent: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] @@ -239,6 +252,7 @@ class Policy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Project(typing_extensions.TypedDict, total=False): + configuredCapabilities: _list[str] createTime: str deleteTime: str displayName: str @@ -290,6 +304,13 @@ class TagBinding(typing_extensions.TypedDict, total=False): tagValue: str tagValueNamespacedName: str +@typing.type_check_only +class TagBindingCollection(typing_extensions.TypedDict, total=False): + etag: str + fullResourceName: str + name: str + tags: dict[str, typing.Any] + @typing.type_check_only class TagHold(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi index f2f76147..d9427e06 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi @@ -94,6 +94,7 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi index 2500f679..1783aee9 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi @@ -62,6 +62,7 @@ class Job(typing_extensions.TypedDict, total=False): name: str pubsubTarget: PubsubTarget retryConfig: RetryConfig + satisfiesPzs: bool schedule: str scheduleTime: str state: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi index 876e7dc6..2bb65645 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi @@ -78,6 +78,7 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi index 13173bd8..7850b06f 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi @@ -60,6 +60,7 @@ class Job(typing_extensions.TypedDict, total=False): name: str pubsubTarget: PubsubTarget retryConfig: RetryConfig + satisfiesPzs: bool schedule: str scheduleTime: str state: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi index f9e7bc82..f46fafd4 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi @@ -223,16 +223,3 @@ class SearchCaseClassificationsResponse(typing_extensions.TypedDict, total=False class SearchCasesResponse(typing_extensions.TypedDict, total=False): cases: _list[Case] nextPageToken: str - -@typing.type_check_only -class WorkflowOperationMetadata(typing_extensions.TypedDict, total=False): - namespace: str - operationAction: typing_extensions.Literal[ - "OPERATION_ACTION_UNSPECIFIED", - "CREATE_SUPPORT_ACCOUNT", - "UPDATE_SUPPORT_ACCOUNT", - "PURCHASE_SUPPORT_ACCOUNT", - ] - workflowOperationType: typing_extensions.Literal[ - "UNKNOWN_OPERATION_TYPE", "WORKFLOWS_V1", "WORKFLOWS_V2" - ] diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi index 9b21cb37..a30bd515 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi @@ -260,16 +260,3 @@ class ShowFeedResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class TextContent(typing_extensions.TypedDict, total=False): plainText: str - -@typing.type_check_only -class WorkflowOperationMetadata(typing_extensions.TypedDict, total=False): - namespace: str - operationAction: typing_extensions.Literal[ - "OPERATION_ACTION_UNSPECIFIED", - "CREATE_SUPPORT_ACCOUNT", - "UPDATE_SUPPORT_ACCOUNT", - "PURCHASE_SUPPORT_ACCOUNT", - ] - workflowOperationType: typing_extensions.Literal[ - "UNKNOWN_OPERATION_TYPE", "WORKFLOWS_V1", "WORKFLOWS_V2" - ] diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi index 690d1b63..d763fe27 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi @@ -157,6 +157,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi index 9f102c79..4ca7dd63 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi @@ -196,6 +196,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi index 6002c241..e28b92d3 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi @@ -158,6 +158,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/composer/v1/resources.pyi b/googleapiclient-stubs/_apis/composer/v1/resources.pyi index 2a318f61..c373281f 100644 --- a/googleapiclient-stubs/_apis/composer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/resources.pyi @@ -178,6 +178,13 @@ class CloudComposerResource(googleapiclient.discovery.Resource): body: PollAirflowCommandRequest = ..., **kwargs: typing.Any, ) -> PollAirflowCommandResponseHttpRequest: ... + def restartWebServer( + self, + *, + name: str, + body: RestartWebServerRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def saveSnapshot( self, *, diff --git a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi index 95732f9d..13b5d096 100644 --- a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi @@ -335,6 +335,9 @@ class PrivateEnvironmentConfig(typing_extensions.TypedDict, total=False): class RecoveryConfig(typing_extensions.TypedDict, total=False): scheduledSnapshotsConfig: ScheduledSnapshotsConfig +@typing.type_check_only +class RestartWebServerRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SaveSnapshotRequest(typing_extensions.TypedDict, total=False): snapshotLocation: str diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index b8915ba9..016fa37f 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -152,6 +152,15 @@ class ComputeResource(googleapiclient.discovery.Resource): body: CalendarModeAdviceRequest = ..., **kwargs: typing.Any, ) -> CalendarModeAdviceResponseHttpRequest: ... + def capacity( + self, + *, + project: str, + region: str, + size: int, + body: CapacityAdviceRequest = ..., + **kwargs: typing.Any, + ) -> CapacityAdviceResponseHttpRequest: ... @typing.type_check_only class AutoscalersResource(googleapiclient.discovery.Resource): @@ -671,6 +680,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def bulkSetLabels( + self, + *, + project: str, + zone: str, + body: BulkZoneSetLabelsRequest = ..., + requestId: str = ..., + resource: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def createSnapshot( self, *, @@ -3269,6 +3288,14 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class InterconnectAttachmentGroupsResource(googleapiclient.discovery.Resource): + def createMembers( + self, + *, + project: str, + interconnectAttachmentGroup: str, + body: InterconnectAttachmentGroupsCreateMembersRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, *, @@ -3464,6 +3491,14 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class InterconnectGroupsResource(googleapiclient.discovery.Resource): + def createMembers( + self, + *, + project: str, + interconnectGroup: str, + body: InterconnectGroupsCreateMembersRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, *, @@ -3558,14 +3593,6 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: InterconnectLocationListHttpRequest, previous_response: InterconnectLocationList, ) -> InterconnectLocationListHttpRequest | None: ... - def testIamPermissions( - self, - *, - project: str, - resource: str, - body: TestPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class InterconnectRemoteLocationsResource(googleapiclient.discovery.Resource): @@ -3588,14 +3615,6 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: InterconnectRemoteLocationListHttpRequest, previous_response: InterconnectRemoteLocationList, ) -> InterconnectRemoteLocationListHttpRequest | None: ... - def testIamPermissions( - self, - *, - project: str, - resource: str, - body: TestPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class InterconnectsResource(googleapiclient.discovery.Resource): @@ -3838,6 +3857,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: GlobalSetPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def setLabels( + self, + *, + project: str, + resource: str, + body: GlobalSetLabelsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def testIamPermissions( self, *, @@ -4521,6 +4548,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, *, @@ -5041,6 +5077,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( @@ -5322,6 +5389,87 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RecoverableSnapshotsResource(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, + ) -> RecoverableSnapshotAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: RecoverableSnapshotAggregatedListHttpRequest, + previous_response: RecoverableSnapshotAggregatedList, + ) -> RecoverableSnapshotAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + recoverableSnapshot: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, recoverableSnapshot: str, **kwargs: typing.Any + ) -> RecoverableSnapshotHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RecoverableSnapshotListHttpRequest: ... + def list_next( + self, + previous_request: RecoverableSnapshotListHttpRequest, + previous_response: RecoverableSnapshotList, + ) -> RecoverableSnapshotListHttpRequest | None: ... + def recover( + self, + *, + project: str, + recoverableSnapshot: str, + requestId: str = ..., + snapshotName: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class RegionAutoscalersResource(googleapiclient.discovery.Resource): def delete( @@ -5392,6 +5540,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( @@ -5620,6 +5864,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( @@ -5839,6 +6166,71 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionHealthAggregationPoliciesResource(googleapiclient.discovery.Resource): + 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 aggregatedList( @@ -5992,6 +6384,84 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionHealthSourcesResource(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, + ) -> 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 @@ -6618,20 +7088,50 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, region: str, - resource: str, - body: RegionSetLabelsRequest = ..., - requestId: str = ..., + resource: str, + body: RegionSetLabelsRequest = ..., + 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 RegionMultiMigMembersResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + region: str, + multiMig: str, + multiMigMember: str, **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def testIamPermissions( + ) -> MultiMigMemberHttpRequest: ... + def list( self, *, project: str, region: str, - resource: str, - body: TestPermissionsRequest = ..., + multiMig: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> TestPermissionsResponseHttpRequest: ... + ) -> MultiMigMemberListHttpRequest: ... + def list_next( + self, + previous_request: MultiMigMemberListHttpRequest, + previous_response: MultiMigMemberList, + ) -> MultiMigMemberListHttpRequest | None: ... @typing.type_check_only class RegionMultiMigsResource(googleapiclient.discovery.Resource): @@ -7699,6 +8199,28 @@ class ComputeResource(googleapiclient.discovery.Resource): self, previous_request: RegionListHttpRequest, previous_response: RegionList ) -> RegionListHttpRequest | None: ... + @typing.type_check_only + class ReliabilityRisksResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, reliabilityRisk: str, **kwargs: typing.Any + ) -> ReliabilityRiskHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReliabilityRisksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReliabilityRisksListResponseHttpRequest, + previous_response: ReliabilityRisksListResponse, + ) -> ReliabilityRisksListResponseHttpRequest | None: ... + @typing.type_check_only class ReservationBlocksResource(googleapiclient.discovery.Resource): def get( @@ -7708,6 +8230,9 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, reservation: str, reservationBlock: str, + view: typing_extensions.Literal[ + "BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL" + ] = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... def list( @@ -7740,6 +8265,46 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ReservationSubBlocksResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + **kwargs: typing.Any, + ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSubBlocksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationSubBlocksListResponseHttpRequest, + previous_response: ReservationSubBlocksListResponse, + ) -> ReservationSubBlocksListResponseHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -8438,6 +9003,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, serviceAttachment: str, + showNatIps: bool = ..., **kwargs: typing.Any, ) -> ServiceAttachmentHttpRequest: ... def getIamPolicy( @@ -8504,6 +9070,68 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class SnapshotGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + snapshotGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, snapshotGroup: str, **kwargs: typing.Any + ) -> SnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + body: SnapshotGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListSnapshotGroupsHttpRequest: ... + def list_next( + self, + previous_request: ListSnapshotGroupsHttpRequest, + previous_response: ListSnapshotGroups, + ) -> ListSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class SnapshotSettingsResource(googleapiclient.discovery.Resource): def get( @@ -8961,7 +9589,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, @@ -8991,6 +9626,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( @@ -10285,17 +10922,25 @@ class ComputeResource(googleapiclient.discovery.Resource): 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: ... + def recoverableSnapshots(self) -> RecoverableSnapshotsResource: ... 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: ... @@ -10305,6 +10950,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionInstances(self) -> RegionInstancesResource: ... def regionInstantSnapshotGroups(self) -> RegionInstantSnapshotGroupsResource: ... def regionInstantSnapshots(self) -> RegionInstantSnapshotsResource: ... + def regionMultiMigMembers(self) -> RegionMultiMigMembersResource: ... def regionMultiMigs(self) -> RegionMultiMigsResource: ... def regionNetworkEndpointGroups(self) -> RegionNetworkEndpointGroupsResource: ... def regionNetworkFirewallPolicies( @@ -10323,13 +10969,16 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionUrlMaps(self) -> RegionUrlMapsResource: ... def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... + def reliabilityRisks(self) -> ReliabilityRisksResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... def routers(self) -> RoutersResource: ... def routes(self) -> RoutesResource: ... def securityPolicies(self) -> SecurityPoliciesResource: ... def serviceAttachments(self) -> ServiceAttachmentsResource: ... + def snapshotGroups(self) -> SnapshotGroupsResource: ... def snapshotSettings(self) -> SnapshotSettingsResource: ... def snapshots(self) -> SnapshotsResource: ... def sslCertificates(self) -> SslCertificatesResource: ... @@ -10507,6 +11156,14 @@ class CalendarModeAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CalendarModeAdviceResponse: ... +@typing.type_check_only +class CapacityAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CapacityAdviceResponse: ... + @typing.type_check_only class CommitmentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10531,6 +11188,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( @@ -10759,6 +11440,22 @@ 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 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( @@ -10807,6 +11504,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( @@ -11263,6 +11984,14 @@ class ListInstantSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListInstantSnapshotGroups: ... +@typing.type_check_only +class ListSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSnapshotGroups: ... + @typing.type_check_only class MachineImageHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11311,6 +12040,22 @@ class MultiMigHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MultiMig: ... +@typing.type_check_only +class MultiMigMemberHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MultiMigMember: ... + +@typing.type_check_only +class MultiMigMemberListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MultiMigMemberList: ... + @typing.type_check_only class MultiMigsListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11631,6 +12376,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( @@ -11711,6 +12472,30 @@ class QueuedResourcesAggregatedListHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> QueuedResourcesAggregatedList: ... +@typing.type_check_only +class RecoverableSnapshotHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RecoverableSnapshot: ... + +@typing.type_check_only +class RecoverableSnapshotAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RecoverableSnapshotAggregatedList: ... + +@typing.type_check_only +class RecoverableSnapshotListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RecoverableSnapshotList: ... + @typing.type_check_only class RegionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11817,6 +12602,22 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseHttpRequest( num_retries: int = 0, ) -> RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse: ... +@typing.type_check_only +class ReliabilityRiskHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReliabilityRisk: ... + +@typing.type_check_only +class ReliabilityRisksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReliabilityRisksListResponse: ... + @typing.type_check_only class ReservationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11857,6 +12658,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksGetResponse: ... + +@typing.type_check_only +class ReservationSubBlocksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksListResponse: ... + @typing.type_check_only class ResourcePolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12099,6 +12916,14 @@ class SnapshotAggregatedListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SnapshotAggregatedList: ... +@typing.type_check_only +class SnapshotGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SnapshotGroup: ... + @typing.type_check_only class SnapshotListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index 026cfb83..da790f2f 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -169,8 +169,10 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -195,10 +197,17 @@ class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=Fals @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): + aggregateAllocation: AllocationResourceStatusAggregateAllocation reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation +@typing.type_check_only +class AllocationResourceStatusAggregateAllocation( + typing_extensions.TypedDict, total=False +): + utilizations: dict[str, typing.Any] + @typing.type_check_only class AllocationResourceStatusSpecificSKUAllocation( typing_extensions.TypedDict, total=False @@ -477,8 +486,11 @@ 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 + region: str selfLink: str selfLinkWithId: str usedBy: _list[BackendBucketUsedBy] @@ -564,6 +576,7 @@ class BackendService(typing_extensions.TypedDict, total=False): customRequestHeaders: _list[str] customResponseHeaders: _list[str] description: str + dynamicForwarding: BackendServiceDynamicForwarding edgeSecurityPolicy: str enableCDN: bool externalManagedMigrationState: typing_extensions.Literal[ @@ -712,6 +725,16 @@ class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): dryRun: bool name: str +@typing.type_check_only +class BackendServiceDynamicForwarding(typing_extensions.TypedDict, total=False): + ipPortSelection: BackendServiceDynamicForwardingIpPortSelection + +@typing.type_check_only +class BackendServiceDynamicForwardingIpPortSelection( + typing_extensions.TypedDict, total=False +): + enabled: bool + @typing.type_check_only class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): disableConnectionDrainOnFailover: bool @@ -974,11 +997,14 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): + instantSnapshotGroupParameters: InstantSnapshotGroupParameters + snapshotGroupParameters: SnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): count: str + instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties locationPolicy: LocationPolicy minCount: str @@ -1003,6 +1029,15 @@ class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): ] targetVmCount: int +@typing.type_check_only +class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): + labelFingerprint: str + labels: dict[str, typing.Any] + +@typing.type_check_only +class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): + requests: _list[BulkSetLabelsRequest] + @typing.type_check_only class BundledLocalSsds(typing_extensions.TypedDict, total=False): defaultInterface: str @@ -1041,6 +1076,76 @@ class CallCredentials(typing_extensions.TypedDict, total=False): callCredentialType: typing_extensions.Literal["FROM_PLUGIN", "GCE_VM", "INVALID"] fromPlugin: MetadataCredentialsFromPlugin +@typing.type_check_only +class CapacityAdviceRequest(typing_extensions.TypedDict, total=False): + distributionPolicy: CapacityAdviceRequestDistributionPolicy + instanceFlexibilityPolicy: CapacityAdviceRequestInstanceFlexibilityPolicy + instanceProperties: CapacityAdviceRequestInstanceProperties + +@typing.type_check_only +class CapacityAdviceRequestDistributionPolicy(typing_extensions.TypedDict, total=False): + targetShape: typing_extensions.Literal[ + "ANY", "ANY_SINGLE_ZONE", "BALANCED", "TARGET_SHAPE_UNSPECIFIED" + ] + zones: _list[CapacityAdviceRequestDistributionPolicyZoneConfiguration] + +@typing.type_check_only +class CapacityAdviceRequestDistributionPolicyZoneConfiguration( + typing_extensions.TypedDict, total=False +): + zone: str + +@typing.type_check_only +class CapacityAdviceRequestInstanceFlexibilityPolicy( + typing_extensions.TypedDict, total=False +): + instanceSelections: dict[str, typing.Any] + +@typing.type_check_only +class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( + typing_extensions.TypedDict, total=False +): + machineTypes: _list[str] + +@typing.type_check_only +class CapacityAdviceRequestInstanceProperties(typing_extensions.TypedDict, total=False): + scheduling: CapacityAdviceRequestInstancePropertiesScheduling + +@typing.type_check_only +class CapacityAdviceRequestInstancePropertiesScheduling( + typing_extensions.TypedDict, total=False +): + provisioningModel: typing_extensions.Literal[ + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" + ] + +@typing.type_check_only +class CapacityAdviceResponse(typing_extensions.TypedDict, total=False): + recommendations: _list[CapacityAdviceResponseRecommendation] + +@typing.type_check_only +class CapacityAdviceResponseRecommendation(typing_extensions.TypedDict, total=False): + scores: CapacityAdviceResponseRecommendationScores + shards: _list[CapacityAdviceResponseRecommendationShard] + +@typing.type_check_only +class CapacityAdviceResponseRecommendationScores( + typing_extensions.TypedDict, total=False +): + obtainability: float + spotPreemption: float + +@typing.type_check_only +class CapacityAdviceResponseRecommendationShard( + typing_extensions.TypedDict, total=False +): + instanceCount: int + machineType: str + provisioningModel: typing_extensions.Literal[ + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" + ] + zone: str + @typing.type_check_only class ChannelCredentials(typing_extensions.TypedDict, total=False): certificates: TlsCertificatePaths @@ -1102,14 +1207,18 @@ class Commitment(typing_extensions.TypedDict, total=False): "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", "ACCELERATOR_OPTIMIZED_A3_ULTRA", + "ACCELERATOR_OPTIMIZED_A4", + "ACCELERATOR_OPTIMIZED_A4X", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", + "COMPUTE_OPTIMIZED_H4D", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_C4A", + "GENERAL_PURPOSE_C4D", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -1119,6 +1228,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", + "MEMORY_OPTIMIZED_M4_6TB", "MEMORY_OPTIMIZED_X4", "MEMORY_OPTIMIZED_X4_16TB", "MEMORY_OPTIMIZED_X4_24TB", @@ -1166,13 +1276,64 @@ 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): + 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 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] + warning: dict[str, typing.Any] + @typing.type_check_only class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): confidentialInstanceType: typing_extensions.Literal[ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] + confidentialParavisorConfig: ConfidentialParavisorConfig enableConfidentialCompute: bool +@typing.type_check_only +class ConfidentialParavisorConfig(typing_extensions.TypedDict, total=False): + confidentialTpmType: typing_extensions.Literal[ + "CONFIDENTIAL_TPM_TYPE_UNSPECIFIED", "EPHEMERAL", "NO_CC_TPM" + ] + sevSnpIrqMode: typing_extensions.Literal[ + "RESTRICTED", "SEV_SNP_IRQ_MODE_UNSPECIFIED", "UNRESTRICTED" + ] + @typing.type_check_only class ConnectionDraining(typing_extensions.TypedDict, total=False): drainingTimeoutSec: int @@ -1249,6 +1410,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 @@ -1310,6 +1477,10 @@ class Disk(typing_extensions.TypedDict, total=False): sourceImageId: str sourceInstantSnapshot: str sourceInstantSnapshotId: str + sourceMachineImage: str + sourceMachineImageDiskDeviceName: str + sourceMachineImageEncryptionKey: CustomerEncryptionKey + sourceMachineImageId: str sourceSnapshot: str sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str @@ -1378,6 +1549,7 @@ class DiskMoveRequest(typing_extensions.TypedDict, total=False): class DiskPairReplicationState(typing_extensions.TypedDict, total=False): dataReplicationState: typing_extensions.Literal[ "ASYNC_REPLICATION_STATE_INITIALIZING", + "ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_CG_HIGH_CHURN", "ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_HIGH_CHURN", "ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_SYSTEM_LAGGING", "ASYNC_REPLICATION_STATE_REPLICATING_HEALTHY", @@ -1414,6 +1586,9 @@ class DiskSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class DiskSettingsAccessLocation(typing_extensions.TypedDict, total=False): locations: dict[str, typing.Any] + policy: typing_extensions.Literal[ + "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" + ] @typing.type_check_only class DiskSettingsAccessLocationAccessLocationPreference( @@ -1591,6 +1766,7 @@ class Firewall(typing_extensions.TypedDict, total=False): logConfig: FirewallLogConfig name: str network: str + params: FirewallParams priority: int selfLink: str selfLinkWithId: str @@ -1614,6 +1790,10 @@ class FirewallLogConfig(typing_extensions.TypedDict, total=False): enable: bool metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] +@typing.type_check_only +class FirewallParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class FirewallPoliciesListAssociationsResponse( typing_extensions.TypedDict, total=False @@ -1638,6 +1818,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] @@ -1678,9 +1859,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 @@ -1691,6 +1874,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] + destNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destRegionCodes: _list[str] destThreatIntelligences: _list[str] layer4Configs: _list[FirewallPolicyRuleMatcherLayer4Config] @@ -1700,6 +1886,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] + srcNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] srcNetworks: _list[str] srcRegionCodes: _list[str] srcSecureTags: _list[FirewallPolicyRuleSecureTag] @@ -1844,6 +2033,7 @@ class FutureReservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + enableEmergentMaintenance: bool id: str kind: str name: str @@ -2036,8 +2226,10 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -2129,11 +2321,15 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): + instanceMaintenanceOngoingCount: int + instanceMaintenancePendingCount: int maintenanceOngoingCount: int maintenancePendingCount: int schedulingType: typing_extensions.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] + subblockInfraMaintenanceOngoingCount: int + subblockInfraMaintenancePendingCount: int upcomingGroupMaintenance: UpcomingMaintenance @typing.type_check_only @@ -2174,6 +2370,7 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): "SEV_LIVE_MIGRATABLE", "SEV_LIVE_MIGRATABLE_V2", "SEV_SNP_CAPABLE", + "SNP_SVSM_CAPABLE", "TDX_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", @@ -2219,6 +2416,34 @@ class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): response: str weightReportMode: typing_extensions.Literal["DISABLE", "DRY_RUN", "ENABLE"] +@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 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 class HealthCheck(typing_extensions.TypedDict, total=False): checkIntervalSec: int @@ -2332,6 +2557,48 @@ 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): + 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 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] + warning: dict[str, typing.Any] + @typing.type_check_only class HealthStatus(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -2558,6 +2825,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 @@ -2592,6 +2860,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] @@ -2700,6 +2972,17 @@ class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): memoryMb: int minNodeCpus: int +@typing.type_check_only +class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): + instanceSelections: dict[str, typing.Any] + +@typing.type_check_only +class InstanceFlexibilityPolicyInstanceSelection( + typing_extensions.TypedDict, total=False +): + machineTypes: _list[str] + rank: str + @typing.type_check_only class InstanceGroup(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -2859,6 +3142,7 @@ class InstanceGroupManagerInstanceLifecyclePolicy( onFailedHealthCheck: typing_extensions.Literal[ "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" ] + onRepair: InstanceGroupManagerInstanceLifecyclePolicyOnRepair @typing.type_check_only class InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal( @@ -2866,6 +3150,12 @@ class InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal( ): timeoutSec: int +@typing.type_check_only +class InstanceGroupManagerInstanceLifecyclePolicyOnRepair( + typing_extensions.TypedDict, total=False +): + allowChangingZone: typing_extensions.Literal["NO", "YES"] + @typing.type_check_only class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): id: str @@ -3235,6 +3525,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 @@ -3407,6 +3698,9 @@ class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=Fals "DIAGNOSE_AND_REPAIR", "EXECUTE_ALL_RECOMMENDED_SCANS", ] + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" + ] faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] @typing.type_check_only @@ -3524,6 +3818,10 @@ class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): ] zone: str +@typing.type_check_only +class InstantSnapshotGroupParameters(typing_extensions.TypedDict, total=False): + sourceInstantSnapshotGroup: str + @typing.type_check_only class InstantSnapshotGroupResourceStatus(typing_extensions.TypedDict, total=False): consistencyMembershipResolutionTime: str @@ -3563,7 +3861,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -3580,7 +3880,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] linkType: typing_extensions.Literal[ - "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] location: str macsec: InterconnectMacsec @@ -3592,7 +3894,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] requestedLinkCount: int satisfiesPzs: bool @@ -3837,6 +4141,75 @@ class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( attachments: _list[str] zone: str +@typing.type_check_only +class InterconnectAttachmentGroupsCreateMembers( + typing_extensions.TypedDict, total=False +): + attachments: _list[ + InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput + ] + intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] + templateAttachment: ( + InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput + ) + +@typing.type_check_only +class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + bandwidth: typing_extensions.Literal[ + "BPS_100G", + "BPS_100M", + "BPS_10G", + "BPS_1G", + "BPS_200M", + "BPS_20G", + "BPS_2G", + "BPS_300M", + "BPS_400M", + "BPS_500M", + "BPS_50G", + "BPS_50M", + "BPS_5G", + ] + candidateCloudRouterIpAddress: str + candidateCloudRouterIpv6Address: str + candidateCustomerRouterIpAddress: str + candidateCustomerRouterIpv6Address: str + candidateIpv6Subnets: _list[str] + candidateSubnets: _list[str] + cloudRouterIpv6InterfaceId: str + customerRouterIpv6InterfaceId: str + description: str + edgeAvailabilityDomain: typing_extensions.Literal[ + "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", "AVAILABILITY_DOMAIN_ANY" + ] + encryption: typing_extensions.Literal["IPSEC", "NONE"] + interconnect: str + ipsecInternalAddresses: _list[str] + l2Forwarding: InterconnectAttachmentL2Forwarding + mtu: int + multicastEnabled: bool + name: str + pairingKey: str + partnerAsn: str + partnerMetadata: InterconnectAttachmentPartnerMetadata + region: str + router: str + stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] + subnetLength: int + type: typing_extensions.Literal[ + "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" + ] + vlanTag8021q: int + +@typing.type_check_only +class InterconnectAttachmentGroupsCreateMembersRequest( + typing_extensions.TypedDict, total=False +): + request: InterconnectAttachmentGroupsCreateMembers + @typing.type_check_only class InterconnectAttachmentGroupsGetOperationalStatusResponse( typing_extensions.TypedDict, total=False @@ -3861,9 +4234,40 @@ class InterconnectAttachmentGroupsListResponse( class InterconnectAttachmentGroupsOperationalStatus( typing_extensions.TypedDict, total=False ): + attachmentStatuses: _list[ + InterconnectAttachmentGroupsOperationalStatusAttachmentStatus + ] + configured: InterconnectAttachmentGroupConfigured groupStatus: typing_extensions.Literal[ "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" ] + intent: InterconnectAttachmentGroupIntent + operational: InterconnectAttachmentGroupConfigured + +@typing.type_check_only +class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + attachment: str + isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing_extensions.Literal[ + "ATTACHMENT_STATUS_UNKNOWN", + "CONNECTION_DISABLED", + "CONNECTION_DOWN", + "CONNECTION_UP", + "DEFUNCT", + "IPSEC_CONFIGURATION_NEEDED_STATUS", + "IPSEC_READY_TO_RESUME_FLOW_STATUS", + "IPV4_DOWN_IPV6_UP", + "IPV4_UP_IPV6_DOWN", + "PARTNER_REQUEST_RECEIVED", + "PENDING_CUSTOMER", + "PENDING_PARTNER", + "PROVISIONED", + "ROUTER_CONFIGURATION_BROKEN", + "UNPROVISIONED", + ] @typing.type_check_only class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): @@ -4057,6 +4461,40 @@ class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( interconnects: _list[str] zone: str +@typing.type_check_only +class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): + intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] + interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] + templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput + +@typing.type_check_only +class InterconnectGroupsCreateMembersInterconnectInput( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + customerName: str + description: str + facility: str + interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing_extensions.Literal[ + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", + ] + name: str + nocContactEmail: str + remoteLocation: str + requestedFeatures: _list[ + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] + ] + requestedLinkCount: int + +@typing.type_check_only +class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): + request: InterconnectGroupsCreateMembers + @typing.type_check_only class InterconnectGroupsGetOperationalStatusResponse( typing_extensions.TypedDict, total=False @@ -4108,11 +4546,15 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] availableLinkTypes: _list[ typing_extensions.Literal[ - "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str @@ -4162,6 +4604,7 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): @typing.type_check_only class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): expectedRttMs: str + l2ForwardingEnabled: bool locationPresence: typing_extensions.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] @@ -4308,6 +4751,7 @@ class IpOwnerList(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str selfLink: str + unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -4406,6 +4850,17 @@ class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ListSnapshotGroups(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[SnapshotGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class LocalDisk(typing_extensions.TypedDict, total=False): diskCount: int @@ -4440,8 +4895,11 @@ class MachineImage(typing_extensions.TypedDict, total=False): id: str instanceProperties: InstanceProperties kind: str + labelFingerprint: str + labels: dict[str, typing.Any] machineImageEncryptionKey: CustomerEncryptionKey name: str + params: MachineImageParams satisfiesPzi: bool satisfiesPzs: bool savedDisks: _list[SavedDisk] @@ -4465,6 +4923,11 @@ class MachineImageList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class MachineImageParams(typing_extensions.TypedDict, total=False): + excludedDisks: _list[str] + includedDisks: _list[str] + @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] @@ -4555,6 +5018,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromConfig: PreservedState preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy + scheduling: ManagedInstanceScheduling sizeInUnit: float tag: str targetStatus: typing_extensions.Literal[ @@ -4589,7 +5053,7 @@ class ManagedInstanceInstanceFlexibilityOverride( ): machineType: str provisioningModel: typing_extensions.Literal[ - "RESERVATION_BOUND", "SPOT", "STANDARD" + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only @@ -4610,9 +5074,13 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( ): machineType: str provisioningModel: typing_extensions.Literal[ - "RESERVATION_BOUND", "SPOT", "STANDARD" + "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 @@ -4658,6 +5126,31 @@ class MultiMig(typing_extensions.TypedDict, total=False): 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 +class MultiMigMemberList(typing_extensions.TypedDict, total=False): + id: str + items: _list[MultiMigMember] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class MultiMigMemberStatus(typing_extensions.TypedDict, total=False): + instanceGroupManager: str + @typing.type_check_only class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): workloadPolicy: str @@ -4665,6 +5158,7 @@ class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiMigStatus(typing_extensions.TypedDict, total=False): memberInstanceGroupManagers: _list[str] + membersCount: int @typing.type_check_only class MultiMigsList(typing_extensions.TypedDict, total=False): @@ -4726,6 +5220,7 @@ class Network(typing_extensions.TypedDict, total=False): "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str + params: NetworkParams peerings: _list[NetworkPeering] region: str routingConfig: NetworkRoutingConfig @@ -4833,7 +5328,6 @@ class NetworkEndpoint(typing_extensions.TypedDict, total=False): ipAddress: str ipv6Address: str port: int - zone: str @typing.type_check_only class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): @@ -5038,10 +5532,15 @@ class NetworkList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class NetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class NetworkPeering(typing_extensions.TypedDict, total=False): advertisePeerSubnetsViaRouters: bool autoCreateRoutes: bool + connectionStatus: NetworkPeeringConnectionStatus exchangeSubnetRoutes: bool exportCustomRoutes: bool exportSubnetRoutesWithPublicIp: bool @@ -5053,6 +5552,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): @@ -5068,9 +5601,9 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): kind: str location: NetworkProfileLocation name: str + profileType: NetworkProfileProfileType selfLink: str selfLinkWithId: str - zone: str @typing.type_check_only class NetworkProfileLocation(typing_extensions.TypedDict, total=False): @@ -5105,18 +5638,28 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowCloudRouter: typing_extensions.Literal[ "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" ] + allowDefaultNicAttachment: typing_extensions.Literal[ + "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" + ] allowExternalIpAccess: typing_extensions.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] allowInterconnect: typing_extensions.Literal[ "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" ] + allowIpForwarding: typing_extensions.Literal[ + "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" + ] allowLoadBalancing: typing_extensions.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing_extensions.Literal[ + "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" + ] allowPacketMirroring: typing_extensions.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] @@ -5154,8 +5697,33 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] + subnetworkPurposes: _list[ + typing_extensions.Literal[ + "AGGREGATE", + "CLOUD_EXTENSION", + "CUSTOM_HARDWARE_LINK", + "GLOBAL_MANAGED_PROXY", + "INTERNAL_HTTPS_LOAD_BALANCER", + "PEER_MIGRATION", + "PRIVATE", + "PRIVATE_NAT", + "PRIVATE_RFC_1918", + "PRIVATE_SERVICE_CONNECT", + "REGIONAL_MANAGED_PROXY", + ] + ] + subnetworkStackTypes: _list[ + typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + ] 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 @@ -5216,6 +5784,10 @@ class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy( 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 @@ -5731,6 +6303,75 @@ 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 + rolloutStatus: PreviewFeatureRolloutOperationRolloutStatus + +@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", + ] + 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" + ] + updateDate: Date + @typing.type_check_only class Principal(typing_extensions.TypedDict, total=False): condition: str @@ -5831,6 +6472,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"] @@ -5878,12 +6520,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 @@ -5892,6 +6536,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str status: typing_extensions.Literal[ + "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", "ANNOUNCED_TO_INTERNET", @@ -5927,11 +6572,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 @@ -6201,6 +6848,97 @@ class RbacPolicy(typing_extensions.TypedDict, total=False): permissions: _list[Permission] principals: _list[Principal] +@typing.type_check_only +class RecoverableSnapshot(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + name: str + originalResource: RecoverableSnapshotOriginalSnapshot + purgeTimestamp: str + satisfiesPzi: bool + satisfiesPzs: bool + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal[ + "CREATING", "DELETING", "FAILED", "READY", "RECOVERING", "UNKNOWN" + ] + +@typing.type_check_only +class RecoverableSnapshotAggregatedList(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 RecoverableSnapshotList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[RecoverableSnapshot] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class RecoverableSnapshotOriginalSnapshot(typing_extensions.TypedDict, total=False): + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" + ] + autoCreated: bool + autoCreatedBy: str + chainName: str + creationSizeBytes: str + creationTimestamp: str + deletionTimestamp: str + description: str + diskSizeGb: str + downloadBytes: str + enableConfidentialCompute: bool + full: bool + guestOsFeatures: _list[GuestOsFeature] + id: str + labelFingerprint: str + labels: dict[str, typing.Any] + licenseCodes: _list[str] + licenses: _list[str] + maxRetentionDays: int + name: str + region: str + satisfiesPzi: bool + satisfiesPzs: bool + selfLink: str + selfLinkWithId: str + snapshotEncryptionKey: CustomerEncryptionKey + snapshotGroupId: str + snapshotGroupName: str + snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] + sourceDisk: str + sourceDiskEncryptionKey: CustomerEncryptionKey + sourceDiskForRecoveryCheckpoint: str + sourceDiskId: str + sourceInstantSnapshot: str + sourceInstantSnapshotEncryptionKey: CustomerEncryptionKey + sourceInstantSnapshotId: str + sourceSnapshotSchedulePolicy: str + sourceSnapshotSchedulePolicyId: str + storageBytes: str + storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageLocations: _list[str] + userLicenses: _list[str] + +@typing.type_check_only +class RecoverableSnapshotsScopedList(typing_extensions.TypedDict, total=False): + recoverablesnapshots: _list[RecoverableSnapshot] + warning: dict[str, typing.Any] + @typing.type_check_only class Reference(typing_extensions.TypedDict, total=False): kind: str @@ -6527,6 +7265,28 @@ class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): class RegionWaitForReplicationCatchUpRequest(typing_extensions.TypedDict, total=False): maxWaitDuration: str +@typing.type_check_only +class ReliabilityRisk(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + details: RiskDetails + id: str + kind: str + name: str + recommendation: RiskRecommendation + selfLink: str + selfLinkWithId: str + +@typing.type_check_only +class ReliabilityRisksListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[ReliabilityRisk] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class ReplicationDetails(typing_extensions.TypedDict, total=False): lastReplicationTime: str @@ -6553,13 +7313,24 @@ class Reservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + enableEmergentMaintenance: bool id: str 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" + ] reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] selfLink: str selfLinkWithId: str shareSettings: ShareSettings @@ -6604,6 +7375,8 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): name: str physicalTopology: ReservationBlockPhysicalTopology reservationMaintenance: GroupMaintenanceInfo + reservationSubBlockCount: int + reservationSubBlockInUseCount: int selfLink: str selfLinkWithId: str status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] @@ -6613,6 +7386,22 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str cluster: str + instances: _list[ReservationBlockPhysicalTopologyInstance] + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstance( + typing_extensions.TypedDict, total=False +): + instanceId: str + physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology + projectId: str + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( + typing_extensions.TypedDict, total=False +): + host: str + subBlock: str @typing.type_check_only class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): @@ -6636,6 +7425,40 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlock(typing_extensions.TypedDict, total=False): + count: int + creationTimestamp: str + id: str + inUseCount: int + kind: str + name: str + physicalTopology: ReservationSubBlockPhysicalTopology + reservationSubBlockMaintenance: GroupMaintenanceInfo + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + zone: str + +@typing.type_check_only +class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + subBlock: str + +@typing.type_check_only +class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSubBlock + +@typing.type_check_only +class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSubBlock] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class ReservationsBlocksPerformMaintenanceRequest( typing_extensions.TypedDict, total=False @@ -6810,6 +7633,7 @@ class ResourcePolicySnapshotSchedulePolicySnapshotProperties( chainName: str guestFlush: bool labels: dict[str, typing.Any] + region: str storageLocations: _list[str] @typing.type_check_only @@ -6850,11 +7674,16 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopology: str + 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): acceleratorStatus: _list[ResourceStatusAcceleratorStatus] + consumedReservation: str + consumedReservationBlock: str + effectiveInstanceMetadata: ResourceStatusEffectiveInstanceMetadata lastInstanceTerminationDetails: ResourceStatusLastInstanceTerminationDetails physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology @@ -6887,6 +7716,17 @@ class ResourceStatusAcceleratorStatusRecommendedScan( name: str version: str +@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 ResourceStatusLastInstanceTerminationDetails( typing_extensions.TypedDict, total=False @@ -6905,6 +7745,7 @@ class ResourceStatusLastInstanceTerminationDetails( "SCHEDULED_STOP", "SHUTDOWN_DUE_TO_HOST_ERROR", "SHUTDOWN_DUE_TO_MAINTENANCE", + "SHUTDOWN_DUE_TO_POWER_EVENT", "USER_TERMINATED", ] @@ -6940,6 +7781,28 @@ class ResourceStatusShutdownDetails(typing_extensions.TypedDict, total=False): stopState: typing_extensions.Literal["PENDING_STOP", "STOPPING"] targetState: typing_extensions.Literal["DELETED", "STOPPED"] +@typing.type_check_only +class RiskDetails(typing_extensions.TypedDict, total=False): + duration: str + globalDnsInsight: RiskDetailsGlobalDnsInsight + lastUpdateTimestamp: str + severity: typing_extensions.Literal[ + "CRITICAL", "HIGH", "LOW", "MEDIUM", "SEVERITY_UNSPECIFIED" + ] + type: typing_extensions.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RiskDetailsGlobalDnsInsight(typing_extensions.TypedDict, total=False): + projectDefaultIsGlobalDns: bool + queryObservationWindow: str + riskyQueryCount: str + totalQueryCount: str + +@typing.type_check_only +class RiskRecommendation(typing_extensions.TypedDict, total=False): + content: str + referenceUrl: str + @typing.type_check_only class RolloutPolicy(typing_extensions.TypedDict, total=False): defaultRolloutTime: str @@ -6971,6 +7834,7 @@ class Route(typing_extensions.TypedDict, total=False): nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str + params: RouteParams priority: int routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] @@ -6995,6 +7859,10 @@ class RouteList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class RouteParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class RoutePolicy(typing_extensions.TypedDict, total=False): description: str @@ -7026,6 +7894,7 @@ class Router(typing_extensions.TypedDict, total=False): nats: _list[RouterNat] nccGateway: str network: str + params: RouterParams region: str selfLink: str selfLinkWithId: str @@ -7209,12 +8078,17 @@ 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] bestRoutesForRouter: _list[Route] bgpPeerStatus: _list[RouterStatusBgpPeerStatus] natStatus: _list[RouterStatusNatStatus] + nccGateway: str network: str @typing.type_check_only @@ -7391,12 +8265,19 @@ 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" ] shutdownTimeout: Duration + skipGuestOsShutdown: bool terminationTime: str windowsLicenseOptimizationMode: typing_extensions.Literal[ - "AUTO", "BALANCED", "COST_OPTIMIZED", "OFF", "PERFORMANCE", "UNSPECIFIED" + "AUTO", + "BALANCED", + "COST_OPTIMIZED", + "MANAGED", + "OFF", + "PERFORMANCE", + "UNSPECIFIED", ] @typing.type_check_only @@ -7564,6 +8445,8 @@ class SecurityPolicyCloudArmorConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): + ddosAdaptiveProtection: typing_extensions.Literal["DISABLED", "ENABLED", "PREVIEW"] + ddosImpactedBaselineThreshold: float ddosProtection: typing_extensions.Literal[ "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" ] @@ -7862,6 +8745,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[ @@ -8020,6 +8904,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): locationHint: str maxRetentionDays: int name: str + params: SnapshotParams region: str resourceStatus: SnapshotResourceStatus satisfiesPzi: bool @@ -8027,6 +8912,8 @@ class Snapshot(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str snapshotEncryptionKey: CustomerEncryptionKey + snapshotGroupId: str + snapshotGroupName: str snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey @@ -8056,6 +8943,40 @@ class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class SnapshotGroup(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + name: str + selfLink: str + selfLinkWithId: str + sourceInfo: SnapshotGroupSourceInfo + sourceInstantSnapshotGroup: str + sourceInstantSnapshotGroupInfo: SnapshotGroupSourceInstantSnapshotGroupInfo + status: typing_extensions.Literal[ + "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN", "UPLOADING" + ] + +@typing.type_check_only +class SnapshotGroupParameters(typing_extensions.TypedDict, total=False): + replicaZones: _list[str] + sourceSnapshotGroup: str + type: str + +@typing.type_check_only +class SnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): + consistencyGroup: str + consistencyGroupId: str + +@typing.type_check_only +class SnapshotGroupSourceInstantSnapshotGroupInfo( + typing_extensions.TypedDict, total=False +): + instantSnapshotGroup: str + instantSnapshotGroupId: str + @typing.type_check_only class SnapshotList(typing_extensions.TypedDict, total=False): id: str @@ -8065,6 +8986,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 SnapshotResourceStatus(typing_extensions.TypedDict, total=False): scheduledDeletionTime: str @@ -8077,6 +9002,9 @@ class SnapshotSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SnapshotSettingsAccessLocation(typing_extensions.TypedDict, total=False): locations: dict[str, typing.Any] + policy: typing_extensions.Literal[ + "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" + ] @typing.type_check_only class SnapshotSettingsAccessLocationAccessLocationPreference( @@ -8455,6 +9383,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] name: str network: str + params: SubnetworkParams privateIpGoogleAccess: bool privateIpv6GoogleAccess: typing_extensions.Literal[ "DISABLE_GOOGLE_ACCESS", @@ -8482,6 +9411,9 @@ class Subnetwork(typing_extensions.TypedDict, total=False): selfLinkWithId: str stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] state: typing_extensions.Literal["DRAINING", "READY"] + systemReservedExternalIpv6Ranges: _list[str] + systemReservedInternalIpv6Ranges: _list[str] + utilizationDetails: SubnetworkUtilizationDetails vlans: _list[int] @typing.type_check_only @@ -8521,12 +9453,38 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): ] metadataFields: _list[str] +@typing.type_check_only +class SubnetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ipCidrRange: str 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 @@ -9005,6 +9963,22 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): canReschedule: bool date: str latestWindowStartTime: str + maintenanceOnShutdown: bool + maintenanceReasons: _list[ + typing_extensions.Literal[ + "FAILURE_DISK", + "FAILURE_GPU", + "FAILURE_GPU_TEMPERATURE", + "FAILURE_GPU_XID", + "FAILURE_INFRA", + "FAILURE_INTERFACE", + "FAILURE_MEMORY", + "FAILURE_NETWORK", + "FAILURE_NVLINK", + "INFRASTRUCTURE_RELOCATION", + "MAINTENANCE_REASON_UNKNOWN", + ] + ] maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] startTimeWindow: UpcomingMaintenanceTimeWindow time: str @@ -9268,6 +10242,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 @@ -9317,6 +10292,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 @@ -9326,6 +10306,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] @@ -9373,6 +10366,7 @@ class WireGroup(typing_extensions.TypedDict, total=False): id: str kind: str name: str + reconciling: bool selfLink: str selfLinkWithId: str serviceLevel: WireGroupServiceLevel diff --git a/googleapiclient-stubs/_apis/compute/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index 0dc9cbd4..cb6e6f98 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -142,6 +142,17 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class AdviceResource(googleapiclient.discovery.Resource): + def calendarMode( + self, + *, + project: str, + region: str, + body: CalendarModeAdviceRequest = ..., + **kwargs: typing.Any, + ) -> CalendarModeAdviceResponseHttpRequest: ... + @typing.type_check_only class AutoscalersResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -293,6 +304,22 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: BackendBucketListHttpRequest, previous_response: BackendBucketList, ) -> BackendBucketListHttpRequest | None: ... + def listUsable( + self, + *, + project: 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, *, @@ -498,6 +525,72 @@ 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 DiskSettingsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, zone: str, **kwargs: typing.Any + ) -> DiskSettingsHttpRequest: ... + def patch( + self, + *, + project: str, + zone: str, + body: DiskSettings = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class DiskTypesResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -578,6 +671,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def bulkSetLabels( + self, + *, + project: str, + zone: str, + body: BulkZoneSetLabelsRequest = ..., + requestId: str = ..., + resource: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def createSnapshot( self, *, @@ -2432,6 +2535,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, *, @@ -2501,6 +2614,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, *, @@ -2656,6 +2779,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def reportHostAsFaulty( + self, + *, + project: str, + zone: str, + instance: str, + body: InstancesReportHostAsFaultyRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def reset( self, *, @@ -3052,6 +3185,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class InterconnectAttachmentGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + interconnectAttachmentGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + interconnectAttachmentGroup: str, + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def getOperationalStatus( + self, + *, + project: str, + interconnectAttachmentGroup: str, + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupsGetOperationalStatusResponseHttpRequest: ... + def insert( + self, + *, + project: str, + body: InterconnectAttachmentGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: InterconnectAttachmentGroupsListResponseHttpRequest, + previous_response: InterconnectAttachmentGroupsListResponse, + ) -> InterconnectAttachmentGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + project: str, + interconnectAttachmentGroup: str, + body: InterconnectAttachmentGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class InterconnectAttachmentsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -3146,6 +3362,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class InterconnectGroupsResource(googleapiclient.discovery.Resource): + def createMembers( + self, + *, + project: str, + interconnectGroup: str, + body: InterconnectGroupsCreateMembersRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + interconnectGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, interconnectGroup: str, **kwargs: typing.Any + ) -> InterconnectGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def getOperationalStatus( + self, *, project: str, interconnectGroup: str, **kwargs: typing.Any + ) -> InterconnectGroupsGetOperationalStatusResponseHttpRequest: ... + def insert( + self, + *, + project: str, + body: InterconnectGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> InterconnectGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: InterconnectGroupsListResponseHttpRequest, + previous_response: InterconnectGroupsListResponse, + ) -> InterconnectGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + project: str, + interconnectGroup: str, + body: InterconnectGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class InterconnectLocationsResource(googleapiclient.discovery.Resource): def get( @@ -3334,6 +3633,16 @@ class ComputeResource(googleapiclient.discovery.Resource): body: TestPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + def update( + self, + *, + project: str, + license: str, + body: License = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class MachineImagesResource(googleapiclient.discovery.Resource): @@ -3389,6 +3698,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: GlobalSetPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def setLabels( + self, + *, + project: str, + resource: str, + body: GlobalSetLabelsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def testIamPermissions( self, *, @@ -4022,6 +4339,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, *, @@ -4542,6 +4868,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( @@ -5095,6 +5452,22 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionDiskSettingsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, region: str, **kwargs: typing.Any + ) -> DiskSettingsHttpRequest: ... + def patch( + self, + *, + project: str, + region: str, + body: DiskSettings = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class RegionDiskTypesResource(googleapiclient.discovery.Resource): def get( @@ -6120,6 +6493,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, firewallPolicy: str, body: FirewallPolicyAssociation = ..., + associatedPolicyToBeReplaced: str = ..., replaceExistingAssociation: bool = ..., requestId: str = ..., **kwargs: typing.Any, @@ -6229,6 +6603,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patchAssociation( + self, + *, + project: str, + region: str, + firewallPolicy: str, + body: FirewallPolicyAssociation = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patchRule( self, *, @@ -6444,22 +6828,107 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, region: str, - securityPolicy: str, - body: SecurityPolicyRule = ..., - priority: int = ..., - updateMask: str = ..., - validateOnly: bool = ..., + securityPolicy: str, + body: SecurityPolicyRule = ..., + priority: int = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeRule( + self, + *, + project: str, + region: str, + securityPolicy: str, + priority: int = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setLabels( + self, + *, + project: str, + region: str, + resource: str, + body: RegionSetLabelsRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RegionSnapshotSettingsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, region: str, **kwargs: typing.Any + ) -> SnapshotSettingsHttpRequest: ... + def patch( + self, + *, + project: str, + region: str, + body: SnapshotSettings = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RegionSnapshotsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + snapshot: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, region: str, snapshot: str, **kwargs: typing.Any + ) -> SnapshotHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: Snapshot = ..., + 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, - ) -> OperationHttpRequest: ... - def removeRule( + ) -> SnapshotListHttpRequest: ... + def list_next( + self, + previous_request: SnapshotListHttpRequest, + previous_response: SnapshotList, + ) -> SnapshotListHttpRequest | None: ... + def setIamPolicy( self, *, project: str, region: str, - securityPolicy: str, - priority: int = ..., + resource: str, + body: RegionSetPolicyRequest = ..., **kwargs: typing.Any, - ) -> OperationHttpRequest: ... + ) -> PolicyHttpRequest: ... def setLabels( self, *, @@ -6470,6 +6939,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 RegionSslCertificatesResource(googleapiclient.discovery.Resource): @@ -6937,6 +7415,9 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, reservation: str, reservationBlock: str, + view: typing_extensions.Literal[ + "BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL" + ] = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... def list( @@ -6957,6 +7438,57 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ReservationBlocksListResponseHttpRequest, previous_response: ReservationBlocksListResponse, ) -> ReservationBlocksListResponseHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + reservation: str, + reservationBlock: str, + body: ReservationsBlocksPerformMaintenanceRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class ReservationSubBlocksResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + **kwargs: typing.Any, + ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSubBlocksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationSubBlocksListResponseHttpRequest, + previous_response: ReservationSubBlocksListResponse, + ) -> ReservationSubBlocksListResponseHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): @@ -7025,6 +7557,16 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ReservationListHttpRequest, previous_response: ReservationList, ) -> ReservationListHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + reservation: str, + body: ReservationsPerformMaintenanceRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def resize( self, *, @@ -7670,6 +8212,24 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class SnapshotsResource(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, + ) -> SnapshotAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: SnapshotAggregatedListHttpRequest, + previous_response: SnapshotAggregatedList, + ) -> SnapshotAggregatedListHttpRequest | None: ... def delete( self, *, @@ -9159,6 +9719,65 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @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( @@ -9222,9 +9841,12 @@ class ComputeResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def acceleratorTypes(self) -> AcceleratorTypesResource: ... def addresses(self) -> AddressesResource: ... + def advice(self) -> AdviceResource: ... def autoscalers(self) -> AutoscalersResource: ... def backendBuckets(self) -> BackendBucketsResource: ... def backendServices(self) -> BackendServicesResource: ... + def crossSiteNetworks(self) -> CrossSiteNetworksResource: ... + def diskSettings(self) -> DiskSettingsResource: ... def diskTypes(self) -> DiskTypesResource: ... def disks(self) -> DisksResource: ... def externalVpnGateways(self) -> ExternalVpnGatewaysResource: ... @@ -9254,7 +9876,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def instanceTemplates(self) -> InstanceTemplatesResource: ... def instances(self) -> InstancesResource: ... def instantSnapshots(self) -> InstantSnapshotsResource: ... + def interconnectAttachmentGroups(self) -> InterconnectAttachmentGroupsResource: ... def interconnectAttachments(self) -> InterconnectAttachmentsResource: ... + def interconnectGroups(self) -> InterconnectGroupsResource: ... def interconnectLocations(self) -> InterconnectLocationsResource: ... def interconnectRemoteLocations(self) -> InterconnectRemoteLocationsResource: ... def interconnects(self) -> InterconnectsResource: ... @@ -9273,12 +9897,14 @@ class ComputeResource(googleapiclient.discovery.Resource): 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: ... def regionAutoscalers(self) -> RegionAutoscalersResource: ... def regionBackendServices(self) -> RegionBackendServicesResource: ... def regionCommitments(self) -> RegionCommitmentsResource: ... + def regionDiskSettings(self) -> RegionDiskSettingsResource: ... def regionDiskTypes(self) -> RegionDiskTypesResource: ... def regionDisks(self) -> RegionDisksResource: ... def regionHealthCheckServices(self) -> RegionHealthCheckServicesResource: ... @@ -9299,6 +9925,8 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionNotificationEndpoints(self) -> RegionNotificationEndpointsResource: ... def regionOperations(self) -> RegionOperationsResource: ... def regionSecurityPolicies(self) -> RegionSecurityPoliciesResource: ... + def regionSnapshotSettings(self) -> RegionSnapshotSettingsResource: ... + def regionSnapshots(self) -> RegionSnapshotsResource: ... def regionSslCertificates(self) -> RegionSslCertificatesResource: ... def regionSslPolicies(self) -> RegionSslPoliciesResource: ... def regionTargetHttpProxies(self) -> RegionTargetHttpProxiesResource: ... @@ -9308,6 +9936,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... def routers(self) -> RoutersResource: ... @@ -9332,6 +9961,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: ... @@ -9423,6 +10053,14 @@ class BackendBucketListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackendBucketList: ... +@typing.type_check_only +class BackendBucketListUsableHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackendBucketListUsable: ... + @typing.type_check_only class BackendServiceHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9473,6 +10111,14 @@ class BackendServicesGetEffectiveSecurityPoliciesResponseHttpRequest( num_retries: int = 0, ) -> BackendServicesGetEffectiveSecurityPoliciesResponse: ... +@typing.type_check_only +class CalendarModeAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CalendarModeAdviceResponse: ... + @typing.type_check_only class CommitmentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9497,6 +10143,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( @@ -9521,6 +10183,14 @@ class DiskListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DiskList: ... +@typing.type_check_only +class DiskSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DiskSettings: ... + @typing.type_check_only class DiskTypeHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10007,6 +10677,34 @@ class InterconnectAttachmentAggregatedListHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> InterconnectAttachmentAggregatedList: ... +@typing.type_check_only +class InterconnectAttachmentGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroup: ... + +@typing.type_check_only +class InterconnectAttachmentGroupsGetOperationalStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroupsGetOperationalStatusResponse: ... + +@typing.type_check_only +class InterconnectAttachmentGroupsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroupsListResponse: ... + @typing.type_check_only class InterconnectAttachmentListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10015,6 +10713,32 @@ class InterconnectAttachmentListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> InterconnectAttachmentList: ... +@typing.type_check_only +class InterconnectGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroup: ... + +@typing.type_check_only +class InterconnectGroupsGetOperationalStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroupsGetOperationalStatusResponse: ... + +@typing.type_check_only +class InterconnectGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroupsListResponse: ... + @typing.type_check_only class InterconnectListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10455,6 +11179,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( @@ -10657,6 +11397,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksGetResponse: ... + +@typing.type_check_only +class ReservationSubBlocksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksListResponse: ... + @typing.type_check_only class ResourcePolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10875,6 +11631,14 @@ class SnapshotHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Snapshot: ... +@typing.type_check_only +class SnapshotAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SnapshotAggregatedList: ... + @typing.type_check_only class SnapshotListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11325,6 +12089,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/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index 744d010d..fad6a157 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -152,8 +152,10 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -493,6 +495,15 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketListUsable(typing_extensions.TypedDict, total=False): + id: str + items: _list[BackendBucket] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): reference: str @@ -518,6 +529,7 @@ class BackendService(typing_extensions.TypedDict, total=False): customRequestHeaders: _list[str] customResponseHeaders: _list[str] description: str + dynamicForwarding: BackendServiceDynamicForwarding edgeSecurityPolicy: str enableCDN: bool externalManagedMigrationState: typing_extensions.Literal[ @@ -526,6 +538,7 @@ class BackendService(typing_extensions.TypedDict, total=False): externalManagedMigrationTestingPercentage: float failoverPolicy: BackendServiceFailoverPolicy fingerprint: str + haPolicy: BackendServiceHAPolicy healthChecks: _list[str] iap: BackendServiceIAP id: str @@ -561,6 +574,7 @@ class BackendService(typing_extensions.TypedDict, total=False): metadatas: dict[str, typing.Any] name: str network: str + networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy outlierDetection: OutlierDetection port: int portName: str @@ -651,6 +665,16 @@ class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): dryRun: bool name: str +@typing.type_check_only +class BackendServiceDynamicForwarding(typing_extensions.TypedDict, total=False): + ipPortSelection: BackendServiceDynamicForwardingIpPortSelection + +@typing.type_check_only +class BackendServiceDynamicForwardingIpPortSelection( + typing_extensions.TypedDict, total=False +): + enabled: bool + @typing.type_check_only class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): disableConnectionDrainOnFailover: bool @@ -663,6 +687,22 @@ class BackendServiceGroupHealth(typing_extensions.TypedDict, total=False): healthStatus: _list[HealthStatus] kind: str +@typing.type_check_only +class BackendServiceHAPolicy(typing_extensions.TypedDict, total=False): + fastIPMove: typing_extensions.Literal["DISABLED", "GARP_RA"] + leader: BackendServiceHAPolicyLeader + +@typing.type_check_only +class BackendServiceHAPolicyLeader(typing_extensions.TypedDict, total=False): + backendGroup: str + networkEndpoint: BackendServiceHAPolicyLeaderNetworkEndpoint + +@typing.type_check_only +class BackendServiceHAPolicyLeaderNetworkEndpoint( + typing_extensions.TypedDict, total=False +): + instance: str + @typing.type_check_only class BackendServiceHttpCookie(typing_extensions.TypedDict, total=False): name: str @@ -733,6 +773,23 @@ class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): ] sampleRate: float +@typing.type_check_only +class BackendServiceNetworkPassThroughLbTrafficPolicy( + typing_extensions.TypedDict, total=False +): + zonalAffinity: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity + +@typing.type_check_only +class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( + typing_extensions.TypedDict, total=False +): + spillover: typing_extensions.Literal[ + "ZONAL_AFFINITY_DISABLED", + "ZONAL_AFFINITY_SPILL_CROSS_ZONE", + "ZONAL_AFFINITY_STAY_WITHIN_ZONE", + ] + spilloverRatio: float + @typing.type_check_only class BackendServiceReference(typing_extensions.TypedDict, total=False): backendService: str @@ -889,6 +946,15 @@ class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): ] targetVmCount: int +@typing.type_check_only +class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): + labelFingerprint: str + labels: dict[str, typing.Any] + +@typing.type_check_only +class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): + requests: _list[BulkSetLabelsRequest] + @typing.type_check_only class BundledLocalSsds(typing_extensions.TypedDict, total=False): defaultInterface: str @@ -896,6 +962,7 @@ class BundledLocalSsds(typing_extensions.TypedDict, total=False): @typing.type_check_only class CacheInvalidationRule(typing_extensions.TypedDict, total=False): + cacheTags: _list[str] host: str path: str @@ -909,6 +976,18 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringBlacklist: _list[str] queryStringWhitelist: _list[str] +@typing.type_check_only +class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): + futureResourcesSpecs: dict[str, typing.Any] + +@typing.type_check_only +class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): + recommendations: _list[CalendarModeRecommendation] + +@typing.type_check_only +class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): + recommendationsPerSpec: dict[str, typing.Any] + @typing.type_check_only class CircuitBreakers(typing_extensions.TypedDict, total=False): connectTimeout: Duration @@ -948,14 +1027,18 @@ class Commitment(typing_extensions.TypedDict, total=False): "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", + "ACCELERATOR_OPTIMIZED_A3_ULTRA", + "ACCELERATOR_OPTIMIZED_A4", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", + "COMPUTE_OPTIMIZED_H4D", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_C4A", + "GENERAL_PURPOSE_C4D", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -964,6 +1047,8 @@ class Commitment(typing_extensions.TypedDict, total=False): "GRAPHICS_OPTIMIZED", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", + "MEMORY_OPTIMIZED_M4", + "MEMORY_OPTIMIZED_M4_6TB", "MEMORY_OPTIMIZED_X4_16TB", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", @@ -1035,6 +1120,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] @@ -1061,6 +1166,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 @@ -1202,6 +1313,23 @@ class DiskResourceStatusAsyncReplicationStatus( "ACTIVE", "CREATED", "STARTING", "STATE_UNSPECIFIED", "STOPPED", "STOPPING" ] +@typing.type_check_only +class DiskSettings(typing_extensions.TypedDict, total=False): + accessLocation: DiskSettingsAccessLocation + +@typing.type_check_only +class DiskSettingsAccessLocation(typing_extensions.TypedDict, total=False): + locations: dict[str, typing.Any] + policy: typing_extensions.Literal[ + "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" + ] + +@typing.type_check_only +class DiskSettingsAccessLocationAccessLocationPreference( + typing_extensions.TypedDict, total=False +): + region: str + @typing.type_check_only class DiskType(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -1366,6 +1494,7 @@ class Firewall(typing_extensions.TypedDict, total=False): logConfig: FirewallLogConfig name: str network: str + params: FirewallParams priority: int selfLink: str sourceRanges: _list[str] @@ -1388,6 +1517,10 @@ class FirewallLogConfig(typing_extensions.TypedDict, total=False): enable: bool metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] +@typing.type_check_only +class FirewallParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class FirewallPoliciesListAssociationsResponse( typing_extensions.TypedDict, total=False @@ -1412,6 +1545,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] @@ -1425,6 +1559,7 @@ class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): displayName: str firewallPolicyId: str name: str + priority: int shortName: str @typing.type_check_only @@ -1461,6 +1596,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] + destNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destRegionCodes: _list[str] destThreatIntelligences: _list[str] layer4Configs: _list[FirewallPolicyRuleMatcherLayer4Config] @@ -1470,6 +1608,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] + srcNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] srcNetworks: _list[str] srcRegionCodes: _list[str] srcSecureTags: _list[FirewallPolicyRuleSecureTag] @@ -1491,6 +1632,15 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int +@typing.type_check_only +class FlexibleTimeRange(typing_extensions.TypedDict, total=False): + endTimeNotEarlierThan: str + endTimeNotLaterThan: str + maxDuration: str + minDuration: str + startTimeNotEarlierThan: str + startTimeNotLaterThan: str + @typing.type_check_only class ForwardingRule(typing_extensions.TypedDict, total=False): IPAddress: str @@ -1545,6 +1695,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): ] region: str selfLink: str + selfLinkWithId: str serviceDirectoryRegistrations: _list[ForwardingRuleServiceDirectoryRegistration] serviceLabel: str serviceName: str @@ -1590,6 +1741,7 @@ class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class FutureReservation(typing_extensions.TypedDict, total=False): + aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration autoDeleteAutoCreatedReservations: bool @@ -1599,6 +1751,7 @@ class FutureReservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + enableEmergentMaintenance: bool id: str kind: str name: str @@ -1606,6 +1759,9 @@ class FutureReservation(typing_extensions.TypedDict, total=False): planningStatus: typing_extensions.Literal[ "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" ] + reservationMode: typing_extensions.Literal[ + "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" + ] reservationName: str schedulingType: typing_extensions.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" @@ -1748,6 +1904,79 @@ class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): futureReservations: _list[FutureReservation] warning: dict[str, typing.Any] +@typing.type_check_only +class FutureResourcesRecommendation(typing_extensions.TypedDict, total=False): + endTime: str + location: str + otherLocations: dict[str, typing.Any] + recommendationId: str + recommendationType: typing_extensions.Literal[ + "FUTURE_RESERVATION", "RECOMMENDATION_TYPE_UNSPECIFIED" + ] + startTime: str + +@typing.type_check_only +class FutureResourcesRecommendationOtherLocation( + typing_extensions.TypedDict, total=False +): + details: str + status: typing_extensions.Literal[ + "CONDITIONS_NOT_MET", + "NOT_SUPPORTED", + "NO_CAPACITY", + "OTHER_LOCATION_STATUS_UNDEFINED", + "RECOMMENDED", + ] + +@typing.type_check_only +class FutureResourcesSpec(typing_extensions.TypedDict, total=False): + deploymentType: typing_extensions.Literal[ + "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" + ] + locationPolicy: FutureResourcesSpecLocationPolicy + targetResources: FutureResourcesSpecTargetResources + timeRangeSpec: FlexibleTimeRange + +@typing.type_check_only +class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=False): + acceleratorCount: str + vmFamily: typing_extensions.Literal[ + "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", + "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + ] + workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + +@typing.type_check_only +class FutureResourcesSpecLocalSsdPartition(typing_extensions.TypedDict, total=False): + diskInterface: typing_extensions.Literal["NVME", "SCSI"] + diskSizeGb: str + +@typing.type_check_only +class FutureResourcesSpecLocationPolicy(typing_extensions.TypedDict, total=False): + locations: dict[str, typing.Any] + +@typing.type_check_only +class FutureResourcesSpecLocationPolicyLocation( + typing_extensions.TypedDict, total=False +): + preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] + +@typing.type_check_only +class FutureResourcesSpecSpecificSKUResources(typing_extensions.TypedDict, total=False): + instanceCount: str + localSsdPartitions: _list[FutureResourcesSpecLocalSsdPartition] + machineType: str + +@typing.type_check_only +class FutureResourcesSpecTargetResources(typing_extensions.TypedDict, total=False): + aggregateResources: FutureResourcesSpecAggregateResources + specificSkuResources: FutureResourcesSpecSpecificSKUResources + @typing.type_check_only class GRPCHealthCheck(typing_extensions.TypedDict, total=False): grpcServiceName: str @@ -1757,6 +1986,14 @@ class GRPCHealthCheck(typing_extensions.TypedDict, total=False): "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] +@typing.type_check_only +class GRPCTLSHealthCheck(typing_extensions.TypedDict, total=False): + grpcServiceName: str + port: int + portSpecification: typing_extensions.Literal[ + "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" + ] + @typing.type_check_only class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): description: str @@ -1793,11 +2030,15 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): + instanceMaintenanceOngoingCount: int + instanceMaintenancePendingCount: int maintenanceOngoingCount: int maintenancePendingCount: int schedulingType: typing_extensions.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] + subblockInfraMaintenanceOngoingCount: int + subblockInfraMaintenancePendingCount: int upcomingGroupMaintenance: UpcomingMaintenance @typing.type_check_only @@ -1822,6 +2063,7 @@ class GuestAttributesValue(typing_extensions.TypedDict, total=False): @typing.type_check_only class GuestOsFeature(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal[ + "BARE_METAL_LINUX_COMPATIBLE", "FEATURE_TYPE_UNSPECIFIED", "GVNIC", "IDPF", @@ -1831,6 +2073,7 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): "SEV_LIVE_MIGRATABLE", "SEV_LIVE_MIGRATABLE_V2", "SEV_SNP_CAPABLE", + "SNP_SVSM_CAPABLE", "TDX_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", @@ -1879,6 +2122,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): creationTimestamp: str description: str grpcHealthCheck: GRPCHealthCheck + grpcTlsHealthCheck: GRPCTLSHealthCheck healthyThreshold: int http2HealthCheck: HTTP2HealthCheck httpHealthCheck: HTTPHealthCheck @@ -1894,7 +2138,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): tcpHealthCheck: TCPHealthCheck timeoutSec: int type: typing_extensions.Literal[ - "GRPC", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" + "GRPC", "GRPC_WITH_TLS", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" ] unhealthyThreshold: int @@ -2387,6 +2631,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): status: InstanceGroupManagerStatus targetPools: _list[str] targetSize: int + targetSizePolicy: InstanceGroupManagerTargetSizePolicy targetStoppedSize: int targetSuspendedSize: int updatePolicy: InstanceGroupManagerUpdatePolicy @@ -2457,6 +2702,16 @@ class InstanceGroupManagerInstanceLifecyclePolicy( ): defaultActionOnFailure: typing_extensions.Literal["DELETE", "DO_NOTHING", "REPAIR"] forceUpdateOnRepair: typing_extensions.Literal["NO", "YES"] + onFailedHealthCheck: typing_extensions.Literal[ + "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" + ] + onRepair: InstanceGroupManagerInstanceLifecyclePolicyOnRepair + +@typing.type_check_only +class InstanceGroupManagerInstanceLifecyclePolicyOnRepair( + typing_extensions.TypedDict, total=False +): + allowChangingZone: typing_extensions.Literal["NO", "YES"] @typing.type_check_only class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): @@ -2477,6 +2732,7 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False creationTimestamp: str description: str id: str + instances: _list[PerInstanceConfig] kind: str name: str region: str @@ -2531,6 +2787,7 @@ class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig autoscaler: str + bulkInstanceOperation: InstanceGroupManagerStatusBulkInstanceOperation isStable: bool stateful: InstanceGroupManagerStatusStateful versionTarget: InstanceGroupManagerStatusVersionTarget @@ -2542,6 +2799,20 @@ class InstanceGroupManagerStatusAllInstancesConfig( currentRevision: str effective: bool +@typing.type_check_only +class InstanceGroupManagerStatusBulkInstanceOperation( + typing_extensions.TypedDict, total=False +): + inProgress: bool + lastProgressCheck: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck + +@typing.type_check_only +class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck( + typing_extensions.TypedDict, total=False +): + error: dict[str, typing.Any] + timestamp: str + @typing.type_check_only class InstanceGroupManagerStatusStateful(typing_extensions.TypedDict, total=False): hasStatefulConfig: bool @@ -2558,6 +2829,10 @@ class InstanceGroupManagerStatusStatefulPerInstanceConfigs( class InstanceGroupManagerStatusVersionTarget(typing_extensions.TypedDict, total=False): isReached: bool +@typing.type_check_only +class InstanceGroupManagerTargetSizePolicy(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] + @typing.type_check_only class InstanceGroupManagerUpdatePolicy(typing_extensions.TypedDict, total=False): instanceRedistributionType: typing_extensions.Literal["NONE", "PROACTIVE"] @@ -2960,6 +3235,25 @@ class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy( class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] +@typing.type_check_only +class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" + ] + faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] + +@typing.type_check_only +class InstancesReportHostAsFaultyRequestFaultReason( + typing_extensions.TypedDict, total=False +): + behavior: typing_extensions.Literal[ + "BEHAVIOR_UNSPECIFIED", + "PERFORMANCE", + "SILENT_DATA_CORRUPTION", + "UNRECOVERABLE_GPU_ERROR", + ] + description: str + @typing.type_check_only class InstancesResumeRequest(typing_extensions.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] @@ -3070,7 +3364,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): aaiEnabled: bool adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect - availableFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + availableFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str customerName: str @@ -3080,12 +3376,15 @@ class Interconnect(typing_extensions.TypedDict, total=False): googleReferenceId: str id: str interconnectAttachments: _list[str] + interconnectGroups: _list[str] interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] kind: str labelFingerprint: str labels: dict[str, typing.Any] linkType: typing_extensions.Literal[ - "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] location: str macsec: InterconnectMacsec @@ -3096,11 +3395,14 @@ 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"] + wireGroups: _list[str] @typing.type_check_only class InterconnectApplicationAwareInterconnect( @@ -3138,6 +3440,7 @@ class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( @typing.type_check_only class InterconnectAttachment(typing_extensions.TypedDict, total=False): adminEnabled: bool + attachmentGroup: str bandwidth: typing_extensions.Literal[ "BPS_100G", "BPS_100M", @@ -3153,6 +3456,10 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "BPS_50M", "BPS_5G", ] + candidateCloudRouterIpAddress: str + candidateCloudRouterIpv6Address: str + candidateCustomerRouterIpAddress: str + candidateCustomerRouterIpv6Address: str candidateIpv6Subnets: _list[str] candidateSubnets: _list[str] cloudRouterIpAddress: str @@ -3228,6 +3535,165 @@ class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange( max: int min: int +@typing.type_check_only +class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): + attachments: dict[str, typing.Any] + configured: InterconnectAttachmentGroupConfigured + creationTimestamp: str + description: str + etag: str + id: str + intent: InterconnectAttachmentGroupIntent + interconnectGroup: str + kind: str + logicalStructure: InterconnectAttachmentGroupLogicalStructure + name: str + selfLink: str + +@typing.type_check_only +class InterconnectAttachmentGroupAttachment(typing_extensions.TypedDict, total=False): + attachment: str + +@typing.type_check_only +class InterconnectAttachmentGroupConfigured(typing_extensions.TypedDict, total=False): + availabilitySla: InterconnectAttachmentGroupConfiguredAvailabilitySLA + +@typing.type_check_only +class InterconnectAttachmentGroupConfiguredAvailabilitySLA( + typing_extensions.TypedDict, total=False +): + effectiveSla: typing_extensions.Literal[ + "EFFECTIVE_SLA_UNSPECIFIED", + "NO_SLA", + "PRODUCTION_CRITICAL", + "PRODUCTION_NON_CRITICAL", + ] + intendedSlaBlockers: _list[ + InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers + ] + +@typing.type_check_only +class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( + typing_extensions.TypedDict, total=False +): + attachments: _list[str] + blockerType: typing_extensions.Literal[ + "BLOCKER_TYPE_UNSPECIFIED", + "INCOMPATIBLE_METROS", + "INCOMPATIBLE_REGIONS", + "MISSING_GLOBAL_ROUTING", + "NO_ATTACHMENTS", + "NO_ATTACHMENTS_IN_METRO_AND_ZONE", + "OTHER", + ] + documentationLink: str + explanation: str + metros: _list[str] + regions: _list[str] + zones: _list[str] + +@typing.type_check_only +class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False): + availabilitySla: typing_extensions.Literal[ + "AVAILABILITY_SLA_UNSPECIFIED", + "NO_SLA", + "PRODUCTION_CRITICAL", + "PRODUCTION_NON_CRITICAL", + ] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructure( + typing_extensions.TypedDict, total=False +): + regions: _list[InterconnectAttachmentGroupLogicalStructureRegion] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegion( + typing_extensions.TypedDict, total=False +): + metros: _list[InterconnectAttachmentGroupLogicalStructureRegionMetro] + region: str + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetro( + typing_extensions.TypedDict, total=False +): + facilities: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacility] + metro: str + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetroFacility( + typing_extensions.TypedDict, total=False +): + facility: str + zones: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( + typing_extensions.TypedDict, total=False +): + attachments: _list[str] + zone: str + +@typing.type_check_only +class InterconnectAttachmentGroupsGetOperationalStatusResponse( + typing_extensions.TypedDict, total=False +): + etag: str + result: InterconnectAttachmentGroupsOperationalStatus + +@typing.type_check_only +class InterconnectAttachmentGroupsListResponse( + typing_extensions.TypedDict, total=False +): + etag: str + id: str + items: _list[InterconnectAttachmentGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class InterconnectAttachmentGroupsOperationalStatus( + typing_extensions.TypedDict, total=False +): + attachmentStatuses: _list[ + InterconnectAttachmentGroupsOperationalStatusAttachmentStatus + ] + configured: InterconnectAttachmentGroupConfigured + groupStatus: typing_extensions.Literal[ + "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" + ] + intent: InterconnectAttachmentGroupIntent + operational: InterconnectAttachmentGroupConfigured + +@typing.type_check_only +class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + attachment: str + isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing_extensions.Literal[ + "ATTACHMENT_STATUS_UNKNOWN", + "CONNECTION_DISABLED", + "CONNECTION_DOWN", + "CONNECTION_UP", + "DEFUNCT", + "IPSEC_CONFIGURATION_NEEDED_STATUS", + "IPSEC_READY_TO_RESUME_FLOW_STATUS", + "IPV4_DOWN_IPV6_UP", + "IPV4_UP_IPV6_DOWN", + "PARTNER_REQUEST_RECEIVED", + "PENDING_CUSTOMER", + "PENDING_PARTNER", + "PROVISIONED", + "ROUTER_CONFIGURATION_BROKEN", + "UNPROVISIONED", + ] + @typing.type_check_only class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): id: str @@ -3264,47 +3730,199 @@ class InterconnectDiagnostics(typing_extensions.TypedDict, total=False): bundleAggregationType: typing_extensions.Literal[ "BUNDLE_AGGREGATION_TYPE_LACP", "BUNDLE_AGGREGATION_TYPE_STATIC" ] - bundleOperationalStatus: typing_extensions.Literal[ - "BUNDLE_OPERATIONAL_STATUS_DOWN", "BUNDLE_OPERATIONAL_STATUS_UP" + bundleOperationalStatus: typing_extensions.Literal[ + "BUNDLE_OPERATIONAL_STATUS_DOWN", "BUNDLE_OPERATIONAL_STATUS_UP" + ] + links: _list[InterconnectDiagnosticsLinkStatus] + macAddress: str + +@typing.type_check_only +class InterconnectDiagnosticsARPEntry(typing_extensions.TypedDict, total=False): + ipAddress: str + macAddress: str + +@typing.type_check_only +class InterconnectDiagnosticsLinkLACPStatus(typing_extensions.TypedDict, total=False): + googleSystemId: str + neighborSystemId: str + state: typing_extensions.Literal["ACTIVE", "DETACHED"] + +@typing.type_check_only +class InterconnectDiagnosticsLinkOpticalPower(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "HIGH_ALARM", "HIGH_WARNING", "LOW_ALARM", "LOW_WARNING", "OK" + ] + value: float + +@typing.type_check_only +class InterconnectDiagnosticsLinkStatus(typing_extensions.TypedDict, total=False): + arpCaches: _list[InterconnectDiagnosticsARPEntry] + circuitId: str + googleDemarc: str + lacpStatus: InterconnectDiagnosticsLinkLACPStatus + macsec: InterconnectDiagnosticsMacsecStatus + operationalStatus: typing_extensions.Literal[ + "LINK_OPERATIONAL_STATUS_DOWN", "LINK_OPERATIONAL_STATUS_UP" + ] + receivingOpticalPower: InterconnectDiagnosticsLinkOpticalPower + transmittingOpticalPower: InterconnectDiagnosticsLinkOpticalPower + +@typing.type_check_only +class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=False): + ckn: str + operational: bool + +@typing.type_check_only +class InterconnectGroup(typing_extensions.TypedDict, total=False): + configured: InterconnectGroupConfigured + creationTimestamp: str + description: str + etag: str + id: str + intent: InterconnectGroupIntent + interconnects: dict[str, typing.Any] + kind: str + name: str + physicalStructure: InterconnectGroupPhysicalStructure + selfLink: str + +@typing.type_check_only +class InterconnectGroupConfigured(typing_extensions.TypedDict, total=False): + topologyCapability: InterconnectGroupConfiguredTopologyCapability + +@typing.type_check_only +class InterconnectGroupConfiguredTopologyCapability( + typing_extensions.TypedDict, total=False +): + intendedCapabilityBlockers: _list[ + InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers + ] + supportedSla: typing_extensions.Literal[ + "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" + ] + +@typing.type_check_only +class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( + typing_extensions.TypedDict, total=False +): + blockerType: typing_extensions.Literal[ + "INCOMPATIBLE_METROS", + "NOT_AVAILABLE", + "NO_INTERCONNECTS", + "NO_INTERCONNECTS_IN_METRO_AND_ZONE", + "OTHER", + "UNSPECIFIED", + ] + documentationLink: str + explanation: str + facilities: _list[str] + interconnects: _list[str] + metros: _list[str] + zones: _list[str] + +@typing.type_check_only +class InterconnectGroupIntent(typing_extensions.TypedDict, total=False): + topologyCapability: typing_extensions.Literal[ + "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" + ] + +@typing.type_check_only +class InterconnectGroupInterconnect(typing_extensions.TypedDict, total=False): + interconnect: str + +@typing.type_check_only +class InterconnectGroupPhysicalStructure(typing_extensions.TypedDict, total=False): + metros: _list[InterconnectGroupPhysicalStructureMetros] + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetros( + typing_extensions.TypedDict, total=False +): + facilities: _list[InterconnectGroupPhysicalStructureMetrosFacilities] + metro: str + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetrosFacilities( + typing_extensions.TypedDict, total=False +): + facility: str + zones: _list[InterconnectGroupPhysicalStructureMetrosFacilitiesZones] + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( + typing_extensions.TypedDict, total=False +): + interconnects: _list[str] + zone: str + +@typing.type_check_only +class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): + intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] + interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] + templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput + +@typing.type_check_only +class InterconnectGroupsCreateMembersInterconnectInput( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + customerName: str + description: str + facility: str + interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing_extensions.Literal[ + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", + ] + name: str + nocContactEmail: str + remoteLocation: str + requestedFeatures: _list[ + typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] ] - links: _list[InterconnectDiagnosticsLinkStatus] - macAddress: str + requestedLinkCount: int @typing.type_check_only -class InterconnectDiagnosticsARPEntry(typing_extensions.TypedDict, total=False): - ipAddress: str - macAddress: str +class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): + request: InterconnectGroupsCreateMembers @typing.type_check_only -class InterconnectDiagnosticsLinkLACPStatus(typing_extensions.TypedDict, total=False): - googleSystemId: str - neighborSystemId: str - state: typing_extensions.Literal["ACTIVE", "DETACHED"] +class InterconnectGroupsGetOperationalStatusResponse( + typing_extensions.TypedDict, total=False +): + etag: str + result: InterconnectGroupsOperationalStatus @typing.type_check_only -class InterconnectDiagnosticsLinkOpticalPower(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "HIGH_ALARM", "HIGH_WARNING", "LOW_ALARM", "LOW_WARNING", "OK" - ] - value: float +class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[InterconnectGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectDiagnosticsLinkStatus(typing_extensions.TypedDict, total=False): - arpCaches: _list[InterconnectDiagnosticsARPEntry] - circuitId: str - googleDemarc: str - lacpStatus: InterconnectDiagnosticsLinkLACPStatus - macsec: InterconnectDiagnosticsMacsecStatus - operationalStatus: typing_extensions.Literal[ - "LINK_OPERATIONAL_STATUS_DOWN", "LINK_OPERATIONAL_STATUS_UP" +class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=False): + configured: InterconnectGroupConfigured + groupStatus: typing_extensions.Literal[ + "DEGRADED", "FULLY_DOWN", "FULLY_UP", "GROUPS_STATUS_UNSPECIFIED" ] - receivingOpticalPower: InterconnectDiagnosticsLinkOpticalPower - transmittingOpticalPower: InterconnectDiagnosticsLinkOpticalPower + intent: InterconnectGroupIntent + interconnectStatuses: _list[InterconnectGroupsOperationalStatusInterconnectStatus] + operational: InterconnectGroupConfigured @typing.type_check_only -class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=False): - ckn: str - operational: bool +class InterconnectGroupsOperationalStatusInterconnectStatus( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + diagnostics: InterconnectDiagnostics + interconnect: str + isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] @typing.type_check_only class InterconnectList(typing_extensions.TypedDict, total=False): @@ -3319,10 +3937,14 @@ 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", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str @@ -3339,6 +3961,7 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): "SOUTH_AMERICA", ] creationTimestamp: str + crossSiteInterconnectInfos: _list[InterconnectLocationCrossSiteInterconnectInfo] description: str facilityProvider: str facilityProviderFacilityId: str @@ -3351,6 +3974,12 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): 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 @@ -3472,16 +4101,27 @@ class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=Fa @typing.type_check_only class License(typing_extensions.TypedDict, total=False): + allowedReplacementLicenses: _list[str] + appendableToDisk: bool chargesUseFee: bool creationTimestamp: str description: str id: str + incompatibleLicenses: _list[str] kind: str licenseCode: str + minimumRetention: Duration + multiTenantOnly: bool name: str + osLicense: bool + removableFromDisk: bool + requiredCoattachedLicenses: _list[str] resourceRequirements: LicenseResourceRequirements selfLink: str + selfLinkWithId: str + soleTenantOnly: bool transferable: bool + updateTimestamp: str @typing.type_check_only class LicenseCode(typing_extensions.TypedDict, total=False): @@ -3554,6 +4194,8 @@ class MachineImage(typing_extensions.TypedDict, total=False): id: str instanceProperties: InstanceProperties kind: str + labelFingerprint: str + labels: dict[str, typing.Any] machineImageEncryptionKey: CustomerEncryptionKey name: str satisfiesPzi: bool @@ -3688,7 +4330,7 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( ): machineType: str provisioningModel: typing_extensions.Literal[ - "RESERVATION_BOUND", "SPOT", "STANDARD" + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only @@ -3776,6 +4418,7 @@ class Network(typing_extensions.TypedDict, total=False): "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str + params: NetworkParams peerings: _list[NetworkPeering] routingConfig: NetworkRoutingConfig selfLink: str @@ -4046,6 +4689,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] fingerprint: str + igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] @@ -4058,9 +4702,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): @@ -4071,9 +4717,14 @@ class NetworkList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class NetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class NetworkPeering(typing_extensions.TypedDict, total=False): autoCreateRoutes: bool + connectionStatus: NetworkPeeringConnectionStatus exchangeSubnetRoutes: bool exportCustomRoutes: bool exportSubnetRoutesWithPublicIp: bool @@ -4085,6 +4736,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): @@ -4101,7 +4786,6 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): name: str selfLink: str selfLinkWithId: str - zone: str @typing.type_check_only class NetworkProfileLocation(typing_extensions.TypedDict, total=False): @@ -4135,18 +4819,28 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowCloudRouter: typing_extensions.Literal[ "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" ] + allowDefaultNicAttachment: typing_extensions.Literal[ + "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" + ] allowExternalIpAccess: typing_extensions.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] allowInterconnect: typing_extensions.Literal[ "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" ] + allowIpForwarding: typing_extensions.Literal[ + "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" + ] allowLoadBalancing: typing_extensions.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing_extensions.Literal[ + "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" + ] allowPacketMirroring: typing_extensions.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] @@ -4184,6 +4878,21 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] + subnetworkPurposes: _list[ + typing_extensions.Literal[ + "GLOBAL_MANAGED_PROXY", + "INTERNAL_HTTPS_LOAD_BALANCER", + "PEER_MIGRATION", + "PRIVATE", + "PRIVATE_NAT", + "PRIVATE_RFC_1918", + "PRIVATE_SERVICE_CONNECT", + "REGIONAL_MANAGED_PROXY", + ] + ] + subnetworkStackTypes: _list[ + typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] @typing.type_check_only @@ -4244,6 +4953,10 @@ class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy( 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 @@ -4422,6 +5135,7 @@ class NodeType(typing_extensions.TypedDict, total=False): id: str kind: str localSsdGb: int + maxVms: int memoryMb: int name: str selfLink: str @@ -4712,6 +5426,74 @@ 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 + rolloutStatus: PreviewFeatureRolloutOperationRolloutStatus + +@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", + ] + 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 + releaseStatus: PreviewFeatureStatusReleaseStatus + +@typing.type_check_only +class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): + stage: typing_extensions.Literal[ + "DEPRECATED", "GA", "INTERNAL", "PREVIEW", "STAGE_UNSPECIFIED" + ] + updateDate: Date + @typing.type_check_only class Project(typing_extensions.TypedDict, total=False): cloudArmorTier: typing_extensions.Literal[ @@ -5415,9 +6197,14 @@ class Reservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + enableEmergentMaintenance: bool id: str kind: str + linkedCommitments: _list[str] name: str + reservationMode: typing_extensions.Literal[ + "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" + ] reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus @@ -5464,6 +6251,8 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): name: str physicalTopology: ReservationBlockPhysicalTopology reservationMaintenance: GroupMaintenanceInfo + reservationSubBlockCount: int + reservationSubBlockInUseCount: int selfLink: str selfLinkWithId: str status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] @@ -5473,6 +6262,22 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): block: str cluster: str + instances: _list[ReservationBlockPhysicalTopologyInstance] + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstance( + typing_extensions.TypedDict, total=False +): + instanceId: str + physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology + projectId: str + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( + typing_extensions.TypedDict, total=False +): + host: str + subBlock: str @typing.type_check_only class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): @@ -5496,6 +6301,54 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlock(typing_extensions.TypedDict, total=False): + count: int + creationTimestamp: str + id: str + inUseCount: int + kind: str + name: str + physicalTopology: ReservationSubBlockPhysicalTopology + reservationSubBlockMaintenance: GroupMaintenanceInfo + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + zone: str + +@typing.type_check_only +class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + subBlock: str + +@typing.type_check_only +class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSubBlock + +@typing.type_check_only +class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSubBlock] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class ReservationsBlocksPerformMaintenanceRequest( + typing_extensions.TypedDict, total=False +): + maintenanceScope: typing_extensions.Literal[ + "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" + ] + +@typing.type_check_only +class ReservationsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): + maintenanceScope: typing_extensions.Literal[ + "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" + ] + @typing.type_check_only class ReservationsResizeRequest(typing_extensions.TypedDict, total=False): specificSkuCount: str @@ -5567,6 +6420,7 @@ class ResourcePolicyDiskConsistencyGroupPolicy( class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): availabilityDomainCount: int collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] + gpuTopology: str maxDistance: int sliceCount: int tpuTopology: str @@ -5645,6 +6499,7 @@ class ResourcePolicySnapshotSchedulePolicySnapshotProperties( chainName: str guestFlush: bool labels: dict[str, typing.Any] + region: str storageLocations: _list[str] @typing.type_check_only @@ -5668,6 +6523,8 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopology: str + maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @typing.type_check_only @@ -5724,6 +6581,7 @@ class Route(typing_extensions.TypedDict, total=False): nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str + params: RouteParams priority: int routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] @@ -5747,6 +6605,10 @@ class RouteList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class RouteParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class RoutePolicy(typing_extensions.TypedDict, total=False): description: str @@ -5776,7 +6638,9 @@ class Router(typing_extensions.TypedDict, total=False): md5AuthenticationKeys: _list[RouterMd5AuthenticationKey] name: str nats: _list[RouterNat] + nccGateway: str network: str + params: RouterParams region: str selfLink: str @@ -5944,12 +6808,17 @@ 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] bestRoutesForRouter: _list[Route] bgpPeerStatus: _list[RouterStatusBgpPeerStatus] natStatus: _list[RouterStatusNatStatus] + nccGateway: str network: str @typing.type_check_only @@ -6106,8 +6975,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 @@ -6180,7 +7050,11 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): selfLinkWithId: str shortName: str type: typing_extensions.Literal[ - "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_NETWORK", "FIREWALL" + "CLOUD_ARMOR", + "CLOUD_ARMOR_EDGE", + "CLOUD_ARMOR_INTERNAL_SERVICE", + "CLOUD_ARMOR_NETWORK", + "FIREWALL", ] userDefinedFields: _list[SecurityPolicyUserDefinedField] @@ -6667,6 +7541,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): licenses: _list[str] locationHint: str name: str + region: str satisfiesPzi: bool satisfiesPzs: bool selfLink: str @@ -6689,6 +7564,17 @@ class Snapshot(typing_extensions.TypedDict, total=False): storageLocations: _list[str] userLicenses: _list[str] +@typing.type_check_only +class SnapshotAggregatedList(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 SnapshotList(typing_extensions.TypedDict, total=False): id: str @@ -6700,8 +7586,22 @@ class SnapshotList(typing_extensions.TypedDict, total=False): @typing.type_check_only class SnapshotSettings(typing_extensions.TypedDict, total=False): + accessLocation: SnapshotSettingsAccessLocation storageLocation: SnapshotSettingsStorageLocationSettings +@typing.type_check_only +class SnapshotSettingsAccessLocation(typing_extensions.TypedDict, total=False): + locations: dict[str, typing.Any] + policy: typing_extensions.Literal[ + "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" + ] + +@typing.type_check_only +class SnapshotSettingsAccessLocationAccessLocationPreference( + typing_extensions.TypedDict, total=False +): + region: str + @typing.type_check_only class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total=False): locations: dict[str, typing.Any] @@ -6718,6 +7618,11 @@ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference( ): name: str +@typing.type_check_only +class SnapshotsScopedList(typing_extensions.TypedDict, total=False): + snapshots: _list[Snapshot] + warning: dict[str, typing.Any] + @typing.type_check_only class SourceDiskEncryptionKey(typing_extensions.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey @@ -7043,6 +7948,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): logConfig: SubnetworkLogConfig name: str network: str + params: SubnetworkParams privateIpGoogleAccess: bool privateIpv6GoogleAccess: typing_extensions.Literal[ "DISABLE_GOOGLE_ACCESS", @@ -7066,6 +7972,8 @@ class Subnetwork(typing_extensions.TypedDict, total=False): selfLink: str stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] state: typing_extensions.Literal["DRAINING", "READY"] + systemReservedExternalIpv6Ranges: _list[str] + systemReservedInternalIpv6Ranges: _list[str] @typing.type_check_only class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): @@ -7104,6 +8012,10 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): ] metadataFields: _list[str] +@typing.type_check_only +class SubnetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ipCidrRange: str @@ -7119,6 +8031,11 @@ class SubnetworksScopedList(typing_extensions.TypedDict, total=False): subnetworks: _list[Subnetwork] warning: dict[str, typing.Any] +@typing.type_check_only +class SubnetworksScopedWarning(typing_extensions.TypedDict, total=False): + scopeName: str + warning: dict[str, typing.Any] + @typing.type_check_only class SubnetworksSetPrivateIpGoogleAccessRequest( typing_extensions.TypedDict, total=False @@ -7549,6 +8466,7 @@ class Uint128(typing_extensions.TypedDict, total=False): class UpcomingMaintenance(typing_extensions.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str + maintenanceOnShutdown: bool maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] type: typing_extensions.Literal["SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] windowEndTime: str @@ -7675,7 +8593,9 @@ class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): items: _list[UsableSubnetwork] kind: str nextPageToken: str + scopedWarnings: _list[SubnetworksScopedWarning] selfLink: str + unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -7798,6 +8718,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 @@ -7847,6 +8768,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 @@ -7856,6 +8782,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] @@ -7878,6 +8817,72 @@ 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 + wireGroupProperties: WireGroupProperties + 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 WireGroupProperties(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["BOX_AND_CROSS", "REDUNDANT", "WIRE"] + +@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): + bandwidthUnmetered: str + faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] + @typing.type_check_only class XpnHostList(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 834a6fe2..768f386f 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -557,6 +557,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def bulkSetLabels( + self, + *, + project: str, + zone: str, + body: BulkZoneSetLabelsRequest = ..., + requestId: str = ..., + resource: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def createSnapshot( self, *, @@ -2373,6 +2383,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def reportHostAsFaulty( + self, + *, + project: str, + zone: str, + instance: str, + body: InstancesReportHostAsFaultyRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def reset( self, *, @@ -2747,6 +2767,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class InterconnectAttachmentGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + interconnectAttachmentGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + interconnectAttachmentGroup: str, + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def getOperationalStatus( + self, + *, + project: str, + interconnectAttachmentGroup: str, + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupsGetOperationalStatusResponseHttpRequest: ... + def insert( + self, + *, + project: str, + body: InterconnectAttachmentGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> InterconnectAttachmentGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: InterconnectAttachmentGroupsListResponseHttpRequest, + previous_response: InterconnectAttachmentGroupsListResponse, + ) -> InterconnectAttachmentGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + project: str, + interconnectAttachmentGroup: str, + body: InterconnectAttachmentGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class InterconnectAttachmentsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -2832,6 +2935,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class InterconnectGroupsResource(googleapiclient.discovery.Resource): + def createMembers( + self, + *, + project: str, + interconnectGroup: str, + body: InterconnectGroupsCreateMembersRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + interconnectGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, interconnectGroup: str, **kwargs: typing.Any + ) -> InterconnectGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def getOperationalStatus( + self, *, project: str, interconnectGroup: str, **kwargs: typing.Any + ) -> InterconnectGroupsGetOperationalStatusResponseHttpRequest: ... + def insert( + self, + *, + project: str, + body: InterconnectGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> InterconnectGroupsListResponseHttpRequest: ... + def list_next( + self, + previous_request: InterconnectGroupsListResponseHttpRequest, + previous_response: InterconnectGroupsListResponse, + ) -> InterconnectGroupsListResponseHttpRequest | None: ... + def patch( + self, + *, + project: str, + interconnectGroup: str, + body: InterconnectGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class InterconnectLocationsResource(googleapiclient.discovery.Resource): def get( @@ -3012,6 +3198,16 @@ class ComputeResource(googleapiclient.discovery.Resource): body: TestPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + def update( + self, + *, + project: str, + license: str, + body: License = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class MachineImagesResource(googleapiclient.discovery.Resource): @@ -3067,6 +3263,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: GlobalSetPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def setLabels( + self, + *, + project: str, + resource: str, + body: GlobalSetLabelsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def testIamPermissions( self, *, @@ -3402,6 +3606,17 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def addPacketMirroringRule( + self, + *, + project: str, + firewallPolicy: str, + body: FirewallPolicyRule = ..., + maxPriority: int = ..., + minPriority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def addRule( self, *, @@ -3467,6 +3682,14 @@ class ComputeResource(googleapiclient.discovery.Resource): optionsRequestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def getPacketMirroringRule( + self, + *, + project: str, + firewallPolicy: str, + priority: int = ..., + **kwargs: typing.Any, + ) -> FirewallPolicyRuleHttpRequest: ... def getRule( self, *, @@ -3508,6 +3731,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patchPacketMirroringRule( + self, + *, + project: str, + firewallPolicy: str, + body: FirewallPolicyRule = ..., + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patchRule( self, *, @@ -3527,6 +3760,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def removePacketMirroringRule( + self, + *, + project: str, + firewallPolicy: str, + priority: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def removeRule( self, *, @@ -6157,6 +6399,90 @@ class ComputeResource(googleapiclient.discovery.Resource): self, previous_request: RegionListHttpRequest, previous_response: RegionList ) -> RegionListHttpRequest | None: ... + @typing.type_check_only + class ReservationBlocksResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + reservation: str, + reservationBlock: str, + view: typing_extensions.Literal[ + "BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL" + ] = ..., + **kwargs: typing.Any, + ) -> ReservationBlocksGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + reservation: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationBlocksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationBlocksListResponseHttpRequest, + previous_response: ReservationBlocksListResponse, + ) -> ReservationBlocksListResponseHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + reservation: str, + reservationBlock: str, + body: ReservationsBlocksPerformMaintenanceRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class ReservationSubBlocksResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + **kwargs: typing.Any, + ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSubBlocksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationSubBlocksListResponseHttpRequest, + previous_response: ReservationSubBlocksListResponse, + ) -> ReservationSubBlocksListResponseHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -6224,6 +6550,16 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ReservationListHttpRequest, previous_response: ReservationList, ) -> ReservationListHttpRequest | None: ... + def performMaintenance( + self, + *, + project: str, + zone: str, + reservation: str, + body: ReservationsPerformMaintenanceRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def resize( self, *, @@ -6396,6 +6732,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def deleteRoutePolicy( + self, + *, + project: str, + region: str, + router: str, + policy: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, project: str, region: str, router: str, **kwargs: typing.Any ) -> RouterHttpRequest: ... @@ -6427,6 +6773,15 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: VmEndpointNatMappingsListHttpRequest, previous_response: VmEndpointNatMappingsList, ) -> VmEndpointNatMappingsListHttpRequest | None: ... + def getRoutePolicy( + self, + *, + project: str, + region: str, + router: str, + policy: str = ..., + **kwargs: typing.Any, + ) -> RoutersGetRoutePolicyResponseHttpRequest: ... def getRouterStatus( self, *, project: str, region: str, router: str, **kwargs: typing.Any ) -> RouterStatusResponseHttpRequest: ... @@ -6454,6 +6809,51 @@ class ComputeResource(googleapiclient.discovery.Resource): def list_next( self, previous_request: RouterListHttpRequest, previous_response: RouterList ) -> RouterListHttpRequest | None: ... + def listBgpRoutes( + self, + *, + project: str, + region: str, + router: str, + addressFamily: typing_extensions.Literal[ + "IPV4", "IPV6", "UNSPECIFIED_IP_VERSION" + ] = ..., + destinationPrefix: str = ..., + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + peer: str = ..., + policyApplied: bool = ..., + returnPartialSuccess: bool = ..., + routeType: typing_extensions.Literal[ + "ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE" + ] = ..., + **kwargs: typing.Any, + ) -> RoutersListBgpRoutesHttpRequest: ... + def listBgpRoutes_next( + self, + previous_request: RoutersListBgpRoutesHttpRequest, + previous_response: RoutersListBgpRoutes, + ) -> RoutersListBgpRoutesHttpRequest | None: ... + def listRoutePolicies( + self, + *, + project: str, + region: str, + router: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RoutersListRoutePoliciesHttpRequest: ... + def listRoutePolicies_next( + self, + previous_request: RoutersListRoutePoliciesHttpRequest, + previous_response: RoutersListRoutePolicies, + ) -> RoutersListRoutePoliciesHttpRequest | None: ... def patch( self, *, @@ -6464,6 +6864,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patchRoutePolicy( + self, + *, + project: str, + region: str, + router: str, + body: RoutePolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def preview( self, *, @@ -6483,6 +6893,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def updateRoutePolicy( + self, + *, + project: str, + region: str, + router: str, + body: RoutePolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class RoutesResource(googleapiclient.discovery.Resource): @@ -8242,7 +8662,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def instanceTemplates(self) -> InstanceTemplatesResource: ... def instances(self) -> InstancesResource: ... def instantSnapshots(self) -> InstantSnapshotsResource: ... + def interconnectAttachmentGroups(self) -> InterconnectAttachmentGroupsResource: ... def interconnectAttachments(self) -> InterconnectAttachmentsResource: ... + def interconnectGroups(self) -> InterconnectGroupsResource: ... def interconnectLocations(self) -> InterconnectLocationsResource: ... def interconnectRemoteLocations(self) -> InterconnectRemoteLocationsResource: ... def interconnects(self) -> InterconnectsResource: ... @@ -8290,6 +8712,8 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionUrlMaps(self) -> RegionUrlMapsResource: ... def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... + def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... def routers(self) -> RoutersResource: ... @@ -8953,6 +9377,34 @@ class InterconnectAttachmentAggregatedListHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> InterconnectAttachmentAggregatedList: ... +@typing.type_check_only +class InterconnectAttachmentGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroup: ... + +@typing.type_check_only +class InterconnectAttachmentGroupsGetOperationalStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroupsGetOperationalStatusResponse: ... + +@typing.type_check_only +class InterconnectAttachmentGroupsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectAttachmentGroupsListResponse: ... + @typing.type_check_only class InterconnectAttachmentListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -8961,6 +9413,32 @@ class InterconnectAttachmentListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> InterconnectAttachmentList: ... +@typing.type_check_only +class InterconnectGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroup: ... + +@typing.type_check_only +class InterconnectGroupsGetOperationalStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroupsGetOperationalStatusResponse: ... + +@typing.type_check_only +class InterconnectGroupsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterconnectGroupsListResponse: ... + @typing.type_check_only class InterconnectListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9535,6 +10013,22 @@ class ReservationAggregatedListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationAggregatedList: ... +@typing.type_check_only +class ReservationBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationBlocksGetResponse: ... + +@typing.type_check_only +class ReservationBlocksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationBlocksListResponse: ... + @typing.type_check_only class ReservationListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9543,6 +10037,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksGetResponse: ... + +@typing.type_check_only +class ReservationSubBlocksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSubBlocksListResponse: ... + @typing.type_check_only class ResourcePolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -9615,6 +10125,30 @@ class RouterStatusResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RouterStatusResponse: ... +@typing.type_check_only +class RoutersGetRoutePolicyResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersGetRoutePolicyResponse: ... + +@typing.type_check_only +class RoutersListBgpRoutesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersListBgpRoutes: ... + +@typing.type_check_only +class RoutersListRoutePoliciesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersListRoutePolicies: ... + @typing.type_check_only class RoutersPreviewResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index f6b84ebb..57755a44 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -152,8 +152,10 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -170,8 +172,16 @@ class AllocationAggregateReservationReservedResourceInfoAccelerator( acceleratorCount: int acceleratorType: str +@typing.type_check_only +class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=False): + serviceShareType: typing_extensions.Literal[ + "ALLOW_ALL", "DISALLOW_ALL", "SERVICE_SHARE_TYPE_UNSPECIFIED" + ] + @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): + reservationBlockCount: int + reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @typing.type_check_only @@ -179,6 +189,7 @@ class AllocationResourceStatusSpecificSKUAllocation( typing_extensions.TypedDict, total=False ): sourceInstanceTemplateId: str + utilizations: dict[str, typing.Any] @typing.type_check_only class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk( @@ -386,8 +397,11 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) @typing.type_check_only class Backend(typing_extensions.TypedDict, total=False): - balancingMode: typing_extensions.Literal["CONNECTION", "RATE", "UTILIZATION"] + balancingMode: typing_extensions.Literal[ + "CONNECTION", "CUSTOM_METRICS", "RATE", "UTILIZATION" + ] capacityScaler: float + customMetrics: _list[BackendCustomMetric] description: str failover: bool group: str @@ -414,6 +428,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): enableCdn: bool id: str kind: str + loadBalancingScheme: typing_extensions.Literal["INTERNAL_MANAGED"] name: str selfLink: str usedBy: _list[BackendBucketUsedBy] @@ -469,6 +484,12 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): reference: str +@typing.type_check_only +class BackendCustomMetric(typing_extensions.TypedDict, total=False): + dryRun: bool + maxUtilization: float + name: str + @typing.type_check_only class BackendService(typing_extensions.TypedDict, total=False): affinityCookieTtlSec: int @@ -480,13 +501,19 @@ class BackendService(typing_extensions.TypedDict, total=False): connectionTrackingPolicy: BackendServiceConnectionTrackingPolicy consistentHash: ConsistentHashLoadBalancerSettings creationTimestamp: str + customMetrics: _list[BackendServiceCustomMetric] customRequestHeaders: _list[str] customResponseHeaders: _list[str] description: str edgeSecurityPolicy: str enableCDN: bool + externalManagedMigrationState: typing_extensions.Literal[ + "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" + ] + externalManagedMigrationTestingPercentage: float failoverPolicy: BackendServiceFailoverPolicy fingerprint: str + haPolicy: BackendServiceHAPolicy healthChecks: _list[str] iap: BackendServiceIAP id: str @@ -515,6 +542,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "RING_HASH", "ROUND_ROBIN", "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN", ] logConfig: BackendServiceLogConfig maxStreamDuration: Duration @@ -525,7 +553,7 @@ class BackendService(typing_extensions.TypedDict, total=False): port: int portName: str protocol: typing_extensions.Literal[ - "GRPC", "HTTP", "HTTP2", "HTTPS", "SSL", "TCP", "UDP", "UNSPECIFIED" + "GRPC", "H2C", "HTTP", "HTTP2", "HTTPS", "SSL", "TCP", "UDP", "UNSPECIFIED" ] region: str securityPolicy: str @@ -547,6 +575,7 @@ class BackendService(typing_extensions.TypedDict, total=False): strongSessionAffinityCookie: BackendServiceHttpCookie subsetting: Subsetting timeoutSec: int + tlsSettings: BackendServiceTlsSettings usedBy: _list[BackendServiceUsedBy] @typing.type_check_only @@ -605,6 +634,11 @@ class BackendServiceConnectionTrackingPolicy(typing_extensions.TypedDict, total= "INVALID_TRACKING_MODE", "PER_CONNECTION", "PER_SESSION" ] +@typing.type_check_only +class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): + dryRun: bool + name: str + @typing.type_check_only class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): disableConnectionDrainOnFailover: bool @@ -617,6 +651,22 @@ class BackendServiceGroupHealth(typing_extensions.TypedDict, total=False): healthStatus: _list[HealthStatus] kind: str +@typing.type_check_only +class BackendServiceHAPolicy(typing_extensions.TypedDict, total=False): + fastIPMove: typing_extensions.Literal["DISABLED", "GARP_RA"] + leader: BackendServiceHAPolicyLeader + +@typing.type_check_only +class BackendServiceHAPolicyLeader(typing_extensions.TypedDict, total=False): + backendGroup: str + networkEndpoint: BackendServiceHAPolicyLeaderNetworkEndpoint + +@typing.type_check_only +class BackendServiceHAPolicyLeaderNetworkEndpoint( + typing_extensions.TypedDict, total=False +): + instance: str + @typing.type_check_only class BackendServiceHttpCookie(typing_extensions.TypedDict, total=False): name: str @@ -675,6 +725,7 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( "RING_HASH", "ROUND_ROBIN", "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN", ] @typing.type_check_only @@ -690,6 +741,17 @@ class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): class BackendServiceReference(typing_extensions.TypedDict, total=False): backendService: str +@typing.type_check_only +class BackendServiceTlsSettings(typing_extensions.TypedDict, total=False): + authenticationConfig: str + sni: str + subjectAltNames: _list[BackendServiceTlsSettingsSubjectAltName] + +@typing.type_check_only +class BackendServiceTlsSettingsSubjectAltName(typing_extensions.TypedDict, total=False): + dnsName: str + uniformResourceIdentifier: str + @typing.type_check_only class BackendServiceUsedBy(typing_extensions.TypedDict, total=False): reference: str @@ -766,6 +828,28 @@ class BfdStatusPacketCounts(typing_extensions.TypedDict, total=False): numRxSuccessful: int numTx: int +@typing.type_check_only +class BgpRoute(typing_extensions.TypedDict, total=False): + asPaths: _list[BgpRouteAsPath] + communities: _list[str] + destination: BgpRouteNetworkLayerReachabilityInformation + med: int + origin: typing_extensions.Literal[ + "BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE" + ] + +@typing.type_check_only +class BgpRouteAsPath(typing_extensions.TypedDict, total=False): + asns: _list[int] + type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] + +@typing.type_check_only +class BgpRouteNetworkLayerReachabilityInformation( + typing_extensions.TypedDict, total=False +): + pathId: int + prefix: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -803,8 +887,18 @@ class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): ] targetVmCount: int +@typing.type_check_only +class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): + labelFingerprint: str + labels: dict[str, typing.Any] + +@typing.type_check_only +class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): + requests: _list[BulkSetLabelsRequest] + @typing.type_check_only class CacheInvalidationRule(typing_extensions.TypedDict, total=False): + cacheTags: _list[str] host: str path: str @@ -856,14 +950,18 @@ class Commitment(typing_extensions.TypedDict, total=False): "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", + "ACCELERATOR_OPTIMIZED_A3_ULTRA", + "ACCELERATOR_OPTIMIZED_A4", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", + "COMPUTE_OPTIMIZED_H4D", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_C4A", + "GENERAL_PURPOSE_C4D", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -872,6 +970,8 @@ class Commitment(typing_extensions.TypedDict, total=False): "GRAPHICS_OPTIMIZED", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", + "MEMORY_OPTIMIZED_M4", + "MEMORY_OPTIMIZED_M4_6TB", "MEMORY_OPTIMIZED_X4_16TB", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", @@ -1266,6 +1366,7 @@ class Firewall(typing_extensions.TypedDict, total=False): logConfig: FirewallLogConfig name: str network: str + params: FirewallParams priority: int selfLink: str sourceRanges: _list[str] @@ -1288,6 +1389,10 @@ class FirewallLogConfig(typing_extensions.TypedDict, total=False): enable: bool metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] +@typing.type_check_only +class FirewallParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class FirewallPoliciesListAssociationsResponse( typing_extensions.TypedDict, total=False @@ -1310,6 +1415,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): id: str kind: str name: str + packetMirroringRules: _list[FirewallPolicyRule] parent: str region: str ruleTupleCount: int @@ -1357,12 +1463,19 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] + destNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destRegionCodes: _list[str] destThreatIntelligences: _list[str] layer4Configs: _list[FirewallPolicyRuleMatcherLayer4Config] srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] + srcNetworkType: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] + srcNetworks: _list[str] srcRegionCodes: _list[str] srcSecureTags: _list[FirewallPolicyRuleSecureTag] srcThreatIntelligences: _list[str] @@ -1396,6 +1509,10 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): baseForwardingRule: str creationTimestamp: str description: str + externalManagedBackendBucketMigrationState: typing_extensions.Literal[ + "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" + ] + externalManagedBackendBucketMigrationTestingPercentage: float fingerprint: str id: str ipCollection: str @@ -1432,6 +1549,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): ] region: str selfLink: str + selfLinkWithId: str serviceDirectoryRegistrations: _list[ForwardingRuleServiceDirectoryRegistration] serviceLabel: str serviceName: str @@ -1518,6 +1636,19 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): etag: str policy: Policy +@typing.type_check_only +class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): + instanceMaintenanceOngoingCount: int + instanceMaintenancePendingCount: int + maintenanceOngoingCount: int + maintenancePendingCount: int + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] + subblockInfraMaintenanceOngoingCount: int + subblockInfraMaintenancePendingCount: int + upcomingGroupMaintenance: UpcomingMaintenance + @typing.type_check_only class GuestAttributes(typing_extensions.TypedDict, total=False): kind: str @@ -1540,6 +1671,7 @@ class GuestAttributesValue(typing_extensions.TypedDict, total=False): @typing.type_check_only class GuestOsFeature(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal[ + "BARE_METAL_LINUX_COMPATIBLE", "FEATURE_TYPE_UNSPECIFIED", "GVNIC", "IDPF", @@ -1549,6 +1681,7 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): "SEV_LIVE_MIGRATABLE", "SEV_LIVE_MIGRATABLE_V2", "SEV_SNP_CAPABLE", + "SNP_SVSM_CAPABLE", "TDX_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", @@ -2072,6 +2205,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): name: str namedPorts: _list[NamedPort] region: str + resourcePolicies: InstanceGroupManagerResourcePolicies satisfiesPzi: bool satisfiesPzs: bool selfLink: str @@ -2189,6 +2323,10 @@ class InstanceGroupManagerResizeRequestsListResponse( selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class InstanceGroupManagerResourcePolicies(typing_extensions.TypedDict, total=False): + workloadPolicy: str + @typing.type_check_only class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False): initialDelaySec: int @@ -2578,6 +2716,7 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( ): displayName: str name: str + packetMirroringRules: _list[FirewallPolicyRule] priority: int rules: _list[FirewallPolicyRule] shortName: str @@ -2594,6 +2733,25 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] +@typing.type_check_only +class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): + disruptionSchedule: typing_extensions.Literal[ + "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" + ] + faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] + +@typing.type_check_only +class InstancesReportHostAsFaultyRequestFaultReason( + typing_extensions.TypedDict, total=False +): + behavior: typing_extensions.Literal[ + "BEHAVIOR_UNSPECIFIED", + "PERFORMANCE", + "SILENT_DATA_CORRUPTION", + "UNRECOVERABLE_GPU_ERROR", + ] + description: str + @typing.type_check_only class InstancesScopedList(typing_extensions.TypedDict, total=False): instances: _list[Instance] @@ -2707,12 +2865,15 @@ class Interconnect(typing_extensions.TypedDict, total=False): googleReferenceId: str id: str interconnectAttachments: _list[str] + interconnectGroups: _list[str] interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] kind: str labelFingerprint: str labels: dict[str, typing.Any] linkType: typing_extensions.Literal[ - "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] location: str macsec: InterconnectMacsec @@ -2732,6 +2893,7 @@ class Interconnect(typing_extensions.TypedDict, total=False): @typing.type_check_only class InterconnectAttachment(typing_extensions.TypedDict, total=False): adminEnabled: bool + attachmentGroup: str bandwidth: typing_extensions.Literal[ "BPS_100G", "BPS_100M", @@ -2822,6 +2984,165 @@ class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange( max: int min: int +@typing.type_check_only +class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): + attachments: dict[str, typing.Any] + configured: InterconnectAttachmentGroupConfigured + creationTimestamp: str + description: str + etag: str + id: str + intent: InterconnectAttachmentGroupIntent + interconnectGroup: str + kind: str + logicalStructure: InterconnectAttachmentGroupLogicalStructure + name: str + selfLink: str + +@typing.type_check_only +class InterconnectAttachmentGroupAttachment(typing_extensions.TypedDict, total=False): + attachment: str + +@typing.type_check_only +class InterconnectAttachmentGroupConfigured(typing_extensions.TypedDict, total=False): + availabilitySla: InterconnectAttachmentGroupConfiguredAvailabilitySLA + +@typing.type_check_only +class InterconnectAttachmentGroupConfiguredAvailabilitySLA( + typing_extensions.TypedDict, total=False +): + effectiveSla: typing_extensions.Literal[ + "EFFECTIVE_SLA_UNSPECIFIED", + "NO_SLA", + "PRODUCTION_CRITICAL", + "PRODUCTION_NON_CRITICAL", + ] + intendedSlaBlockers: _list[ + InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers + ] + +@typing.type_check_only +class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( + typing_extensions.TypedDict, total=False +): + attachments: _list[str] + blockerType: typing_extensions.Literal[ + "BLOCKER_TYPE_UNSPECIFIED", + "INCOMPATIBLE_METROS", + "INCOMPATIBLE_REGIONS", + "MISSING_GLOBAL_ROUTING", + "NO_ATTACHMENTS", + "NO_ATTACHMENTS_IN_METRO_AND_ZONE", + "OTHER", + ] + documentationLink: str + explanation: str + metros: _list[str] + regions: _list[str] + zones: _list[str] + +@typing.type_check_only +class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False): + availabilitySla: typing_extensions.Literal[ + "AVAILABILITY_SLA_UNSPECIFIED", + "NO_SLA", + "PRODUCTION_CRITICAL", + "PRODUCTION_NON_CRITICAL", + ] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructure( + typing_extensions.TypedDict, total=False +): + regions: _list[InterconnectAttachmentGroupLogicalStructureRegion] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegion( + typing_extensions.TypedDict, total=False +): + metros: _list[InterconnectAttachmentGroupLogicalStructureRegionMetro] + region: str + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetro( + typing_extensions.TypedDict, total=False +): + facilities: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacility] + metro: str + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetroFacility( + typing_extensions.TypedDict, total=False +): + facility: str + zones: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone] + +@typing.type_check_only +class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( + typing_extensions.TypedDict, total=False +): + attachments: _list[str] + zone: str + +@typing.type_check_only +class InterconnectAttachmentGroupsGetOperationalStatusResponse( + typing_extensions.TypedDict, total=False +): + etag: str + result: InterconnectAttachmentGroupsOperationalStatus + +@typing.type_check_only +class InterconnectAttachmentGroupsListResponse( + typing_extensions.TypedDict, total=False +): + etag: str + id: str + items: _list[InterconnectAttachmentGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class InterconnectAttachmentGroupsOperationalStatus( + typing_extensions.TypedDict, total=False +): + attachmentStatuses: _list[ + InterconnectAttachmentGroupsOperationalStatusAttachmentStatus + ] + configured: InterconnectAttachmentGroupConfigured + groupStatus: typing_extensions.Literal[ + "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" + ] + intent: InterconnectAttachmentGroupIntent + operational: InterconnectAttachmentGroupConfigured + +@typing.type_check_only +class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + attachment: str + isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing_extensions.Literal[ + "ATTACHMENT_STATUS_UNKNOWN", + "CONNECTION_DISABLED", + "CONNECTION_DOWN", + "CONNECTION_UP", + "DEFUNCT", + "IPSEC_CONFIGURATION_NEEDED_STATUS", + "IPSEC_READY_TO_RESUME_FLOW_STATUS", + "IPV4_DOWN_IPV6_UP", + "IPV4_UP_IPV6_DOWN", + "PARTNER_REQUEST_RECEIVED", + "PENDING_CUSTOMER", + "PENDING_PARTNER", + "PROVISIONED", + "ROUTER_CONFIGURATION_BROKEN", + "UNPROVISIONED", + ] + @typing.type_check_only class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): id: str @@ -2900,6 +3221,156 @@ class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=Fal ckn: str operational: bool +@typing.type_check_only +class InterconnectGroup(typing_extensions.TypedDict, total=False): + configured: InterconnectGroupConfigured + creationTimestamp: str + description: str + etag: str + id: str + intent: InterconnectGroupIntent + interconnects: dict[str, typing.Any] + kind: str + name: str + physicalStructure: InterconnectGroupPhysicalStructure + selfLink: str + +@typing.type_check_only +class InterconnectGroupConfigured(typing_extensions.TypedDict, total=False): + topologyCapability: InterconnectGroupConfiguredTopologyCapability + +@typing.type_check_only +class InterconnectGroupConfiguredTopologyCapability( + typing_extensions.TypedDict, total=False +): + intendedCapabilityBlockers: _list[ + InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers + ] + supportedSla: typing_extensions.Literal[ + "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" + ] + +@typing.type_check_only +class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( + typing_extensions.TypedDict, total=False +): + blockerType: typing_extensions.Literal[ + "INCOMPATIBLE_METROS", + "NOT_AVAILABLE", + "NO_INTERCONNECTS", + "NO_INTERCONNECTS_IN_METRO_AND_ZONE", + "OTHER", + "UNSPECIFIED", + ] + documentationLink: str + explanation: str + facilities: _list[str] + interconnects: _list[str] + metros: _list[str] + zones: _list[str] + +@typing.type_check_only +class InterconnectGroupIntent(typing_extensions.TypedDict, total=False): + topologyCapability: typing_extensions.Literal[ + "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" + ] + +@typing.type_check_only +class InterconnectGroupInterconnect(typing_extensions.TypedDict, total=False): + interconnect: str + +@typing.type_check_only +class InterconnectGroupPhysicalStructure(typing_extensions.TypedDict, total=False): + metros: _list[InterconnectGroupPhysicalStructureMetros] + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetros( + typing_extensions.TypedDict, total=False +): + facilities: _list[InterconnectGroupPhysicalStructureMetrosFacilities] + metro: str + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetrosFacilities( + typing_extensions.TypedDict, total=False +): + facility: str + zones: _list[InterconnectGroupPhysicalStructureMetrosFacilitiesZones] + +@typing.type_check_only +class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( + typing_extensions.TypedDict, total=False +): + interconnects: _list[str] + zone: str + +@typing.type_check_only +class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): + intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] + interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] + templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput + +@typing.type_check_only +class InterconnectGroupsCreateMembersInterconnectInput( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + customerName: str + description: str + facility: str + interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing_extensions.Literal[ + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", + ] + name: str + nocContactEmail: str + remoteLocation: str + requestedFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] + requestedLinkCount: int + +@typing.type_check_only +class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): + request: InterconnectGroupsCreateMembers + +@typing.type_check_only +class InterconnectGroupsGetOperationalStatusResponse( + typing_extensions.TypedDict, total=False +): + etag: str + result: InterconnectGroupsOperationalStatus + +@typing.type_check_only +class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[InterconnectGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=False): + configured: InterconnectGroupConfigured + groupStatus: typing_extensions.Literal[ + "DEGRADED", "FULLY_DOWN", "FULLY_UP", "GROUPS_STATUS_UNSPECIFIED" + ] + intent: InterconnectGroupIntent + interconnectStatuses: _list[InterconnectGroupsOperationalStatusInterconnectStatus] + operational: InterconnectGroupConfigured + +@typing.type_check_only +class InterconnectGroupsOperationalStatusInterconnectStatus( + typing_extensions.TypedDict, total=False +): + adminEnabled: bool + diagnostics: InterconnectDiagnostics + interconnect: str + isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] + @typing.type_check_only class InterconnectList(typing_extensions.TypedDict, total=False): id: str @@ -2916,7 +3387,9 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): availableFeatures: _list[typing_extensions.Literal["IF_MACSEC"]] availableLinkTypes: _list[ typing_extensions.Literal[ - "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR" + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR", + "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str @@ -3066,16 +3539,27 @@ class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=Fa @typing.type_check_only class License(typing_extensions.TypedDict, total=False): + allowedReplacementLicenses: _list[str] + appendableToDisk: bool chargesUseFee: bool creationTimestamp: str description: str id: str + incompatibleLicenses: _list[str] kind: str licenseCode: str + minimumRetention: Duration + multiTenantOnly: bool name: str + osLicense: bool + removableFromDisk: bool + requiredCoattachedLicenses: _list[str] resourceRequirements: LicenseResourceRequirements selfLink: str + selfLinkWithId: str + soleTenantOnly: bool transferable: bool + updateTimestamp: str @typing.type_check_only class LicenseCode(typing_extensions.TypedDict, total=False): @@ -3148,6 +3632,8 @@ class MachineImage(typing_extensions.TypedDict, total=False): id: str instanceProperties: InstanceProperties kind: str + labelFingerprint: str + labels: dict[str, typing.Any] machineImageEncryptionKey: CustomerEncryptionKey name: str satisfiesPzi: bool @@ -3190,7 +3676,6 @@ class MachineType(typing_extensions.TypedDict, total=False): maximumPersistentDisksSizeGb: str memoryMb: int name: str - scratchDisks: _list[dict[str, typing.Any]] selfLink: str zone: str @@ -3333,6 +3818,7 @@ class Network(typing_extensions.TypedDict, total=False): "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str + params: NetworkParams peerings: _list[NetworkPeering] routingConfig: NetworkRoutingConfig selfLink: str @@ -3599,6 +4085,10 @@ class NetworkList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class NetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class NetworkPeering(typing_extensions.TypedDict, total=False): autoCreateRoutes: bool @@ -3629,7 +4119,6 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): name: str selfLink: str selfLinkWithId: str - zone: str @typing.type_check_only class NetworkProfileLocation(typing_extensions.TypedDict, total=False): @@ -3663,18 +4152,28 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowCloudRouter: typing_extensions.Literal[ "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" ] + allowDefaultNicAttachment: typing_extensions.Literal[ + "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" + ] allowExternalIpAccess: typing_extensions.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] allowInterconnect: typing_extensions.Literal[ "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" ] + allowIpForwarding: typing_extensions.Literal[ + "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" + ] allowLoadBalancing: typing_extensions.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing_extensions.Literal[ + "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" + ] allowPacketMirroring: typing_extensions.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] @@ -3712,6 +4211,21 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] + subnetworkPurposes: _list[ + typing_extensions.Literal[ + "GLOBAL_MANAGED_PROXY", + "INTERNAL_HTTPS_LOAD_BALANCER", + "PEER_MIGRATION", + "PRIVATE", + "PRIVATE_NAT", + "PRIVATE_RFC_1918", + "PRIVATE_SERVICE_CONNECT", + "REGIONAL_MANAGED_PROXY", + ] + ] + subnetworkStackTypes: _list[ + typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] @typing.type_check_only @@ -3752,6 +4266,7 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( ): displayName: str name: str + packetMirroringRules: _list[FirewallPolicyRule] priority: int rules: _list[FirewallPolicyRule] shortName: str @@ -3939,6 +4454,7 @@ class NodeType(typing_extensions.TypedDict, total=False): id: str kind: str localSsdGb: int + maxVms: int memoryMb: int name: str selfLink: str @@ -4331,7 +4847,9 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): isLiveMigration: bool kind: str mode: typing_extensions.Literal[ - "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" + "DELEGATION", + "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", + "EXTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str parentPrefix: str @@ -4376,7 +4894,9 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( ipCidrRange: str isAddress: bool mode: typing_extensions.Literal[ - "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" + "DELEGATION", + "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", + "EXTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str region: str @@ -4825,9 +5345,16 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal ): displayName: str name: str + packetMirroringRules: _list[FirewallPolicyRule] + priority: int rules: _list[FirewallPolicyRule] type: typing_extensions.Literal[ - "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", "UNSPECIFIED" + "HIERARCHY", + "NETWORK", + "NETWORK_REGIONAL", + "SYSTEM_GLOBAL", + "SYSTEM_REGIONAL", + "UNSPECIFIED", ] @typing.type_check_only @@ -4860,10 +5387,16 @@ class Reservation(typing_extensions.TypedDict, total=False): aggregateReservation: AllocationAggregateReservation commitment: str creationTimestamp: str + deleteAfterDuration: Duration + deleteAtTime: str + deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] description: str + enableEmergentMaintenance: bool id: str kind: str + linkedCommitments: _list[str] name: str + reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool @@ -4894,6 +5427,57 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationBlock(typing_extensions.TypedDict, total=False): + count: int + creationTimestamp: str + id: str + inUseCount: int + kind: str + name: str + physicalTopology: ReservationBlockPhysicalTopology + reservationMaintenance: GroupMaintenanceInfo + reservationSubBlockCount: int + reservationSubBlockInUseCount: int + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + zone: str + +@typing.type_check_only +class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + instances: _list[ReservationBlockPhysicalTopologyInstance] + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstance( + typing_extensions.TypedDict, total=False +): + instanceId: str + physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology + projectId: str + +@typing.type_check_only +class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( + typing_extensions.TypedDict, total=False +): + host: str + subBlock: str + +@typing.type_check_only +class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationBlock + +@typing.type_check_only +class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationBlock] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class ReservationList(typing_extensions.TypedDict, total=False): id: str @@ -4903,6 +5487,54 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSubBlock(typing_extensions.TypedDict, total=False): + count: int + creationTimestamp: str + id: str + inUseCount: int + kind: str + name: str + physicalTopology: ReservationSubBlockPhysicalTopology + reservationSubBlockMaintenance: GroupMaintenanceInfo + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + zone: str + +@typing.type_check_only +class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + subBlock: str + +@typing.type_check_only +class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSubBlock + +@typing.type_check_only +class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSubBlock] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class ReservationsBlocksPerformMaintenanceRequest( + typing_extensions.TypedDict, total=False +): + maintenanceScope: typing_extensions.Literal[ + "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" + ] + +@typing.type_check_only +class ReservationsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): + maintenanceScope: typing_extensions.Literal[ + "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" + ] + @typing.type_check_only class ReservationsResizeRequest(typing_extensions.TypedDict, total=False): specificSkuCount: str @@ -4946,6 +5578,7 @@ class ResourcePolicy(typing_extensions.TypedDict, total=False): status: typing_extensions.Literal[ "CREATING", "DELETING", "EXPIRED", "INVALID", "READY" ] + workloadPolicy: ResourcePolicyWorkloadPolicy @typing.type_check_only class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): @@ -4973,6 +5606,7 @@ class ResourcePolicyDiskConsistencyGroupPolicy( class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): availabilityDomainCount: int collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] + gpuTopology: str vmCount: int @typing.type_check_only @@ -5069,12 +5703,26 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals duration: str startTime: str +@typing.type_check_only +class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopology: str + 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): physicalHost: str + physicalHostTopology: ResourceStatusPhysicalHostTopology scheduling: ResourceStatusScheduling upcomingMaintenance: UpcomingMaintenance +@typing.type_check_only +class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + host: str + subblock: str + @typing.type_check_only class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int @@ -5100,6 +5748,7 @@ class Route(typing_extensions.TypedDict, total=False): nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str + params: RouteParams priority: int routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] @@ -5123,6 +5772,26 @@ class RouteList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class RouteParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + +@typing.type_check_only +class RoutePolicy(typing_extensions.TypedDict, total=False): + description: str + fingerprint: str + name: str + terms: _list[RoutePolicyPolicyTerm] + type: typing_extensions.Literal[ + "ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT" + ] + +@typing.type_check_only +class RoutePolicyPolicyTerm(typing_extensions.TypedDict, total=False): + actions: _list[Expr] + match: Expr + priority: int + @typing.type_check_only class Router(typing_extensions.TypedDict, total=False): bgp: RouterBgp @@ -5252,6 +5921,7 @@ class RouterNat(typing_extensions.TypedDict, total=False): maxPortsPerVm: int minPortsPerVm: int name: str + nat64Subnetworks: _list[RouterNatSubnetworkToNat64] natIpAllocateOption: typing_extensions.Literal["AUTO_ONLY", "MANUAL_ONLY"] natIps: _list[str] rules: _list[RouterNatRule] @@ -5260,6 +5930,9 @@ class RouterNat(typing_extensions.TypedDict, total=False): "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", "LIST_OF_SUBNETWORKS", ] + sourceSubnetworkIpRangesToNat64: typing_extensions.Literal[ + "ALL_IPV6_SUBNETWORKS", "LIST_OF_IPV6_SUBNETWORKS" + ] subnetworks: _list[RouterNatSubnetworkToNat] tcpEstablishedIdleTimeoutSec: int tcpTimeWaitTimeoutSec: int @@ -5296,6 +5969,10 @@ class RouterNatSubnetworkToNat(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class RouterNatSubnetworkToNat64(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class RouterStatus(typing_extensions.TypedDict, total=False): bestRoutes: _list[Route] @@ -5357,6 +6034,32 @@ class RouterStatusResponse(typing_extensions.TypedDict, total=False): kind: str result: RouterStatus +@typing.type_check_only +class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): + resource: RoutePolicy + +@typing.type_check_only +class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): + etag: str + id: str + kind: str + nextPageToken: str + result: _list[BgpRoute] + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): + etag: str + id: str + kind: str + nextPageToken: str + result: _list[RoutePolicy] + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RoutersPreviewResponse(typing_extensions.TypedDict, total=False): resource: Router @@ -5416,6 +6119,7 @@ class ScalingScheduleStatus(typing_extensions.TypedDict, total=False): class Scheduling(typing_extensions.TypedDict, total=False): automaticRestart: bool availabilityDomain: int + hostErrorTimeoutSeconds: int instanceTerminationAction: typing_extensions.Literal[ "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" ] @@ -5427,7 +6131,9 @@ class Scheduling(typing_extensions.TypedDict, total=False): onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool - provisioningModel: typing_extensions.Literal["SPOT", "STANDARD"] + provisioningModel: typing_extensions.Literal[ + "RESERVATION_BOUND", "SPOT", "STANDARD" + ] terminationTime: str @typing.type_check_only @@ -5550,7 +6256,9 @@ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig( @typing.type_check_only class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): - ddosProtection: typing_extensions.Literal["ADVANCED", "STANDARD"] + ddosProtection: typing_extensions.Literal[ + "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" + ] @typing.type_check_only class SecurityPolicyList(typing_extensions.TypedDict, total=False): @@ -5893,6 +6601,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): diskSizeGb: str downloadBytes: str enableConfidentialCompute: bool + guestFlush: bool guestOsFeatures: _list[GuestOsFeature] id: str kind: str @@ -6261,12 +6970,15 @@ class Subnetwork(typing_extensions.TypedDict, total=False): id: str internalIpv6Prefix: str ipCidrRange: str + ipCollection: str ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] ipv6CidrRange: str + ipv6GceEndpoint: typing_extensions.Literal["VM_AND_FR", "VM_ONLY"] kind: str logConfig: SubnetworkLogConfig name: str network: str + params: SubnetworkParams privateIpGoogleAccess: bool privateIpv6GoogleAccess: typing_extensions.Literal[ "DISABLE_GOOGLE_ACCESS", @@ -6290,6 +7002,8 @@ class Subnetwork(typing_extensions.TypedDict, total=False): selfLink: str stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] state: typing_extensions.Literal["DRAINING", "READY"] + systemReservedExternalIpv6Ranges: _list[str] + systemReservedInternalIpv6Ranges: _list[str] @typing.type_check_only class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): @@ -6328,6 +7042,10 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): ] metadataFields: _list[str] +@typing.type_check_only +class SubnetworkParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ipCidrRange: str @@ -6343,6 +7061,11 @@ class SubnetworksScopedList(typing_extensions.TypedDict, total=False): subnetworks: _list[Subnetwork] warning: dict[str, typing.Any] +@typing.type_check_only +class SubnetworksScopedWarning(typing_extensions.TypedDict, total=False): + scopeName: str + warning: dict[str, typing.Any] + @typing.type_check_only class SubnetworksSetPrivateIpGoogleAccessRequest( typing_extensions.TypedDict, total=False @@ -6893,7 +7616,9 @@ class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): items: _list[UsableSubnetwork] kind: str nextPageToken: str + scopedWarnings: _list[SubnetworksScopedWarning] selfLink: str + unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/config/v1/resources.pyi b/googleapiclient-stubs/_apis/config/v1/resources.pyi index 73c959fa..c4955a83 100644 --- a/googleapiclient-stubs/_apis/config/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/config/v1/resources.pyi @@ -209,6 +209,48 @@ class ConfigResource(googleapiclient.discovery.Resource): @typing.type_check_only class PreviewsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResourceChangesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ResourceChangeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListResourceChangesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListResourceChangesResponseHttpRequest, + previous_response: ListResourceChangesResponse, + ) -> ListResourceChangesResponseHttpRequest | None: ... + + @typing.type_check_only + class ResourceDriftsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ResourceDriftHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListResourceDriftsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListResourceDriftsResponseHttpRequest, + previous_response: ListResourceDriftsResponse, + ) -> ListResourceDriftsResponseHttpRequest | None: ... + def create( self, *, @@ -246,6 +288,8 @@ class ConfigResource(googleapiclient.discovery.Resource): previous_request: ListPreviewsResponseHttpRequest, previous_response: ListPreviewsResponse, ) -> ListPreviewsResponseHttpRequest | None: ... + def resourceChanges(self) -> ResourceChangesResource: ... + def resourceDrifts(self) -> ResourceDriftsResource: ... @typing.type_check_only class TerraformVersionsResource(googleapiclient.discovery.Resource): @@ -275,6 +319,7 @@ class ConfigResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -362,6 +407,22 @@ class ListPreviewsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListPreviewsResponse: ... +@typing.type_check_only +class ListResourceChangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListResourceChangesResponse: ... + +@typing.type_check_only +class ListResourceDriftsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListResourceDriftsResponse: ... + @typing.type_check_only class ListResourcesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -434,6 +495,22 @@ class ResourceHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Resource: ... +@typing.type_check_only +class ResourceChangeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ResourceChange: ... + +@typing.type_check_only +class ResourceDriftHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ResourceDrift: ... + @typing.type_check_only class RevisionHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/config/v1/schemas.pyi b/googleapiclient-stubs/_apis/config/v1/schemas.pyi index 09aa6823..55fbf910 100644 --- a/googleapiclient-stubs/_apis/config/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/config/v1/schemas.pyi @@ -165,6 +165,18 @@ class ListPreviewsResponse(typing_extensions.TypedDict, total=False): previews: _list[Preview] unreachable: _list[str] +@typing.type_check_only +class ListResourceChangesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resourceChanges: _list[ResourceChange] + unreachable: _list[str] + +@typing.type_check_only +class ListResourceDriftsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resourceDrifts: _list[ResourceDrift] + unreachable: _list[str] + @typing.type_check_only class ListResourcesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -301,6 +313,22 @@ class PreviewResult(typing_extensions.TypedDict, total=False): binarySignedUri: str jsonSignedUri: str +@typing.type_check_only +class PropertyChange(typing_extensions.TypedDict, total=False): + after: typing.Any + afterSensitivePaths: _list[str] + before: typing.Any + beforeSensitivePaths: _list[str] + path: str + +@typing.type_check_only +class PropertyDrift(typing_extensions.TypedDict, total=False): + after: typing.Any + afterSensitivePaths: _list[str] + before: typing.Any + beforeSensitivePaths: _list[str] + path: str + @typing.type_check_only class Resource(typing_extensions.TypedDict, total=False): caiAssets: dict[str, typing.Any] @@ -317,6 +345,36 @@ class Resource(typing_extensions.TypedDict, total=False): class ResourceCAIInfo(typing_extensions.TypedDict, total=False): fullResourceName: str +@typing.type_check_only +class ResourceChange(typing_extensions.TypedDict, total=False): + intent: typing_extensions.Literal[ + "INTENT_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "RECREATE", "UNCHANGED" + ] + name: str + propertyChanges: _list[PropertyChange] + terraformInfo: ResourceChangeTerraformInfo + +@typing.type_check_only +class ResourceChangeTerraformInfo(typing_extensions.TypedDict, total=False): + actions: _list[str] + address: str + provider: str + resourceName: str + type: str + +@typing.type_check_only +class ResourceDrift(typing_extensions.TypedDict, total=False): + name: str + propertyDrifts: _list[PropertyDrift] + terraformInfo: ResourceDriftTerraformInfo + +@typing.type_check_only +class ResourceDriftTerraformInfo(typing_extensions.TypedDict, total=False): + address: str + provider: str + resourceName: str + type: str + @typing.type_check_only class ResourceTerraformInfo(typing_extensions.TypedDict, total=False): address: str diff --git a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi index 48b14561..686a9982 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi @@ -71,6 +71,56 @@ class ConnectorsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class EndUserAuthenticationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: EndUserAuthentication = ..., + endUserAuthenticationId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "END_USER_AUTHENTICATION_VIEW_UNSPECIFIED", + "BASIC_VIEW", + "FULL_VIEW", + ] = ..., + **kwargs: typing.Any, + ) -> EndUserAuthenticationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEndUserAuthenticationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEndUserAuthenticationsResponseHttpRequest, + previous_response: ListEndUserAuthenticationsResponse, + ) -> ListEndUserAuthenticationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: EndUserAuthentication = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class EventSubscriptionsResource(googleapiclient.discovery.Resource): def create( @@ -254,6 +304,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): def connectionSchemaMetadata( self, ) -> ConnectionSchemaMetadataResource: ... + def endUserAuthentications(self) -> EndUserAuthenticationsResource: ... def eventSubscriptions(self) -> EventSubscriptionsResource: ... def runtimeActionSchemas(self) -> RuntimeActionSchemasResource: ... def runtimeEntitySchemas(self) -> RuntimeEntitySchemasResource: ... @@ -450,6 +501,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListManagedZonesResponseHttpRequest: ... def list_next( @@ -540,7 +592,10 @@ class ConnectorsResource(googleapiclient.discovery.Resource): *, name: str, view: typing_extensions.Literal[ - "AUTH_SCHEMA_VIEW_UNSPECIFIED", "BASIC", "JSON_SCHEMA" + "AUTH_SCHEMA_VIEW_UNSPECIFIED", + "BASIC", + "JSON_SCHEMA", + "EUA_SCHEMA", ] = ..., **kwargs: typing.Any, ) -> FetchAuthSchemaResponseHttpRequest: ... @@ -646,6 +701,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -743,6 +799,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class EndUserAuthenticationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EndUserAuthentication: ... + @typing.type_check_only class EndpointAttachmentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -823,6 +887,14 @@ class ListCustomConnectorsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListCustomConnectorsResponse: ... +@typing.type_check_only +class ListEndUserAuthenticationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEndUserAuthenticationsResponse: ... + @typing.type_check_only class ListEndpointAttachmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index 86da588f..aa6d8002 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -181,6 +181,7 @@ class Connection(typing_extensions.TypedDict, total=False): description: str destinationConfigs: _list[DestinationConfig] envoyImageLocation: str + euaOauthAuthConfig: AuthConfig eventingConfig: EventingConfig eventingEnablementType: typing_extensions.Literal[ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", @@ -188,6 +189,7 @@ class Connection(typing_extensions.TypedDict, total=False): "ONLY_EVENTING", ] eventingRuntimeData: EventingRuntimeData + fallbackOnAdminCredentials: bool host: str imageLocation: str isTrustedTester: bool @@ -205,6 +207,7 @@ class Connection(typing_extensions.TypedDict, total=False): ] suspended: bool tlsServiceDirectory: str + trafficShapingConfigs: _list[TrafficShapingConfig] updateTime: str @typing.type_check_only @@ -284,7 +287,13 @@ 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", + ] provisionCloudSpanner: bool + provisionMemstore: bool ratelimitThreshold: str resourceLimits: ResourceLimits resourceRequests: ResourceRequests @@ -301,7 +310,6 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): displayName: str egressControlConfig: EgressControlConfig eventingConfigTemplate: EventingConfigTemplate - isAsyncOperationsSupported: bool isCustomActionsSupported: bool isCustomEntitiesSupported: bool labels: dict[str, typing.Any] @@ -331,6 +339,7 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): ] ] updateTime: str + vpcscConfig: VpcscConfig @typing.type_check_only class ConnectorVersionInfraConfig(typing_extensions.TypedDict, total=False): @@ -370,7 +379,7 @@ class CustomConnector(typing_extensions.TypedDict, total=False): allMarketplaceVersions: _list[str] createTime: str customConnectorType: typing_extensions.Literal[ - "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO" + "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO", "SDK" ] description: str displayName: str @@ -382,7 +391,10 @@ class CustomConnector(typing_extensions.TypedDict, total=False): @typing.type_check_only class CustomConnectorVersion(typing_extensions.TypedDict, total=False): + asyncOperationsSupport: bool authConfig: AuthConfig + authConfigTemplates: _list[AuthConfigTemplate] + authOverrideSupport: bool backendVariableTemplates: _list[ConfigVariableTemplate] createTime: str destinationConfigs: _list[DestinationConfig] @@ -450,6 +462,11 @@ class DestinationConfigTemplate(typing_extensions.TypedDict, total=False): ] regexPattern: str +@typing.type_check_only +class EUASecret(typing_extensions.TypedDict, total=False): + secretValue: str + secretVersion: str + @typing.type_check_only class EgressControlConfig(typing_extensions.TypedDict, total=False): backends: str @@ -477,6 +494,141 @@ class EndPoint(typing_extensions.TypedDict, total=False): endpointUri: str headers: _list[Header] +@typing.type_check_only +class EndUserAuthentication(typing_extensions.TypedDict, total=False): + configVariables: _list[EndUserAuthenticationConfigVariable] + createTime: str + destinationConfigs: _list[DestinationConfig] + endUserAuthenticationConfig: EndUserAuthenticationConfig + labels: _list[str] + name: str + notifyEndpointDestination: EndUserAuthenticationNotifyEndpointDestination + roles: _list[ + typing_extensions.Literal[ + "ROLE_UNSPECIFIED", "READER", "READER_DOMAIN_WIDE_ACCESSIBLE" + ] + ] + status: EndUserAuthenticationEndUserAuthenticationStatus + updateTime: str + userId: str + +@typing.type_check_only +class EndUserAuthenticationConfig(typing_extensions.TypedDict, total=False): + additionalVariables: _list[EndUserAuthenticationConfigVariable] + authKey: str + authType: typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", + "USER_PASSWORD", + "OAUTH2_JWT_BEARER", + "OAUTH2_CLIENT_CREDENTIALS", + "SSH_PUBLIC_KEY", + "OAUTH2_AUTH_CODE_FLOW", + "GOOGLE_AUTHENTICATION", + "OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED", + ] + oauth2AuthCodeFlow: EndUserAuthenticationConfigOauth2AuthCodeFlow + oauth2AuthCodeFlowGoogleManaged: ( + EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged + ) + oauth2ClientCredentials: EndUserAuthenticationConfigOauth2ClientCredentials + oauth2JwtBearer: EndUserAuthenticationConfigOauth2JwtBearer + sshPublicKey: EndUserAuthenticationConfigSshPublicKey + userPassword: EndUserAuthenticationConfigUserPassword + +@typing.type_check_only +class EndUserAuthenticationConfigOauth2AuthCodeFlow( + typing_extensions.TypedDict, total=False +): + authCode: str + authUri: str + clientId: str + clientSecret: EUASecret + enablePkce: bool + oauthTokenData: OAuthTokenData + pkceVerifier: str + redirectUri: str + scopes: _list[str] + +@typing.type_check_only +class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged( + typing_extensions.TypedDict, total=False +): + authCode: str + oauthTokenData: OAuthTokenData + redirectUri: str + scopes: _list[str] + +@typing.type_check_only +class EndUserAuthenticationConfigOauth2ClientCredentials( + typing_extensions.TypedDict, total=False +): + clientId: str + clientSecret: EUASecret + +@typing.type_check_only +class EndUserAuthenticationConfigOauth2JwtBearer( + typing_extensions.TypedDict, total=False +): + clientKey: EUASecret + jwtClaims: EndUserAuthenticationConfigOauth2JwtBearerJwtClaims + +@typing.type_check_only +class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims( + typing_extensions.TypedDict, total=False +): + audience: str + issuer: str + subject: str + +@typing.type_check_only +class EndUserAuthenticationConfigSshPublicKey(typing_extensions.TypedDict, total=False): + certType: str + sshClientCert: EUASecret + sshClientCertPass: EUASecret + username: str + +@typing.type_check_only +class EndUserAuthenticationConfigUserPassword(typing_extensions.TypedDict, total=False): + password: EUASecret + username: str + +@typing.type_check_only +class EndUserAuthenticationConfigVariable(typing_extensions.TypedDict, total=False): + boolValue: bool + intValue: str + key: str + secretValue: EUASecret + stringValue: str + +@typing.type_check_only +class EndUserAuthenticationEndUserAuthenticationStatus( + typing_extensions.TypedDict, total=False +): + description: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] + +@typing.type_check_only +class EndUserAuthenticationNotifyEndpointDestination( + typing_extensions.TypedDict, total=False +): + endpoint: EndUserAuthenticationNotifyEndpointDestinationEndPoint + serviceAccount: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ENDPOINT"] + +@typing.type_check_only +class EndUserAuthenticationNotifyEndpointDestinationEndPoint( + typing_extensions.TypedDict, total=False +): + endpointUri: str + headers: _list[EndUserAuthenticationNotifyEndpointDestinationEndPointHeader] + +@typing.type_check_only +class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader( + typing_extensions.TypedDict, total=False +): + key: str + value: str + @typing.type_check_only class EndpointAttachment(typing_extensions.TypedDict, total=False): createTime: str @@ -498,6 +650,10 @@ class EndpointAttachment(typing_extensions.TypedDict, total=False): ] updateTime: str +@typing.type_check_only +class EnrichmentConfig(typing_extensions.TypedDict, total=False): + appendAcl: bool + @typing.type_check_only class EnumOption(typing_extensions.TypedDict, total=False): displayName: str @@ -519,6 +675,7 @@ class EventSubscription(typing_extensions.TypedDict, total=False): @typing.type_check_only class EventSubscriptionDestination(typing_extensions.TypedDict, total=False): endpoint: EndPoint + pubsub: PubSub serviceAccount: str type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ENDPOINT", "GCS", "PUBSUB"] @@ -545,12 +702,15 @@ class EventingConfig(typing_extensions.TypedDict, total=False): additionalVariables: _list[ConfigVariable] authConfig: AuthConfig deadLetterConfig: DeadLetterConfig + enrichmentConfig: EnrichmentConfig enrichmentEnabled: bool eventsListenerIngressEndpoint: str listenerAuthConfig: AuthConfig + privateConnectivityAllowlistedProjects: _list[str] privateConnectivityEnabled: bool proxyDestinationConfig: DestinationConfig registrationDestinationConfig: DestinationConfig + sslConfig: SslConfig @typing.type_check_only class EventingConfigTemplate(typing_extensions.TypedDict, total=False): @@ -567,6 +727,7 @@ class EventingConfigTemplate(typing_extensions.TypedDict, total=False): listenerAuthConfigTemplates: _list[AuthConfigTemplate] proxyDestinationConfig: DestinationConfigTemplate registrationDestinationConfig: DestinationConfigTemplate + sslConfigTemplate: SslConfigTemplate triggerConfigVariables: _list[ConfigVariableTemplate] @typing.type_check_only @@ -759,6 +920,7 @@ class InputParameter(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -803,6 +965,7 @@ class JsonAuthSchema(AlternativeJsonAuthSchema): ... @typing.type_check_only class JsonSchema(typing_extensions.TypedDict, total=False): + additionalDetails: dict[str, typing.Any] default: typing.Any description: str enum: _list[typing.Any] @@ -900,6 +1063,12 @@ class ListCustomConnectorsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListEndUserAuthenticationsResponse(typing_extensions.TypedDict, total=False): + endUserAuthentications: _list[EndUserAuthentication] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListEndpointAttachmentsResponse(typing_extensions.TypedDict, total=False): endpointAttachments: _list[EndpointAttachment] @@ -931,6 +1100,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListManagedZonesResponse(typing_extensions.TypedDict, total=False): managedZones: _list[ManagedZone] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): @@ -1061,6 +1231,13 @@ class NodeSloMetadata(typing_extensions.TypedDict, total=False): class NotificationParameter(typing_extensions.TypedDict, total=False): values: _list[str] +@typing.type_check_only +class OAuthTokenData(typing_extensions.TypedDict, total=False): + accessToken: EUASecret + createTime: str + expiry: str + refreshToken: EUASecret + @typing.type_check_only class Oauth2AuthCodeFlow(typing_extensions.TypedDict, total=False): authCode: str @@ -1112,7 +1289,9 @@ class PartnerMetadata(typing_extensions.TypedDict, total=False): additionalComments: str confirmPartnerRequirements: bool demoUri: str + hasDynamicSpecUri: bool integrationTemplates: str + localSpecPath: str marketplaceProduct: str marketplaceProductId: str marketplaceProductProjectId: str @@ -1160,6 +1339,13 @@ class ProvisionedResource(typing_extensions.TypedDict, total=False): resourceType: str resourceUrl: str +@typing.type_check_only +class PubSub(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + configVariables: _list[ConfigVariable] + projectId: str + topicId: str + @typing.type_check_only class PublishCustomConnectorVersionRequest(typing_extensions.TypedDict, total=False): partnerMetadata: PartnerMetadata @@ -1427,6 +1613,7 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class SupportedRuntimeFeatures(typing_extensions.TypedDict, total=False): actionApis: bool + asyncOperations: bool entityApis: bool sqlQuery: bool @@ -1445,6 +1632,11 @@ class TimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class TrafficShapingConfig(typing_extensions.TypedDict, total=False): + duration: str + quotaLimit: str + @typing.type_check_only class UpdatePolicy(typing_extensions.TypedDict, total=False): channel: typing_extensions.Literal[ @@ -1463,13 +1655,18 @@ class ValidateCustomConnectorSpecRequest(typing_extensions.TypedDict, total=Fals serviceAccount: str specLocation: str specType: typing_extensions.Literal[ - "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO" + "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO", "SDK" ] @typing.type_check_only class ValidateCustomConnectorSpecResponse(typing_extensions.TypedDict, total=False): errorMessage: str +@typing.type_check_only +class VpcscConfig(typing_extensions.TypedDict, total=False): + defaultAllowlistedHost: _list[str] + disableFirewallVpcscFlow: bool + @typing.type_check_only class WebhookData(typing_extensions.TypedDict, total=False): additionalVariables: _list[ConfigVariable] diff --git a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi index 63821f5a..db5f4f9d 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi @@ -29,7 +29,15 @@ class ConnectorsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ExecuteActionResponseHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "ACTION_SCHEMA_VIEW_UNSPECIFIED", + "ACTION_SCHEMA_VIEW_BASIC", + "ACTION_SCHEMA_VIEW_ENRICHED", + ] = ..., + **kwargs: typing.Any, ) -> ActionHttpRequest: ... def list( self, @@ -82,6 +90,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., sortBy: str | _list[str] = ..., + sortOrder: str | _list[str] = ..., **kwargs: typing.Any, ) -> ListEntitiesResponseHttpRequest: ... def list_next( @@ -102,7 +111,15 @@ class ConnectorsResource(googleapiclient.discovery.Resource): ) -> UpdateEntitiesWithConditionsResponseHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "ENTITY_TYPE_SCHEMA_VIEW_UNSPECIFIED", + "ENTITY_TYPE_SCHEMA_VIEW_BASIC", + "ENTITY_TYPE_SCHEMA_VIEW_ENRICHED", + ] = ..., + **kwargs: typing.Any, ) -> EntityTypeHttpRequest: ... def list( self, diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index 2da8e66f..a4ef2ef6 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -25,6 +25,7 @@ class AuthCodeData(typing_extensions.TypedDict, total=False): authCode: str pkceVerifier: str redirectUri: str + scopes: _list[str] @typing.type_check_only class CheckReadinessResponse(typing_extensions.TypedDict, total=False): @@ -214,6 +215,7 @@ class InputParameter(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi index 0ad8caa1..3178b17b 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi @@ -96,6 +96,7 @@ class CCAIPlatformResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi index 15ae8720..b7697162 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi @@ -20,6 +20,7 @@ class Component(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContactCenter(typing_extensions.TypedDict, total=False): adminUser: AdminUser + advancedReportingEnabled: bool ccaipManagedUsers: bool createTime: str critical: Critical @@ -33,6 +34,7 @@ class ContactCenter(typing_extensions.TypedDict, total=False): normal: Normal privateAccess: PrivateAccess privateComponents: _list[str] + releaseVersion: str samlParams: SAMLParams state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -87,7 +89,6 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): "STANDARD_XLARGE", "STANDARD_2XLARGE", "STANDARD_3XLARGE", - "DEV_XSMALL", "MULTIREGION_SMALL", "MULTIREGION_MEDIUM", "MULTIREGION_LARGE", @@ -169,7 +170,6 @@ class Quota(typing_extensions.TypedDict, total=False): "STANDARD_XLARGE", "STANDARD_2XLARGE", "STANDARD_3XLARGE", - "DEV_XSMALL", "MULTIREGION_SMALL", "MULTIREGION_MEDIUM", "MULTIREGION_LARGE", diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi index ba20a7aa..bee03851 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi @@ -57,12 +57,249 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1AnalysisRuleHttpRequest: ... + @typing.type_check_only + class AssessmentRulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1AssessmentRule = ..., + assessmentRuleId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AssessmentRule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest: ... + @typing.type_check_only class AuthorizedViewSetsResource(googleapiclient.discovery.Resource): @typing.type_check_only class AuthorizedViewsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ConversationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnalysesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Analysis = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudContactcenterinsightsV1AnalysisHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAnalysesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class AssessmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NotesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Note = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1NoteHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListNotesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1Note = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1NoteHttpRequest + ): ... + + def appeal( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AssessmentHttpRequest + ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Assessment = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AssessmentHttpRequest + ): ... + def delete( + self, + *, + name: str, + force: bool = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def finalize( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AssessmentHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudContactcenterinsightsV1AssessmentHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAssessmentsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest + | None + ): ... + def publish( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AssessmentHttpRequest + ): ... + def notes(self) -> NotesResource: ... + + @typing.type_check_only + class FeedbackLabelsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1FeedbackLabel = ..., + feedbackLabelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1FeedbackLabel = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest: ... + + def bulkAnalyze( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def calculateStats( self, *, @@ -70,7 +307,116 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): filter: str = ..., **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1CalculateStatsResponseHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" + ] = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1ConversationHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListConversationsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest + | None + ): ... + def analyses(self) -> AnalysesResource: ... + def assessments(self) -> AssessmentsResource: ... + def feedbackLabels(self) -> FeedbackLabelsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1AuthorizedView = ..., + authorizedViewId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AuthorizedView = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest + ): ... def queryMetrics( self, *, @@ -78,8 +424,74 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def queryPerformanceOverview( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def search( + self, + *, + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponseHttpRequest: ... + def search_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponseHttpRequest + | None + ): ... def conversations(self) -> ConversationsResource: ... + def operations(self) -> OperationsResource: ... + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet = ..., + authorizedViewSetId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest: ... def authorizedViews(self) -> AuthorizedViewsResource: ... @typing.type_check_only @@ -117,6 +529,98 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class AssessmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NotesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Note = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1NoteHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListNotesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1Note = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1NoteHttpRequest: ... + + def appeal( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Assessment = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def finalize( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AssessmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAssessmentsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest + | None + ): ... + def publish( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssessmentHttpRequest: ... + def notes(self) -> NotesResource: ... + @typing.type_check_only class FeedbackLabelsResource(googleapiclient.discovery.Resource): def create( @@ -242,8 +746,209 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def analyses(self) -> AnalysesResource: ... + def assessments(self) -> AssessmentsResource: ... def feedbackLabels(self) -> FeedbackLabelsResource: ... + @typing.type_check_only + class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConversationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnalysesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Analysis = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AnalysisHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAnalysesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class FeedbackLabelsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1FeedbackLabel = ..., + feedbackLabelId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1FeedbackLabel = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest + ): ... + + def bulkAnalyze( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def bulkDelete( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def calculateStats( + self, + *, + location: str, + body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1CalculateStatsResponseHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ConversationHttpRequest: ... + def ingest( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListConversationsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest + | None + ): ... + def analyses(self) -> AnalysesResource: ... + def feedbackLabels(self) -> FeedbackLabelsResource: ... + + @typing.type_check_only + class InsightsdataResource(googleapiclient.discovery.Resource): + def export( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def bulkDeleteFeedbackLabels( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def bulkDownloadFeedbackLabels( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def bulkUploadFeedbackLabels( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def listAllFeedbackLabels( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponseHttpRequest: ... + def listAllFeedbackLabels_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponseHttpRequest + | None + ): ... + def conversations(self) -> ConversationsResource: ... + def insightsdata(self) -> InsightsdataResource: ... + @typing.type_check_only class EncryptionSpecResource(googleapiclient.discovery.Resource): def initialize( @@ -418,6 +1123,34 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1PhraseMatcherHttpRequest: ... + @typing.type_check_only + class QaQuestionTagsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1QaQuestionTag = ..., + qaQuestionTagId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1QaQuestionTagHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1QaQuestionTagHttpRequest: ... + def list( + self, *, parent: str, filter: str = ..., **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponseHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1QaQuestionTag = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class QaScorecardsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -611,6 +1344,13 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1ViewHttpRequest: ... + def bulkDeleteFeedbackLabels( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def bulkDownloadFeedbackLabels( self, *, @@ -655,6 +1395,13 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def queryPerformanceOverview( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def updateSettings( self, *, @@ -664,13 +1411,16 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1SettingsHttpRequest: ... def analysisRules(self) -> AnalysisRulesResource: ... + def assessmentRules(self) -> AssessmentRulesResource: ... def authorizedViewSets(self) -> AuthorizedViewSetsResource: ... def conversations(self) -> ConversationsResource: ... + def datasets(self) -> DatasetsResource: ... def encryptionSpec(self) -> EncryptionSpecResource: ... def insightsdata(self) -> InsightsdataResource: ... def issueModels(self) -> IssueModelsResource: ... def operations(self) -> OperationsResource: ... def phraseMatchers(self) -> PhraseMatchersResource: ... + def qaQuestionTags(self) -> QaQuestionTagsResource: ... def qaScorecards(self) -> QaScorecardsResource: ... def views(self) -> ViewsResource: ... @@ -710,6 +1460,46 @@ class GoogleCloudContactcenterinsightsV1AnalysisRuleHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1AnalysisRule: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssessmentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1Assessment: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1AssessmentRule: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1AuthorizedView: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSet: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -810,6 +1600,46 @@ class GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAssessmentsResponse: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -850,6 +1680,16 @@ class GoogleCloudContactcenterinsightsV1ListIssuesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListIssuesResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListNotesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListNotesResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponseHttpRequest( googleapiclient.http.HttpRequest @@ -860,6 +1700,16 @@ class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaQuestionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -900,6 +1750,16 @@ class GoogleCloudContactcenterinsightsV1ListViewsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListViewsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1NoteHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1Note: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1PhraseMatcherHttpRequest( googleapiclient.http.HttpRequest @@ -920,6 +1780,16 @@ class GoogleCloudContactcenterinsightsV1QaQuestionHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1QaQuestion: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QaQuestionTagHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1QaQuestionTag: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaScorecardHttpRequest( googleapiclient.http.HttpRequest @@ -940,6 +1810,16 @@ class GoogleCloudContactcenterinsightsV1QaScorecardRevisionHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1QaScorecardRevision: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1SettingsHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi index aff1eca8..4d299669 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi @@ -95,6 +95,7 @@ class GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig( typing_extensions.TypedDict, total=False ): conversationProfile: str + generator: str summarizationModel: typing_extensions.Literal[ "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" ] @@ -112,6 +113,11 @@ class GoogleCloudContactcenterinsightsV1AnswerFeedback( ] displayed: bool +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AppealAssessmentRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ArticleSuggestionData( typing_extensions.TypedDict, total=False @@ -123,6 +129,49 @@ class GoogleCloudContactcenterinsightsV1ArticleSuggestionData( title: str uri: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Assessment( + typing_extensions.TypedDict, total=False +): + agentInfo: GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo + createTime: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "DRAFT", "PUBLISHED", "APPEALED", "FINALIZED" + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssessmentRule( + typing_extensions.TypedDict, total=False +): + active: bool + createTime: str + displayName: str + name: str + sampleRule: GoogleCloudContactcenterinsightsV1SampleRule + scheduleInfo: GoogleCloudContactcenterinsightsV1ScheduleInfo + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AuthorizedView( + typing_extensions.TypedDict, total=False +): + conversationFilter: str + createTime: str + displayName: str + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AuthorizedViewSet( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + name: str + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata( typing_extensions.TypedDict, total=False @@ -174,6 +223,25 @@ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata( + typing_extensions.TypedDict, total=False +): + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata( typing_extensions.TypedDict, total=False @@ -199,12 +267,16 @@ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest( ): conversationFilter: str feedbackLabelType: typing_extensions.Literal[ - "FEEDBACK_LABEL_TYPE_UNSPECIFIED", "QUALITY_AI", "TOPIC_MODELING" + "FEEDBACK_LABEL_TYPE_UNSPECIFIED", + "QUALITY_AI", + "TOPIC_MODELING", + "AGENT_ASSIST_SUMMARY", ] filter: str gcsDestination: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination maxDownloadCount: int parent: str + sheetsDestination: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination templateQaScorecardId: _list[str] @typing.type_check_only @@ -217,6 +289,13 @@ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDest objectUri: str recordsPerFileCount: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination( + typing_extensions.TypedDict, total=False +): + sheetTitle: str + spreadsheetUri: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse( typing_extensions.TypedDict, total=False @@ -229,6 +308,9 @@ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest( gcsSource: ( GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource ) + sheetsSource: ( + GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource + ) validateOnly: bool @typing.type_check_only @@ -238,12 +320,24 @@ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] objectUri: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource( + typing_extensions.TypedDict, total=False +): + spreadsheetUri: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( typing_extensions.TypedDict, total=False ): currentStats: GoogleCloudContactcenterinsightsV1IssueModelLabelStats +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1CalculateStatsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateStatsResponse( typing_extensions.TypedDict, total=False @@ -333,6 +427,7 @@ class GoogleCloudContactcenterinsightsV1ConversationDataSource( ): dialogflowSource: GoogleCloudContactcenterinsightsV1DialogflowSource gcsSource: GoogleCloudContactcenterinsightsV1GcsSource + metadataUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment( @@ -392,6 +487,7 @@ class GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData( answerRecord: str confidence: float conversationModel: str + generatorId: str metadata: dict[str, typing.Any] text: str textSections: dict[str, typing.Any] @@ -474,6 +570,18 @@ class GoogleCloudContactcenterinsightsV1CreateIssueRequest( issue: GoogleCloudContactcenterinsightsV1Issue parent: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Dataset( + typing_extensions.TypedDict, total=False +): + createTime: str + description: str + displayName: str + name: str + ttl: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -488,6 +596,20 @@ class GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest( ): name: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -542,11 +664,13 @@ class GoogleCloudContactcenterinsightsV1Dimension( dimensionKey: typing_extensions.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", + "ISSUE_NAME", "AGENT", "AGENT_TEAM", "QA_QUESTION_ID", "QA_QUESTION_ANSWER_VALUE", "CONVERSATION_PROFILE_ID", + "MEDIUM", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata @@ -640,8 +764,10 @@ class GoogleCloudContactcenterinsightsV1ExactMatchConfig( class GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata( typing_extensions.TypedDict, total=False ): + completedExportCount: int createTime: str endTime: str + failedExportCount: int partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest @@ -652,6 +778,17 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( bigQueryDestination: ( GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination ) + exportSchemaVersion: typing_extensions.Literal[ + "EXPORT_SCHEMA_VERSION_UNSPECIFIED", + "EXPORT_V1", + "EXPORT_V2", + "EXPORT_V3", + "EXPORT_V4", + "EXPORT_V5", + "EXPORT_V6", + "EXPORT_V7", + "EXPORT_VERSION_LATEST_AVAILABLE", + ] filter: str kmsKey: str parent: str @@ -722,6 +859,11 @@ class GoogleCloudContactcenterinsightsV1FeedbackLabel( qaAnswerLabel: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue updateTime: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1GcsSource( typing_extensions.TypedDict, total=False @@ -807,6 +949,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationCo class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource( typing_extensions.TypedDict, total=False ): + audioBucketUri: str bucketObjectType: typing_extensions.Literal[ "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" ] @@ -960,6 +1103,34 @@ class GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse( analysisRules: _list[GoogleCloudContactcenterinsightsV1AnalysisRule] nextPageToken: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse( + typing_extensions.TypedDict, total=False +): + assessmentRules: _list[GoogleCloudContactcenterinsightsV1AssessmentRule] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssessmentsResponse( + typing_extensions.TypedDict, total=False +): + assessments: _list[GoogleCloudContactcenterinsightsV1Assessment] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse( + typing_extensions.TypedDict, total=False +): + authorizedViewSets: _list[GoogleCloudContactcenterinsightsV1AuthorizedViewSet] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse( + typing_extensions.TypedDict, total=False +): + authorizedViews: _list[GoogleCloudContactcenterinsightsV1AuthorizedView] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListConversationsResponse( typing_extensions.TypedDict, total=False @@ -986,6 +1157,13 @@ class GoogleCloudContactcenterinsightsV1ListIssuesResponse( ): issues: _list[GoogleCloudContactcenterinsightsV1Issue] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListNotesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + notes: _list[GoogleCloudContactcenterinsightsV1Note] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse( typing_extensions.TypedDict, total=False @@ -993,6 +1171,13 @@ class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse( nextPageToken: str phraseMatchers: _list[GoogleCloudContactcenterinsightsV1PhraseMatcher] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + qaQuestionTags: _list[GoogleCloudContactcenterinsightsV1QaQuestionTag] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse( typing_extensions.TypedDict, total=False @@ -1021,6 +1206,34 @@ class GoogleCloudContactcenterinsightsV1ListViewsResponse( nextPageToken: str views: _list[GoogleCloudContactcenterinsightsV1View] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Note(typing_extensions.TypedDict, total=False): + assessmentNote: GoogleCloudContactcenterinsightsV1NoteAssessmentNote + content: str + conversationTurnNote: GoogleCloudContactcenterinsightsV1NoteConversationTurnNote + createTime: str + name: str + noteCreator: GoogleCloudContactcenterinsightsV1UserInfo + qaQuestionNote: GoogleCloudContactcenterinsightsV1NoteQaQuestionNote + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1NoteAssessmentNote( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1NoteConversationTurnNote( + typing_extensions.TypedDict, total=False +): + turnIndex: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1NoteQaQuestionNote( + typing_extensions.TypedDict, total=False +): + qaQuestion: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1PhraseMatchData( typing_extensions.TypedDict, total=False @@ -1071,6 +1284,11 @@ class GoogleCloudContactcenterinsightsV1PhraseMatcher( updateTime: str versionTag: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1PublishAssessmentRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaAnswer( typing_extensions.TypedDict, total=False @@ -1115,7 +1333,13 @@ class GoogleCloudContactcenterinsightsV1QaQuestion( metrics: GoogleCloudContactcenterinsightsV1QaQuestionMetrics name: str order: int + predefinedQuestionConfig: ( + GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig + ) questionBody: str + questionType: typing_extensions.Literal[ + "QA_QUESTION_TYPE_UNSPECIFIED", "CUSTOMIZABLE", "PREDEFINED" + ] tags: _list[str] tuningMetadata: GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata updateTime: str @@ -1137,6 +1361,26 @@ class GoogleCloudContactcenterinsightsV1QaQuestionMetrics( ): accuracy: float +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "PREDEFINED_QUESTION_TYPE_UNSPECIFIED", + "CONVERSATION_OUTCOME", + "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE", + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QaQuestionTag( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + name: str + qaQuestionIds: _list[str] + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata( typing_extensions.TypedDict, total=False @@ -1160,6 +1404,7 @@ class GoogleCloudContactcenterinsightsV1QaScorecard( createTime: str description: str displayName: str + isDefault: bool name: str updateTime: str @@ -1218,6 +1463,13 @@ class GoogleCloudContactcenterinsightsV1QaScorecardRevision( "TRAINING_CANCELLED", ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryInterval( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsMetadata( typing_extensions.TypedDict, total=False @@ -1297,6 +1549,34 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries( GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest( + typing_extensions.TypedDict, total=False +): + agentPerformanceSource: ( + GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource + ) + comparisonQueryInterval: GoogleCloudContactcenterinsightsV1QueryInterval + filter: str + queryInterval: GoogleCloudContactcenterinsightsV1QueryInterval + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource( + typing_extensions.TypedDict, total=False +): + agentId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse( + typing_extensions.TypedDict, total=False +): + summaryText: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1RedactionConfig( typing_extensions.TypedDict, total=False @@ -1333,6 +1613,61 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput( "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SampleConversationsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1SampleConversationsRequest + sampleConversationsStats: GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats( + typing_extensions.TypedDict, total=False +): + failedSampleCount: int + successfulSampleCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SampleConversationsRequest( + typing_extensions.TypedDict, total=False +): + destinationDataset: GoogleCloudContactcenterinsightsV1Dataset + parent: str + sampleRule: GoogleCloudContactcenterinsightsV1SampleRule + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SampleConversationsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SampleRule( + typing_extensions.TypedDict, total=False +): + conversationFilter: str + dimension: str + samplePercentage: float + sampleRow: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ScheduleInfo( + typing_extensions.TypedDict, total=False +): + endTime: str + schedule: str + startTime: str + timeZone: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse( + typing_extensions.TypedDict, total=False +): + authorizedViews: _list[GoogleCloudContactcenterinsightsV1AuthorizedView] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1SentimentData( typing_extensions.TypedDict, total=False @@ -1422,6 +1757,21 @@ class GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + qaQuestionTag: GoogleCloudContactcenterinsightsV1QaQuestionTag + updateMask: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1UploadConversationMetadata( typing_extensions.TypedDict, total=False @@ -1442,6 +1792,12 @@ class GoogleCloudContactcenterinsightsV1UploadConversationRequest( redactionConfig: GoogleCloudContactcenterinsightsV1RedactionConfig speechConfig: GoogleCloudContactcenterinsightsV1SpeechConfig +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1UserInfo( + typing_extensions.TypedDict, total=False +): + username: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1View(typing_extensions.TypedDict, total=False): createTime: str @@ -1530,6 +1886,7 @@ class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConf typing_extensions.TypedDict, total=False ): conversationProfile: str + generator: str summarizationModel: typing_extensions.Literal[ "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" ] @@ -1609,6 +1966,25 @@ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata( + typing_extensions.TypedDict, total=False +): + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation( typing_extensions.TypedDict, total=False @@ -1667,6 +2043,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource( ): dialogflowSource: GoogleCloudContactcenterinsightsV1alpha1DialogflowSource gcsSource: GoogleCloudContactcenterinsightsV1alpha1GcsSource + metadataUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment( @@ -1726,6 +2103,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestio answerRecord: str confidence: float conversationModel: str + generatorId: str metadata: dict[str, typing.Any] text: str textSections: dict[str, typing.Any] @@ -1808,6 +2186,18 @@ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest( issue: GoogleCloudContactcenterinsightsV1alpha1Issue parent: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1Dataset( + typing_extensions.TypedDict, total=False +): + createTime: str + description: str + displayName: str + name: str + ttl: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -1822,6 +2212,20 @@ class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest( ): name: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -1871,11 +2275,13 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( dimensionKey: typing_extensions.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", + "ISSUE_NAME", "AGENT", "AGENT_TEAM", "QA_QUESTION_ID", "QA_QUESTION_ANSWER_VALUE", "CONVERSATION_PROFILE_ID", + "MEDIUM", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata @@ -1961,8 +2367,10 @@ class GoogleCloudContactcenterinsightsV1alpha1EntityMentionData( class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata( typing_extensions.TypedDict, total=False ): + completedExportCount: int createTime: str endTime: str + failedExportCount: int partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest @@ -1971,6 +2379,17 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( typing_extensions.TypedDict, total=False ): bigQueryDestination: GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination + exportSchemaVersion: typing_extensions.Literal[ + "EXPORT_SCHEMA_VERSION_UNSPECIFIED", + "EXPORT_V1", + "EXPORT_V2", + "EXPORT_V3", + "EXPORT_V4", + "EXPORT_V5", + "EXPORT_V6", + "EXPORT_V7", + "EXPORT_VERSION_LATEST_AVAILABLE", + ] filter: str kmsKey: str parent: str @@ -2126,6 +2545,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversa class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource( typing_extensions.TypedDict, total=False ): + audioBucketUri: str bucketObjectType: typing_extensions.Literal[ "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" ] @@ -2314,6 +2734,16 @@ class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue( score: float strValue: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + name: str + qaQuestionIds: _list[str] + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult( typing_extensions.TypedDict, total=False @@ -2421,6 +2851,17 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSerie GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse( + typing_extensions.TypedDict, total=False +): + summaryText: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig( typing_extensions.TypedDict, total=False @@ -2461,6 +2902,45 @@ class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput( "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest + sampleConversationsStats: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats( + typing_extensions.TypedDict, total=False +): + failedSampleCount: int + successfulSampleCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest( + typing_extensions.TypedDict, total=False +): + destinationDataset: GoogleCloudContactcenterinsightsV1alpha1Dataset + parent: str + sampleRule: GoogleCloudContactcenterinsightsV1alpha1SampleRule + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1SampleRule( + typing_extensions.TypedDict, total=False +): + conversationFilter: str + dimension: str + samplePercentage: float + sampleRow: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SentimentData( typing_extensions.TypedDict, total=False @@ -2516,6 +2996,21 @@ class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + qaQuestionTag: GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag + updateMask: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/container/v1/resources.pyi b/googleapiclient-stubs/_apis/container/v1/resources.pyi index 9bd2d4ee..bcfdb889 100644 --- a/googleapiclient-stubs/_apis/container/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/container/v1/resources.pyi @@ -66,6 +66,9 @@ class ContainerResource(googleapiclient.discovery.Resource): zone: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def fetchNodePoolUpgradeInfo( + self, *, name: str, version: str = ..., **kwargs: typing.Any + ) -> NodePoolUpgradeInfoHttpRequest: ... def get( self, *, @@ -153,6 +156,9 @@ class ContainerResource(googleapiclient.discovery.Resource): zone: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def fetchClusterUpgradeInfo( + self, *, name: str, version: str = ..., **kwargs: typing.Any + ) -> ClusterUpgradeInfoHttpRequest: ... def get( self, *, @@ -333,6 +339,9 @@ class ContainerResource(googleapiclient.discovery.Resource): name: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def fetchNodePoolUpgradeInfo( + self, *, name: str, version: str = ..., **kwargs: typing.Any + ) -> NodePoolUpgradeInfoHttpRequest: ... def get( self, *, @@ -428,6 +437,9 @@ class ContainerResource(googleapiclient.discovery.Resource): name: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def fetchClusterUpgradeInfo( + self, *, name: str, version: str = ..., **kwargs: typing.Any + ) -> ClusterUpgradeInfoHttpRequest: ... def get( self, *, @@ -620,6 +632,14 @@ class ClusterHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Cluster: ... +@typing.type_check_only +class ClusterUpgradeInfoHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ClusterUpgradeInfo: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -684,6 +704,14 @@ class NodePoolHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> NodePool: ... +@typing.type_check_only +class NodePoolUpgradeInfoHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NodePoolUpgradeInfo: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index 8375e9f9..74407acf 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -12,6 +12,11 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): gpuPartitionSize: str gpuSharingConfig: GPUSharingConfig +@typing.type_check_only +class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): + podIpv4RangeNames: _list[str] + subnetwork: str + @typing.type_check_only class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): network: str @@ -38,9 +43,11 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): gcpFilestoreCsiDriverConfig: GcpFilestoreCsiDriverConfig gcsFuseCsiDriverConfig: GcsFuseCsiDriverConfig gkeBackupAgentConfig: GkeBackupAgentConfig + highScaleCheckpointingConfig: HighScaleCheckpointingConfig horizontalPodAutoscaling: HorizontalPodAutoscaling httpLoadBalancing: HttpLoadBalancing kubernetesDashboard: KubernetesDashboard + lustreCsiDriverConfig: LustreCsiDriverConfig networkPolicyConfig: NetworkPolicyConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig rayOperatorConfig: RayOperatorConfig @@ -57,13 +64,30 @@ class AdvancedDatapathObservabilityConfig(typing_extensions.TypedDict, total=Fal @typing.type_check_only class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): enableNestedVirtualization: bool + performanceMonitoringUnit: typing_extensions.Literal[ + "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", + "ARCHITECTURAL", + "STANDARD", + "ENHANCED", + ] threadsPerCore: str +@typing.type_check_only +class AnonymousAuthenticationConfig(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] + @typing.type_check_only class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): enabled: bool securityGroup: str +@typing.type_check_only +class AutoIpamConfig(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] + @typing.type_check_only class AutoUpgradeOptions(typing_extensions.TypedDict, total=False): autoUpgradeStartTime: str @@ -88,6 +112,10 @@ class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): lastObservation: str subjects: _list[str] +@typing.type_check_only +class AutopilotConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False): bootDiskKmsKey: str @@ -140,6 +168,13 @@ class BlueGreenSettings(typing_extensions.TypedDict, total=False): nodePoolSoakDuration: str standardRolloutPolicy: StandardRolloutPolicy +@typing.type_check_only +class BootDisk(typing_extensions.TypedDict, total=False): + diskType: str + provisionedIops: str + provisionedThroughput: str + sizeGb: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): name: str @@ -178,6 +213,8 @@ class CloudRunConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): addonsConfig: AddonsConfig + alphaClusterFeatureGates: _list[str] + anonymousAuthenticationConfig: AnonymousAuthenticationConfig authenticatorGroupsConfig: AuthenticatorGroupsConfig autopilot: Autopilot autoscaling: ClusterAutoscaling @@ -203,6 +240,7 @@ class Cluster(typing_extensions.TypedDict, total=False): etag: str expireTime: str fleet: Fleet + gkeAutoUpgradeConfig: GkeAutoUpgradeConfig id: str identityServiceConfig: IdentityServiceConfig initialClusterVersion: str @@ -232,6 +270,7 @@ class Cluster(typing_extensions.TypedDict, total=False): nodePools: _list[NodePool] notificationConfig: NotificationConfig parentProductConfig: ParentProductConfig + podAutoscaling: PodAutoscaling privateClusterConfig: PrivateClusterConfig rbacBindingConfig: RBACBindingConfig releaseChannel: ReleaseChannel @@ -278,8 +317,11 @@ class ClusterNetworkPerformanceConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ClusterUpdate(typing_extensions.TypedDict, total=False): additionalPodRangesConfig: AdditionalPodRangesConfig + desiredAdditionalIpRangesConfig: DesiredAdditionalIPRangesConfig desiredAddonsConfig: AddonsConfig + desiredAnonymousAuthenticationConfig: AnonymousAuthenticationConfig desiredAuthenticatorGroupsConfig: AuthenticatorGroupsConfig + desiredAutoIpamConfig: AutoIpamConfig desiredAutopilotWorkloadPolicyConfig: WorkloadPolicyConfig desiredBinaryAuthorization: BinaryAuthorization desiredClusterAutoscaling: ClusterAutoscaling @@ -333,6 +375,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredNodeVersion: str desiredNotificationConfig: NotificationConfig desiredParentProductConfig: ParentProductConfig + desiredPodAutoscaling: PodAutoscaling desiredPrivateClusterConfig: PrivateClusterConfig desiredPrivateIpv6GoogleAccess: typing_extensions.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", @@ -350,13 +393,39 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredStackType: typing_extensions.Literal[ "STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6" ] + desiredUserManagedKeysConfig: UserManagedKeysConfig desiredVerticalPodAutoscaling: VerticalPodAutoscaling desiredWorkloadIdentityConfig: WorkloadIdentityConfig enableK8sBetaApis: K8sBetaAPIConfig etag: str + gkeAutoUpgradeConfig: GkeAutoUpgradeConfig removedAdditionalPodRangesConfig: AdditionalPodRangesConfig userManagedKeysConfig: UserManagedKeysConfig +@typing.type_check_only +class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): + autoUpgradeStatus: _list[ + typing_extensions.Literal[ + "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" + ] + ] + endOfExtendedSupportTimestamp: str + endOfStandardSupportTimestamp: str + minorTargetVersion: str + patchTargetVersion: str + pausedReason: _list[ + typing_extensions.Literal[ + "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", + "MAINTENANCE_WINDOW", + "MAINTENANCE_EXCLUSION_NO_UPGRADES", + "MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", + "CLUSTER_DISRUPTION_BUDGET", + "CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE", + "SYSTEM_CONFIG", + ] + ] + upgradeDetails: _list[UpgradeDetails] + @typing.type_check_only class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): clusterId: str @@ -378,6 +447,9 @@ class ComplianceStandard(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfidentialNodes(typing_extensions.TypedDict, total=False): + confidentialInstanceType: typing_extensions.Literal[ + "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" + ] enabled: bool @typing.type_check_only @@ -457,6 +529,10 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): class DefaultSnatStatus(typing_extensions.TypedDict, total=False): disabled: bool +@typing.type_check_only +class DesiredAdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): + additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] + @typing.type_check_only class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): desiredTier: typing_extensions.Literal[ @@ -481,8 +557,36 @@ class EnterpriseConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class EphemeralStorageLocalSsdConfig(typing_extensions.TypedDict, total=False): + dataCacheCount: int localSsdCount: int +@typing.type_check_only +class EvictionGracePeriod(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + +@typing.type_check_only +class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + +@typing.type_check_only +class EvictionSignals(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + @typing.type_check_only class FastSocket(typing_extensions.TypedDict, total=False): enabled: bool @@ -495,6 +599,7 @@ class Filter(typing_extensions.TypedDict, total=False): "UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT", + "UPGRADE_INFO_EVENT", ] ] @@ -562,10 +667,18 @@ class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): response_types_supported: _list[str] subject_types_supported: _list[str] +@typing.type_check_only +class GkeAutoUpgradeConfig(typing_extensions.TypedDict, total=False): + patchMode: typing_extensions.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] + @typing.type_check_only class GkeBackupAgentConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): disabled: bool @@ -591,7 +704,9 @@ class ILBSubsettingConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class IPAllocationPolicy(typing_extensions.TypedDict, total=False): + additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] additionalPodRangesConfig: AdditionalPodRangesConfig + autoIpamConfig: AutoIpamConfig clusterIpv4Cidr: str clusterIpv4CidrBlock: str clusterSecondaryRangeName: str @@ -663,6 +778,20 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): ] hugepages: HugepagesConfig sysctls: dict[str, typing.Any] + transparentHugepageDefrag: typing_extensions.Literal[ + "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", + "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", + "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", + "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE", + "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", + "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER", + ] + transparentHugepageEnabled: typing_extensions.Literal[ + "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", + "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", + "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", + "TRANSPARENT_HUGEPAGE_ENABLED_NEVER", + ] @typing.type_check_only class ListClustersResponse(typing_extensions.TypedDict, total=False): @@ -699,6 +828,7 @@ class LoggingComponentConfig(typing_extensions.TypedDict, total=False): "CONTROLLER_MANAGER", "KCP_SSHD", "KCP_CONNECTION", + "KCP_HPA", ] ] @@ -712,6 +842,11 @@ class LoggingVariantConfig(typing_extensions.TypedDict, total=False): "VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT" ] +@typing.type_check_only +class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): + enableLegacyLustrePort: bool + enabled: bool + @typing.type_check_only class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): scope: typing_extensions.Literal[ @@ -731,6 +866,7 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): @typing.type_check_only class ManagedPrometheusConfig(typing_extensions.TypedDict, total=False): + autoMonitoringConfig: AutoMonitoringConfig enabled: bool @typing.type_check_only @@ -753,6 +889,10 @@ class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): class MaxPodsConstraint(typing_extensions.TypedDict, total=False): maxPodsPerNode: str +@typing.type_check_only +class MemoryManager(typing_extensions.TypedDict, total=False): + policy: str + @typing.type_check_only class MeshCertificates(typing_extensions.TypedDict, total=False): enableCertificates: bool @@ -782,6 +922,7 @@ class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): "CADVISOR", "KUBELET", "DCGM", + "JOBSET", ] ] @@ -849,6 +990,7 @@ class NodeAffinity(typing_extensions.TypedDict, total=False): class NodeConfig(typing_extensions.TypedDict, total=False): accelerators: _list[AcceleratorConfig] advancedMachineFeatures: AdvancedMachineFeatures + bootDisk: BootDisk bootDiskKmsKey: str confidentialNodes: ConfidentialNodes containerdConfig: ContainerdConfig @@ -862,6 +1004,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): enableConfidentialStorage: bool ephemeralStorageLocalSsdConfig: EphemeralStorageLocalSsdConfig fastSocket: FastSocket + flexStart: bool gcfsConfig: GcfsConfig gvnic: VirtualNIC imageType: str @@ -908,11 +1051,26 @@ class NodeConfigDefaults(typing_extensions.TypedDict, total=False): @typing.type_check_only class NodeKubeletConfig(typing_extensions.TypedDict, total=False): + allowedUnsafeSysctls: _list[str] + containerLogMaxFiles: int + containerLogMaxSize: str cpuCfsQuota: bool cpuCfsQuotaPeriod: str cpuManagerPolicy: str + evictionMaxPodGracePeriodSeconds: int + evictionMinimumReclaim: EvictionMinimumReclaim + evictionSoft: EvictionSignals + evictionSoftGracePeriod: EvictionGracePeriod + imageGcHighThresholdPercent: int + imageGcLowThresholdPercent: int + imageMaximumGcAge: str + imageMinimumGcAge: str insecureKubeletReadonlyPortEnabled: bool + maxParallelImagePulls: int + memoryManager: MemoryManager podPidsLimit: str + singleProcessOomKill: bool + topologyManager: TopologyManager @typing.type_check_only class NodeLabels(typing_extensions.TypedDict, total=False): @@ -935,9 +1093,11 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): podIpv4CidrBlock: str podIpv4RangeUtilization: float podRange: str + subnetwork: str @typing.type_check_only class NodePool(typing_extensions.TypedDict, total=False): + autopilotConfig: AutopilotConfig autoscaling: NodePoolAutoscaling bestEffortProvisioning: BestEffortProvisioning conditions: _list[StatusCondition] @@ -995,6 +1155,28 @@ class NodePoolDefaults(typing_extensions.TypedDict, total=False): class NodePoolLoggingConfig(typing_extensions.TypedDict, total=False): variantConfig: LoggingVariantConfig +@typing.type_check_only +class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): + autoUpgradeStatus: _list[ + typing_extensions.Literal[ + "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" + ] + ] + endOfExtendedSupportTimestamp: str + endOfStandardSupportTimestamp: str + minorTargetVersion: str + patchTargetVersion: str + pausedReason: _list[ + typing_extensions.Literal[ + "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", + "MAINTENANCE_WINDOW", + "MAINTENANCE_EXCLUSION_NO_UPGRADES", + "MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", + "SYSTEM_CONFIG", + ] + ] + upgradeDetails: _list[UpgradeDetails] + @typing.type_check_only class NodeTaint(typing_extensions.TypedDict, total=False): effect: typing_extensions.Literal[ @@ -1081,6 +1263,12 @@ class PlacementPolicy(typing_extensions.TypedDict, total=False): tpuTopology: str type: typing_extensions.Literal["TYPE_UNSPECIFIED", "COMPACT"] +@typing.type_check_only +class PodAutoscaling(typing_extensions.TypedDict, total=False): + hpaProfile: typing_extensions.Literal[ + "HPA_PROFILE_UNSPECIFIED", "NONE", "PERFORMANCE" + ] + @typing.type_check_only class PodCIDROverprovisionConfig(typing_extensions.TypedDict, total=False): disable: bool @@ -1220,6 +1408,7 @@ class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): bulletinUri: str cveIds: _list[str] manualStepsRequired: bool + mitigatedVersions: _list[str] patchedVersions: _list[str] resourceTypeAffected: str severity: str @@ -1364,6 +1553,7 @@ class ShieldedNodes(typing_extensions.TypedDict, total=False): @typing.type_check_only class SoleTenantConfig(typing_extensions.TypedDict, total=False): + minNodeCpus: int nodeAffinities: _list[NodeAffinity] @typing.type_check_only @@ -1419,6 +1609,8 @@ class StatusCondition(typing_extensions.TypedDict, total=False): "SET_BY_OPERATOR", "CLOUD_KMS_KEY_ERROR", "CA_EXPIRING", + "NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS", + "CLOUD_KMS_KEY_DESTROYED", ] message: str @@ -1428,6 +1620,11 @@ class TimeWindow(typing_extensions.TypedDict, total=False): maintenanceExclusionOptions: MaintenanceExclusionOptions startTime: str +@typing.type_check_only +class TopologyManager(typing_extensions.TypedDict, total=False): + policy: str + scope: str + @typing.type_check_only class UpdateClusterRequest(typing_extensions.TypedDict, total=False): clusterId: str @@ -1451,6 +1648,7 @@ class UpdateMasterRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): accelerators: _list[AcceleratorConfig] + bootDisk: BootDisk clusterId: str confidentialNodes: ConfidentialNodes containerdConfig: ContainerdConfig @@ -1458,6 +1656,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): diskType: str etag: str fastSocket: FastSocket + flexStart: bool gcfsConfig: GcfsConfig gvnic: VirtualNIC imageType: str @@ -1493,6 +1692,19 @@ class UpgradeAvailableEvent(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class UpgradeDetails(typing_extensions.TypedDict, total=False): + endTime: str + initialVersion: str + startTime: str + startType: typing_extensions.Literal[ + "START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL" + ] + state: typing_extensions.Literal[ + "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" + ] + targetVersion: str + @typing.type_check_only class UpgradeEvent(typing_extensions.TypedDict, total=False): currentVersion: str @@ -1509,7 +1721,12 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): currentVersion: str description: str endTime: str - eventType: typing_extensions.Literal["EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT"] + eventType: typing_extensions.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "END_OF_SUPPORT", + "COS_MILESTONE_VERSION_UPDATE", + "UPGRADE_LIFECYCLE", + ] extendedSupportEndTime: str operation: str resource: str @@ -1588,3 +1805,4 @@ class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): allowNetAdmin: bool + autopilotCompatibilityAuditingEnabled: bool diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 7ccdf6e7..8df4bcd8 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -13,6 +13,11 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): gpuSharingConfig: GPUSharingConfig maxTimeSharedClientsPerGpu: str +@typing.type_check_only +class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): + podIpv4RangeNames: _list[str] + subnetwork: str + @typing.type_check_only class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): network: str @@ -39,11 +44,13 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): gcpFilestoreCsiDriverConfig: GcpFilestoreCsiDriverConfig gcsFuseCsiDriverConfig: GcsFuseCsiDriverConfig gkeBackupAgentConfig: GkeBackupAgentConfig + highScaleCheckpointingConfig: HighScaleCheckpointingConfig horizontalPodAutoscaling: HorizontalPodAutoscaling httpLoadBalancing: HttpLoadBalancing istioConfig: IstioConfig kalmConfig: KalmConfig kubernetesDashboard: KubernetesDashboard + lustreCsiDriverConfig: LustreCsiDriverConfig networkPolicyConfig: NetworkPolicyConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig rayOperatorConfig: RayOperatorConfig @@ -60,13 +67,26 @@ class AdvancedDatapathObservabilityConfig(typing_extensions.TypedDict, total=Fal @typing.type_check_only class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): enableNestedVirtualization: bool + performanceMonitoringUnit: typing_extensions.Literal[ + "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", + "ARCHITECTURAL", + "STANDARD", + "ENHANCED", + ] threadsPerCore: str +@typing.type_check_only +class AnonymousAuthenticationConfig(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] + @typing.type_check_only class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): enabled: bool securityGroup: str +@typing.type_check_only +class AutoIpamConfig(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] @@ -96,6 +116,10 @@ class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): lastObservation: str subjects: _list[str] +@typing.type_check_only +class AutopilotConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class AutopilotConversionStatus(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["STATE_UNSPECIFIED", "DONE"] @@ -167,6 +191,13 @@ class BlueGreenSettings(typing_extensions.TypedDict, total=False): nodePoolSoakDuration: str standardRolloutPolicy: StandardRolloutPolicy +@typing.type_check_only +class BootDisk(typing_extensions.TypedDict, total=False): + diskType: str + provisionedIops: str + provisionedThroughput: str + sizeGb: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): name: str @@ -205,6 +236,8 @@ class CloudRunConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): addonsConfig: AddonsConfig + alphaClusterFeatureGates: _list[str] + anonymousAuthenticationConfig: AnonymousAuthenticationConfig authenticatorGroupsConfig: AuthenticatorGroupsConfig autopilot: Autopilot autoscaling: ClusterAutoscaling @@ -231,6 +264,7 @@ class Cluster(typing_extensions.TypedDict, total=False): etag: str expireTime: str fleet: Fleet + gkeAutoUpgradeConfig: GkeAutoUpgradeConfig id: str identityServiceConfig: IdentityServiceConfig initialClusterVersion: str @@ -319,8 +353,11 @@ class ClusterTelemetry(typing_extensions.TypedDict, total=False): @typing.type_check_only class ClusterUpdate(typing_extensions.TypedDict, total=False): additionalPodRangesConfig: AdditionalPodRangesConfig + desiredAdditionalIpRangesConfig: DesiredAdditionalIPRangesConfig desiredAddonsConfig: AddonsConfig + desiredAnonymousAuthenticationConfig: AnonymousAuthenticationConfig desiredAuthenticatorGroupsConfig: AuthenticatorGroupsConfig + desiredAutoIpamConfig: AutoIpamConfig desiredAutopilotWorkloadPolicyConfig: WorkloadPolicyConfig desiredBinaryAuthorization: BinaryAuthorization desiredClusterAutoscaling: ClusterAutoscaling @@ -398,12 +435,14 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): "STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6" ] desiredTpuConfig: TpuConfig + desiredUserManagedKeysConfig: UserManagedKeysConfig desiredVerticalPodAutoscaling: VerticalPodAutoscaling desiredWorkloadAltsConfig: WorkloadALTSConfig desiredWorkloadCertificates: WorkloadCertificates desiredWorkloadIdentityConfig: WorkloadIdentityConfig enableK8sBetaApis: K8sBetaAPIConfig etag: str + gkeAutoUpgradeConfig: GkeAutoUpgradeConfig privateClusterConfig: PrivateClusterConfig removedAdditionalPodRangesConfig: AdditionalPodRangesConfig userManagedKeysConfig: UserManagedKeysConfig @@ -453,6 +492,9 @@ class ComplianceStandard(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfidentialNodes(typing_extensions.TypedDict, total=False): + confidentialInstanceType: typing_extensions.Literal[ + "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" + ] enabled: bool @typing.type_check_only @@ -538,6 +580,10 @@ class Date(typing_extensions.TypedDict, total=False): class DefaultSnatStatus(typing_extensions.TypedDict, total=False): disabled: bool +@typing.type_check_only +class DesiredAdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): + additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] + @typing.type_check_only class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): desiredTier: typing_extensions.Literal[ @@ -566,8 +612,36 @@ class EphemeralStorageConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class EphemeralStorageLocalSsdConfig(typing_extensions.TypedDict, total=False): + dataCacheCount: int localSsdCount: int +@typing.type_check_only +class EvictionGracePeriod(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + +@typing.type_check_only +class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + +@typing.type_check_only +class EvictionSignals(typing_extensions.TypedDict, total=False): + imagefsAvailable: str + imagefsInodesFree: str + memoryAvailable: str + nodefsAvailable: str + nodefsInodesFree: str + pidAvailable: str + @typing.type_check_only class FastSocket(typing_extensions.TypedDict, total=False): enabled: bool @@ -580,6 +654,7 @@ class Filter(typing_extensions.TypedDict, total=False): "UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT", + "UPGRADE_INFO_EVENT", ] ] @@ -647,10 +722,18 @@ class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): response_types_supported: _list[str] subject_types_supported: _list[str] +@typing.type_check_only +class GkeAutoUpgradeConfig(typing_extensions.TypedDict, total=False): + patchMode: typing_extensions.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] + @typing.type_check_only class GkeBackupAgentConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): disabled: bool @@ -683,8 +766,10 @@ class ILBSubsettingConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class IPAllocationPolicy(typing_extensions.TypedDict, total=False): + additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] additionalPodRangesConfig: AdditionalPodRangesConfig allowRouteOverlap: bool + autoIpamConfig: AutoIpamConfig clusterIpv4Cidr: str clusterIpv4CidrBlock: str clusterSecondaryRangeName: str @@ -765,6 +850,20 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): ] hugepages: HugepagesConfig sysctls: dict[str, typing.Any] + transparentHugepageDefrag: typing_extensions.Literal[ + "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", + "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", + "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", + "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE", + "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", + "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER", + ] + transparentHugepageEnabled: typing_extensions.Literal[ + "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", + "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", + "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", + "TRANSPARENT_HUGEPAGE_ENABLED_NEVER", + ] @typing.type_check_only class ListClustersResponse(typing_extensions.TypedDict, total=False): @@ -812,6 +911,7 @@ class LoggingComponentConfig(typing_extensions.TypedDict, total=False): "CONTROLLER_MANAGER", "KCP_SSHD", "KCP_CONNECTION", + "KCP_HPA", ] ] @@ -825,6 +925,11 @@ class LoggingVariantConfig(typing_extensions.TypedDict, total=False): "VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT" ] +@typing.type_check_only +class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): + enableLegacyLustrePort: bool + enabled: bool + @typing.type_check_only class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): scope: typing_extensions.Literal[ @@ -870,6 +975,10 @@ class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): class MaxPodsConstraint(typing_extensions.TypedDict, total=False): maxPodsPerNode: str +@typing.type_check_only +class MemoryManager(typing_extensions.TypedDict, total=False): + policy: str + @typing.type_check_only class MeshCertificates(typing_extensions.TypedDict, total=False): enableCertificates: bool @@ -900,6 +1009,7 @@ class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): "CADVISOR", "KUBELET", "DCGM", + "JOBSET", ] ] @@ -970,6 +1080,7 @@ class NodeAffinity(typing_extensions.TypedDict, total=False): class NodeConfig(typing_extensions.TypedDict, total=False): accelerators: _list[AcceleratorConfig] advancedMachineFeatures: AdvancedMachineFeatures + bootDisk: BootDisk bootDiskKmsKey: str confidentialNodes: ConfidentialNodes containerdConfig: ContainerdConfig @@ -984,6 +1095,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): ephemeralStorageConfig: EphemeralStorageConfig ephemeralStorageLocalSsdConfig: EphemeralStorageLocalSsdConfig fastSocket: FastSocket + flexStart: bool gcfsConfig: GcfsConfig gvnic: VirtualNIC hostMaintenancePolicy: HostMaintenancePolicy @@ -1032,11 +1144,26 @@ class NodeConfigDefaults(typing_extensions.TypedDict, total=False): @typing.type_check_only class NodeKubeletConfig(typing_extensions.TypedDict, total=False): + allowedUnsafeSysctls: _list[str] + containerLogMaxFiles: int + containerLogMaxSize: str cpuCfsQuota: bool cpuCfsQuotaPeriod: str cpuManagerPolicy: str + evictionMaxPodGracePeriodSeconds: int + evictionMinimumReclaim: EvictionMinimumReclaim + evictionSoft: EvictionSignals + evictionSoftGracePeriod: EvictionGracePeriod + imageGcHighThresholdPercent: int + imageGcLowThresholdPercent: int + imageMaximumGcAge: str + imageMinimumGcAge: str insecureKubeletReadonlyPortEnabled: bool + maxParallelImagePulls: int + memoryManager: MemoryManager podPidsLimit: str + singleProcessOomKill: bool + topologyManager: TopologyManager @typing.type_check_only class NodeLabels(typing_extensions.TypedDict, total=False): @@ -1059,9 +1186,11 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): podIpv4CidrBlock: str podIpv4RangeUtilization: float podRange: str + subnetwork: str @typing.type_check_only class NodePool(typing_extensions.TypedDict, total=False): + autopilotConfig: AutopilotConfig autoscaling: NodePoolAutoscaling bestEffortProvisioning: BestEffortProvisioning conditions: _list[StatusCondition] @@ -1370,6 +1499,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): sandboxType: str @@ -1386,6 +1520,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): @@ -1395,6 +1530,7 @@ class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): bulletinUri: str cveIds: _list[str] manualStepsRequired: bool + mitigatedVersions: _list[str] patchedVersions: _list[str] resourceTypeAffected: str severity: str @@ -1540,6 +1676,7 @@ class ShieldedNodes(typing_extensions.TypedDict, total=False): @typing.type_check_only class SoleTenantConfig(typing_extensions.TypedDict, total=False): + minNodeCpus: int nodeAffinities: _list[NodeAffinity] @typing.type_check_only @@ -1595,6 +1732,8 @@ class StatusCondition(typing_extensions.TypedDict, total=False): "SET_BY_OPERATOR", "CLOUD_KMS_KEY_ERROR", "CA_EXPIRING", + "NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS", + "CLOUD_KMS_KEY_DESTROYED", ] message: str @@ -1604,6 +1743,11 @@ class TimeWindow(typing_extensions.TypedDict, total=False): maintenanceExclusionOptions: MaintenanceExclusionOptions startTime: str +@typing.type_check_only +class TopologyManager(typing_extensions.TypedDict, total=False): + policy: str + scope: str + @typing.type_check_only class TpuConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -1633,6 +1777,7 @@ class UpdateMasterRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): accelerators: _list[AcceleratorConfig] + bootDisk: BootDisk clusterId: str confidentialNodes: ConfidentialNodes containerdConfig: ContainerdConfig @@ -1640,6 +1785,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): diskType: str etag: str fastSocket: FastSocket + flexStart: bool gcfsConfig: GcfsConfig gvnic: VirtualNIC imageType: str @@ -1681,6 +1827,9 @@ class UpgradeDetails(typing_extensions.TypedDict, total=False): endTime: str initialVersion: str startTime: str + startType: typing_extensions.Literal[ + "START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL" + ] state: typing_extensions.Literal[ "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" ] @@ -1702,7 +1851,12 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): currentVersion: str description: str endTime: str - eventType: typing_extensions.Literal["EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT"] + eventType: typing_extensions.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "END_OF_SUPPORT", + "COS_MILESTONE_VERSION_UPDATE", + "UPGRADE_LIFECYCLE", + ] extendedSupportEndTime: str operation: str resource: str @@ -1810,3 +1964,4 @@ class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): allowNetAdmin: bool + autopilotCompatibilityAuditingEnabled: bool diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi index 9f69b4bb..d63e1038 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi @@ -71,6 +71,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListNotesResponseHttpRequest: ... def list_next( @@ -131,7 +132,12 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... def getVulnerabilitySummary( - self, *, parent: str, filter: str = ..., **kwargs: typing.Any + self, + *, + parent: str, + filter: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, ) -> VulnerabilityOccurrencesSummaryHttpRequest: ... def list( self, @@ -140,6 +146,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOccurrencesResponseHttpRequest: ... def list_next( @@ -236,6 +243,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListNotesResponseHttpRequest: ... def list_next( @@ -296,7 +304,12 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... def getVulnerabilitySummary( - self, *, parent: str, filter: str = ..., **kwargs: typing.Any + self, + *, + parent: str, + filter: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, ) -> VulnerabilityOccurrencesSummaryHttpRequest: ... def list( self, @@ -305,6 +318,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOccurrencesResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index 88e49a9f..9102861b 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -43,6 +43,12 @@ class AttestationOccurrence(typing_extensions.TypedDict, total=False): serializedPayload: str signatures: _list[Signature] +@typing.type_check_only +class BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class BatchCreateNotesRequest(typing_extensions.TypedDict, total=False): notes: dict[str, typing.Any] @@ -119,6 +125,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): id: str name: str pullTiming: TimeSpan + results: _list[StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -326,6 +333,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact @@ -344,6 +352,17 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( + typing_extensions.TypedDict, total=False +): + modulePath: str + moduleVersion: str + repositoryLocation: str + repositoryName: str + repositoryProjectId: str + sourcePath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False @@ -377,6 +396,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets buildTriggerId: str createTime: str + dependencies: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency] failureInfo: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo finishTime: str gitConfig: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig @@ -451,6 +471,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] diskSizeGb: str dynamicSubstitutions: bool + enableStructuredLogging: bool env: _list[str] logStreamingOption: typing_extensions.Literal[ "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" @@ -472,10 +493,11 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "E2_MEDIUM", ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] ] substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] @@ -546,6 +568,30 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( repository: str revision: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( + typing_extensions.TypedDict, total=False +): + empty: bool + gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( + typing_extensions.TypedDict, total=False +): + depth: str + destPath: str + recurseSubmodules: bool + repository: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository + revision: str + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( + typing_extensions.TypedDict, total=False +): + developerConnect: str + url: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( typing_extensions.TypedDict, total=False @@ -584,7 +630,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( typing_extensions.TypedDict, total=False ): - type: typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + type: typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] value: str @typing.type_check_only @@ -615,6 +661,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact @@ -702,6 +749,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( + typing_extensions.TypedDict, total=False +): + fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False @@ -798,6 +853,7 @@ class DiscoveryNote(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] @typing.type_check_only @@ -819,6 +875,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str + files: _list[File] lastScanTime: str sbomStatus: SBOMStatus @@ -860,6 +917,11 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + digest: dict[str, typing.Any] + name: str + @typing.type_check_only class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] @@ -909,6 +971,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata( @typing.type_check_only class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: LayerDetails @typing.type_check_only class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( @@ -1032,6 +1095,14 @@ class Layer(typing_extensions.TypedDict, total=False): arguments: str directive: str +@typing.type_check_only +class LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[BaseImage] + chainId: str + command: str + diffId: str + index: int + @typing.type_check_only class License(typing_extensions.TypedDict, total=False): comments: str @@ -1046,11 +1117,13 @@ class ListNoteOccurrencesResponse(typing_extensions.TypedDict, total=False): class ListNotesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str notes: _list[Note] + unreachable: _list[str] @typing.type_check_only class ListOccurrencesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -1102,6 +1175,7 @@ class Note(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] longDescription: str name: str @@ -1109,6 +1183,7 @@ class Note(typing_extensions.TypedDict, total=False): relatedNoteNames: _list[str] relatedUrl: _list[RelatedUrl] sbomReference: SBOMReferenceNote + secret: SecretNote shortDescription: str updateTime: str upgrade: UpgradeNote @@ -1140,6 +1215,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] name: str noteName: str @@ -1147,6 +1223,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): remediation: str resourceUri: str sbomReference: SBOMReferenceOccurrence + secret: SecretOccurrence updateTime: str upgrade: UpgradeOccurrence vulnerability: VulnerabilityOccurrence @@ -1298,6 +1375,31 @@ class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): mimeType: str referrerId: str +@typing.type_check_only +class SecretLocation(typing_extensions.TypedDict, total=False): + fileLocation: GrafeasV1FileLocation + +@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", + ] + 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 @@ -1374,6 +1476,12 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StepResult(typing_extensions.TypedDict, total=False): + attestationContentName: str + attestationType: str + name: str + @typing.type_check_only class Subject(typing_extensions.TypedDict, total=False): digest: dict[str, typing.Any] @@ -1493,6 +1601,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): @typing.type_check_only class VulnerabilityOccurrencesSummary(typing_extensions.TypedDict, total=False): counts: _list[FixableTotalByDigest] + unreachable: _list[str] @typing.type_check_only class WindowsDetail(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi index e41f9d22..0c9e99bc 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi @@ -145,6 +145,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] = ..., name: str = ..., pageSize: int = ..., diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index 4933b456..c849ab18 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -41,6 +41,12 @@ class AttestationAuthority(typing_extensions.TypedDict, total=False): class AttestationAuthorityHint(typing_extensions.TypedDict, total=False): humanReadableName: str +@typing.type_check_only +class BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class Basis(typing_extensions.TypedDict, total=False): fingerprint: Fingerprint @@ -111,6 +117,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): id: str name: str pullTiming: TimeSpan + results: _list[StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -268,6 +275,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact @@ -286,6 +294,17 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( + typing_extensions.TypedDict, total=False +): + modulePath: str + moduleVersion: str + repositoryLocation: str + repositoryName: str + repositoryProjectId: str + sourcePath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False @@ -319,6 +338,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets buildTriggerId: str createTime: str + dependencies: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency] failureInfo: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo finishTime: str gitConfig: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig @@ -393,6 +413,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] diskSizeGb: str dynamicSubstitutions: bool + enableStructuredLogging: bool env: _list[str] logStreamingOption: typing_extensions.Literal[ "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" @@ -414,10 +435,11 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "E2_MEDIUM", ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] ] substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] @@ -488,6 +510,30 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( repository: str revision: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( + typing_extensions.TypedDict, total=False +): + empty: bool + gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( + typing_extensions.TypedDict, total=False +): + depth: str + destPath: str + recurseSubmodules: bool + repository: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository + revision: str + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( + typing_extensions.TypedDict, total=False +): + developerConnect: str + url: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( typing_extensions.TypedDict, total=False @@ -526,7 +572,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( typing_extensions.TypedDict, total=False ): - type: typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + type: typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] value: str @typing.type_check_only @@ -557,6 +603,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact @@ -644,6 +691,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( + typing_extensions.TypedDict, total=False +): + fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False @@ -752,6 +807,7 @@ class Discovered(typing_extensions.TypedDict, total=False): "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str + files: _list[File] lastScanTime: str operation: Operation sbomStatus: SBOMStatus @@ -777,6 +833,7 @@ class Discovery(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] @typing.type_check_only @@ -835,6 +892,11 @@ class ExternalRef(typing_extensions.TypedDict, total=False): locator: str type: str +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + digest: dict[str, typing.Any] + name: str + @typing.type_check_only class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] @@ -842,6 +904,7 @@ class FileHashes(typing_extensions.TypedDict, total=False): @typing.type_check_only class FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: LayerDetails @typing.type_check_only class FileNote(typing_extensions.TypedDict, total=False): @@ -1084,6 +1147,13 @@ class Layer(typing_extensions.TypedDict, total=False): "SHELL", ] +@typing.type_check_only +class LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[BaseImage] + command: str + diffId: str + index: int + @typing.type_check_only class License(typing_extensions.TypedDict, total=False): comments: str @@ -1163,6 +1233,7 @@ class Note(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] longDescription: str name: str @@ -1170,6 +1241,7 @@ class Note(typing_extensions.TypedDict, total=False): relatedUrl: _list[RelatedUrl] sbom: DocumentNote sbomReference: SBOMReferenceNote + secret: SecretNote shortDescription: str spdxFile: FileNote spdxPackage: PackageInfoNote @@ -1209,6 +1281,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] name: str noteName: str @@ -1217,6 +1290,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): resourceUrl: str sbom: DocumentOccurrence sbomReference: SBOMReferenceOccurrence + secret: SecretOccurrence spdxFile: FileOccurrence spdxPackage: PackageInfoOccurrence spdxRelationship: RelationshipOccurrence @@ -1518,6 +1592,31 @@ class ScanConfig(typing_extensions.TypedDict, total=False): name: str updateTime: 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", + ] + 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 @@ -1595,6 +1694,12 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StepResult(typing_extensions.TypedDict, total=False): + attestationContentName: str + attestationType: str + name: str + @typing.type_check_only class StorageSource(typing_extensions.TypedDict, total=False): bucket: str diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi index 15a4a372..2cc89989 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi @@ -71,6 +71,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListNotesResponseHttpRequest: ... def list_next( @@ -131,7 +132,12 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... def getVulnerabilitySummary( - self, *, parent: str, filter: str = ..., **kwargs: typing.Any + self, + *, + parent: str, + filter: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, ) -> VulnerabilityOccurrencesSummaryHttpRequest: ... def list( self, @@ -140,6 +146,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOccurrencesResponseHttpRequest: ... def list_next( @@ -243,6 +250,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListNotesResponseHttpRequest: ... def list_next( @@ -303,7 +311,12 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... def getVulnerabilitySummary( - self, *, parent: str, filter: str = ..., **kwargs: typing.Any + self, + *, + parent: str, + filter: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, ) -> VulnerabilityOccurrencesSummaryHttpRequest: ... def list( self, @@ -312,6 +325,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOccurrencesResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index a0f69ec0..4c926ae9 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 + results: _list[StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -296,6 +297,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact @@ -314,6 +316,17 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( + typing_extensions.TypedDict, total=False +): + modulePath: str + moduleVersion: str + repositoryLocation: str + repositoryName: str + repositoryProjectId: str + sourcePath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False @@ -347,6 +360,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets buildTriggerId: str createTime: str + dependencies: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency] failureInfo: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo finishTime: str gitConfig: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig @@ -421,6 +435,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] diskSizeGb: str dynamicSubstitutions: bool + enableStructuredLogging: bool env: _list[str] logStreamingOption: typing_extensions.Literal[ "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" @@ -442,10 +457,11 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "E2_MEDIUM", ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] ] substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] @@ -516,6 +532,30 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( repository: str revision: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( + typing_extensions.TypedDict, total=False +): + empty: bool + gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( + typing_extensions.TypedDict, total=False +): + depth: str + destPath: str + recurseSubmodules: bool + repository: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository + revision: str + +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( + typing_extensions.TypedDict, total=False +): + developerConnect: str + url: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( typing_extensions.TypedDict, total=False @@ -554,7 +594,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( typing_extensions.TypedDict, total=False ): - type: typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + type: typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] value: str @typing.type_check_only @@ -585,6 +625,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact @@ -672,6 +713,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( + typing_extensions.TypedDict, total=False +): + fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False @@ -765,6 +814,7 @@ class Discovered(typing_extensions.TypedDict, total=False): continuousAnalysis: typing_extensions.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] + files: _list[File] lastAnalysisTime: str lastScanTime: str sbomStatus: SBOMStatus @@ -856,6 +906,11 @@ class ExternalRef(typing_extensions.TypedDict, total=False): locator: str type: str +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + digest: dict[str, typing.Any] + name: str + @typing.type_check_only class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] @@ -1107,11 +1162,13 @@ class ListNoteOccurrencesResponse(typing_extensions.TypedDict, total=False): class ListNotesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str notes: _list[Note] + unreachable: _list[str] @typing.type_check_only class ListOccurrencesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -1519,6 +1576,12 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StepResult(typing_extensions.TypedDict, total=False): + attestationContentName: str + attestationType: str + name: str + @typing.type_check_only class Subject(typing_extensions.TypedDict, total=False): digest: dict[str, typing.Any] @@ -1600,6 +1663,7 @@ class VulnerabilityLocation(typing_extensions.TypedDict, total=False): @typing.type_check_only class VulnerabilityOccurrencesSummary(typing_extensions.TypedDict, total=False): counts: _list[FixableTotalByDigest] + unreachable: _list[str] @typing.type_check_only class WindowsDetail(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi index ebca0d59..938e0f40 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi @@ -110,6 +110,7 @@ class AccountIssue(typing_extensions.TypedDict, total=False): actions: _list[Action] impact: AccountIssueImpact prerenderedContent: str + prerenderedOutOfCourtDisputeSettlement: str title: str @typing.type_check_only @@ -222,6 +223,7 @@ class AccountUser(typing_extensions.TypedDict, total=False): orderManager: bool paymentsAnalyst: bool paymentsManager: bool + readOnly: bool reportingManager: bool @typing.type_check_only @@ -1609,6 +1611,7 @@ class Product(typing_extensions.TypedDict, total=False): material: str maxEnergyEfficiencyClass: str maxHandlingTime: str + maximumRetailPrice: Price minEnergyEfficiencyClass: str minHandlingTime: str mobileLink: str @@ -1713,6 +1716,7 @@ class ProductIssue(typing_extensions.TypedDict, total=False): actions: _list[Action] impact: ProductIssueImpact prerenderedContent: str + prerenderedOutOfCourtDisputeSettlement: str title: str @typing.type_check_only @@ -1984,6 +1988,7 @@ class Promotion(typing_extensions.TypedDict, total=False): "FREE_SHIPPING_OVERNIGHT", "FREE_SHIPPING_TWO_DAY", ] + customRedemptionRestriction: str freeGiftDescription: str freeGiftItemId: str freeGiftValue: PriceAmount @@ -1997,6 +2002,7 @@ class Promotion(typing_extensions.TypedDict, total=False): limitQuantity: int limitValue: PriceAmount longTitle: str + maxDiscountAmount: PriceAmount minimumPurchaseAmount: PriceAmount minimumPurchaseQuantity: int moneyBudget: PriceAmount @@ -2024,6 +2030,15 @@ class Promotion(typing_extensions.TypedDict, total=False): "REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE" ] ] + redemptionRestriction: typing_extensions.Literal[ + "REDEMPTION_RESTRICTION_UNSPECIFIED", + "SUBSCRIBE_AND_SAVE", + "FIRST_ORDER", + "SIGN_UP_FOR_EMAIL", + "SIGN_UP_FOR_TEXT", + "FORMS_OF_PAYMENT", + "CUSTOM", + ] shippingServiceNames: _list[str] storeApplicability: typing_extensions.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" diff --git a/googleapiclient-stubs/_apis/css/v1/resources.pyi b/googleapiclient-stubs/_apis/css/v1/resources.pyi index df5f46c5..c8f18ae3 100644 --- a/googleapiclient-stubs/_apis/css/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/css/v1/resources.pyi @@ -81,6 +81,22 @@ class CssResource(googleapiclient.discovery.Resource): self, *, name: str, body: AccountLabel = ..., **kwargs: typing.Any ) -> AccountLabelHttpRequest: ... + @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 get( self, *, name: str, parent: str = ..., **kwargs: typing.Any ) -> AccountHttpRequest: ... @@ -109,6 +125,7 @@ class CssResource(googleapiclient.discovery.Resource): def cssProductInputs(self) -> CssProductInputsResource: ... def cssProducts(self) -> CssProductsResource: ... def labels(self) -> LabelsResource: ... + def quotas(self) -> QuotasResource: ... def new_batch_http_request( self, @@ -187,3 +204,11 @@ class ListCssProductsResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ListCssProductsResponse: ... + +@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/css/v1/schemas.pyi b/googleapiclient-stubs/_apis/css/v1/schemas.pyi index 4d107576..27d65012 100644 --- a/googleapiclient-stubs/_apis/css/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/css/v1/schemas.pyi @@ -181,6 +181,18 @@ class ListCssProductsResponse(typing_extensions.TypedDict, total=False): cssProducts: _list[CssProduct] nextPageToken: str +@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 Price(typing_extensions.TypedDict, total=False): amountMicros: str @@ -202,6 +214,14 @@ class ProductWeight(typing_extensions.TypedDict, total=False): unit: str value: float +@typing.type_check_only +class QuotaGroup(typing_extensions.TypedDict, total=False): + methodDetails: _list[MethodDetails] + name: str + quotaLimit: str + quotaMinuteLimit: str + quotaUsage: str + @typing.type_check_only class UpdateAccountLabelsRequest(typing_extensions.TypedDict, total=False): labelIds: _list[str] diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi index 8fdc3e18..9fa080d3 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi @@ -475,6 +475,7 @@ class GoogleCloudDatacatalogV1MigrationConfig(typing_extensions.TypedDict, total "TAG_TEMPLATE_MIGRATION_ENABLED", "TAG_TEMPLATE_MIGRATION_DISABLED", ] + templateMigrationEnabledTime: str @typing.type_check_only class GoogleCloudDatacatalogV1ModelSpec(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi index 4d6d0e19..c393ea84 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi @@ -27,6 +27,14 @@ 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, *, @@ -590,6 +598,14 @@ class GetTemplateResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GetTemplateResponse: ... +@typing.type_check_only +class GetWorkerStacktracesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetWorkerStacktracesResponse: ... + @typing.type_check_only class JobHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 50fa78b9..f2abd5b3 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -315,6 +315,7 @@ class Environment(typing_extensions.TypedDict, total=False): "STREAMING_MODE_AT_LEAST_ONCE", ] tempStoragePrefix: str + usePublicIps: bool useStreamingEngineResourceBasedBilling: bool userAgent: dict[str, typing.Any] version: dict[str, typing.Any] @@ -378,6 +379,7 @@ class FlattenInstruction(typing_extensions.TypedDict, total=False): @typing.type_check_only class FlexTemplateRuntimeEnvironment(typing_extensions.TypedDict, total=False): additionalExperiments: _list[str] + additionalPipelineOptions: _list[str] additionalUserLabels: dict[str, typing.Any] autoscalingAlgorithm: typing_extensions.Literal[ "AUTOSCALING_ALGORITHM_UNKNOWN", @@ -450,6 +452,14 @@ class GetTemplateResponse(typing_extensions.TypedDict, total=False): status: Status templateType: typing_extensions.Literal["UNKNOWN", "LEGACY", "FLEX"] +@typing.type_check_only +class GetWorkerStacktracesRequest(typing_extensions.TypedDict, total=False): + workerId: str + +@typing.type_check_only +class GetWorkerStacktracesResponse(typing_extensions.TypedDict, total=False): + sdks: _list[Sdk] + @typing.type_check_only class Histogram(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -715,6 +725,7 @@ class MetricStructuredName(typing_extensions.TypedDict, total=False): @typing.type_check_only class MetricUpdate(typing_extensions.TypedDict, total=False): + boundedTrie: typing.Any cumulative: bool distribution: typing.Any gauge: typing.Any @@ -946,6 +957,7 @@ class ResourceUtilizationReportResponse(typing_extensions.TypedDict, total=False @typing.type_check_only class RuntimeEnvironment(typing_extensions.TypedDict, total=False): additionalExperiments: _list[str] + additionalPipelineOptions: _list[str] additionalUserLabels: dict[str, typing.Any] bypassTempDirValidation: bool diskSizeGb: int @@ -983,9 +995,14 @@ class RuntimeUpdatableParams(typing_extensions.TypedDict, total=False): @typing.type_check_only class SDKInfo(typing_extensions.TypedDict, total=False): - language: typing_extensions.Literal["UNKNOWN", "JAVA", "PYTHON", "GO"] + language: typing_extensions.Literal["UNKNOWN", "JAVA", "PYTHON", "GO", "YAML"] version: str +@typing.type_check_only +class Sdk(typing_extensions.TypedDict, total=False): + sdkId: str + stacks: _list[Stack] + @typing.type_check_only class SdkBug(typing_extensions.TypedDict, total=False): severity: typing_extensions.Literal[ @@ -1174,6 +1191,14 @@ class SplitInt64(typing_extensions.TypedDict, total=False): highBits: int lowBits: int +@typing.type_check_only +class Stack(typing_extensions.TypedDict, total=False): + stackContent: str + threadCount: int + threadName: str + threadState: str + timestamp: str + @typing.type_check_only class StageExecutionDetails(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -1381,6 +1406,7 @@ class TemplateMetadata(typing_extensions.TypedDict, total=False): streaming: bool supportsAtLeastOnce: bool supportsExactlyOnce: bool + yamlDefinition: str @typing.type_check_only class TopologyConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi index 9c16f979..69ced3b3 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi @@ -145,7 +145,7 @@ class DataformResource(googleapiclient.discovery.Resource): name: str, body: CancelWorkflowInvocationRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> CancelWorkflowInvocationResponseHttpRequest: ... def create( self, *, @@ -196,7 +196,7 @@ class DataformResource(googleapiclient.discovery.Resource): name: str, body: CommitWorkspaceChangesRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> CommitWorkspaceChangesResponseHttpRequest: ... def create( self, *, @@ -280,14 +280,14 @@ class DataformResource(googleapiclient.discovery.Resource): name: str, body: PullGitCommitsRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> PullGitCommitsResponseHttpRequest: ... def push( self, *, name: str, body: PushGitCommitsRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> PushGitCommitsResponseHttpRequest: ... def queryDirectoryContents( self, *, @@ -316,21 +316,21 @@ class DataformResource(googleapiclient.discovery.Resource): workspace: str, body: RemoveDirectoryRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> RemoveDirectoryResponseHttpRequest: ... def removeFile( self, *, workspace: str, body: RemoveFileRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> RemoveFileResponseHttpRequest: ... def reset( self, *, name: str, body: ResetWorkspaceChangesRequest = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> ResetWorkspaceChangesResponseHttpRequest: ... def searchFiles( self, *, @@ -490,6 +490,7 @@ class DataformResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -526,6 +527,14 @@ class DataformResource(googleapiclient.discovery.Resource): ) -> 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( @@ -534,6 +543,14 @@ class CommitRepositoryChangesResponseHttpRequest(googleapiclient.http.HttpReques 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( @@ -712,6 +729,22 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): 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 @@ -774,6 +807,22 @@ class ReleaseConfigHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -782,6 +831,14 @@ class RepositoryHttpRequest(googleapiclient.http.HttpRequest): 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( diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi index fe7f2ee8..c6a36647 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi @@ -4,6 +4,31 @@ 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] @@ -27,9 +52,13 @@ class Binding(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 @@ -78,6 +107,9 @@ class CommitWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): 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 @@ -93,6 +125,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): dataEncryptionState: DataEncryptionState dataformCoreVersion: str gitCommitish: str + internalMetadata: str name: str releaseConfig: str resolvedGitCommitSha: str @@ -102,8 +135,10 @@ class CompilationResult(typing_extensions.TypedDict, total=False): 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 @@ -126,6 +161,21 @@ class Config(typing_extensions.TypedDict, total=False): 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 @@ -145,6 +195,11 @@ class DirectorySearchResult(typing_extensions.TypedDict, total=False): @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 @@ -193,6 +248,15 @@ class GitRemoteSettings(typing_extensions.TypedDict, total=False): ] 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] @@ -263,6 +327,13 @@ class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): 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 @@ -308,6 +379,7 @@ class NotebookAction(typing_extensions.TypedDict, total=False): @typing.type_check_only class NotebookRuntimeOptions(typing_extensions.TypedDict, total=False): + aiPlatformNotebookRuntimeTemplate: str gcsOutputBucket: str @typing.type_check_only @@ -335,15 +407,27 @@ class Policy(typing_extensions.TypedDict, total=False): 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] @@ -409,6 +493,7 @@ class ReleaseConfig(typing_extensions.TypedDict, total=False): cronSchedule: str disabled: bool gitCommitish: str + internalMetadata: str name: str recentScheduledReleaseRecords: _list[ScheduledReleaseRecord] releaseCompilationResult: str @@ -418,16 +503,23 @@ class ReleaseConfig(typing_extensions.TypedDict, total=False): 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 @@ -441,6 +533,9 @@ 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 @@ -467,6 +562,15 @@ class SearchResult(typing_extensions.TypedDict, total=False): 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 @@ -503,6 +607,8 @@ class UncommittedFileChange(typing_extensions.TypedDict, total=False): class WorkflowConfig(typing_extensions.TypedDict, total=False): createTime: str cronSchedule: str + disabled: bool + internalMetadata: str invocationConfig: InvocationConfig name: str recentScheduledExecutionRecords: _list[ScheduledExecutionRecord] @@ -514,6 +620,7 @@ class WorkflowConfig(typing_extensions.TypedDict, total=False): class WorkflowInvocation(typing_extensions.TypedDict, total=False): compilationResult: str dataEncryptionState: DataEncryptionState + internalMetadata: str invocationConfig: InvocationConfig invocationTiming: Interval name: str @@ -527,7 +634,9 @@ class WorkflowInvocation(typing_extensions.TypedDict, total=False): 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[ @@ -539,6 +648,7 @@ class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): class Workspace(typing_extensions.TypedDict, total=False): createTime: str dataEncryptionState: DataEncryptionState + internalMetadata: str name: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi index 886c8d61..b2bd51f3 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi @@ -55,7 +55,7 @@ class DataFusionResource(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, *, name: str, **kwargs: typing.Any @@ -167,6 +167,7 @@ class DataFusionResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi index 279bdf0d..0bcb3dbd 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi @@ -86,6 +86,8 @@ class Instance(typing_extensions.TypedDict, total=False): eventPublishConfig: EventPublishConfig gcsBucket: str labels: dict[str, typing.Any] + loggingConfig: LoggingConfig + maintenanceEvents: _list[MaintenanceEvent] maintenancePolicy: MaintenancePolicy name: str networkConfig: NetworkConfig @@ -93,6 +95,7 @@ class Instance(typing_extensions.TypedDict, total=False): p4ServiceAccount: str patchRevision: str privateInstance: bool + satisfiesPzi: bool satisfiesPzs: bool serviceAccount: str serviceEndpoint: str @@ -110,6 +113,7 @@ class Instance(typing_extensions.TypedDict, total=False): "DISABLED", ] stateMessage: str + tags: dict[str, typing.Any] tenantProjectId: str type: typing_extensions.Literal[ "TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER" @@ -154,6 +158,18 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class LoggingConfig(typing_extensions.TypedDict, total=False): + instanceCloudLoggingDisabled: bool + +@typing.type_check_only +class MaintenanceEvent(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED" + ] + @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): maintenanceExclusionWindow: TimeWindow diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi index 81525e97..c0df0bb5 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi @@ -97,7 +97,7 @@ class DataFusionResource(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, *, name: str, **kwargs: typing.Any @@ -217,6 +217,7 @@ class DataFusionResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi index 7e258cf9..780a5fa6 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi @@ -91,6 +91,8 @@ class Instance(typing_extensions.TypedDict, total=False): eventPublishConfig: EventPublishConfig gcsBucket: str labels: dict[str, typing.Any] + loggingConfig: LoggingConfig + maintenanceEvents: _list[MaintenanceEvent] maintenancePolicy: MaintenancePolicy name: str networkConfig: NetworkConfig @@ -98,6 +100,7 @@ class Instance(typing_extensions.TypedDict, total=False): p4ServiceAccount: str patchRevision: str privateInstance: bool + satisfiesPzi: bool satisfiesPzs: bool serviceAccount: str serviceEndpoint: str @@ -115,6 +118,7 @@ class Instance(typing_extensions.TypedDict, total=False): "DISABLED", ] stateMessage: str + tags: dict[str, typing.Any] tenantProjectId: str type: typing_extensions.Literal[ "TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER" @@ -164,6 +168,18 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class LoggingConfig(typing_extensions.TypedDict, total=False): + instanceCloudLoggingDisabled: bool + +@typing.type_check_only +class MaintenanceEvent(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED" + ] + @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): maintenanceExclusionWindow: TimeWindow diff --git a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi index a2b45ffe..6ef9380d 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi @@ -171,6 +171,7 @@ class DatalineageResource(googleapiclient.discovery.Resource): name: str, body: GoogleCloudDatacatalogLineageV1Process = ..., allowMissing: bool = ..., + requestId: str = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDatacatalogLineageV1ProcessHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi index e23b484e..3dbd90ce 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi @@ -194,6 +194,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): "DATABASE_ENTITY_VIEW_BASIC", "DATABASE_ENTITY_VIEW_FULL", "DATABASE_ENTITY_VIEW_ROOT_SUMMARY", + "DATABASE_ENTITY_VIEW_FULL_COMPACT", ] = ..., **kwargs: typing.Any, ) -> DescribeDatabaseEntitiesResponseHttpRequest: ... @@ -496,6 +497,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): privateConnectionId: str = ..., requestId: str = ..., skipValidation: bool = ..., + validateOnly: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -561,6 +563,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index f0d3bb80..1a899f5f 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -12,7 +12,11 @@ class AlloyDbConnectionProfile(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlloyDbSettings(typing_extensions.TypedDict, total=False): databaseVersion: typing_extensions.Literal[ - "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_14", "POSTGRES_15", "POSTGRES_16" + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + "POSTGRES_17", ] encryptionConfig: EncryptionConfig initialUser: UserPassword @@ -112,9 +116,11 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): cmekKeyName: str collation: str dataCacheConfig: DataCacheConfig + dataDiskProvisionedIops: str + dataDiskProvisionedThroughput: str dataDiskSizeGb: str dataDiskType: typing_extensions.Literal[ - "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD" + "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", "HYPERDISK_BALANCED" ] databaseFlags: dict[str, typing.Any] databaseVersion: typing_extensions.Literal[ @@ -166,6 +172,7 @@ class ColumnEntity(typing_extensions.TypedDict, total=False): charset: str collation: str comment: str + computed: bool customFeatures: dict[str, typing.Any] dataType: str defaultValue: str @@ -240,6 +247,14 @@ class ConstraintEntity(typing_extensions.TypedDict, total=False): class ConversionWorkspace(typing_extensions.TypedDict, total=False): createTime: str destination: DatabaseEngineInfo + destinationProvider: typing_extensions.Literal[ + "DATABASE_PROVIDER_UNSPECIFIED", + "CLOUDSQL", + "RDS", + "AURORA", + "ALLOYDB", + "AZURE_DATABASE", + ] displayName: str globalSettings: dict[str, typing.Any] hasUncommittedChanges: bool @@ -247,6 +262,14 @@ class ConversionWorkspace(typing_extensions.TypedDict, total=False): latestCommitTime: str name: str source: DatabaseEngineInfo + sourceProvider: typing_extensions.Literal[ + "DATABASE_PROVIDER_UNSPECIFIED", + "CLOUDSQL", + "RDS", + "AURORA", + "ALLOYDB", + "AZURE_DATABASE", + ] updateTime: str @typing.type_check_only @@ -381,7 +404,13 @@ class EncryptionConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class EntityDdl(typing_extensions.TypedDict, total=False): ddl: str + ddlKind: typing_extensions.Literal[ + "DDL_KIND_UNSPECIFIED", "SOURCE", "DETERMINISTIC", "AI", "USER_EDIT" + ] ddlType: str + editedDdlKind: typing_extensions.Literal[ + "DDL_KIND_UNSPECIFIED", "SOURCE", "DETERMINISTIC", "AI", "USER_EDIT" + ] entity: str entityType: typing_extensions.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", @@ -542,6 +571,7 @@ class GoogleCloudClouddmsV1OperationMetadata(typing_extensions.TypedDict, total= apiVersion: str createTime: str endTime: str + metadata: dict[str, typing.Any] requestedCancellation: bool statusMessage: str target: str @@ -659,6 +689,7 @@ class LookupMigrationJobObjectRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfig(typing_extensions.TypedDict, total=False): cpuCount: int + machineType: str @typing.type_check_only class MappingRule(typing_extensions.TypedDict, total=False): @@ -750,6 +781,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): source: str sourceDatabase: DatabaseType sqlserverHomogeneousMigrationJobConfig: SqlServerHomogeneousMigrationJobConfig + sqlserverToPostgresConfig: SqlServerToPostgresConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "MAINTENANCE", @@ -992,6 +1024,7 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): error: Status labels: dict[str, typing.Any] name: str + pscInterfaceConfig: PscInterfaceConfig satisfiesPzi: bool satisfiesPzs: bool state: typing_extensions.Literal[ @@ -1018,6 +1051,10 @@ class PrivateServiceConnectConnectivity(typing_extensions.TypedDict, total=False class PromoteMigrationJobRequest(typing_extensions.TypedDict, total=False): objectsFilter: MigrationJobObjectsConfig +@typing.type_check_only +class PscInterfaceConfig(typing_extensions.TypedDict, total=False): + networkAttachment: str + @typing.type_check_only class RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): objectsFilter: MigrationJobObjectsConfig @@ -1132,7 +1169,11 @@ class SourceObjectConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): database: str - type: typing_extensions.Literal["MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED", "DATABASE"] + schema: str + table: str + type: typing_extensions.Literal[ + "MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED", "DATABASE", "SCHEMA", "TABLE" + ] @typing.type_check_only class SourceObjectsConfig(typing_extensions.TypedDict, total=False): @@ -1174,6 +1215,7 @@ class SqlServerBackups(typing_extensions.TypedDict, total=False): class SqlServerConnectionProfile(typing_extensions.TypedDict, total=False): backups: SqlServerBackups cloudSqlId: str + database: str forwardSshConnectivity: ForwardSshTunnelConnectivity host: str password: str @@ -1203,6 +1245,18 @@ class SqlServerHomogeneousMigrationJobConfig(typing_extensions.TypedDict, total= promoteWhenReady: bool useDiffBackup: bool +@typing.type_check_only +class SqlServerSourceConfig(typing_extensions.TypedDict, total=False): + cdcStartPosition: str + maxConcurrentCdcConnections: int + maxConcurrentFullDumpConnections: int + skipFullDump: bool + +@typing.type_check_only +class SqlServerToPostgresConfig(typing_extensions.TypedDict, total=False): + postgresDestinationConfig: PostgresDestinationConfig + sqlserverSourceConfig: SqlServerSourceConfig + @typing.type_check_only class SshScript(typing_extensions.TypedDict, total=False): script: str @@ -1212,6 +1266,7 @@ class SslConfig(typing_extensions.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str + sslFlags: dict[str, typing.Any] type: typing_extensions.Literal[ "SSL_TYPE_UNSPECIFIED", "SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE" ] diff --git a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi index e84b0f61..470ce424 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi @@ -239,6 +239,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index 75bb98e1..e50ceded 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -19,6 +19,20 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class EncryptionConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1EncryptionConfig = ..., + encryptionConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1EncryptionConfigHttpRequest: ... def getIamPolicy( self, *, @@ -26,6 +40,31 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListEncryptionConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListEncryptionConfigsResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListEncryptionConfigsResponse, + ) -> ( + GoogleCloudDataplexV1ListEncryptionConfigsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1EncryptionConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -56,7 +95,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def listOperations( + def list( self, *, name: str, @@ -65,7 +104,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): pageToken: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def listOperations_next( + def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -518,6 +557,23 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDataplexV1EntryHttpRequest: ... + @typing.type_check_only + class EntryLinksResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1EntryLink = ..., + entryLinkId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1EntryLinkHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1EntryLinkHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1EntryLinkHttpRequest: ... + def create( self, *, @@ -579,6 +635,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def entries(self) -> EntriesResource: ... + def entryLinks(self) -> EntryLinksResource: ... @typing.type_check_only class EntryLinkTypesResource(googleapiclient.discovery.Resource): @@ -671,6 +728,20 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): class GlossariesResource(googleapiclient.discovery.Resource): @typing.type_check_only class CategoriesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1GlossaryCategory = ..., + categoryId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1GlossaryCategoryHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1GlossaryCategoryHttpRequest: ... def getIamPolicy( self, *, @@ -678,6 +749,34 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDataplexV1ListGlossaryCategoriesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListGlossaryCategoriesResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListGlossaryCategoriesResponse, + ) -> ( + GoogleCloudDataplexV1ListGlossaryCategoriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1GlossaryCategory = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1GlossaryCategoryHttpRequest: ... def setIamPolicy( self, *, @@ -695,6 +794,20 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): @typing.type_check_only class TermsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1GlossaryTerm = ..., + termId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1GlossaryTermHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1GlossaryTermHttpRequest: ... def getIamPolicy( self, *, @@ -702,6 +815,31 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListGlossaryTermsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListGlossaryTermsResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListGlossaryTermsResponse, + ) -> ( + GoogleCloudDataplexV1ListGlossaryTermsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1GlossaryTerm = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1GlossaryTermHttpRequest: ... def setIamPolicy( self, *, @@ -717,6 +855,21 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1Glossary = ..., + glossaryId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1GlossaryHttpRequest: ... def getIamPolicy( self, *, @@ -724,6 +877,30 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListGlossariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListGlossariesResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListGlossariesResponse, + ) -> GoogleCloudDataplexV1ListGlossariesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1Glossary = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -1506,6 +1683,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1537,6 +1715,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): pageToken: str = ..., query: str = ..., scope: str = ..., + semanticSearch: bool = ..., **kwargs: typing.Any, ) -> GoogleCloudDataplexV1SearchEntriesResponseHttpRequest: ... def searchEntries_next( @@ -1648,6 +1827,16 @@ class GoogleCloudDataplexV1DataTaxonomyHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GoogleCloudDataplexV1DataTaxonomy: ... +@typing.type_check_only +class GoogleCloudDataplexV1EncryptionConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1EncryptionConfig: ... + @typing.type_check_only class GoogleCloudDataplexV1EntityHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1672,6 +1861,14 @@ class GoogleCloudDataplexV1EntryGroupHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> GoogleCloudDataplexV1EntryGroup: ... +@typing.type_check_only +class GoogleCloudDataplexV1EntryLinkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1EntryLink: ... + @typing.type_check_only class GoogleCloudDataplexV1EntryTypeHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1698,6 +1895,32 @@ class GoogleCloudDataplexV1GenerateDataQualityRulesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1GenerateDataQualityRulesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1GlossaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1Glossary: ... + +@typing.type_check_only +class GoogleCloudDataplexV1GlossaryCategoryHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1GlossaryCategory: ... + +@typing.type_check_only +class GoogleCloudDataplexV1GlossaryTermHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1GlossaryTerm: ... + @typing.type_check_only class GoogleCloudDataplexV1JobHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1804,6 +2027,16 @@ class GoogleCloudDataplexV1ListDataTaxonomiesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListDataTaxonomiesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1ListEncryptionConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListEncryptionConfigsResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1ListEntitiesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1854,6 +2087,36 @@ class GoogleCloudDataplexV1ListEnvironmentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListEnvironmentsResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListGlossariesResponse: ... + +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossaryCategoriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListGlossaryCategoriesResponse: ... + +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossaryTermsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListGlossaryTermsResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1ListJobsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index de5b0b4d..e6ce4b0b 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -263,6 +263,25 @@ class GoogleCloudDataplexV1AssetStatus(typing_extensions.TypedDict, total=False) securityPolicyApplyingAssets: int updateTime: str +@typing.type_check_only +class GoogleCloudDataplexV1BusinessGlossaryEvent( + typing_extensions.TypedDict, total=False +): + eventType: typing_extensions.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "GLOSSARY_CREATE", + "GLOSSARY_UPDATE", + "GLOSSARY_DELETE", + "GLOSSARY_CATEGORY_CREATE", + "GLOSSARY_CATEGORY_UPDATE", + "GLOSSARY_CATEGORY_DELETE", + "GLOSSARY_TERM_CREATE", + "GLOSSARY_TERM_UPDATE", + "GLOSSARY_TERM_DELETE", + ] + message: str + resource: str + @typing.type_check_only class GoogleCloudDataplexV1CancelJobRequest( typing_extensions.TypedDict, total=False @@ -341,12 +360,28 @@ class GoogleCloudDataplexV1DataDiscoveryResult( typing_extensions.TypedDict, total=False ): bigqueryPublishing: GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing + scanStatistics: GoogleCloudDataplexV1DataDiscoveryResultScanStatistics @typing.type_check_only class GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing( typing_extensions.TypedDict, total=False ): dataset: str + location: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataDiscoveryResultScanStatistics( + typing_extensions.TypedDict, total=False +): + dataProcessedBytes: str + filesExcluded: int + filesetsCreated: int + filesetsDeleted: int + filesetsUpdated: int + scannedFileCount: int + tablesCreated: int + tablesDeleted: int + tablesUpdated: int @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpec(typing_extensions.TypedDict, total=False): @@ -360,6 +395,8 @@ class GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig( typing_extensions.TypedDict, total=False ): connection: str + location: str + project: str tableType: typing_extensions.Literal[ "TABLE_TYPE_UNSPECIFIED", "EXTERNAL", "BIGLAKE" ] @@ -515,6 +552,8 @@ class GoogleCloudDataplexV1DataQualityColumnResult( typing_extensions.TypedDict, total=False ): column: str + dimensions: _list[GoogleCloudDataplexV1DataQualityDimensionResult] + passed: bool score: float @typing.type_check_only @@ -533,6 +572,7 @@ class GoogleCloudDataplexV1DataQualityDimensionResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualityResult(typing_extensions.TypedDict, total=False): + catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus columns: _list[GoogleCloudDataplexV1DataQualityColumnResult] dimensions: _list[GoogleCloudDataplexV1DataQualityDimensionResult] passed: bool @@ -687,6 +727,7 @@ class GoogleCloudDataplexV1DataQualityScanRuleResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpec(typing_extensions.TypedDict, total=False): + catalogPublishingEnabled: bool postScanActions: GoogleCloudDataplexV1DataQualitySpecPostScanActions rowFilter: str rules: _list[GoogleCloudDataplexV1DataQualityRule] @@ -767,8 +808,15 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class GoogleCloudDataplexV1DataScanCatalogPublishingStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class GoogleCloudDataplexV1DataScanEvent(typing_extensions.TypedDict, total=False): + catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus createTime: str dataProfile: GoogleCloudDataplexV1DataScanEventDataProfileResult dataProfileConfigs: GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs @@ -965,6 +1013,27 @@ class GoogleCloudDataplexV1DiscoveryEventTableDetails( "TABLE_TYPE_UNSPECIFIED", "EXTERNAL_TABLE", "BIGLAKE_TABLE", "OBJECT_TABLE" ] +@typing.type_check_only +class GoogleCloudDataplexV1EncryptionConfig(typing_extensions.TypedDict, total=False): + createTime: str + encryptionState: typing_extensions.Literal[ + "ENCRYPTION_STATE_UNSPECIFIED", "ENCRYPTING", "COMPLETED", "FAILED" + ] + etag: str + failureDetails: GoogleCloudDataplexV1EncryptionConfigFailureDetails + key: str + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1EncryptionConfigFailureDetails( + typing_extensions.TypedDict, total=False +): + errorCode: typing_extensions.Literal[ + "UNKNOWN", "INTERNAL_ERROR", "REQUIRE_USER_ACTION" + ] + errorMessage: str + @typing.type_check_only class GoogleCloudDataplexV1Entity(typing_extensions.TypedDict, total=False): access: GoogleCloudDataplexV1StorageAccess @@ -1029,6 +1098,30 @@ class GoogleCloudDataplexV1EntryGroup(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class GoogleCloudDataplexV1EntryLink(typing_extensions.TypedDict, total=False): + createTime: str + entryLinkType: str + entryReferences: _list[GoogleCloudDataplexV1EntryLinkEntryReference] + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1EntryLinkEntryReference( + typing_extensions.TypedDict, total=False +): + name: str + path: str + type: typing_extensions.Literal["UNSPECIFIED", "SOURCE", "TARGET"] + +@typing.type_check_only +class GoogleCloudDataplexV1EntryLinkEvent(typing_extensions.TypedDict, total=False): + eventType: typing_extensions.Literal[ + "EVENT_TYPE_UNSPECIFIED", "ENTRY_LINK_CREATE", "ENTRY_LINK_DELETE" + ] + message: str + resource: str + @typing.type_check_only class GoogleCloudDataplexV1EntrySource(typing_extensions.TypedDict, total=False): ancestors: _list[GoogleCloudDataplexV1EntrySourceAncestor] @@ -1149,6 +1242,41 @@ class GoogleCloudDataplexV1GenerateDataQualityRulesResponse( ): rule: _list[GoogleCloudDataplexV1DataQualityRule] +@typing.type_check_only +class GoogleCloudDataplexV1Glossary(typing_extensions.TypedDict, total=False): + categoryCount: int + createTime: str + description: str + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + termCount: int + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1GlossaryCategory(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + labels: dict[str, typing.Any] + name: str + parent: str + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1GlossaryTerm(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + labels: dict[str, typing.Any] + name: str + parent: str + uid: str + updateTime: str + @typing.type_check_only class GoogleCloudDataplexV1GovernanceEvent(typing_extensions.TypedDict, total=False): entity: GoogleCloudDataplexV1GovernanceEventEntity @@ -1184,6 +1312,7 @@ class GoogleCloudDataplexV1GovernanceEventEntity( class GoogleCloudDataplexV1ImportItem(typing_extensions.TypedDict, total=False): aspectKeys: _list[str] entry: GoogleCloudDataplexV1Entry + entryLink: GoogleCloudDataplexV1EntryLink updateMask: str @typing.type_check_only @@ -1326,6 +1455,14 @@ class GoogleCloudDataplexV1ListDataTaxonomiesResponse( nextPageToken: str unreachableLocations: _list[str] +@typing.type_check_only +class GoogleCloudDataplexV1ListEncryptionConfigsResponse( + typing_extensions.TypedDict, total=False +): + encryptionConfigs: _list[GoogleCloudDataplexV1EncryptionConfig] + nextPageToken: str + unreachableLocations: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1ListEntitiesResponse( typing_extensions.TypedDict, total=False @@ -1363,6 +1500,30 @@ class GoogleCloudDataplexV1ListEnvironmentsResponse( environments: _list[GoogleCloudDataplexV1Environment] nextPageToken: str +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossariesResponse( + typing_extensions.TypedDict, total=False +): + glossaries: _list[GoogleCloudDataplexV1Glossary] + nextPageToken: str + unreachableLocations: _list[str] + +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossaryCategoriesResponse( + typing_extensions.TypedDict, total=False +): + categories: _list[GoogleCloudDataplexV1GlossaryCategory] + nextPageToken: str + unreachableLocations: _list[str] + +@typing.type_check_only +class GoogleCloudDataplexV1ListGlossaryTermsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + terms: _list[GoogleCloudDataplexV1GlossaryTerm] + unreachableLocations: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1ListJobsResponse(typing_extensions.TypedDict, total=False): jobs: _list[GoogleCloudDataplexV1Job] @@ -1410,23 +1571,52 @@ class GoogleCloudDataplexV1ListZonesResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDataplexV1MetadataJob(typing_extensions.TypedDict, total=False): createTime: str + exportResult: GoogleCloudDataplexV1MetadataJobExportJobResult + exportSpec: GoogleCloudDataplexV1MetadataJobExportJobSpec importResult: GoogleCloudDataplexV1MetadataJobImportJobResult importSpec: GoogleCloudDataplexV1MetadataJobImportJobSpec labels: dict[str, typing.Any] name: str status: GoogleCloudDataplexV1MetadataJobStatus - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IMPORT"] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IMPORT", "EXPORT"] uid: str updateTime: str +@typing.type_check_only +class GoogleCloudDataplexV1MetadataJobExportJobResult( + typing_extensions.TypedDict, total=False +): + errorMessage: str + exportedEntries: str + +@typing.type_check_only +class GoogleCloudDataplexV1MetadataJobExportJobSpec( + typing_extensions.TypedDict, total=False +): + outputPath: str + scope: GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope + +@typing.type_check_only +class GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope( + typing_extensions.TypedDict, total=False +): + aspectTypes: _list[str] + entryGroups: _list[str] + entryTypes: _list[str] + organizationLevel: bool + projects: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1MetadataJobImportJobResult( typing_extensions.TypedDict, total=False ): createdEntries: str + createdEntryLinks: str deletedEntries: str + deletedEntryLinks: str recreatedEntries: str unchangedEntries: str + unchangedEntryLinks: str updateTime: str updatedEntries: str @@ -1435,10 +1625,10 @@ class GoogleCloudDataplexV1MetadataJobImportJobSpec( typing_extensions.TypedDict, total=False ): aspectSyncMode: typing_extensions.Literal[ - "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL" + "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL", "NONE" ] entrySyncMode: typing_extensions.Literal[ - "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL" + "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL", "NONE" ] logLevel: typing_extensions.Literal["LOG_LEVEL_UNSPECIFIED", "DEBUG", "INFO"] scope: GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope @@ -1451,7 +1641,10 @@ class GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope( ): aspectTypes: _list[str] entryGroups: _list[str] + entryLinkTypes: _list[str] entryTypes: _list[str] + glossaries: _list[str] + referencedEntryScopes: _list[str] @typing.type_check_only class GoogleCloudDataplexV1MetadataJobStatus(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi b/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi index 5c4ba7db..a98daa90 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi @@ -13,8 +13,21 @@ _list = list @typing.type_check_only class DataPortabilityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessTypeResource(googleapiclient.discovery.Resource): + def check( + self, *, body: CheckAccessTypeRequest = ..., **kwargs: typing.Any + ) -> CheckAccessTypeResponseHttpRequest: ... + @typing.type_check_only class ArchiveJobsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelPortabilityArchiveRequest = ..., + **kwargs: typing.Any, + ) -> CancelPortabilityArchiveResponseHttpRequest: ... def getPortabilityArchiveState( self, *, name: str, **kwargs: typing.Any ) -> PortabilityArchiveStateHttpRequest: ... @@ -50,10 +63,27 @@ class DataPortabilityResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def accessType(self) -> AccessTypeResource: ... def archiveJobs(self) -> ArchiveJobsResource: ... def authorization(self) -> AuthorizationResource: ... def portabilityArchive(self) -> PortabilityArchiveResource: ... +@typing.type_check_only +class CancelPortabilityArchiveResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelPortabilityArchiveResponse: ... + +@typing.type_check_only +class CheckAccessTypeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckAccessTypeResponse: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi index df2b791d..e2904a3c 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi @@ -4,20 +4,41 @@ import typing_extensions _list = list +@typing.type_check_only +class CancelPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckAccessTypeRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckAccessTypeResponse(typing_extensions.TypedDict, total=False): + oneTimeResources: _list[str] + timeBasedResources: _list[str] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class InitiatePortabilityArchiveRequest(typing_extensions.TypedDict, total=False): + endTime: str resources: _list[str] + startTime: str @typing.type_check_only class InitiatePortabilityArchiveResponse(typing_extensions.TypedDict, total=False): + accessType: typing_extensions.Literal[ + "ACCESS_TYPE_UNSPECIFIED", "ACCESS_TYPE_ONE_TIME", "ACCESS_TYPE_TIME_BASED" + ] archiveJobId: str @typing.type_check_only class PortabilityArchiveState(typing_extensions.TypedDict, total=False): + exportTime: str name: str + startTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETE", "FAILED", "CANCELLED" ] diff --git a/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi b/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi index 5c4ba7db..a98daa90 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi @@ -13,8 +13,21 @@ _list = list @typing.type_check_only class DataPortabilityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessTypeResource(googleapiclient.discovery.Resource): + def check( + self, *, body: CheckAccessTypeRequest = ..., **kwargs: typing.Any + ) -> CheckAccessTypeResponseHttpRequest: ... + @typing.type_check_only class ArchiveJobsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelPortabilityArchiveRequest = ..., + **kwargs: typing.Any, + ) -> CancelPortabilityArchiveResponseHttpRequest: ... def getPortabilityArchiveState( self, *, name: str, **kwargs: typing.Any ) -> PortabilityArchiveStateHttpRequest: ... @@ -50,10 +63,27 @@ class DataPortabilityResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def accessType(self) -> AccessTypeResource: ... def archiveJobs(self) -> ArchiveJobsResource: ... def authorization(self) -> AuthorizationResource: ... def portabilityArchive(self) -> PortabilityArchiveResource: ... +@typing.type_check_only +class CancelPortabilityArchiveResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelPortabilityArchiveResponse: ... + +@typing.type_check_only +class CheckAccessTypeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckAccessTypeResponse: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi index df2b791d..e2904a3c 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi @@ -4,20 +4,41 @@ import typing_extensions _list = list +@typing.type_check_only +class CancelPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckAccessTypeRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckAccessTypeResponse(typing_extensions.TypedDict, total=False): + oneTimeResources: _list[str] + timeBasedResources: _list[str] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class InitiatePortabilityArchiveRequest(typing_extensions.TypedDict, total=False): + endTime: str resources: _list[str] + startTime: str @typing.type_check_only class InitiatePortabilityArchiveResponse(typing_extensions.TypedDict, total=False): + accessType: typing_extensions.Literal[ + "ACCESS_TYPE_UNSPECIFIED", "ACCESS_TYPE_ONE_TIME", "ACCESS_TYPE_TIME_BASED" + ] archiveJobId: str @typing.type_check_only class PortabilityArchiveState(typing_extensions.TypedDict, total=False): + exportTime: str name: str + startTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETE", "FAILED", "CANCELLED" ] diff --git a/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi index e51503e7..765deca1 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi @@ -552,6 +552,7 @@ class DataprocResource(googleapiclient.discovery.Resource): self, *, name: str, + jobIds: str | _list[str] = ..., jobStatus: typing_extensions.Literal[ "JOB_EXECUTION_STATUS_UNSPECIFIED", "JOB_EXECUTION_STATUS_RUNNING", @@ -576,6 +577,7 @@ class DataprocResource(googleapiclient.discovery.Resource): *, name: str, details: bool = ..., + operationIds: str | _list[str] = ..., pageSize: int = ..., pageToken: str = ..., parent: str = ..., @@ -646,6 +648,7 @@ class DataprocResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., parent: str = ..., + stageIds: str | _list[str] = ..., stageStatus: typing_extensions.Literal[ "STAGE_STATUS_UNSPECIFIED", "STAGE_STATUS_ACTIVE", @@ -670,7 +673,12 @@ class DataprocResource(googleapiclient.discovery.Resource): SummarizeSessionSparkApplicationExecutorsResponseHttpRequest ): ... def summarizeJobs( - self, *, name: str, parent: str = ..., **kwargs: typing.Any + self, + *, + name: str, + jobIds: str | _list[str] = ..., + parent: str = ..., + **kwargs: typing.Any, ) -> SummarizeSessionSparkApplicationJobsResponseHttpRequest: ... def summarizeStageAttemptTasks( self, @@ -682,7 +690,12 @@ class DataprocResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> SummarizeSessionSparkApplicationStageAttemptTasksResponseHttpRequest: ... def summarizeStages( - self, *, name: str, parent: str = ..., **kwargs: typing.Any + self, + *, + name: str, + parent: str = ..., + stageIds: str | _list[str] = ..., + **kwargs: typing.Any, ) -> SummarizeSessionSparkApplicationStagesResponseHttpRequest: ... def write( self, diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index b9c91110..7cb17146 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -154,6 +154,12 @@ class ApplicationInfo(typing_extensions.TypedDict, total=False): "QUANTILE_DATA_STATUS_FAILED", ] +@typing.type_check_only +class AuthenticationConfig(typing_extensions.TypedDict, total=False): + userWorkloadAuthenticationType: typing_extensions.Literal[ + "AUTHENTICATION_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "END_USER_CREDENTIALS" + ] + @typing.type_check_only class AutoscalingConfig(typing_extensions.TypedDict, total=False): policyUri: str @@ -161,6 +167,9 @@ class AutoscalingConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AutoscalingPolicy(typing_extensions.TypedDict, total=False): basicAlgorithm: BasicAutoscalingAlgorithm + clusterType: typing_extensions.Literal[ + "CLUSTER_TYPE_UNSPECIFIED", "STANDARD", "ZERO_SCALE" + ] id: str labels: dict[str, typing.Any] name: str @@ -171,7 +180,12 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): class AutotuningConfig(typing_extensions.TypedDict, total=False): scenarios: _list[ typing_extensions.Literal[ - "SCENARIO_UNSPECIFIED", "SCALING", "BROADCAST_HASH_JOIN", "MEMORY" + "SCENARIO_UNSPECIFIED", + "SCALING", + "BROADCAST_HASH_JOIN", + "MEMORY", + "NONE", + "AUTO", ] ] @@ -246,6 +260,11 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class BuildInfo(typing_extensions.TypedDict, total=False): + buildKey: str + buildValue: str + @typing.type_check_only class CancelJobRequest(typing_extensions.TypedDict, total=False): ... @@ -265,6 +284,12 @@ class Cluster(typing_extensions.TypedDict, total=False): class ClusterConfig(typing_extensions.TypedDict, total=False): autoscalingConfig: AutoscalingConfig auxiliaryNodeGroups: _list[AuxiliaryNodeGroup] + clusterTier: typing_extensions.Literal[ + "CLUSTER_TIER_UNSPECIFIED", "CLUSTER_TIER_STANDARD", "CLUSTER_TIER_PREMIUM" + ] + clusterType: typing_extensions.Literal[ + "CLUSTER_TYPE_UNSPECIFIED", "STANDARD", "SINGLE_NODE", "ZERO_SCALE" + ] configBucket: str dataprocMetricConfig: DataprocMetricConfig encryptionConfig: EncryptionConfig @@ -420,6 +445,7 @@ class EnvironmentConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecutionConfig(typing_extensions.TypedDict, total=False): + authenticationConfig: AuthenticationConfig idleTtl: str kmsKey: str networkTags: _list[str] @@ -525,6 +551,11 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class FallbackReason(typing_extensions.TypedDict, total=False): + fallbackNode: str + fallbackReason: str + @typing.type_check_only class FlinkJob(typing_extensions.TypedDict, total=False): args: _list[str] @@ -549,6 +580,7 @@ class GceClusterConfig(typing_extensions.TypedDict, total=False): "BIDIRECTIONAL", ] reservationAffinity: ReservationAffinity + resourceManagerTags: dict[str, typing.Any] serviceAccount: str serviceAccountScopes: _list[str] shieldedInstanceConfig: ShieldedInstanceConfig @@ -861,8 +893,11 @@ class KubernetesSoftwareConfig(typing_extensions.TypedDict, total=False): class LifecycleConfig(typing_extensions.TypedDict, total=False): autoDeleteTime: str autoDeleteTtl: str + autoStopTime: str + autoStopTtl: str idleDeleteTtl: str idleStartTime: str + idleStopTtl: str @typing.type_check_only class ListAutoscalingPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -954,6 +989,20 @@ class NamespacedGkeDeploymentTarget(typing_extensions.TypedDict, total=False): clusterNamespace: str targetGkeCluster: str +@typing.type_check_only +class NativeBuildInfoUiData(typing_extensions.TypedDict, total=False): + buildClass: str + buildInfo: _list[BuildInfo] + +@typing.type_check_only +class NativeSqlExecutionUiData(typing_extensions.TypedDict, total=False): + description: str + executionId: str + fallbackDescription: str + fallbackNodeToReason: _list[FallbackReason] + numFallbackNodes: int + numNativeNodes: int + @typing.type_check_only class NodeGroup(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] @@ -981,6 +1030,7 @@ class NodeGroupOperationMetadata(typing_extensions.TypedDict, total=False): "UPDATE_LABELS", "START", "STOP", + "UPDATE_METADATA_CONFIG", ] status: ClusterOperationStatus statusHistory: _list[ClusterOperationStatus] @@ -1083,6 +1133,10 @@ class ProcessSummary(typing_extensions.TypedDict, total=False): removeTime: str totalCores: int +@typing.type_check_only +class PropertiesInfo(typing_extensions.TypedDict, total=False): + autotuningProperties: dict[str, typing.Any] + @typing.type_check_only class ProvisioningModelMix(typing_extensions.TypedDict, total=False): standardCapacityBase: int @@ -1256,6 +1310,7 @@ class RuntimeInfo(typing_extensions.TypedDict, total=False): diagnosticOutputUri: str endpoints: dict[str, typing.Any] outputUri: str + propertiesInfo: PropertiesInfo @typing.type_check_only class SearchSessionSparkApplicationExecutorStageSummaryResponse( @@ -1504,13 +1559,16 @@ class SoftwareConfig(typing_extensions.TypedDict, total=False): typing_extensions.Literal[ "COMPONENT_UNSPECIFIED", "ANACONDA", + "DELTA", "DOCKER", "DRUID", "FLINK", "HBASE", "HIVE_WEBHCAT", "HUDI", + "ICEBERG", "JUPYTER", + "PIG", "PRESTO", "TRINO", "RANGER", @@ -1651,6 +1709,8 @@ class SparkWrapperObject(typing_extensions.TypedDict, total=False): executorStageSummary: ExecutorStageSummary executorSummary: ExecutorSummary jobData: JobData + nativeBuildInfoUiData: NativeBuildInfoUiData + nativeSqlExecutionUiData: NativeSqlExecutionUiData poolData: PoolData processSummary: ProcessSummary rddOperationGraph: RddOperationGraph @@ -2061,7 +2121,9 @@ class UsageMetrics(typing_extensions.TypedDict, total=False): acceleratorType: str milliAcceleratorSeconds: str milliDcuSeconds: str + milliSlotSeconds: str shuffleStorageGbSeconds: str + updateTime: str @typing.type_check_only class UsageSnapshot(typing_extensions.TypedDict, total=False): @@ -2069,10 +2131,17 @@ class UsageSnapshot(typing_extensions.TypedDict, total=False): milliAccelerator: str milliDcu: str milliDcuPremium: str + milliSlot: str shuffleStorageGb: str shuffleStorageGbPremium: str snapshotTime: str +@typing.type_check_only +class ValueInfo(typing_extensions.TypedDict, total=False): + annotation: str + overriddenValue: str + value: str + @typing.type_check_only class ValueValidation(typing_extensions.TypedDict, total=False): values: _list[str] diff --git a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi index fae6af9a..4781f2c6 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi @@ -143,6 +143,7 @@ class DatastreamResource(googleapiclient.discovery.Resource): force: bool = ..., privateConnectionId: str = ..., requestId: str = ..., + validateOnly: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -287,6 +288,7 @@ class DatastreamResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index c00d6eae..fde7c05b 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -12,9 +12,11 @@ class AvroFileFormat(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class BackfillAllStrategy(typing_extensions.TypedDict, total=False): + mongodbExcludedObjects: MongodbCluster mysqlExcludedObjects: MysqlRdbms oracleExcludedObjects: OracleRdbms postgresqlExcludedObjects: PostgresqlRdbms + salesforceExcludedObjects: SalesforceOrg sqlServerExcludedObjects: SqlServerRdbms @typing.type_check_only @@ -40,6 +42,7 @@ class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): appendOnly: AppendOnly + blmtConfig: BlmtConfig dataFreshness: str merge: Merge singleTargetDataset: SingleTargetDataset @@ -56,6 +59,14 @@ class BinaryLogParser(typing_extensions.TypedDict, total=False): @typing.type_check_only class BinaryLogPosition(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class BlmtConfig(typing_extensions.TypedDict, total=False): + bucket: str + connectionName: str + fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] + rootPath: str + tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -73,11 +84,15 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): forwardSshConnectivity: ForwardSshTunnelConnectivity gcsProfile: GcsProfile labels: dict[str, typing.Any] + mongodbProfile: MongodbProfile mysqlProfile: MysqlProfile name: str oracleProfile: OracleProfile postgresqlProfile: PostgresqlProfile privateConnectivity: PrivateConnectivity + salesforceProfile: SalesforceProfile + satisfiesPzi: bool + satisfiesPzs: bool sqlServerProfile: SqlServerProfile staticServiceIpConnectivity: StaticServiceIpConnectivity updateTime: str @@ -100,16 +115,20 @@ class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False) connectionProfileName: str fullHierarchy: bool hierarchyDepth: int + mongodbCluster: MongodbCluster mysqlRdbms: MysqlRdbms oracleRdbms: OracleRdbms postgresqlRdbms: PostgresqlRdbms + salesforceOrg: SalesforceOrg sqlServerRdbms: SqlServerRdbms @typing.type_check_only class DiscoverConnectionProfileResponse(typing_extensions.TypedDict, total=False): + mongodbCluster: MongodbCluster mysqlRdbms: MysqlRdbms oracleRdbms: OracleRdbms postgresqlRdbms: PostgresqlRdbms + salesforceOrg: SalesforceOrg sqlServerRdbms: SqlServerRdbms @typing.type_check_only @@ -155,6 +174,11 @@ class GcsProfile(typing_extensions.TypedDict, total=False): @typing.type_check_only class Gtid(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class HostAddress(typing_extensions.TypedDict, total=False): + hostname: str + port: int + @typing.type_check_only class JsonFileFormat(typing_extensions.TypedDict, total=False): compression: typing_extensions.Literal[ @@ -226,6 +250,56 @@ class LookupStreamObjectRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Merge(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class MongodbCluster(typing_extensions.TypedDict, total=False): + databases: _list[MongodbDatabase] + +@typing.type_check_only +class MongodbCollection(typing_extensions.TypedDict, total=False): + collection: str + fields: _list[MongodbField] + +@typing.type_check_only +class MongodbDatabase(typing_extensions.TypedDict, total=False): + collections: _list[MongodbCollection] + database: str + +@typing.type_check_only +class MongodbField(typing_extensions.TypedDict, total=False): + field: str + +@typing.type_check_only +class MongodbObjectIdentifier(typing_extensions.TypedDict, total=False): + collection: str + database: str + +@typing.type_check_only +class MongodbProfile(typing_extensions.TypedDict, total=False): + hostAddresses: _list[HostAddress] + password: str + replicaSet: str + secretManagerStoredPassword: str + srvConnectionFormat: SrvConnectionFormat + sslConfig: MongodbSslConfig + standardConnectionFormat: StandardConnectionFormat + username: str + +@typing.type_check_only +class MongodbSourceConfig(typing_extensions.TypedDict, total=False): + excludeObjects: MongodbCluster + includeObjects: MongodbCluster + maxConcurrentBackfillTasks: int + +@typing.type_check_only +class MongodbSslConfig(typing_extensions.TypedDict, total=False): + caCertificate: str + caCertificateSet: bool + clientCertificate: str + clientCertificateSet: bool + clientKey: str + clientKeySet: bool + secretManagerStoredClientKey: str + @typing.type_check_only class MostRecentStartPosition(typing_extensions.TypedDict, total=False): ... @@ -246,6 +320,10 @@ class MysqlDatabase(typing_extensions.TypedDict, total=False): database: str mysqlTables: _list[MysqlTable] +@typing.type_check_only +class MysqlGtidPosition(typing_extensions.TypedDict, total=False): + gtidSet: str + @typing.type_check_only class MysqlLogPosition(typing_extensions.TypedDict, total=False): logFile: str @@ -261,6 +339,7 @@ class MysqlProfile(typing_extensions.TypedDict, total=False): hostname: str password: str port: int + secretManagerStoredPassword: str sslConfig: MysqlSslConfig username: str @@ -294,6 +373,12 @@ class MysqlTable(typing_extensions.TypedDict, total=False): @typing.type_check_only class NextAvailableStartPosition(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Oauth2ClientCredentials(typing_extensions.TypedDict, total=False): + clientId: str + clientSecret: str + secretManagerStoredClientSecret: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -321,6 +406,7 @@ class OracleAsmConfig(typing_extensions.TypedDict, total=False): oracleSslConfig: OracleSslConfig password: str port: int + secretManagerStoredPassword: str username: str @typing.type_check_only @@ -411,6 +497,7 @@ class PostgresqlProfile(typing_extensions.TypedDict, total=False): hostname: str password: str port: int + secretManagerStoredPassword: str sslConfig: PostgresqlSslConfig username: str @@ -448,6 +535,9 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): error: Error labels: dict[str, typing.Any] name: str + pscInterfaceConfig: PscInterfaceConfig + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", @@ -463,6 +553,10 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): class PrivateConnectivity(typing_extensions.TypedDict, total=False): privateConnection: str +@typing.type_check_only +class PscInterfaceConfig(typing_extensions.TypedDict, total=False): + networkAttachment: str + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): createTime: str @@ -478,6 +572,37 @@ class RunStreamRequest(typing_extensions.TypedDict, total=False): cdcStrategy: CdcStrategy force: bool +@typing.type_check_only +class SalesforceField(typing_extensions.TypedDict, total=False): + dataType: str + name: str + nillable: bool + +@typing.type_check_only +class SalesforceObject(typing_extensions.TypedDict, total=False): + fields: _list[SalesforceField] + objectName: str + +@typing.type_check_only +class SalesforceObjectIdentifier(typing_extensions.TypedDict, total=False): + objectName: str + +@typing.type_check_only +class SalesforceOrg(typing_extensions.TypedDict, total=False): + objects: _list[SalesforceObject] + +@typing.type_check_only +class SalesforceProfile(typing_extensions.TypedDict, total=False): + domain: str + oauth2ClientCredentials: Oauth2ClientCredentials + userCredentials: UserCredentials + +@typing.type_check_only +class SalesforceSourceConfig(typing_extensions.TypedDict, total=False): + excludeObjects: SalesforceOrg + includeObjects: SalesforceOrg + pollingInterval: str + @typing.type_check_only class ServerAndClientVerification(typing_extensions.TypedDict, total=False): caCertificate: str @@ -494,25 +619,31 @@ class SingleTargetDataset(typing_extensions.TypedDict, total=False): @typing.type_check_only class SourceConfig(typing_extensions.TypedDict, total=False): + mongodbSourceConfig: MongodbSourceConfig mysqlSourceConfig: MysqlSourceConfig oracleSourceConfig: OracleSourceConfig postgresqlSourceConfig: PostgresqlSourceConfig + salesforceSourceConfig: SalesforceSourceConfig sourceConnectionProfile: str sqlServerSourceConfig: SqlServerSourceConfig @typing.type_check_only class SourceHierarchyDatasets(typing_extensions.TypedDict, total=False): datasetTemplate: DatasetTemplate + projectId: str @typing.type_check_only class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): + mongodbIdentifier: MongodbObjectIdentifier mysqlIdentifier: MysqlObjectIdentifier oracleIdentifier: OracleObjectIdentifier postgresqlIdentifier: PostgresqlObjectIdentifier + salesforceIdentifier: SalesforceObjectIdentifier sqlServerIdentifier: SqlServerObjectIdentifier @typing.type_check_only class SpecificStartPosition(typing_extensions.TypedDict, total=False): + mysqlGtidPosition: MysqlGtidPosition mysqlLogPosition: MysqlLogPosition oracleScnPosition: OracleScnPosition sqlServerLsnPosition: SqlServerLsnPosition @@ -546,6 +677,7 @@ class SqlServerProfile(typing_extensions.TypedDict, total=False): hostname: str password: str port: int + secretManagerStoredPassword: str username: str @typing.type_check_only @@ -574,6 +706,13 @@ class SqlServerTable(typing_extensions.TypedDict, total=False): @typing.type_check_only class SqlServerTransactionLogs(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class SrvConnectionFormat(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class StandardConnectionFormat(typing_extensions.TypedDict, total=False): + directConnection: bool + @typing.type_check_only class StartBackfillJobRequest(typing_extensions.TypedDict, total=False): ... @@ -609,6 +748,8 @@ class Stream(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] lastRecoveryTime: str name: str + satisfiesPzi: bool + satisfiesPzs: bool sourceConfig: SourceConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -636,6 +777,14 @@ class StreamObject(typing_extensions.TypedDict, total=False): sourceObject: SourceObjectIdentifier updateTime: str +@typing.type_check_only +class UserCredentials(typing_extensions.TypedDict, total=False): + password: str + secretManagerStoredPassword: str + secretManagerStoredSecurityToken: str + securityToken: str + username: str + @typing.type_check_only class Validation(typing_extensions.TypedDict, total=False): code: str diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi index 44cf0f28..cd4d232f 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi @@ -268,6 +268,7 @@ class DatastreamResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi index 59beb416..9e7b9939 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi @@ -194,6 +194,7 @@ class InputMapping(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): + machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only @@ -247,6 +248,7 @@ class Operation(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str + setAutoscalerLinkOperationMetadata: SetAutoscalerLinkOperationMetadata setCommonInstanceMetadataOperationMetadata: ( SetCommonInstanceMetadataOperationMetadata ) @@ -352,6 +354,10 @@ class ResourcesListResponse(typing_extensions.TypedDict, total=False): class ServiceAccount(typing_extensions.TypedDict, total=False): email: str +@typing.type_check_only +class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): + zonalIgmIds: _list[str] + @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi index 71896d98..90ed3d47 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi @@ -121,6 +121,7 @@ class ImportFile(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): + machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only @@ -166,6 +167,7 @@ class Operation(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str + setAutoscalerLinkOperationMetadata: SetAutoscalerLinkOperationMetadata setCommonInstanceMetadataOperationMetadata: ( SetCommonInstanceMetadataOperationMetadata ) @@ -240,6 +242,10 @@ class ResourcesListResponse(typing_extensions.TypedDict, total=False): nextPageToken: str resources: _list[Resource] +@typing.type_check_only +class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): + zonalIgmIds: _list[str] + @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi index bc067c78..9f620773 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi @@ -185,6 +185,7 @@ class InputMapping(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): + machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only @@ -230,6 +231,7 @@ class Operation(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str + setAutoscalerLinkOperationMetadata: SetAutoscalerLinkOperationMetadata setCommonInstanceMetadataOperationMetadata: ( SetCommonInstanceMetadataOperationMetadata ) @@ -323,6 +325,10 @@ class ResourcesListResponse(typing_extensions.TypedDict, total=False): class ServiceAccount(typing_extensions.TypedDict, total=False): email: str +@typing.type_check_only +class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): + zonalIgmIds: _list[str] + @typing.type_check_only class SetCommonInstanceMetadataOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi index 56c6079a..1226788d 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi @@ -17,6 +17,99 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountConnectorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def deleteSelf( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def fetchAccessToken( + self, + *, + accountConnector: str, + body: FetchAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> FetchAccessTokenResponseHttpRequest: ... + def fetchSelf( + self, *, name: str, **kwargs: typing.Any + ) -> UserHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUsersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUsersResponseHttpRequest, + previous_response: ListUsersResponse, + ) -> ListUsersResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: AccountConnector = ..., + accountConnectorId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccountConnectorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAccountConnectorsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountConnectorsResponseHttpRequest, + previous_response: ListAccountConnectorsResponse, + ) -> ListAccountConnectorsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AccountConnector = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def users(self) -> UsersResource: ... + @typing.type_check_only class ConnectionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -88,6 +181,20 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): previous_request: ListGitRepositoryLinksResponseHttpRequest, previous_response: ListGitRepositoryLinksResponse, ) -> ListGitRepositoryLinksResponseHttpRequest | None: ... + def processBitbucketCloudWebhook( + self, + *, + name: str, + body: ProcessBitbucketCloudWebhookRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def processBitbucketDataCenterWebhook( + self, + *, + name: str, + body: ProcessBitbucketDataCenterWebhookRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... def processGitLabEnterpriseWebhook( self, *, @@ -176,6 +283,55 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): ) -> EmptyHttpRequest: ... def gitRepositoryLinks(self) -> GitRepositoryLinksResource: ... + @typing.type_check_only + class InsightsConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: InsightsConfig = ..., + insightsConfigId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> InsightsConfigHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInsightsConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInsightsConfigsResponseHttpRequest, + previous_response: ListInsightsConfigsResponse, + ) -> ListInsightsConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InsightsConfig = ..., + allowMissing: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -213,6 +369,7 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -223,7 +380,9 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def accountConnectors(self) -> AccountConnectorsResource: ... def connections(self) -> ConnectionsResource: ... + def insightsConfigs(self) -> InsightsConfigsResource: ... def operations(self) -> OperationsResource: ... def locations(self) -> LocationsResource: ... @@ -242,6 +401,14 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AccountConnectorHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountConnector: ... + @typing.type_check_only class ConnectionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -258,6 +425,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class FetchAccessTokenResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchAccessTokenResponse: ... + @typing.type_check_only class FetchGitHubInstallationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -306,6 +481,22 @@ class GitRepositoryLinkHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GitRepositoryLink: ... +@typing.type_check_only +class InsightsConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InsightsConfig: ... + +@typing.type_check_only +class ListAccountConnectorsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountConnectorsResponse: ... + @typing.type_check_only class ListConnectionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -322,6 +513,14 @@ class ListGitRepositoryLinksResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> ListGitRepositoryLinksResponse: ... +@typing.type_check_only +class ListInsightsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInsightsConfigsResponse: ... + @typing.type_check_only class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -338,6 +537,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@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 LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -353,3 +560,11 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Operation: ... + +@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/developerconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi index 65e7ed2e..05792d07 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi @@ -4,17 +4,60 @@ import typing_extensions _list = list +@typing.type_check_only +class AccountConnector(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + etag: str + labels: dict[str, typing.Any] + name: str + oauthStartUri: str + providerOauthConfig: ProviderOAuthConfig + updateTime: str + +@typing.type_check_only +class AppHubWorkload(typing_extensions.TypedDict, total=False): + criticality: str + environment: str + workload: str + +@typing.type_check_only +class ArtifactConfig(typing_extensions.TypedDict, total=False): + googleArtifactAnalysis: GoogleArtifactAnalysis + googleArtifactRegistry: GoogleArtifactRegistry + uri: str + +@typing.type_check_only +class BitbucketCloudConfig(typing_extensions.TypedDict, total=False): + authorizerCredential: UserCredential + readAuthorizerCredential: UserCredential + webhookSecretSecretVersion: str + workspace: str + +@typing.type_check_only +class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): + authorizerCredential: UserCredential + hostUri: str + readAuthorizerCredential: UserCredential + serverVersion: str + serviceDirectoryConfig: ServiceDirectoryConfig + sslCaCertificate: str + webhookSecretSecretVersion: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + bitbucketCloudConfig: BitbucketCloudConfig + bitbucketDataCenterConfig: BitbucketDataCenterConfig createTime: str cryptoKeyConfig: CryptoKeyConfig deleteTime: str disabled: bool etag: str + gitProxyConfig: GitProxyConfig githubConfig: GitHubConfig githubEnterpriseConfig: GitHubEnterpriseConfig gitlabConfig: GitLabConfig @@ -33,6 +76,21 @@ class CryptoKeyConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExchangeError(typing_extensions.TypedDict, total=False): + code: str + description: str + +@typing.type_check_only +class FetchAccessTokenRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FetchAccessTokenResponse(typing_extensions.TypedDict, total=False): + exchangeError: ExchangeError + expirationTime: str + scopes: _list[str] + token: str + @typing.type_check_only class FetchGitHubInstallationsResponse(typing_extensions.TypedDict, total=False): installations: _list[Installation] @@ -65,6 +123,11 @@ class FetchReadWriteTokenResponse(typing_extensions.TypedDict, total=False): gitUsername: str token: str +@typing.type_check_only +class GKEWorkload(typing_extensions.TypedDict, total=False): + cluster: str + deployment: str + @typing.type_check_only class GitHubConfig(typing_extensions.TypedDict, total=False): appInstallationId: str @@ -103,6 +166,10 @@ class GitLabEnterpriseConfig(typing_extensions.TypedDict, total=False): sslCaCertificate: str webhookSecretSecretVersion: str +@typing.type_check_only +class GitProxyConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class GitRepositoryLink(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -110,6 +177,7 @@ class GitRepositoryLink(typing_extensions.TypedDict, total=False): createTime: str deleteTime: str etag: str + gitProxyUri: str labels: dict[str, typing.Any] name: str reconciling: bool @@ -117,12 +185,37 @@ class GitRepositoryLink(typing_extensions.TypedDict, total=False): updateTime: str webhookId: str +@typing.type_check_only +class GoogleArtifactAnalysis(typing_extensions.TypedDict, total=False): + projectId: str + +@typing.type_check_only +class GoogleArtifactRegistry(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str + projectId: str + @typing.type_check_only class HttpBody(typing_extensions.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] +@typing.type_check_only +class InsightsConfig(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + appHubApplication: str + artifactConfigs: _list[ArtifactConfig] + createTime: str + errors: _list[Status] + labels: dict[str, typing.Any] + name: str + reconciling: bool + runtimeConfigs: _list[RuntimeConfig] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PENDING", "COMPLETE", "ERROR" + ] + updateTime: str + @typing.type_check_only class Installation(typing_extensions.TypedDict, total=False): id: str @@ -145,6 +238,12 @@ class InstallationState(typing_extensions.TypedDict, total=False): class LinkableGitRepository(typing_extensions.TypedDict, total=False): cloneUri: str +@typing.type_check_only +class ListAccountConnectorsResponse(typing_extensions.TypedDict, total=False): + accountConnectors: _list[AccountConnector] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListConnectionsResponse(typing_extensions.TypedDict, total=False): connections: _list[Connection] @@ -157,6 +256,12 @@ class ListGitRepositoryLinksResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListInsightsConfigsResponse(typing_extensions.TypedDict, total=False): + insightsConfigs: _list[InsightsConfig] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] @@ -167,6 +272,12 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListUsersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + users: _list[User] + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -198,6 +309,16 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class ProcessBitbucketCloudWebhookRequest(typing_extensions.TypedDict, total=False): + body: HttpBody + +@typing.type_check_only +class ProcessBitbucketDataCenterWebhookRequest( + typing_extensions.TypedDict, total=False +): + body: HttpBody + @typing.type_check_only class ProcessGitHubEnterpriseWebhookRequest(typing_extensions.TypedDict, total=False): body: HttpBody @@ -210,6 +331,28 @@ class ProcessGitLabEnterpriseWebhookRequest(typing_extensions.TypedDict, total=F class ProcessGitLabWebhookRequest(typing_extensions.TypedDict, total=False): body: HttpBody +@typing.type_check_only +class ProviderOAuthConfig(typing_extensions.TypedDict, total=False): + scopes: _list[str] + systemProviderId: typing_extensions.Literal[ + "SYSTEM_PROVIDER_UNSPECIFIED", + "GITHUB", + "GITLAB", + "GOOGLE", + "SENTRY", + "ROVO", + "NEW_RELIC", + "DATASTAX", + "DYNATRACE", + ] + +@typing.type_check_only +class RuntimeConfig(typing_extensions.TypedDict, total=False): + appHubWorkload: AppHubWorkload + gkeWorkload: GKEWorkload + state: typing_extensions.Literal["STATE_UNSPECIFIED", "LINKED", "UNLINKED"] + uri: str + @typing.type_check_only class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): service: str @@ -220,6 +363,13 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class User(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + lastTokenRequestTime: str + name: str + @typing.type_check_only class UserCredential(typing_extensions.TypedDict, total=False): userTokenSecretVersion: str diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index d29e5767..d3b95b67 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -574,6 +574,7 @@ class Conversion(typing_extensions.TypedDict, total=False): nonPersonalizedAd: bool ordinal: str quantity: str + sessionAttributesEncoded: str timestampMicros: str treatmentForUnderage: bool userIdentifiers: _list[UserIdentifier] @@ -2852,6 +2853,7 @@ 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", diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi index 4e3cbdc7..5fa9f464 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi @@ -914,6 +914,13 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class SuggestionsResource(googleapiclient.discovery.Resource): + def generate( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2GenerateSuggestionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2GenerateSuggestionsResponseHttpRequest: ... def searchKnowledge( self, *, @@ -1944,6 +1951,15 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class SuggestionsResource(googleapiclient.discovery.Resource): + def generate( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2GenerateSuggestionsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowV2GenerateSuggestionsResponseHttpRequest + ): ... def searchKnowledge( self, *, @@ -1977,6 +1993,15 @@ class DialogflowResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDialogflowV2ConversationHttpRequest: ... + def ingestContextReferences( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2IngestContextReferencesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowV2IngestContextReferencesResponseHttpRequest + ): ... def list( self, *, @@ -2217,6 +2242,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -2492,6 +2518,16 @@ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2GenerateStatelessSummaryResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2GenerateSuggestionsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2GeneratorHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2500,6 +2536,16 @@ class GoogleCloudDialogflowV2GeneratorHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> GoogleCloudDialogflowV2Generator: ... +@typing.type_check_only +class GoogleCloudDialogflowV2IngestContextReferencesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2IngestContextReferencesResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2IntentHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 081861b6..ba739a67 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -121,6 +121,9 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( @@ -261,6 +264,7 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] returnPartialResponses: bool setParameterActions: _list[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] @@ -289,6 +293,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -495,6 +507,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal intent: GoogleCloudDialogflowCxV3IntentInput languageCode: str text: GoogleCloudDialogflowCxV3TextInput + toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( @@ -517,6 +530,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( ] telephonyTransferCall: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall text: GoogleCloudDialogflowCxV3ResponseMessageText + toolCall: GoogleCloudDialogflowCxV3ToolCall @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( @@ -659,6 +673,25 @@ class GoogleCloudDialogflowCxV3TestRunDifference( class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): + action: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + error: GoogleCloudDialogflowCxV3ToolCallResultError + outputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRoute( typing_extensions.TypedDict, total=False @@ -717,6 +750,8 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -733,8 +768,15 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -932,6 +974,9 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( @@ -1082,6 +1127,7 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] returnPartialResponses: bool setParameterActions: _list[ @@ -1112,6 +1158,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -1579,6 +1633,8 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -1595,8 +1651,15 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -1760,6 +1823,7 @@ class GoogleCloudDialogflowV2AnalyzeContentRequest( typing_extensions.TypedDict, total=False ): assistQueryParams: GoogleCloudDialogflowV2AssistQueryParameters + audioInput: GoogleCloudDialogflowV2AudioInput cxParameters: dict[str, typing.Any] eventInput: GoogleCloudDialogflowV2EventInput queryParams: GoogleCloudDialogflowV2QueryParameters @@ -1833,6 +1897,11 @@ class GoogleCloudDialogflowV2AssistQueryParameters( ): documentsMetadataFilters: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2AudioInput(typing_extensions.TypedDict, total=False): + audio: str + config: GoogleCloudDialogflowV2InputAudioConfig + @typing.type_check_only class GoogleCloudDialogflowV2AutomatedAgentConfig( typing_extensions.TypedDict, total=False @@ -1930,6 +1999,7 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -1946,6 +2016,7 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -1968,6 +2039,7 @@ class GoogleCloudDialogflowV2Conversation(typing_extensions.TypedDict, total=Fal "CONVERSATION_STAGE_UNSPECIFIED", "VIRTUAL_AGENT_STAGE", "HUMAN_ASSIST_STAGE" ] endTime: str + ingestedContextReferences: dict[str, typing.Any] lifecycleState: typing_extensions.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED" ] @@ -1982,6 +2054,29 @@ class GoogleCloudDialogflowV2ConversationContext( ): messageEntries: _list[GoogleCloudDialogflowV2MessageEntry] +@typing.type_check_only +class GoogleCloudDialogflowV2ConversationContextReference( + typing_extensions.TypedDict, total=False +): + contextContents: _list[ + GoogleCloudDialogflowV2ConversationContextReferenceContextContent + ] + createTime: str + languageCode: str + updateMode: typing_extensions.Literal[ + "UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ConversationContextReferenceContextContent( + typing_extensions.TypedDict, total=False +): + content: str + contentFormat: typing_extensions.Literal[ + "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" + ] + ingestionTime: str + @typing.type_check_only class GoogleCloudDialogflowV2ConversationDataset( typing_extensions.TypedDict, total=False @@ -2145,6 +2240,7 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PENDING", @@ -2155,6 +2251,18 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( "TRAINING", ] +@typing.type_check_only +class GoogleCloudDialogflowV2CustomPronunciationParams( + typing_extensions.TypedDict, total=False +): + phoneticEncoding: typing_extensions.Literal[ + "PHONETIC_ENCODING_UNSPECIFIED", + "PHONETIC_ENCODING_IPA", + "PHONETIC_ENCODING_X_SAMPA", + ] + phrase: str + pronunciation: str + @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata( typing_extensions.TypedDict, total=False @@ -2166,6 +2274,7 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( @@ -2173,6 +2282,7 @@ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelRequest( @@ -2365,6 +2475,16 @@ class GoogleCloudDialogflowV2FewShotExample(typing_extensions.TypedDict, total=F output: GoogleCloudDialogflowV2GeneratorSuggestion summarizationSectionList: GoogleCloudDialogflowV2SummarizationSectionList +@typing.type_check_only +class GoogleCloudDialogflowV2FreeFormContext(typing_extensions.TypedDict, total=False): + text: str + +@typing.type_check_only +class GoogleCloudDialogflowV2FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2Fulfillment(typing_extensions.TypedDict, total=False): displayName: str @@ -2401,12 +2521,18 @@ class GoogleCloudDialogflowV2GcsSources(typing_extensions.TypedDict, total=False class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest( typing_extensions.TypedDict, total=False ): + contextReferences: dict[str, typing.Any] conversationContext: GoogleCloudDialogflowV2ConversationContext generator: GoogleCloudDialogflowV2Generator generatorName: str + securitySettings: str triggerEvents: _list[ typing_extensions.Literal[ - "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL" + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", ] ] @@ -2449,15 +2575,54 @@ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary( text: str textSections: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsRequest( + typing_extensions.TypedDict, total=False +): + latestMessage: str + triggerEvents: _list[ + typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + ] + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion + sourceGenerator: str + @typing.type_check_only class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False): createTime: str description: str + freeFormContext: GoogleCloudDialogflowV2FreeFormContext inferenceParameter: GoogleCloudDialogflowV2InferenceParameter name: str + publishedModel: str summarizationContext: GoogleCloudDialogflowV2SummarizationContext + tools: _list[str] triggerEvent: typing_extensions.Literal[ - "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL" + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", ] updateTime: str @@ -2465,7 +2630,16 @@ class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False) class GoogleCloudDialogflowV2GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2ToolCall + toolCallResult: GoogleCloudDialogflowV2ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfig( @@ -2704,6 +2878,18 @@ class GoogleCloudDialogflowV2InferenceParameter( topK: int topP: float +@typing.type_check_only +class GoogleCloudDialogflowV2IngestContextReferencesRequest( + typing_extensions.TypedDict, total=False +): + contextReferences: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowV2IngestContextReferencesResponse( + typing_extensions.TypedDict, total=False +): + ingestedContextReferences: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -3144,6 +3330,7 @@ class GoogleCloudDialogflowV2KnowledgeBase(typing_extensions.TypedDict, total=Fa class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -3564,6 +3751,7 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -3762,6 +3950,7 @@ class GoogleCloudDialogflowV2SuggestionFeature( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -3773,6 +3962,7 @@ class GoogleCloudDialogflowV2SuggestionInput(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse suggestFaqAnswersResponse: GoogleCloudDialogflowV2SuggestFaqAnswersResponse suggestKnowledgeAssistResponse: ( @@ -3804,6 +3994,8 @@ class GoogleCloudDialogflowV2SummarizationSection( "CUSTOMER_SATISFACTION", "ENTITIES", "CUSTOMER_DEFINED", + "SITUATION_CONCISE", + "ACTION_CONCISE", ] @typing.type_check_only @@ -3831,6 +4023,7 @@ class GoogleCloudDialogflowV2SynthesizeSpeechConfig( ): effectsProfileId: _list[str] pitch: float + pronunciations: _list[GoogleCloudDialogflowV2CustomPronunciationParams] speakingRate: float voice: GoogleCloudDialogflowV2VoiceSelectionParams volumeGainDb: float @@ -3857,6 +4050,28 @@ class GoogleCloudDialogflowV2TextToSpeechSettings( sampleRateHertz: int synthesizeSpeechConfigs: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2TrainAgentRequest( typing_extensions.TypedDict, total=False @@ -3868,6 +4083,7 @@ class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelRequest( @@ -4062,12 +4278,50 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1GcsDestination( typing_extensions.TypedDict, total=False ): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2beta1ToolCall + toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -4615,6 +4869,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -4791,8 +5046,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( messageType: typing_extensions.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", - "DTMF_DIGITS", "END_OF_SINGLE_UTTERANCE", + "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", ] speechEndOffset: str @@ -4845,6 +5100,7 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( typing_extensions.TypedDict, total=False ): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse suggestDialogflowAssistsResponse: ( GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse @@ -4858,6 +5114,19 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( typing_extensions.TypedDict, total=False @@ -4884,6 +5153,30 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] ] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResult( + typing_extensions.TypedDict, total=False +): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2beta1ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1WebhookRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi index 0449c085..6aad67c0 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi @@ -883,6 +883,15 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class SuggestionsResource(googleapiclient.discovery.Resource): + def generate( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseHttpRequest + ): ... def searchKnowledge( self, *, @@ -1820,6 +1829,13 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class SuggestionsResource(googleapiclient.discovery.Resource): + def generate( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseHttpRequest: ... def searchKnowledge( self, *, @@ -1855,6 +1871,13 @@ class DialogflowResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDialogflowV2beta1ConversationHttpRequest: ... + def ingestContextReferences( + self, + *, + conversation: str, + body: GoogleCloudDialogflowV2beta1IngestContextReferencesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1IngestContextReferencesResponseHttpRequest: ... def list( self, *, @@ -2053,6 +2076,46 @@ class DialogflowResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PhoneNumbersResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse, + ) -> ( + GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowV2beta1PhoneNumber = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + def undelete( + self, + *, + name: str, + body: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + @typing.type_check_only class SipTrunksResource(googleapiclient.discovery.Resource): def create( @@ -2135,6 +2198,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -2161,6 +2225,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): def generators(self) -> GeneratorsResource: ... def knowledgeBases(self) -> KnowledgeBasesResource: ... def operations(self) -> OperationsResource: ... + def phoneNumbers(self) -> PhoneNumbersResource: ... def sipTrunks(self) -> SipTrunksResource: ... def statelessSuggestion(self) -> StatelessSuggestionResource: ... def suggestions(self) -> SuggestionsResource: ... @@ -2188,6 +2253,43 @@ class DialogflowResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PhoneNumbersResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest, + previous_response: GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse, + ) -> ( + GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowV2beta1PhoneNumber = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + def undelete( + self, + *, + name: str, + body: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest: ... + @typing.type_check_only class SuggestionsResource(googleapiclient.discovery.Resource): def generateStatelessSummary( @@ -2229,6 +2331,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): def knowledgeBases(self) -> KnowledgeBasesResource: ... def locations(self) -> LocationsResource: ... def operations(self) -> OperationsResource: ... + def phoneNumbers(self) -> PhoneNumbersResource: ... def suggestions(self) -> SuggestionsResource: ... def new_batch_http_request( @@ -2409,6 +2512,16 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorHttpRequest( googleapiclient.http.HttpRequest @@ -2419,6 +2532,16 @@ class GoogleCloudDialogflowV2beta1GeneratorHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1Generator: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestContextReferencesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1IngestContextReferencesResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2557,6 +2680,16 @@ class GoogleCloudDialogflowV2beta1ListParticipantsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1ListParticipantsResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListPhoneNumbersResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2607,6 +2740,16 @@ class GoogleCloudDialogflowV2beta1ParticipantHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowV2beta1Participant: ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1PhoneNumberHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowV2beta1PhoneNumber: ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchAgentsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index 155291a8..b994a006 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -121,6 +121,9 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( @@ -261,6 +264,7 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] returnPartialResponses: bool setParameterActions: _list[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] @@ -289,6 +293,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -495,6 +507,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal intent: GoogleCloudDialogflowCxV3IntentInput languageCode: str text: GoogleCloudDialogflowCxV3TextInput + toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( @@ -517,6 +530,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( ] telephonyTransferCall: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall text: GoogleCloudDialogflowCxV3ResponseMessageText + toolCall: GoogleCloudDialogflowCxV3ToolCall @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( @@ -659,6 +673,25 @@ class GoogleCloudDialogflowCxV3TestRunDifference( class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): + action: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + error: GoogleCloudDialogflowCxV3ToolCallResultError + outputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRoute( typing_extensions.TypedDict, total=False @@ -717,6 +750,8 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -733,8 +768,15 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -932,6 +974,9 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( @@ -1082,6 +1127,7 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] returnPartialResponses: bool setParameterActions: _list[ @@ -1112,6 +1158,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -1579,6 +1633,8 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -1595,8 +1651,15 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -1730,6 +1793,7 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -1813,6 +1877,7 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PENDING", @@ -1834,6 +1899,7 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( @@ -1841,6 +1907,7 @@ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): @@ -1893,10 +1960,48 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2ToolCall + toolCallResult: GoogleCloudDialogflowV2ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -2315,6 +2420,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -2404,6 +2510,7 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -2480,6 +2587,7 @@ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( @typing.type_check_only class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse suggestFaqAnswersResponse: GoogleCloudDialogflowV2SuggestFaqAnswersResponse suggestKnowledgeAssistResponse: ( @@ -2487,12 +2595,48 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( typing_extensions.TypedDict, total=False ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): @@ -2883,6 +3027,7 @@ class GoogleCloudDialogflowV2beta1Conversation( "CONVERSATION_STAGE_UNSPECIFIED", "VIRTUAL_AGENT_STAGE", "HUMAN_ASSIST_STAGE" ] endTime: str + ingestedContextReferences: dict[str, typing.Any] lifecycleState: typing_extensions.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED" ] @@ -2899,6 +3044,29 @@ class GoogleCloudDialogflowV2beta1ConversationContext( ): messageEntries: _list[GoogleCloudDialogflowV2beta1MessageEntry] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ConversationContextReference( + typing_extensions.TypedDict, total=False +): + contextContents: _list[ + GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent + ] + createTime: str + languageCode: str + updateMode: typing_extensions.Literal[ + "UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent( + typing_extensions.TypedDict, total=False +): + content: str + contentFormat: typing_extensions.Literal[ + "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" + ] + ingestionTime: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationEvent( typing_extensions.TypedDict, total=False @@ -2981,6 +3149,18 @@ class GoogleCloudDialogflowV2beta1CreateMessageRequest( message: GoogleCloudDialogflowV2beta1Message parent: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1CustomPronunciationParams( + typing_extensions.TypedDict, total=False +): + phoneticEncoding: typing_extensions.Literal[ + "PHONETIC_ENCODING_UNSPECIFIED", + "PHONETIC_ENCODING_IPA", + "PHONETIC_ENCODING_X_SAMPA", + ] + phrase: str + pronunciation: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1DetectIntentRequest( typing_extensions.TypedDict, total=False @@ -3152,6 +3332,18 @@ class GoogleCloudDialogflowV2beta1FewShotExample( output: GoogleCloudDialogflowV2beta1GeneratorSuggestion summarizationSectionList: GoogleCloudDialogflowV2beta1SummarizationSectionList +@typing.type_check_only +class GoogleCloudDialogflowV2beta1FreeFormContext( + typing_extensions.TypedDict, total=False +): + text: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1Fulfillment(typing_extensions.TypedDict, total=False): displayName: str @@ -3194,12 +3386,18 @@ class GoogleCloudDialogflowV2beta1GcsSources(typing_extensions.TypedDict, total= class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest( typing_extensions.TypedDict, total=False ): + contextReferences: dict[str, typing.Any] conversationContext: GoogleCloudDialogflowV2beta1ConversationContext generator: GoogleCloudDialogflowV2beta1Generator generatorName: str + securitySettings: str triggerEvents: _list[ typing_extensions.Literal[ - "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL" + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", ] ] @@ -3242,15 +3440,54 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary( text: str textSections: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest( + typing_extensions.TypedDict, total=False +): + latestMessage: str + triggerEvents: _list[ + typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + ] + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion + sourceGenerator: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=False): createTime: str description: str + freeFormContext: GoogleCloudDialogflowV2beta1FreeFormContext inferenceParameter: GoogleCloudDialogflowV2beta1InferenceParameter name: str + publishedModel: str summarizationContext: GoogleCloudDialogflowV2beta1SummarizationContext + tools: _list[str] triggerEvent: typing_extensions.Literal[ - "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL" + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", ] updateTime: str @@ -3258,7 +3495,16 @@ class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=F class GoogleCloudDialogflowV2beta1GeneratorSuggestion( typing_extensions.TypedDict, total=False ): + freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2beta1ToolCall + toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig( @@ -3479,6 +3725,18 @@ class GoogleCloudDialogflowV2beta1InferenceParameter( topK: int topP: float +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestContextReferencesRequest( + typing_extensions.TypedDict, total=False +): + contextReferences: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestContextReferencesResponse( + typing_extensions.TypedDict, total=False +): + ingestedContextReferences: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -4064,6 +4322,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeBase( class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -4152,6 +4411,13 @@ class GoogleCloudDialogflowV2beta1ListParticipantsResponse( nextPageToken: str participants: _list[GoogleCloudDialogflowV2beta1Participant] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + phoneNumbers: _list[GoogleCloudDialogflowV2beta1PhoneNumber] + @typing.type_check_only class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse( typing_extensions.TypedDict, total=False @@ -4266,6 +4532,15 @@ class GoogleCloudDialogflowV2beta1Participant(typing_extensions.TypedDict, total "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1PhoneNumber(typing_extensions.TypedDict, total=False): + conversationProfile: str + lifecycleState: typing_extensions.Literal[ + "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" + ] + name: str + phoneNumber: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1QueryInput(typing_extensions.TypedDict, total=False): audioConfig: GoogleCloudDialogflowV2beta1InputAudioConfig @@ -4622,8 +4897,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( messageType: typing_extensions.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", - "DTMF_DIGITS", "END_OF_SINGLE_UTTERANCE", + "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", ] speechEndOffset: str @@ -4791,6 +5066,7 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( typing_extensions.TypedDict, total=False ): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse suggestDialogflowAssistsResponse: ( GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse @@ -4828,6 +5104,8 @@ class GoogleCloudDialogflowV2beta1SummarizationSection( "CUSTOMER_SATISFACTION", "ENTITIES", "CUSTOMER_DEFINED", + "SITUATION_CONCISE", + "ACTION_CONCISE", ] @typing.type_check_only @@ -4855,6 +5133,7 @@ class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig( ): effectsProfileId: _list[str] pitch: float + pronunciations: _list[GoogleCloudDialogflowV2beta1CustomPronunciationParams] speakingRate: float voice: GoogleCloudDialogflowV2beta1VoiceSelectionParams volumeGainDb: float @@ -4907,11 +5186,40 @@ class GoogleCloudDialogflowV2beta1TextToSpeechSettings( sampleRateHertz: int synthesizeSpeechConfigs: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResult( + typing_extensions.TypedDict, total=False +): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2beta1ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1TrainAgentRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDialogflowV2beta1ValidationError( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi index 3e31b92c..73e0ae6d 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi @@ -727,6 +727,143 @@ class DialogflowResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDialogflowCxV3IntentHttpRequest: ... + @typing.type_check_only + class PlaybooksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3Example = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ExampleHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3ExampleHttpRequest: ... + def list( + self, + *, + parent: str, + languageCode: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowCxV3ListExamplesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3ListExamplesResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3ListExamplesResponse, + ) -> ( + GoogleCloudDialogflowCxV3ListExamplesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3Example = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ExampleHttpRequest: ... + + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3PlaybookVersion = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3PlaybookVersionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3PlaybookVersionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ListPlaybookVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3ListPlaybookVersionsResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse, + ) -> ( + GoogleCloudDialogflowCxV3ListPlaybookVersionsResponseHttpRequest + | None + ): ... + def restore( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3RestorePlaybookVersionResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3Playbook = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3PlaybookHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def export( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3ExportPlaybookRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3PlaybookHttpRequest: ... + def import_( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3ImportPlaybookRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ListPlaybooksResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3ListPlaybooksResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3ListPlaybooksResponse, + ) -> ( + GoogleCloudDialogflowCxV3ListPlaybooksResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3Playbook = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3PlaybookHttpRequest: ... + def examples(self) -> ExamplesResource: ... + def versions(self) -> VersionsResource: ... + @typing.type_check_only class SessionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -918,6 +1055,87 @@ class DialogflowResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def results(self) -> ResultsResource: ... + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3ToolVersion = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ToolVersionHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3ToolVersionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDialogflowCxV3ListToolVersionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3ListToolVersionsResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3ListToolVersionsResponse, + ) -> ( + GoogleCloudDialogflowCxV3ListToolVersionsResponseHttpRequest + | None + ): ... + def restore( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3RestoreToolVersionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3RestoreToolVersionResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3Tool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ToolHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3ToolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3ListToolsResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3ListToolsResponse, + ) -> ( + GoogleCloudDialogflowCxV3ListToolsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3Tool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3ToolHttpRequest: ... + def versions(self) -> VersionsResource: ... + @typing.type_check_only class TransitionRouteGroupsResource(googleapiclient.discovery.Resource): def create( @@ -1079,8 +1297,10 @@ class DialogflowResource(googleapiclient.discovery.Resource): def flows(self) -> FlowsResource: ... def generators(self) -> GeneratorsResource: ... def intents(self) -> IntentsResource: ... + def playbooks(self) -> PlaybooksResource: ... def sessions(self) -> SessionsResource: ... def testCases(self) -> TestCasesResource: ... + def tools(self) -> ToolsResource: ... def transitionRouteGroups(self) -> TransitionRouteGroupsResource: ... def webhooks(self) -> WebhooksResource: ... @@ -1156,6 +1376,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1300,6 +1521,14 @@ class GoogleCloudDialogflowCxV3EnvironmentHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3Environment: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3ExampleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3Example: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3ExperimentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1422,6 +1651,16 @@ class GoogleCloudDialogflowCxV3ListEnvironmentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3ListEnvironmentsResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListExamplesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ListExamplesResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3ListExperimentsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1472,6 +1711,26 @@ class GoogleCloudDialogflowCxV3ListPagesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3ListPagesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListPlaybookVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListPlaybooksResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ListPlaybooksResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3ListSecuritySettingsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1512,6 +1771,26 @@ class GoogleCloudDialogflowCxV3ListTestCasesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3ListTestCasesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListToolVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ListToolVersionsResponse: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListToolsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ListToolsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1570,6 +1849,44 @@ class GoogleCloudDialogflowCxV3PageHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3Page: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3Playbook: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookVersionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3PlaybookVersion: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestorePlaybookVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestoreToolVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3RestoreToolVersionResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3SecuritySettingsHttpRequest( googleapiclient.http.HttpRequest @@ -1608,6 +1925,22 @@ class GoogleCloudDialogflowCxV3TestCaseResultHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3TestCaseResult: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3Tool: ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3ToolVersion: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRouteGroupHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index 307c251e..dcde29d8 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -4,6 +4,14 @@ import typing_extensions _list = list +@typing.type_check_only +class GoogleCloudDialogflowCxV3Action(typing_extensions.TypedDict, total=False): + agentUtterance: GoogleCloudDialogflowCxV3AgentUtterance + flowInvocation: GoogleCloudDialogflowCxV3FlowInvocation + playbookInvocation: GoogleCloudDialogflowCxV3PlaybookInvocation + toolUse: GoogleCloudDialogflowCxV3ToolUse + userUtterance: GoogleCloudDialogflowCxV3UserUtterance + @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettings( typing_extensions.TypedDict, total=False @@ -62,6 +70,7 @@ class GoogleCloudDialogflowCxV3Agent(typing_extensions.TypedDict, total=False): securitySettings: str speechToTextSettings: GoogleCloudDialogflowCxV3SpeechToTextSettings startFlow: str + startPlaybook: str supportedLanguageCodes: _list[str] textToSpeechSettings: GoogleCloudDialogflowCxV3TextToSpeechSettings timeZone: str @@ -108,6 +117,10 @@ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings( ): defaultEndUserMetadata: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowCxV3AgentUtterance(typing_extensions.TypedDict, total=False): + text: str + @typing.type_check_only class GoogleCloudDialogflowCxV3AgentValidationResult( typing_extensions.TypedDict, total=False @@ -298,6 +311,9 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignals( @@ -392,6 +408,7 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet( ): documentTitle: str documentUri: str + metadata: dict[str, typing.Any] text: str @typing.type_check_only @@ -528,6 +545,27 @@ class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=F class GoogleCloudDialogflowCxV3EventInput(typing_extensions.TypedDict, total=False): event: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3Example(typing_extensions.TypedDict, total=False): + actions: _list[GoogleCloudDialogflowCxV3Action] + conversationState: typing_extensions.Literal[ + "OUTPUT_STATE_UNSPECIFIED", + "OUTPUT_STATE_OK", + "OUTPUT_STATE_CANCELLED", + "OUTPUT_STATE_FAILED", + "OUTPUT_STATE_ESCALATED", + "OUTPUT_STATE_PENDING", + ] + createTime: str + description: str + displayName: str + languageCode: str + name: str + playbookInput: GoogleCloudDialogflowCxV3PlaybookInput + playbookOutput: GoogleCloudDialogflowCxV3PlaybookOutput + tokenCount: str + updateTime: str + @typing.type_check_only class GoogleCloudDialogflowCxV3Experiment(typing_extensions.TypedDict, total=False): createTime: str @@ -689,6 +727,13 @@ class GoogleCloudDialogflowCxV3ExportIntentsResponse( intentsContent: GoogleCloudDialogflowCxV3InlineDestination intentsUri: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ExportPlaybookRequest( + typing_extensions.TypedDict, total=False +): + dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] + playbookUri: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ExportTestCasesMetadata( typing_extensions.TypedDict, total=False @@ -741,6 +786,19 @@ class GoogleCloudDialogflowCxV3FlowImportStrategy( "IMPORT_STRATEGY_THROW_ERROR", ] +@typing.type_check_only +class GoogleCloudDialogflowCxV3FlowInvocation(typing_extensions.TypedDict, total=False): + displayName: str + flow: str + flowState: typing_extensions.Literal[ + "OUTPUT_STATE_UNSPECIFIED", + "OUTPUT_STATE_OK", + "OUTPUT_STATE_CANCELLED", + "OUTPUT_STATE_FAILED", + "OUTPUT_STATE_ESCALATED", + "OUTPUT_STATE_PENDING", + ] + @typing.type_check_only class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings( typing_extensions.TypedDict, total=False @@ -800,6 +858,7 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] returnPartialResponses: bool setParameterActions: _list[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] @@ -828,6 +887,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -849,6 +916,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettings( GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings ) languageCode: str + llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings name: str @typing.type_check_only @@ -882,6 +950,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3Generator(typing_extensions.TypedDict, total=False): displayName: str + llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings modelParameter: GoogleCloudDialogflowCxV3GeneratorModelParameter name: str placeholders: _list[GoogleCloudDialogflowCxV3GeneratorPlaceholder] @@ -903,6 +972,27 @@ class GoogleCloudDialogflowCxV3GeneratorPlaceholder( id: str name: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3Handler(typing_extensions.TypedDict, total=False): + eventHandler: GoogleCloudDialogflowCxV3HandlerEventHandler + lifecycleHandler: GoogleCloudDialogflowCxV3HandlerLifecycleHandler + +@typing.type_check_only +class GoogleCloudDialogflowCxV3HandlerEventHandler( + typing_extensions.TypedDict, total=False +): + condition: str + event: str + fulfillment: GoogleCloudDialogflowCxV3Fulfillment + +@typing.type_check_only +class GoogleCloudDialogflowCxV3HandlerLifecycleHandler( + typing_extensions.TypedDict, total=False +): + condition: str + fulfillment: GoogleCloudDialogflowCxV3Fulfillment + lifecycleStage: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -994,6 +1084,14 @@ class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources( entityDisplayNames: _list[str] intentDisplayNames: _list[str] +@typing.type_check_only +class GoogleCloudDialogflowCxV3ImportPlaybookRequest( + typing_extensions.TypedDict, total=False +): + importStrategy: GoogleCloudDialogflowCxV3PlaybookImportStrategy + playbookContent: str + playbookUri: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ImportTestCasesMetadata( typing_extensions.TypedDict, total=False @@ -1161,6 +1259,13 @@ class GoogleCloudDialogflowCxV3ListEnvironmentsResponse( environments: _list[GoogleCloudDialogflowCxV3Environment] nextPageToken: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListExamplesResponse( + typing_extensions.TypedDict, total=False +): + examples: _list[GoogleCloudDialogflowCxV3Example] + nextPageToken: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ListExperimentsResponse( typing_extensions.TypedDict, total=False @@ -1196,6 +1301,20 @@ class GoogleCloudDialogflowCxV3ListPagesResponse( nextPageToken: str pages: _list[GoogleCloudDialogflowCxV3Page] +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + playbookVersions: _list[GoogleCloudDialogflowCxV3PlaybookVersion] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListPlaybooksResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + playbooks: _list[GoogleCloudDialogflowCxV3Playbook] + @typing.type_check_only class GoogleCloudDialogflowCxV3ListSecuritySettingsResponse( typing_extensions.TypedDict, total=False @@ -1224,6 +1343,20 @@ class GoogleCloudDialogflowCxV3ListTestCasesResponse( nextPageToken: str testCases: _list[GoogleCloudDialogflowCxV3TestCase] +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListToolVersionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + toolVersions: _list[GoogleCloudDialogflowCxV3ToolVersion] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ListToolsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + tools: _list[GoogleCloudDialogflowCxV3Tool] + @typing.type_check_only class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse( typing_extensions.TypedDict, total=False @@ -1245,6 +1378,13 @@ class GoogleCloudDialogflowCxV3ListWebhooksResponse( nextPageToken: str webhooks: _list[GoogleCloudDialogflowCxV3Webhook] +@typing.type_check_only +class GoogleCloudDialogflowCxV3LlmModelSettings( + typing_extensions.TypedDict, total=False +): + model: str + promptText: str + @typing.type_check_only class GoogleCloudDialogflowCxV3LoadVersionRequest( typing_extensions.TypedDict, total=False @@ -1365,6 +1505,97 @@ class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( class GoogleCloudDialogflowCxV3Phrase(typing_extensions.TypedDict, total=False): text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + goal: str + handlers: _list[GoogleCloudDialogflowCxV3Handler] + instruction: GoogleCloudDialogflowCxV3PlaybookInstruction + llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings + name: str + referencedFlows: _list[str] + referencedPlaybooks: _list[str] + referencedTools: _list[str] + tokenCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookImportStrategy( + typing_extensions.TypedDict, total=False +): + mainPlaybookImportStrategy: typing_extensions.Literal[ + "IMPORT_STRATEGY_UNSPECIFIED", + "IMPORT_STRATEGY_CREATE_NEW", + "IMPORT_STRATEGY_REPLACE", + "IMPORT_STRATEGY_KEEP", + "IMPORT_STRATEGY_MERGE", + "IMPORT_STRATEGY_THROW_ERROR", + ] + nestedResourceImportStrategy: typing_extensions.Literal[ + "IMPORT_STRATEGY_UNSPECIFIED", + "IMPORT_STRATEGY_CREATE_NEW", + "IMPORT_STRATEGY_REPLACE", + "IMPORT_STRATEGY_KEEP", + "IMPORT_STRATEGY_MERGE", + "IMPORT_STRATEGY_THROW_ERROR", + ] + toolImportStrategy: typing_extensions.Literal[ + "IMPORT_STRATEGY_UNSPECIFIED", + "IMPORT_STRATEGY_CREATE_NEW", + "IMPORT_STRATEGY_REPLACE", + "IMPORT_STRATEGY_KEEP", + "IMPORT_STRATEGY_MERGE", + "IMPORT_STRATEGY_THROW_ERROR", + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookInput(typing_extensions.TypedDict, total=False): + precedingConversationSummary: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookInstruction( + typing_extensions.TypedDict, total=False +): + guidelines: str + steps: _list[GoogleCloudDialogflowCxV3PlaybookStep] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookInvocation( + typing_extensions.TypedDict, total=False +): + displayName: str + playbook: str + playbookInput: GoogleCloudDialogflowCxV3PlaybookInput + playbookOutput: GoogleCloudDialogflowCxV3PlaybookOutput + playbookState: typing_extensions.Literal[ + "OUTPUT_STATE_UNSPECIFIED", + "OUTPUT_STATE_OK", + "OUTPUT_STATE_CANCELLED", + "OUTPUT_STATE_FAILED", + "OUTPUT_STATE_ESCALATED", + "OUTPUT_STATE_PENDING", + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookOutput(typing_extensions.TypedDict, total=False): + executionSummary: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookStep(typing_extensions.TypedDict, total=False): + steps: _list[GoogleCloudDialogflowCxV3PlaybookStep] + text: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3PlaybookVersion( + typing_extensions.TypedDict, total=False +): + description: str + examples: _list[GoogleCloudDialogflowCxV3Example] + name: str + playbook: GoogleCloudDialogflowCxV3Playbook + updateTime: str + @typing.type_check_only class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3AudioInput @@ -1373,6 +1604,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal intent: GoogleCloudDialogflowCxV3IntentInput languageCode: str text: GoogleCloudDialogflowCxV3TextInput + toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only class GoogleCloudDialogflowCxV3QueryParameters( @@ -1381,10 +1613,13 @@ class GoogleCloudDialogflowCxV3QueryParameters( analyzeQueryTextSentiment: bool channel: str currentPage: str + currentPlaybook: str disableWebhook: bool endUserMetadata: dict[str, typing.Any] flowVersions: _list[str] geoLocation: GoogleTypeLatLng + llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings + parameterScope: str parameters: dict[str, typing.Any] payload: dict[str, typing.Any] populateDataStoreConnectionSignals: bool @@ -1442,6 +1677,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( ] telephonyTransferCall: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall text: GoogleCloudDialogflowCxV3ResponseMessageText + toolCall: GoogleCloudDialogflowCxV3ToolCall @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( @@ -1524,6 +1760,28 @@ class GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource( ): trackingBranch: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse( + typing_extensions.TypedDict, total=False +): + playbook: GoogleCloudDialogflowCxV3Playbook + +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestoreToolVersionRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3RestoreToolVersionResponse( + typing_extensions.TypedDict, total=False +): + tool: GoogleCloudDialogflowCxV3Tool + @typing.type_check_only class GoogleCloudDialogflowCxV3RolloutConfig(typing_extensions.TypedDict, total=False): failureCondition: str @@ -1581,6 +1839,12 @@ class GoogleCloudDialogflowCxV3RunTestCaseResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3SafetySettings(typing_extensions.TypedDict, total=False): bannedPhrases: _list[GoogleCloudDialogflowCxV3SafetySettingsPhrase] + defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ + "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" + ] + promptSecuritySettings: ( + GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings + ) @typing.type_check_only class GoogleCloudDialogflowCxV3SafetySettingsPhrase( @@ -1589,6 +1853,12 @@ class GoogleCloudDialogflowCxV3SafetySettingsPhrase( languageCode: str text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings( + typing_extensions.TypedDict, total=False +): + enablePromptSecurity: bool + @typing.type_check_only class GoogleCloudDialogflowCxV3SearchConfig(typing_extensions.TypedDict, total=False): boostSpecs: _list[GoogleCloudDialogflowCxV3BoostSpecs] @@ -1751,6 +2021,148 @@ class GoogleCloudDialogflowCxV3TextToSpeechSettings( ): synthesizeSpeechConfigs: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowCxV3Tool(typing_extensions.TypedDict, total=False): + dataStoreSpec: GoogleCloudDialogflowCxV3ToolDataStoreTool + description: str + displayName: str + functionSpec: GoogleCloudDialogflowCxV3ToolFunctionTool + name: str + openApiSpec: GoogleCloudDialogflowCxV3ToolOpenApiTool + toolType: typing_extensions.Literal[ + "TOOL_TYPE_UNSPECIFIED", "CUSTOMIZED_TOOL", "BUILTIN_TOOL" + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolAuthentication( + typing_extensions.TypedDict, total=False +): + apiKeyConfig: GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig + bearerTokenConfig: GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig + oauthConfig: GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig + serviceAgentAuthConfig: ( + GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig( + 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 GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig( + typing_extensions.TypedDict, total=False +): + secretVersionForToken: str + token: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig( + 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 GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAgentAuth: typing_extensions.Literal[ + "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): + action: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + error: GoogleCloudDialogflowCxV3ToolCallResultError + outputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolDataStoreTool( + typing_extensions.TypedDict, total=False +): + dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] + fallbackPrompt: GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolFunctionTool( + typing_extensions.TypedDict, total=False +): + inputSchema: dict[str, typing.Any] + outputSchema: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolOpenApiTool( + typing_extensions.TypedDict, total=False +): + authentication: GoogleCloudDialogflowCxV3ToolAuthentication + serviceDirectoryConfig: GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig + textSchema: str + tlsConfig: GoogleCloudDialogflowCxV3ToolTLSConfig + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig( + typing_extensions.TypedDict, total=False +): + service: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolTLSConfig(typing_extensions.TypedDict, total=False): + caCerts: _list[GoogleCloudDialogflowCxV3ToolTLSConfigCACert] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolTLSConfigCACert( + typing_extensions.TypedDict, total=False +): + cert: str + displayName: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolUse(typing_extensions.TypedDict, total=False): + action: str + displayName: str + inputActionParameters: dict[str, typing.Any] + outputActionParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolVersion(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + name: str + tool: GoogleCloudDialogflowCxV3Tool + updateTime: str + @typing.type_check_only class GoogleCloudDialogflowCxV3TrainFlowRequest( typing_extensions.TypedDict, total=False @@ -1842,6 +2254,10 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] +@typing.type_check_only +class GoogleCloudDialogflowCxV3UserUtterance(typing_extensions.TypedDict, total=False): + text: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ValidateAgentRequest( typing_extensions.TypedDict, total=False @@ -1955,6 +2371,8 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -1971,8 +2389,15 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -2170,6 +2595,9 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( @@ -2320,6 +2748,7 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] returnPartialResponses: bool setParameterActions: _list[ @@ -2350,6 +2779,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -2817,6 +3254,8 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -2833,8 +3272,15 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -2968,6 +3414,7 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -3051,6 +3498,7 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PENDING", @@ -3072,6 +3520,7 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( @@ -3079,6 +3528,7 @@ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): @@ -3131,10 +3581,48 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2ToolCall + toolCallResult: GoogleCloudDialogflowV2ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -3553,6 +4041,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -3642,6 +4131,7 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -3718,6 +4208,7 @@ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( @typing.type_check_only class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse suggestFaqAnswersResponse: GoogleCloudDialogflowV2SuggestFaqAnswersResponse suggestKnowledgeAssistResponse: ( @@ -3725,12 +4216,48 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( typing_extensions.TypedDict, total=False ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): @@ -3886,12 +4413,50 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1GcsDestination( typing_extensions.TypedDict, total=False ): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2beta1ToolCall + toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -4439,6 +5004,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -4615,8 +5181,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( messageType: typing_extensions.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", - "DTMF_DIGITS", "END_OF_SINGLE_UTTERANCE", + "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", ] speechEndOffset: str @@ -4669,6 +5235,7 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( typing_extensions.TypedDict, total=False ): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse suggestDialogflowAssistsResponse: ( GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse @@ -4682,6 +5249,19 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( typing_extensions.TypedDict, total=False @@ -4708,6 +5288,30 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] ] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResult( + typing_extensions.TypedDict, total=False +): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2beta1ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1WebhookRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi index 2d9568b7..1b9cba7e 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi @@ -1092,6 +1092,45 @@ class DialogflowResource(googleapiclient.discovery.Resource): @typing.type_check_only class ToolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDialogflowCxV3beta1ToolVersion = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3beta1ToolVersionHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDialogflowCxV3beta1ToolVersionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3beta1ListToolVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDialogflowCxV3beta1ListToolVersionsResponseHttpRequest, + previous_response: GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse, + ) -> ( + GoogleCloudDialogflowCxV3beta1ListToolVersionsResponseHttpRequest + | None + ): ... + def restore( + self, + *, + name: str, + body: GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponseHttpRequest: ... + def create( self, *, @@ -1136,6 +1175,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDialogflowCxV3beta1ToolHttpRequest: ... + def versions(self) -> VersionsResource: ... @typing.type_check_only class TransitionRouteGroupsResource(googleapiclient.discovery.Resource): @@ -1387,6 +1427,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1815,6 +1856,16 @@ class GoogleCloudDialogflowCxV3beta1ListTestCasesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3beta1ListTestCasesResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListToolsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1913,6 +1964,16 @@ class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SecuritySettingsHttpRequest( googleapiclient.http.HttpRequest @@ -1961,6 +2022,16 @@ class GoogleCloudDialogflowCxV3beta1ToolHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> GoogleCloudDialogflowCxV3beta1Tool: ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolVersionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDialogflowCxV3beta1ToolVersion: ... + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index 5fdf0540..68849ac4 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -121,6 +121,9 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( @@ -261,6 +264,7 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] returnPartialResponses: bool setParameterActions: _list[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] @@ -289,6 +293,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -495,6 +507,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal intent: GoogleCloudDialogflowCxV3IntentInput languageCode: str text: GoogleCloudDialogflowCxV3TextInput + toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( @@ -517,6 +530,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( ] telephonyTransferCall: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall text: GoogleCloudDialogflowCxV3ResponseMessageText + toolCall: GoogleCloudDialogflowCxV3ToolCall @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( @@ -659,6 +673,25 @@ class GoogleCloudDialogflowCxV3TestRunDifference( class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): + action: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + error: GoogleCloudDialogflowCxV3ToolCallResultError + outputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRoute( typing_extensions.TypedDict, total=False @@ -717,6 +750,8 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -733,8 +768,15 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -814,11 +856,73 @@ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Action(typing_extensions.TypedDict, total=False): agentUtterance: GoogleCloudDialogflowCxV3beta1AgentUtterance + completeTime: str + displayName: str + event: GoogleCloudDialogflowCxV3beta1Event flowInvocation: GoogleCloudDialogflowCxV3beta1FlowInvocation + flowStateUpdate: GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate + flowTransition: GoogleCloudDialogflowCxV3beta1FlowTransition + intentMatch: GoogleCloudDialogflowCxV3beta1ActionIntentMatch + llmCall: GoogleCloudDialogflowCxV3beta1LlmCall playbookInvocation: GoogleCloudDialogflowCxV3beta1PlaybookInvocation + playbookTransition: GoogleCloudDialogflowCxV3beta1PlaybookTransition + startTime: str + status: GoogleCloudDialogflowCxV3beta1Status + stt: GoogleCloudDialogflowCxV3beta1ActionSTT + subExecutionSteps: _list[GoogleCloudDialogflowCxV3beta1Span] toolUse: GoogleCloudDialogflowCxV3beta1ToolUse + tts: GoogleCloudDialogflowCxV3beta1ActionTTS userUtterance: GoogleCloudDialogflowCxV3beta1UserUtterance +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate( + typing_extensions.TypedDict, total=False +): + destination: str + eventType: str + functionCall: GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall + pageState: GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState + updatedParameters: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState( + typing_extensions.TypedDict, total=False +): + displayName: str + page: str + status: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionIntentMatch( + typing_extensions.TypedDict, total=False +): + matchedIntents: _list[GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent( + typing_extensions.TypedDict, total=False +): + displayName: str + generativeFallback: dict[str, typing.Any] + intentId: str + score: float + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionSTT( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ActionTTS( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettings( typing_extensions.TypedDict, total=False @@ -909,10 +1013,23 @@ class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings( class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings( typing_extensions.TypedDict, total=False ): + gitConnectionSettings: ( + GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings + ) githubSettings: ( GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings ) +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings( + typing_extensions.TypedDict, total=False +): + accessTokenSecret: str + branches: _list[str] + displayName: str + repositoryUri: str + trackingBranch: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings( typing_extensions.TypedDict, total=False @@ -933,6 +1050,7 @@ class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings( class GoogleCloudDialogflowCxV3beta1AgentUtterance( typing_extensions.TypedDict, total=False ): + requireGeneration: bool text: str @typing.type_check_only @@ -1225,6 +1343,9 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( dataStoreType: typing_extensions.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals( @@ -1321,6 +1442,7 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet( ): documentTitle: str documentUri: str + metadata: dict[str, typing.Any] text: str @typing.type_check_only @@ -1451,6 +1573,11 @@ class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig( ): webhookOverrides: _list[GoogleCloudDialogflowCxV3beta1Webhook] +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1Event(typing_extensions.TypedDict, total=False): + event: str + text: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EventHandler( typing_extensions.TypedDict, total=False @@ -1489,6 +1616,12 @@ class GoogleCloudDialogflowCxV3beta1Example(typing_extensions.TypedDict, total=F tokenCount: str updateTime: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ExceptionDetail( + typing_extensions.TypedDict, total=False +): + errorMessage: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Experiment( typing_extensions.TypedDict, total=False @@ -1683,7 +1816,7 @@ class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( class GoogleCloudDialogflowCxV3beta1ExportToolsRequest( typing_extensions.TypedDict, total=False ): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] + dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB"] tools: _list[str] toolsContentInline: bool toolsUri: str @@ -1746,6 +1879,14 @@ class GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings( enableMultiLanguageDetection: bool supportedResponseLanguageCodes: _list[str] +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1FlowTransition( + typing_extensions.TypedDict, total=False +): + displayName: str + flow: str + inputActionParameters: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FlowValidationResult( typing_extensions.TypedDict, total=False @@ -1802,6 +1943,7 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool + generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] returnPartialResponses: bool setParameterActions: _list[ @@ -1832,6 +1974,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( + typing_extensions.TypedDict, total=False +): + generator: str + inputParameters: dict[str, typing.Any] + outputParameter: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( typing_extensions.TypedDict, total=False @@ -1918,6 +2068,27 @@ class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder( id: str name: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1Handler(typing_extensions.TypedDict, total=False): + eventHandler: GoogleCloudDialogflowCxV3beta1HandlerEventHandler + lifecycleHandler: GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1HandlerEventHandler( + typing_extensions.TypedDict, total=False +): + condition: str + event: str + fulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler( + typing_extensions.TypedDict, total=False +): + condition: str + fulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment + lifecycleStage: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -2292,6 +2463,13 @@ class GoogleCloudDialogflowCxV3beta1ListTestCasesResponse( nextPageToken: str testCases: _list[GoogleCloudDialogflowCxV3beta1TestCase] +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + toolVersions: _list[GoogleCloudDialogflowCxV3beta1ToolVersion] + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListToolsResponse( typing_extensions.TypedDict, total=False @@ -2320,6 +2498,33 @@ class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse( nextPageToken: str webhooks: _list[GoogleCloudDialogflowCxV3beta1Webhook] +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1LlmCall(typing_extensions.TypedDict, total=False): + model: str + retrievedExamples: _list[GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample] + temperature: float + tokenCount: GoogleCloudDialogflowCxV3beta1LlmCallTokenCount + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample( + typing_extensions.TypedDict, total=False +): + exampleDisplayName: str + exampleId: str + matchedRetrievalLabel: str + retrievalStrategy: typing_extensions.Literal[ + "RETRIEVAL_STRATEGY_UNSPECIFIED", "DEFAULT", "STATIC", "NEVER" + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1LlmCallTokenCount( + typing_extensions.TypedDict, total=False +): + conversationContextTokenCount: str + exampleTokenCount: str + totalInputTokenCount: str + totalOutputTokenCount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1LlmModelSettings( typing_extensions.TypedDict, total=False @@ -2378,6 +2583,14 @@ class GoogleCloudDialogflowCxV3beta1MatchIntentResponse( triggerEvent: str triggerIntent: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1NamedMetric( + typing_extensions.TypedDict, total=False +): + name: str + unit: str + value: typing.Any + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1NluSettings( typing_extensions.TypedDict, total=False @@ -2471,11 +2684,15 @@ class GoogleCloudDialogflowCxV3beta1Playbook(typing_extensions.TypedDict, total= createTime: str displayName: str goal: str + handlers: _list[GoogleCloudDialogflowCxV3beta1Handler] inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] instruction: GoogleCloudDialogflowCxV3beta1PlaybookInstruction llmModelSettings: GoogleCloudDialogflowCxV3beta1LlmModelSettings name: str outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] + playbookType: typing_extensions.Literal[ + "PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE" + ] referencedFlows: _list[str] referencedPlaybooks: _list[str] referencedTools: _list[str] @@ -2549,6 +2766,9 @@ class GoogleCloudDialogflowCxV3beta1PlaybookOutput( ): actionParameters: dict[str, typing.Any] executionSummary: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OK", "CANCELLED", "FAILED", "ESCALATED" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PlaybookStep( @@ -2557,6 +2777,14 @@ class GoogleCloudDialogflowCxV3beta1PlaybookStep( steps: _list[GoogleCloudDialogflowCxV3beta1PlaybookStep] text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1PlaybookTransition( + typing_extensions.TypedDict, total=False +): + displayName: str + inputActionParameters: dict[str, typing.Any] + playbook: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PlaybookVersion( typing_extensions.TypedDict, total=False @@ -2592,6 +2820,7 @@ class GoogleCloudDialogflowCxV3beta1QueryParameters( flowVersions: _list[str] geoLocation: GoogleTypeLatLng llmModelSettings: GoogleCloudDialogflowCxV3beta1LlmModelSettings + parameterScope: str parameters: dict[str, typing.Any] payload: dict[str, typing.Any] populateDataStoreConnectionSignals: bool @@ -2751,6 +2980,17 @@ class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse( ): playbook: GoogleCloudDialogflowCxV3beta1Playbook +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse( + typing_extensions.TypedDict, total=False +): + tool: GoogleCloudDialogflowCxV3beta1Tool + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RolloutConfig( typing_extensions.TypedDict, total=False @@ -2817,6 +3057,9 @@ class GoogleCloudDialogflowCxV3beta1SafetySettings( defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" ] + promptSecuritySettings: ( + GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings + ) @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase( @@ -2825,6 +3068,12 @@ class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase( languageCode: str text: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings( + typing_extensions.TypedDict, total=False +): + enablePromptSecurity: bool + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SearchConfig( typing_extensions.TypedDict, total=False @@ -2904,6 +3153,14 @@ class GoogleCloudDialogflowCxV3beta1SessionInfo( parameters: dict[str, typing.Any] session: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1Span(typing_extensions.TypedDict, total=False): + completeTime: str + metrics: _list[GoogleCloudDialogflowCxV3beta1NamedMetric] + name: str + startTime: str + tags: _list[str] + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings( typing_extensions.TypedDict, total=False @@ -2915,6 +3172,10 @@ class GoogleCloudDialogflowCxV3beta1StartExperimentRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1Status(typing_extensions.TypedDict, total=False): + exception: GoogleCloudDialogflowCxV3beta1ExceptionDetail + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1StopExperimentRequest( typing_extensions.TypedDict, total=False @@ -3001,6 +3262,7 @@ class GoogleCloudDialogflowCxV3beta1TextToSpeechSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Tool(typing_extensions.TypedDict, total=False): + connectorSpec: GoogleCloudDialogflowCxV3beta1ToolConnectorTool dataStoreSpec: GoogleCloudDialogflowCxV3beta1ToolDataStoreTool description: str displayName: str @@ -3032,11 +3294,13 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig( requestLocation: typing_extensions.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] + secretVersionForApiKey: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig( typing_extensions.TypedDict, total=False ): + secretVersionForToken: str token: str @typing.type_check_only @@ -3049,6 +3313,7 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig( "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" ] scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str @typing.type_check_only @@ -3080,6 +3345,34 @@ class GoogleCloudDialogflowCxV3beta1ToolCallResultError( ): message: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolConnectorTool( + typing_extensions.TypedDict, total=False +): + actions: _list[GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction] + endUserAuthConfig: GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig + name: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction( + typing_extensions.TypedDict, total=False +): + connectionActionId: str + entityOperation: ( + GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation + ) + inputFields: _list[str] + outputFields: _list[str] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation( + typing_extensions.TypedDict, total=False +): + entityId: str + operation: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolDataStoreTool( typing_extensions.TypedDict, total=False @@ -3092,6 +3385,31 @@ class GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig( + typing_extensions.TypedDict, total=False +): + oauth2AuthCodeConfig: ( + GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig + ) + oauth2JwtBearerConfig: ( + GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig + ) + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig( + typing_extensions.TypedDict, total=False +): + oauthToken: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig( + typing_extensions.TypedDict, total=False +): + clientKey: str + issuer: str + subject: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolExtensionTool( typing_extensions.TypedDict, total=False @@ -3136,10 +3454,35 @@ class GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolUse(typing_extensions.TypedDict, total=False): action: str + dataStoreToolTrace: GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace displayName: str inputActionParameters: dict[str, typing.Any] outputActionParameters: dict[str, typing.Any] tool: str + webhookToolTrace: GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace( + typing_extensions.TypedDict, total=False +): + dataStoreConnectionSignals: GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace( + typing_extensions.TypedDict, total=False +): + webhookTag: str + webhookUri: str + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolVersion( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + name: str + tool: GoogleCloudDialogflowCxV3beta1Tool + updateTime: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TrainFlowRequest( @@ -3252,6 +3595,8 @@ class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference( class GoogleCloudDialogflowCxV3beta1UserUtterance( typing_extensions.TypedDict, total=False ): + audio: str + audioTokens: _list[int] text: str @typing.type_check_only @@ -3367,6 +3712,8 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( password: str requestBody: str requestHeaders: dict[str, typing.Any] + secretVersionForUsernamePassword: str + secretVersionsForRequestHeaders: dict[str, typing.Any] serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -3383,8 +3730,15 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( clientId: str clientSecret: str scopes: _list[str] + secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( + typing_extensions.TypedDict, total=False +): + secretVersion: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -3518,6 +3872,7 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -3601,6 +3956,7 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PENDING", @@ -3622,6 +3978,7 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( @@ -3629,6 +3986,7 @@ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): @@ -3681,10 +4039,48 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2ToolCall + toolCallResult: GoogleCloudDialogflowV2ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -4103,6 +4499,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -4192,6 +4589,7 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", + "CONVERSATION_SUMMARIZATION", "KNOWLEDGE_SEARCH", "KNOWLEDGE_ASSIST", ] @@ -4268,6 +4666,7 @@ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( @typing.type_check_only class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse suggestFaqAnswersResponse: GoogleCloudDialogflowV2SuggestFaqAnswersResponse suggestKnowledgeAssistResponse: ( @@ -4275,12 +4674,48 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( typing_extensions.TypedDict, total=False ): conversationModel: str createTime: str + doneTime: str @typing.type_check_only class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): @@ -4436,12 +4871,50 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F question: str source: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1FreeFormSuggestion( + typing_extensions.TypedDict, total=False +): + response: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1GcsDestination( typing_extensions.TypedDict, total=False ): uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( + typing_extensions.TypedDict, total=False +): + generatorSuggestionAnswers: _list[ + GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer + ] + latestMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( + typing_extensions.TypedDict, total=False +): + answerRecord: str + generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion + sourceGenerator: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestion( + typing_extensions.TypedDict, total=False +): + freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion + summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion + toolCallInfo: _list[GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( + typing_extensions.TypedDict, total=False +): + toolCall: GoogleCloudDialogflowV2beta1ToolCall + toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult + @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( typing_extensions.TypedDict, total=False @@ -4989,6 +5462,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False ): + doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @@ -5165,8 +5639,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( messageType: typing_extensions.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", - "DTMF_DIGITS", "END_OF_SINGLE_UTTERANCE", + "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", ] speechEndOffset: str @@ -5219,6 +5693,7 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( typing_extensions.TypedDict, total=False ): error: GoogleRpcStatus + generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse suggestDialogflowAssistsResponse: ( GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse @@ -5232,6 +5707,19 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( ) suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestion( + typing_extensions.TypedDict, total=False +): + summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( typing_extensions.TypedDict, total=False @@ -5258,6 +5746,30 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] ] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): + action: str + createTime: str + inputParameters: dict[str, typing.Any] + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResult( + typing_extensions.TypedDict, total=False +): + action: str + content: str + createTime: str + error: GoogleCloudDialogflowV2beta1ToolCallResultError + rawContent: str + tool: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ToolCallResultError( + typing_extensions.TypedDict, total=False +): + message: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1WebhookRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi b/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi index 473bfc6c..6123baa7 100644 --- a/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi @@ -15,10 +15,14 @@ _list = list class DigitalassetlinksResource(googleapiclient.discovery.Resource): @typing.type_check_only class AssetlinksResource(googleapiclient.discovery.Resource): + def bulkCheck( + self, *, body: BulkCheckRequest = ..., **kwargs: typing.Any + ) -> BulkCheckResponseHttpRequest: ... def check( self, *, relation: str = ..., + returnRelationExtensions: bool = ..., source_androidApp_certificate_sha256Fingerprint: str = ..., source_androidApp_packageName: str = ..., source_web_site: str = ..., @@ -34,6 +38,7 @@ class DigitalassetlinksResource(googleapiclient.discovery.Resource): self, *, relation: str = ..., + returnRelationExtensions: bool = ..., source_androidApp_certificate_sha256Fingerprint: str = ..., source_androidApp_packageName: str = ..., source_web_site: str = ..., @@ -55,6 +60,14 @@ class DigitalassetlinksResource(googleapiclient.discovery.Resource): def assetlinks(self) -> AssetlinksResource: ... def statements(self) -> StatementsResource: ... +@typing.type_check_only +class BulkCheckResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkCheckResponse: ... + @typing.type_check_only class CheckResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi b/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi index 8aba2a69..f42c5a60 100644 --- a/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi @@ -14,6 +14,31 @@ class Asset(typing_extensions.TypedDict, total=False): androidApp: AndroidAppAsset web: WebAsset +@typing.type_check_only +class BulkCheckRequest(typing_extensions.TypedDict, total=False): + defaultRelation: str + defaultSource: Asset + defaultTarget: Asset + returnRelationExtensions: bool + statements: _list[StatementTemplate] + +@typing.type_check_only +class BulkCheckResponse(typing_extensions.TypedDict, total=False): + bulkErrorCode: typing_extensions.Literal[ + "ERROR_CODE_UNSPECIFIED", + "ERROR_CODE_INVALID_QUERY", + "ERROR_CODE_FETCH_ERROR", + "ERROR_CODE_FAILED_SSL_VALIDATION", + "ERROR_CODE_REDIRECT", + "ERROR_CODE_TOO_LARGE", + "ERROR_CODE_MALFORMED_HTTP_RESPONSE", + "ERROR_CODE_WRONG_CONTENT_TYPE", + "ERROR_CODE_MALFORMED_CONTENT", + "ERROR_CODE_SECURE_ASSET_INCLUDES_INSECURE", + "ERROR_CODE_FETCH_BUDGET_EXHAUSTED", + ] + checkResults: _list[CheckResponse] + @typing.type_check_only class CertificateInfo(typing_extensions.TypedDict, total=False): sha256Fingerprint: str @@ -38,6 +63,7 @@ class CheckResponse(typing_extensions.TypedDict, total=False): ] linked: bool maxAge: str + relationExtensions: _list[dict[str, typing.Any]] @typing.type_check_only class ListResponse(typing_extensions.TypedDict, total=False): @@ -62,6 +88,13 @@ class ListResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Statement(typing_extensions.TypedDict, total=False): + relation: str + relationExtensions: dict[str, typing.Any] + source: Asset + target: Asset + +@typing.type_check_only +class StatementTemplate(typing_extensions.TypedDict, total=False): relation: str source: Asset target: Asset diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index b0b8dd8f..951f9498 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -17,6 +17,26 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CmekConfigsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1CmekConfigHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ListCmekConfigsResponseHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1CmekConfig = ..., + setDefault: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class CollectionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -526,6 +546,26 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class SitemapsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1Sitemap = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetch( + self, + *, + parent: str, + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1FetchSitemapsResponseHttpRequest: ... + @typing.type_check_only class TargetSitesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -645,6 +685,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + def sitemaps(self) -> SitemapsResource: ... def targetSites(self) -> TargetSitesResource: ... @typing.type_check_only @@ -882,6 +923,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: GoogleLongrunningCancelOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... @@ -1511,6 +1559,28 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class SiteSearchEngineResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SitemapsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1Sitemap = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetch( + self, + *, + parent: str, + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1FetchSitemapsResponseHttpRequest + ): ... + @typing.type_check_only class TargetSitesResource(googleapiclient.discovery.Resource): def batchCreate( @@ -1578,6 +1648,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1RecrawlUrisRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def sitemaps(self) -> SitemapsResource: ... def targetSites(self) -> TargetSitesResource: ... @typing.type_check_only @@ -1735,6 +1806,70 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1IdentityMappingStore = ..., + cmekConfigName: str = ..., + disableCmek: bool = ..., + identityMappingStoreId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1IdentityMappingStoreHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1IdentityMappingStoreHttpRequest: ... + def importIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponseHttpRequest + | None + ): ... + def listIdentityMappings( + self, + *, + identityMappingStore: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1ListIdentityMappingsResponseHttpRequest + ): ... + def listIdentityMappings_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListIdentityMappingsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListIdentityMappingsResponseHttpRequest + | None + ): ... + def purgeIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -1757,6 +1892,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PodcastsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class RankingConfigsResource(googleapiclient.discovery.Resource): def rank( @@ -1794,22 +1939,60 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1UserEventHttpRequest: ... - def generateGroundedContent( + @typing.type_check_only + class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UserLicensesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1ListUserLicensesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListUserLicensesResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListUserLicensesResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListUserLicensesResponseHttpRequest + | None + ): ... + + def batchUpdateUserLicenses( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def userLicenses(self) -> UserLicensesResource: ... + + def getCmekConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1CmekConfigHttpRequest: ... + def updateCmekConfig( self, *, - location: str, - body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest = ..., + name: str, + body: GoogleCloudDiscoveryengineV1CmekConfig = ..., + setDefault: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseHttpRequest - ): ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def cmekConfigs(self) -> CmekConfigsResource: ... def collections(self) -> CollectionsResource: ... def dataStores(self) -> DataStoresResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... def operations(self) -> OperationsResource: ... + def podcasts(self) -> PodcastsResource: ... def rankingConfigs(self) -> RankingConfigsResource: ... def userEvents(self) -> UserEventsResource: ... + def userStores(self) -> UserStoresResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -1908,6 +2091,16 @@ class GoogleCloudDiscoveryengineV1CheckGroundingResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1CheckGroundingResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CmekConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1CmekConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1CompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1983,14 +2176,34 @@ class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponseHttpReque ) -> GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse: ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseHttpRequest( +class GoogleCloudDiscoveryengineV1FetchSitemapsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1FetchSitemapsResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityMappingStoreHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse: ... + ) -> GoogleCloudDiscoveryengineV1IdentityMappingStore: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListCmekConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListCmekConfigsResponse: ... @typing.type_check_only class GoogleCloudDiscoveryengineV1ListControlsResponseHttpRequest( @@ -2052,6 +2265,26 @@ class GoogleCloudDiscoveryengineV1ListEnginesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ListEnginesResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListIdentityMappingsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSchemasResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2082,6 +2315,16 @@ class GoogleCloudDiscoveryengineV1ListTargetSitesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ListTargetSitesResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListUserLicensesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListUserLicensesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1RankResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index a45d2980..750390ad 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -74,6 +74,18 @@ class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=Fals systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( + typing_extensions.TypedDict, total=False +): + connectorRun: str + dataConnector: str + endTime: str + entity: str + operation: str + startTime: str + syncType: str + @typing.type_check_only class GoogleCloudDiscoveryengineLoggingErrorContext( typing_extensions.TypedDict, total=False @@ -85,6 +97,7 @@ class GoogleCloudDiscoveryengineLoggingErrorContext( class GoogleCloudDiscoveryengineLoggingErrorLog( typing_extensions.TypedDict, total=False ): + connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext message: str @@ -153,6 +166,8 @@ class GoogleCloudDiscoveryengineV1Answer(typing_extensions.TypedDict, total=Fals "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER", ] ] answerText: str @@ -185,6 +200,27 @@ class GoogleCloudDiscoveryengineV1AnswerCitationSource( ): referenceId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( + typing_extensions.TypedDict, total=False +): + userDefinedClassifierSpec: ( + GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( + typing_extensions.TypedDict, total=False +): + enableUserDefinedClassifier: bool + modelId: str + preamble: str + seed: int + taskMarker: str + temperature: float + topK: str + topP: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGroundingSupport( typing_extensions.TypedDict, total=False @@ -203,6 +239,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequest( GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec ) asynchronousMode: bool + endUserSpec: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec groundingSpec: GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec query: GoogleCloudDiscoveryengineV1Query queryUnderstandingSpec: ( @@ -246,6 +283,33 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSp ): preamble: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec( + typing_extensions.TypedDict, total=False +): + endUserMetadata: _list[ + GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData( + typing_extensions.TypedDict, total=False +): + chunkInfo: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec( typing_extensions.TypedDict, total=False @@ -259,6 +323,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec( class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec queryRephraserSpec: GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec @@ -273,6 +338,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryC "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] ] @@ -443,6 +509,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificatio "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] @typing.type_check_only @@ -484,6 +551,8 @@ class GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo( ): document: str structData: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo( @@ -610,6 +679,36 @@ class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetad fhirResource: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest( + typing_extensions.TypedDict, total=False +): + deleteUnassignedUserLicenses: bool + inlineSource: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource( + typing_extensions.TypedDict, total=False +): + updateMask: str + userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -712,6 +811,7 @@ class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim( claimText: str endPos: int groundingCheckRequired: bool + score: float startPos: int @typing.type_check_only @@ -719,11 +819,15 @@ class GoogleCloudDiscoveryengineV1CheckGroundingSpec( typing_extensions.TypedDict, total=False ): citationThreshold: float + enableClaimLevelScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1Chunk(typing_extensions.TypedDict, total=False): + annotationContents: _list[str] + annotationMetadata: _list[GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1ChunkChunkMetadata content: str + dataUrls: _list[str] derivedStructData: dict[str, typing.Any] documentMetadata: GoogleCloudDiscoveryengineV1ChunkDocumentMetadata id: str @@ -731,6 +835,13 @@ class GoogleCloudDiscoveryengineV1Chunk(typing_extensions.TypedDict, total=False pageSpan: GoogleCloudDiscoveryengineV1ChunkPageSpan relevanceScore: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata( + typing_extensions.TypedDict, total=False +): + imageId: str + structuredContent: GoogleCloudDiscoveryengineV1ChunkStructuredContent + @typing.type_check_only class GoogleCloudDiscoveryengineV1ChunkChunkMetadata( typing_extensions.TypedDict, total=False @@ -753,6 +864,18 @@ class GoogleCloudDiscoveryengineV1ChunkPageSpan( pageEnd: int pageStart: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ChunkStructuredContent( + typing_extensions.TypedDict, total=False +): + content: str + structureType: typing_extensions.Literal[ + "STRUCTURE_TYPE_UNSPECIFIED", + "SHAREHOLDER_STRUCTURE", + "SIGNATURE_STRUCTURE", + "CHECKBOX_STRUCTURE", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1CloudSqlSource( typing_extensions.TypedDict, total=False @@ -771,6 +894,12 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -778,8 +907,10 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -871,6 +1002,31 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlFilterAction( @@ -966,6 +1122,13 @@ class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -1011,6 +1174,7 @@ class GoogleCloudDiscoveryengineV1CustomTuningModel( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig @@ -1025,6 +1189,8 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -1061,6 +1227,13 @@ class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -1089,6 +1262,13 @@ class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -1115,6 +1295,7 @@ class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1Document(typing_extensions.TypedDict, total=False): + aclInfo: GoogleCloudDiscoveryengineV1DocumentAclInfo content: GoogleCloudDiscoveryengineV1DocumentContent derivedStructData: dict[str, typing.Any] id: str @@ -1126,6 +1307,19 @@ class GoogleCloudDiscoveryengineV1Document(typing_extensions.TypedDict, total=Fa schemaId: str structData: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DocumentAclInfo( + typing_extensions.TypedDict, total=False +): + readers: _list[GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction( + typing_extensions.TypedDict, total=False +): + idpWide: bool + principals: _list[GoogleCloudDiscoveryengineV1Principal] + @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentContent( typing_extensions.TypedDict, total=False @@ -1194,7 +1388,13 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -1203,6 +1403,10 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsin enhancedDocumentElements: _list[str] useNativeText: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DoubleList(typing_extensions.TypedDict, total=False): + values: _list[float] + @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata( typing_extensions.TypedDict, total=False @@ -1229,9 +1433,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -1250,6 +1458,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -1274,224 +1483,146 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( companyName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False ): - searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] - ] - searchTier: typing_extensions.Literal[ - "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" + engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" ] + type: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1FactChunk(typing_extensions.TypedDict, total=False): - chunkText: str - index: int - source: str - sourceMetadata: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] - totalSize: int - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1FhirStoreSource( - typing_extensions.TypedDict, total=False -): - fhirStore: str - gcsStagingDir: str - resourceTypes: _list[str] - updateFromLatestPredefinedSchema: bool - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1FirestoreSource( - typing_extensions.TypedDict, total=False -): - collectionId: str - databaseId: str - gcsStagingDir: str - projectId: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1GcsSource(typing_extensions.TypedDict, total=False): - dataSchema: str - inputUris: _list[str] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest( - typing_extensions.TypedDict, total=False -): - contents: _list[GoogleCloudDiscoveryengineV1GroundedGenerationContent] - generationSpec: ( - GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec - ) - groundingSpec: ( - GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec - ) - systemInstruction: GoogleCloudDiscoveryengineV1GroundedGenerationContent - userLabels: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration( +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( typing_extensions.TypedDict, total=False ): - predictor: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor + mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor( +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( typing_extensions.TypedDict, total=False ): - threshold: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] + timeWindowDays: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec( +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( typing_extensions.TypedDict, total=False ): - frequencyPenalty: float - languageCode: str - maxOutputTokens: int - modelId: str - presencePenalty: float - seed: int - temperature: float - topK: int - topP: float - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource( - typing_extensions.TypedDict, total=False -): - googleSearchSource: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource - inlineSource: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource - searchSource: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource + targetField: str + targetFieldValueFloat: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource( +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( typing_extensions.TypedDict, total=False ): - dynamicRetrievalConfig: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration + contextEventType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource( +class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): - attributes: dict[str, typing.Any] - groundingFacts: _list[GoogleCloudDiscoveryengineV1GroundingFact] + searchAddOns: _list[ + typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + ] + searchTier: typing_extensions.Literal[ + "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" + ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource( - typing_extensions.TypedDict, total=False -): - filter: str - maxResultCount: int - safeSearch: bool - servingConfig: str +class GoogleCloudDiscoveryengineV1FactChunk(typing_extensions.TypedDict, total=False): + chunkText: str + domain: str + index: int + source: str + sourceMetadata: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec( +class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse( typing_extensions.TypedDict, total=False ): - groundingSources: _list[ - GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource - ] + nextPageToken: str + targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] + totalSize: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse( +class GoogleCloudDiscoveryengineV1FetchSitemapsResponse( typing_extensions.TypedDict, total=False ): - candidates: _list[ - GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate + sitemapsMetadata: _list[ + GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate( +class GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata( typing_extensions.TypedDict, total=False ): - content: GoogleCloudDiscoveryengineV1GroundedGenerationContent - groundingMetadata: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata - groundingScore: float - index: int + sitemap: GoogleCloudDiscoveryengineV1Sitemap @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata( - typing_extensions.TypedDict, total=False -): - groundingSupport: _list[ - GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport - ] - retrievalMetadata: _list[ - GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata - ] - searchEntryPoint: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint - supportChunks: _list[GoogleCloudDiscoveryengineV1FactChunk] - webSearchQueries: _list[str] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata( +class GoogleCloudDiscoveryengineV1FhirStoreSource( typing_extensions.TypedDict, total=False ): - predictorMetadata: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata + fhirStore: str + gcsStagingDir: str + resourceTypes: _list[str] + updateFromLatestPredefinedSchema: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata( +class GoogleCloudDiscoveryengineV1FirestoreSource( typing_extensions.TypedDict, total=False ): - prediction: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] + collectionId: str + databaseId: str + gcsStagingDir: str + projectId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport( - typing_extensions.TypedDict, total=False -): - claimText: str - supportChunkIndices: _list[int] - supportScore: float +class GoogleCloudDiscoveryengineV1GcsSource(typing_extensions.TypedDict, total=False): + dataSchema: str + inputUris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata( +class GoogleCloudDiscoveryengineV1GroundingFact( typing_extensions.TypedDict, total=False ): - dynamicRetrievalMetadata: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", - "VERTEX_AI_SEARCH", - "GOOGLE_SEARCH", - "INLINE_CONTENT", - "GOOGLE_MAPS", - ] + attributes: dict[str, typing.Any] + factText: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint( +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( typing_extensions.TypedDict, total=False ): - renderedContent: str - sdkBlob: str + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1GroundedGenerationContent( +class GoogleCloudDiscoveryengineV1IdentityMappingEntry( typing_extensions.TypedDict, total=False ): - parts: _list[GoogleCloudDiscoveryengineV1GroundedGenerationContentPart] - role: str + externalIdentity: str + groupId: str + userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GroundedGenerationContentPart( +class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( typing_extensions.TypedDict, total=False ): - text: str + failureCount: str + successCount: str + totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GroundingFact( +class GoogleCloudDiscoveryengineV1IdentityMappingStore( typing_extensions.TypedDict, total=False ): - attributes: dict[str, typing.Any] - factText: str + cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig + kmsKeyName: str + name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( @@ -1577,6 +1708,24 @@ class GoogleCloudDiscoveryengineV1ImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + inlineSource: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -1647,6 +1796,12 @@ class GoogleCloudDiscoveryengineV1Interval(typing_extensions.TypedDict, total=Fa maximum: float minimum: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse( + typing_extensions.TypedDict, total=False +): + cmekConfigs: _list[GoogleCloudDiscoveryengineV1CmekConfig] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListControlsResponse( typing_extensions.TypedDict, total=False @@ -1688,6 +1843,20 @@ class GoogleCloudDiscoveryengineV1ListEnginesResponse( engines: _list[GoogleCloudDiscoveryengineV1Engine] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse( + typing_extensions.TypedDict, total=False +): + identityMappingStores: _list[GoogleCloudDiscoveryengineV1IdentityMappingStore] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSchemasResponse( typing_extensions.TypedDict, total=False @@ -1710,6 +1879,13 @@ class GoogleCloudDiscoveryengineV1ListTargetSitesResponse( targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] totalSize: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1MediaInfo(typing_extensions.TypedDict, total=False): mediaProgressDuration: str @@ -1730,6 +1906,12 @@ class GoogleCloudDiscoveryengineV1PanelInfo(typing_extensions.TypedDict, total=F panelPosition: int totalPanels: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Principal(typing_extensions.TypedDict, total=False): + externalEntityId: str + groupId: str + userId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): createTime: str @@ -1819,6 +2001,20 @@ class GoogleCloudDiscoveryengineV1PurgeErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + force: bool + inlineSource: GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] + @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -1956,6 +2152,7 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -1970,6 +2167,7 @@ class GoogleCloudDiscoveryengineV1SearchRequest( canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec facetSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestFacetSpec] filter: str imageQuery: GoogleCloudDiscoveryengineV1SearchRequestImageQuery @@ -1982,6 +2180,10 @@ class GoogleCloudDiscoveryengineV1SearchRequest( params: dict[str, typing.Any] query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec + relevanceScoreSpec: GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] safeSearch: bool searchAsYouTypeSpec: GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec session: str @@ -2102,9 +2304,20 @@ class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec( typing_extensions.TypedDict, total=False @@ -2139,11 +2352,19 @@ class GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestSessionSpec( @@ -2204,6 +2425,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseSearchResult( chunk: GoogleCloudDiscoveryengineV1Chunk document: GoogleCloudDiscoveryengineV1Document id: str + modelScores: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSessionInfo( @@ -2229,6 +2451,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummary( "JAIL_BREAKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", + "TIME_OUT", ] ] summaryText: str @@ -2293,6 +2516,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata( class GoogleCloudDiscoveryengineV1ServingConfig( typing_extensions.TypedDict, total=False ): + answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str displayName: str @@ -2351,6 +2575,7 @@ class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total answer: str detailedAnswer: GoogleCloudDiscoveryengineV1Answer query: GoogleCloudDiscoveryengineV1Query + queryConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1SingleRegionKey( @@ -2373,6 +2598,12 @@ class GoogleCloudDiscoveryengineV1SiteVerificationInfo( ] 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 @@ -2398,7 +2629,13 @@ class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total= failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -2520,9 +2757,26 @@ class GoogleCloudDiscoveryengineV1UserEvent(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1UserInfo(typing_extensions.TypedDict, total=False): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -2539,6 +2793,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -2554,6 +2809,7 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( ): actionParams: dict[str, typing.Any] isActionConfigured: bool + serviceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( @@ -2562,6 +2818,24 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -2576,9 +2850,12 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER", ] ] answerText: str + blobAttachments: _list[GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment] citations: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitation] completeTime: str createTime: str @@ -2596,6 +2873,22 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitation( typing_extensions.TypedDict, total=False @@ -2639,6 +2932,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] @typing.type_check_only @@ -2657,6 +2951,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] chunk: str content: str documentMetadata: ( @@ -2680,6 +2975,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( ): document: str structData: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @@ -2697,6 +2994,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str relevanceScore: float @@ -2763,6 +3061,19 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBAPConfig( + typing_extensions.TypedDict, total=False +): + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -2776,6 +3087,22 @@ class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCmekConfig( typing_extensions.TypedDict, total=False @@ -2785,6 +3112,12 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -2792,8 +3125,10 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -2846,6 +3181,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str trigger: typing_extensions.Literal[ @@ -2856,11 +3192,14 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( typing_extensions.TypedDict, total=False ): + deletedRecordCount: str entityName: str errorRecordCount: str errors: _list[GoogleRpcStatus] extractedRecordCount: str indexedRecordCount: str + progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress + scheduledRecordCount: str sourceApiRequestCount: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -2871,10 +3210,21 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal["SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL"] + syncType: typing_extensions.Literal[ + "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( + typing_extensions.TypedDict, total=False +): + currentCount: str + percentile: float + totalCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( @@ -2912,6 +3262,31 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( @@ -2995,8 +3370,21 @@ class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec( class GoogleCloudDiscoveryengineV1alphaDataConnector( typing_extensions.TypedDict, total=False ): + aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig] autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ typing_extensions.Literal[ "BLOCKING_REASON_UNSPECIFIED", @@ -3004,13 +3392,41 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "ALLOWLIST_IN_SERVICE_ATTACHMENT", ] ] + 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[GoogleCloudDiscoveryengineV1alphaDestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -3018,23 +3434,75 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( nextSyncTime: GoogleTypeDateTime params: dict[str, typing.Any] privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "RUNNING", "WARNING" + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC"] + syncMode: typing_extensions.Literal[ + "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" + ] updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + tenant: GoogleCloudDiscoveryengineV1alphaTenant + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( + typing_extensions.TypedDict, total=False +): + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( + 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 GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( typing_extensions.TypedDict, total=False ): dataStore: str entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( @@ -3055,6 +3523,8 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" @@ -3102,9 +3572,18 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( typing_extensions.TypedDict, total=False ): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( typing_extensions.TypedDict, total=False @@ -3229,7 +3708,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -3259,6 +3744,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -3289,6 +3775,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -3316,6 +3803,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False ): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig trainingState: typing_extensions.Literal[ @@ -3323,6 +3811,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( ] type: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( typing_extensions.TypedDict, total=False @@ -3330,6 +3831,12 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOpti targetField: str targetFieldValueFloat: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( typing_extensions.TypedDict, total=False @@ -3337,6 +3844,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( dataState: typing_extensions.Literal[ "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" ] + lastTrainTime: str lastTuneTime: str servingState: typing_extensions.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" @@ -3400,20 +3908,6 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( ): sampleQuerySet: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse( - typing_extensions.TypedDict, total=False -): - sitemapsMetadata: _list[ - GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata( - typing_extensions.TypedDict, total=False -): - sitemap: GoogleCloudDiscoveryengineV1alphaSitemap - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFieldConfig( typing_extensions.TypedDict, total=False @@ -3475,6 +3969,21 @@ class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( ): documentDataMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( + typing_extensions.TypedDict, total=False +): + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + totalCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( typing_extensions.TypedDict, total=False @@ -3534,6 +4043,12 @@ class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -3762,6 +4277,8 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( createTime: str invalidUris: _list[str] invalidUrisCount: int + noindexUris: _list[str] + noindexUrisCount: int pendingCount: int quotaExceededCount: int successCount: int @@ -3849,6 +4366,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -3864,6 +4382,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec] filter: str @@ -3882,7 +4401,15 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -3896,6 +4423,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( spellCorrectionSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec ) + useLatestData: bool userInfo: GoogleCloudDiscoveryengineV1alphaUserInfo userLabels: dict[str, typing.Any] userPseudoId: str @@ -3991,6 +4519,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -4006,14 +4535,36 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -4078,11 +4629,19 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( @@ -4117,6 +4676,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer query: GoogleCloudDiscoveryengineV1alphaQuery + queryConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( @@ -4180,7 +4740,13 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -4201,6 +4767,12 @@ class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata( typing_extensions.TypedDict, total=False @@ -4268,9 +4840,28 @@ class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1alphaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -4287,6 +4878,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -4309,6 +4901,22 @@ class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCmekConfig( typing_extensions.TypedDict, total=False @@ -4318,6 +4926,12 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -4325,8 +4939,10 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -4385,6 +5001,31 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( @@ -4412,6 +5053,12 @@ class GoogleCloudDiscoveryengineV1betaControlSynonymsAction( ): synonyms: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + qpsTimeSeries: GoogleMonitoringV3TimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -4456,6 +5103,7 @@ class GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig @@ -4470,6 +5118,8 @@ class GoogleCloudDiscoveryengineV1betaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -4512,6 +5162,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -4608,7 +5267,13 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -4638,9 +5303,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -4659,6 +5328,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -4682,6 +5352,44 @@ class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( + typing_extensions.TypedDict, total=False +): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" + ] + type: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( + typing_extensions.TypedDict, total=False +): + targetField: str + targetFieldValueFloat: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False @@ -4722,18 +5430,19 @@ class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec( sampleQuerySet: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse( +class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( typing_extensions.TypedDict, total=False ): - sitemapsMetadata: _list[ - GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata - ] + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata( +class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( typing_extensions.TypedDict, total=False ): - sitemap: GoogleCloudDiscoveryengineV1betaSitemap + failureCount: str + successCount: str + totalCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @@ -4774,6 +5483,12 @@ class GoogleCloudDiscoveryengineV1betaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -4848,6 +5563,26 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + dedicatedCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries + ) + error: GoogleRpcStatus + organicCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries + ) + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str @@ -4922,6 +5657,20 @@ class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( top3: float top5: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSchema(typing_extensions.TypedDict, total=False): jsonSchema: str @@ -4933,6 +5682,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -4947,6 +5697,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec] filter: str @@ -4965,7 +5716,15 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -5074,6 +5833,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -5089,14 +5849,36 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -5161,11 +5943,19 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( @@ -5180,6 +5970,20 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSingleRegionKey( typing_extensions.TypedDict, total=False @@ -5209,7 +6013,13 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -5276,9 +6086,28 @@ class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1betaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -5295,6 +6124,7 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index 0123b237..d6d3f22e 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -13,12 +13,25 @@ _list = list @typing.type_check_only class DiscoveryEngineResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MediaResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + parent: str, + body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class CmekConfigsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaCmekConfigHttpRequest: ... @@ -81,6 +94,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleLongrunningListOperationsResponseHttpRequest | None ): ... + def acquireAccessToken( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponseHttpRequest: ... + def getConnectorSecret( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponseHttpRequest: ... def startConnectorRun( self, *, @@ -143,6 +166,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, + imageId: str = ..., processedDocumentFormat: typing_extensions.Literal[ "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED", "JSON" ] = ..., @@ -151,6 +175,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", "IMAGE_CONVERTED_DOCUMENT", + "IMAGE_BYTES", ] = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaProcessedDocumentHttpRequest: ... @@ -663,6 +688,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def fetch( + self, + *, + parent: str, + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseHttpRequest: ... @typing.type_check_only class TargetSitesResource(googleapiclient.discovery.Resource): @@ -851,6 +883,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaUserEventHttpRequest: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest + ): ... + def completeQuery( self, *, @@ -945,6 +990,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, ) -> SuggestionDenyListEntriesResource: ... def userEvents(self) -> UserEventsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class EnginesResource(googleapiclient.discovery.Resource): @@ -957,6 +1003,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseHttpRequest: ... + def removeSuggestion( + self, + *, + completionConfig: str, + body: GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponseHttpRequest: ... @typing.type_check_only class ControlsResource(googleapiclient.discovery.Resource): @@ -1219,6 +1272,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleCloudDiscoveryengineV1alphaSessionHttpRequest: ... def answers(self) -> AnswersResource: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest + ): ... + def create( self, *, @@ -1287,6 +1353,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def servingConfigs(self) -> ServingConfigsResource: ... def sessions(self) -> SessionsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -1403,6 +1470,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, + imageId: str = ..., processedDocumentFormat: typing_extensions.Literal[ "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED", "JSON" ] = ..., @@ -1411,6 +1479,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", "IMAGE_CONVERTED_DOCUMENT", + "IMAGE_BYTES", ] = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaProcessedDocumentHttpRequest: ... @@ -1991,6 +2060,17 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaUserEventHttpRequest: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest: ... + def completeQuery( self, *, @@ -2081,6 +2161,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, ) -> SuggestionDenyListEntriesResource: ... def userEvents(self) -> UserEventsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class EvaluationsResource(googleapiclient.discovery.Resource): @@ -2170,8 +2251,91 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaIdentityMappingStore = ..., + cmekConfigName: str = ..., + disableCmek: bool = ..., + identityMappingStoreId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaIdentityMappingStoreHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1alphaIdentityMappingStoreHttpRequest + ): ... + def importIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponseHttpRequest + | None + ): ... + def listIdentityMappings( + self, + *, + identityMappingStore: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponseHttpRequest: ... + def listIdentityMappings_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponseHttpRequest + | None + ): ... + def purgeIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class NotebooksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SourcesResource(googleapiclient.discovery.Resource): + def uploadFile( + self, + *, + parent: str, + sourceId: str, + body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest + ): ... + + def sources(self) -> SourcesResource: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -2192,6 +2356,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PodcastsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class RankingConfigsResource(googleapiclient.discovery.Resource): def rank( @@ -2360,7 +2534,35 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class UserLicensesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListUserLicensesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListUserLicensesResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListUserLicensesResponseHttpRequest + | None + ): ... + + def batchUpdateUserLicenses( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... + def userLicenses(self) -> UserLicensesResource: ... def estimateDataSize( self, @@ -2369,13 +2571,6 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def generateGroundedContent( - self, - *, - location: str, - body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseHttpRequest: ... def getAclConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaAclConfigHttpRequest: ... @@ -2433,7 +2628,9 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def evaluations(self) -> EvaluationsResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... + def notebooks(self) -> NotebooksResource: ... def operations(self) -> OperationsResource: ... + def podcasts(self) -> PodcastsResource: ... def rankingConfigs(self) -> RankingConfigsResource: ... def requirements(self) -> RequirementsResource: ... def sampleQuerySets(self) -> SampleQuerySetsResource: ... @@ -2492,6 +2689,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -2512,6 +2710,16 @@ class GoogleCloudDiscoveryengineV1alphaAclConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAclConfig: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2733,14 +2941,14 @@ class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseHttpRequest( ) -> GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse: ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseHttpRequest( +class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse: ... + ) -> GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse: ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponseHttpRequest( @@ -2752,6 +2960,16 @@ class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaIdentityMappingStoreHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaIdentityMappingStore: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2872,6 +3090,26 @@ class GoogleCloudDiscoveryengineV1alphaListEvaluationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2932,6 +3170,16 @@ class GoogleCloudDiscoveryengineV1alphaListTargetSitesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2982,6 +3230,16 @@ class GoogleCloudDiscoveryengineV1alphaRecommendResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaRecommendResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSampleQueryHttpRequest( googleapiclient.http.HttpRequest @@ -3072,6 +3330,26 @@ class GoogleCloudDiscoveryengineV1alphaUserEventHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaUserEvent: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfig: ... + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudNotebooklmV1alphaUploadSourceFileResponse: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 066b8412..8ed7db07 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -4,6 +4,168 @@ import typing_extensions _list = list +@typing.type_check_only +class ApiservingMediaRequestInfo(typing_extensions.TypedDict, total=False): + currentBytes: str + customData: str + diffObjectVersion: str + finalStatus: int + notificationType: typing_extensions.Literal[ + "START", "PROGRESS", "END", "RESPONSE_SENT", "ERROR" + ] + requestId: str + requestReceivedParamsServingInfo: str + totalBytes: str + totalBytesIsEstimated: bool + +@typing.type_check_only +class ApiservingMediaResponseInfo(typing_extensions.TypedDict, total=False): + customData: str + dataStorageTransform: str + destinationBlobMintIndex: int + dynamicDropTarget: str + dynamicDropzone: str + mediaForDiff: GdataMedia + originalObjectBlobMintIndex: int + requestClass: typing_extensions.Literal[ + "UNKNOWN_REQUEST_CLASS", "LATENCY_SENSITIVE", "PRODUCTION_BATCH", "BEST_EFFORT" + ] + scottyAgentUserId: str + scottyCustomerLog: str + trafficClassField: typing_extensions.Literal[ + "BE1", + "AF1", + "AF2", + "AF3", + "AF4", + "NC1", + "NC0", + "BE0", + "LLQ", + "LLQ1", + "LLQ2", + "LLQ3", + ] + verifyHashFromHeader: bool + +@typing.type_check_only +class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): + blobGeneration: str + blobId: str + downloadReadHandle: str + readToken: str + uploadMetadataContainer: str + +@typing.type_check_only +class GdataCompositeMedia(typing_extensions.TypedDict, total=False): + blobRef: str + blobstore2Info: GdataBlobstore2Info + cosmoBinaryReference: str + crc32cHash: int + inline: str + length: str + md5Hash: str + objectId: GdataObjectId + path: str + referenceType: typing_extensions.Literal[ + "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" + ] + sha1Hash: str + +@typing.type_check_only +class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): + bestGuess: str + fromBytes: str + fromFileName: str + fromHeader: str + fromUrlPath: str + +@typing.type_check_only +class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): + checksumsLocation: GdataCompositeMedia + chunkSizeBytes: str + objectLocation: GdataCompositeMedia + objectSizeBytes: str + objectVersion: str + +@typing.type_check_only +class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): + objectLocation: GdataCompositeMedia + +@typing.type_check_only +class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): + checksumsInfo: GdataCompositeMedia + objectInfo: GdataCompositeMedia + objectVersion: str + +@typing.type_check_only +class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): + objectVersion: str + originalObject: GdataCompositeMedia + +@typing.type_check_only +class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): + objectSizeBytes: str + objectVersion: str + +@typing.type_check_only +class GdataDownloadParameters(typing_extensions.TypedDict, total=False): + allowGzipCompression: bool + ignoreRange: bool + +@typing.type_check_only +class GdataMedia(typing_extensions.TypedDict, total=False): + algorithm: str + bigstoreObjectRef: str + blobRef: str + blobstore2Info: GdataBlobstore2Info + compositeMedia: _list[GdataCompositeMedia] + contentType: str + contentTypeInfo: GdataContentTypeInfo + cosmoBinaryReference: str + crc32cHash: int + diffChecksumsResponse: GdataDiffChecksumsResponse + diffDownloadResponse: GdataDiffDownloadResponse + diffUploadRequest: GdataDiffUploadRequest + diffUploadResponse: GdataDiffUploadResponse + diffVersionResponse: GdataDiffVersionResponse + downloadParameters: GdataDownloadParameters + filename: str + hash: str + hashVerified: bool + inline: str + isPotentialRetry: bool + length: str + md5Hash: str + mediaId: str + objectId: GdataObjectId + path: str + referenceType: typing_extensions.Literal[ + "PATH", + "BLOB_REF", + "INLINE", + "GET_MEDIA", + "COMPOSITE_MEDIA", + "BIGSTORE_REF", + "DIFF_VERSION_RESPONSE", + "DIFF_CHECKSUMS_RESPONSE", + "DIFF_DOWNLOAD_RESPONSE", + "DIFF_UPLOAD_REQUEST", + "DIFF_UPLOAD_RESPONSE", + "COSMO_BINARY_REFERENCE", + "ARBITRARY_BYTES", + ] + sha1Hash: str + sha256Hash: str + timestamp: str + token: str + +@typing.type_check_only +class GdataObjectId(typing_extensions.TypedDict, total=False): + bucketName: str + generation: str + objectName: str + @typing.type_check_only class GoogleApiDistribution(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -74,6 +236,18 @@ class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=Fals systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( + typing_extensions.TypedDict, total=False +): + connectorRun: str + dataConnector: str + endTime: str + entity: str + operation: str + startTime: str + syncType: str + @typing.type_check_only class GoogleCloudDiscoveryengineLoggingErrorContext( typing_extensions.TypedDict, total=False @@ -85,6 +259,7 @@ class GoogleCloudDiscoveryengineLoggingErrorContext( class GoogleCloudDiscoveryengineLoggingErrorLog( typing_extensions.TypedDict, total=False ): + connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext message: str @@ -128,6 +303,27 @@ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( + typing_extensions.TypedDict, total=False +): + userDefinedClassifierSpec: ( + GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( + typing_extensions.TypedDict, total=False +): + enableUserDefinedClassifier: bool + modelId: str + preamble: str + seed: int + taskMarker: str + temperature: float + topK: str + topP: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -141,6 +337,22 @@ class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total=False): isDefault: bool @@ -148,6 +360,12 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -155,8 +373,10 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -213,6 +433,31 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlFilterAction( @@ -261,6 +506,13 @@ class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -270,6 +522,7 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig @@ -284,6 +537,8 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -320,6 +575,13 @@ class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -348,6 +610,13 @@ class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -407,7 +676,13 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -437,9 +712,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -458,6 +737,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -481,6 +761,44 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( + typing_extensions.TypedDict, total=False +): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" + ] + type: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( + typing_extensions.TypedDict, total=False +): + targetField: str + targetFieldValueFloat: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False @@ -492,6 +810,21 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( + typing_extensions.TypedDict, total=False +): + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + totalCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -531,6 +864,12 @@ class GoogleCloudDiscoveryengineV1ImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -644,6 +983,7 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -721,6 +1061,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModel class GoogleCloudDiscoveryengineV1ServingConfig( typing_extensions.TypedDict, total=False ): + answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str displayName: str @@ -778,13 +1119,25 @@ class GoogleCloudDiscoveryengineV1SiteVerificationInfo( ] verifyTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): + createTime: str + name: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -843,6 +1196,22 @@ class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -859,6 +1228,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -868,21 +1238,38 @@ class GoogleCloudDiscoveryengineV1alphaAclConfig( idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig name: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse( + typing_extensions.TypedDict, total=False +): + accessToken: str + refreshTokenInfo: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaActionConfig( typing_extensions.TypedDict, total=False ): actionParams: dict[str, typing.Any] isActionConfigured: bool + serviceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec + experimentIds: _list[str] includeTailSuggestions: bool query: str queryModel: str + suggestionTypeSpecs: _list[ + GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec + ] suggestionTypes: _list[ typing_extensions.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", @@ -911,6 +1298,20 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecCond boost: float condition: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec( + 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 GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse( typing_extensions.TypedDict, total=False @@ -937,7 +1338,10 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSugge "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" ] dataStore: str + destinationUri: str document: GoogleCloudDiscoveryengineV1alphaDocument + iconUri: str + score: float suggestion: str @typing.type_check_only @@ -945,10 +1349,13 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSugges typing_extensions.TypedDict, total=False ): dataStore: str + destinationUri: str + displayPhotoUri: str document: GoogleCloudDiscoveryengineV1alphaDocument personType: typing_extensions.Literal[ "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" ] + score: float suggestion: str @typing.type_check_only @@ -957,6 +1364,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggest ): completableFieldPaths: _list[str] dataStore: _list[str] + score: float suggestion: str @typing.type_check_only @@ -964,6 +1372,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearch typing_extensions.TypedDict, total=False ): recentSearchTime: str + score: float suggestion: str @typing.type_check_only @@ -973,6 +1382,24 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( typing_extensions.TypedDict, total=False @@ -998,9 +1425,12 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER", ] ] answerText: str + blobAttachments: _list[GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment] citations: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitation] completeTime: str createTime: str @@ -1018,6 +1448,22 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitation( typing_extensions.TypedDict, total=False @@ -1032,6 +1478,27 @@ class GoogleCloudDiscoveryengineV1alphaAnswerCitationSource( ): referenceId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec( + typing_extensions.TypedDict, total=False +): + userDefinedClassifierSpec: ( + GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec( + typing_extensions.TypedDict, total=False +): + enableUserDefinedClassifier: bool + modelId: str + preamble: str + seed: int + taskMarker: str + temperature: float + topK: str + topP: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( typing_extensions.TypedDict, total=False @@ -1050,6 +1517,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest( GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec ) asynchronousMode: bool + endUserSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec groundingSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec query: GoogleCloudDiscoveryengineV1alphaQuery queryUnderstandingSpec: ( @@ -1077,6 +1545,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec( modelSpec: ( GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec ) + multimodalSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec promptSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec @typing.type_check_only @@ -1085,12 +1554,50 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMod ): modelVersion: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec( typing_extensions.TypedDict, total=False ): preamble: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec( + typing_extensions.TypedDict, total=False +): + endUserMetadata: _list[ + GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData( + typing_extensions.TypedDict, total=False +): + chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec( typing_extensions.TypedDict, total=False @@ -1104,6 +1611,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec( class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec queryRephraserSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec @@ -1118,6 +1626,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQ "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] ] @@ -1292,6 +1801,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] @typing.type_check_only @@ -1310,6 +1820,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] chunk: str content: str documentMetadata: ( @@ -1333,6 +1844,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( ): document: str structData: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @@ -1350,6 +1863,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str relevanceScore: float @@ -1416,6 +1930,19 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBAPConfig( + typing_extensions.TypedDict, total=False +): + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -1461,6 +1988,38 @@ class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocument fhirResource: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest( + typing_extensions.TypedDict, total=False +): + deleteUnassignedUserLicenses: bool + inlineSource: ( + GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource( + typing_extensions.TypedDict, total=False +): + updateMask: str + userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -1563,6 +2122,7 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim( claimText: str endPos: int groundingCheckRequired: bool + score: float startPos: int @typing.type_check_only @@ -1570,6 +2130,7 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec( typing_extensions.TypedDict, total=False ): citationThreshold: float + enableClaimLevelScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest( @@ -1602,8 +2163,11 @@ class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaChunk(typing_extensions.TypedDict, total=False): + annotationContents: _list[str] + annotationMetadata: _list[GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata content: str + dataUrls: _list[str] derivedStructData: dict[str, typing.Any] documentMetadata: GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata id: str @@ -1612,10 +2176,17 @@ class GoogleCloudDiscoveryengineV1alphaChunk(typing_extensions.TypedDict, total= relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata( +class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata( typing_extensions.TypedDict, total=False ): - nextChunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] + imageId: str + structuredContent: GoogleCloudDiscoveryengineV1alphaChunkStructuredContent + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata( + typing_extensions.TypedDict, total=False +): + nextChunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] previousChunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] @typing.type_check_only @@ -1633,6 +2204,18 @@ class GoogleCloudDiscoveryengineV1alphaChunkPageSpan( pageEnd: int pageStart: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent( + typing_extensions.TypedDict, total=False +): + content: str + structureType: typing_extensions.Literal[ + "STRUCTURE_TYPE_UNSPECIFIED", + "SHAREHOLDER_STRUCTURE", + "SIGNATURE_STRUCTURE", + "CHECKBOX_STRUCTURE", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCloudSqlSource( typing_extensions.TypedDict, total=False @@ -1653,6 +2236,12 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -1660,8 +2249,10 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -1749,6 +2340,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str trigger: typing_extensions.Literal[ @@ -1759,11 +2351,14 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( typing_extensions.TypedDict, total=False ): + deletedRecordCount: str entityName: str errorRecordCount: str errors: _list[GoogleRpcStatus] extractedRecordCount: str indexedRecordCount: str + progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress + scheduledRecordCount: str sourceApiRequestCount: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -1774,10 +2369,21 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal["SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL"] + syncType: typing_extensions.Literal[ + "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( + typing_extensions.TypedDict, total=False +): + currentCount: str + percentile: float + totalCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( @@ -1815,6 +2421,31 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( @@ -1984,8 +2615,21 @@ class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( class GoogleCloudDiscoveryengineV1alphaDataConnector( typing_extensions.TypedDict, total=False ): + aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig] autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ typing_extensions.Literal[ "BLOCKING_REASON_UNSPECIFIED", @@ -1993,13 +2637,41 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "ALLOWLIST_IN_SERVICE_ATTACHMENT", ] ] + 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[GoogleCloudDiscoveryengineV1alphaDestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -2007,23 +2679,75 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( nextSyncTime: GoogleTypeDateTime params: dict[str, typing.Any] privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "RUNNING", "WARNING" + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC"] + syncMode: typing_extensions.Literal[ + "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" + ] updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + tenant: GoogleCloudDiscoveryengineV1alphaTenant + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( + typing_extensions.TypedDict, total=False +): + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( + 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 GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( typing_extensions.TypedDict, total=False ): dataStore: str entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( @@ -2044,6 +2768,8 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" @@ -2091,9 +2817,18 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( typing_extensions.TypedDict, total=False ): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( typing_extensions.TypedDict, total=False @@ -2280,7 +3015,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -2327,6 +3068,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -2357,6 +3099,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -2384,6 +3127,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False ): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig trainingState: typing_extensions.Literal[ @@ -2391,6 +3135,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( ] type: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( typing_extensions.TypedDict, total=False @@ -2398,6 +3155,12 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOpti targetField: str targetFieldValueFloat: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( typing_extensions.TypedDict, total=False @@ -2405,6 +3168,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( dataState: typing_extensions.Literal[ "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" ] + lastTrainTime: str lastTuneTime: str servingState: typing_extensions.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" @@ -2507,9 +3271,12 @@ class GoogleCloudDiscoveryengineV1alphaFactChunk( typing_extensions.TypedDict, total=False ): chunkText: str + domain: str index: int source: str sourceMetadata: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse( @@ -2607,197 +3374,76 @@ class GoogleCloudDiscoveryengineV1alphaGcsSource( inputUris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest( - typing_extensions.TypedDict, total=False -): - contents: _list[GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent] - generationSpec: ( - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec - ) - groundingSpec: ( - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec - ) - systemInstruction: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent - userLabels: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration( - typing_extensions.TypedDict, total=False -): - predictor: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor( - typing_extensions.TypedDict, total=False -): - threshold: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec( +class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse( typing_extensions.TypedDict, total=False ): - frequencyPenalty: float - languageCode: str - maxOutputTokens: int - modelId: str - presencePenalty: float - seed: int - temperature: float - topK: int - topP: float + app: str + authorizationUri: str + clientId: str + instance: str + redirectUri: str + tenantId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource( +class GoogleCloudDiscoveryengineV1alphaGetSessionRequest( typing_extensions.TypedDict, total=False ): - googleSearchSource: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource - inlineSource: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource - searchSource: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource + includeAnswerDetails: bool + name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource( +class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( typing_extensions.TypedDict, total=False ): - dynamicRetrievalConfig: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration + documentDataMap: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource( +class GoogleCloudDiscoveryengineV1alphaGroundingFact( typing_extensions.TypedDict, total=False ): attributes: dict[str, typing.Any] - groundingFacts: _list[GoogleCloudDiscoveryengineV1alphaGroundingFact] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource( - typing_extensions.TypedDict, total=False -): - filter: str - maxResultCount: int - safeSearch: bool - servingConfig: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec( - typing_extensions.TypedDict, total=False -): - groundingSources: _list[ - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse( - typing_extensions.TypedDict, total=False -): - candidates: _list[ - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate( - typing_extensions.TypedDict, total=False -): - content: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent - groundingMetadata: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata - groundingScore: float - index: int - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata( - typing_extensions.TypedDict, total=False -): - groundingSupport: _list[ - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport - ] - retrievalMetadata: _list[ - GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata - ] - searchEntryPoint: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint - supportChunks: _list[GoogleCloudDiscoveryengineV1alphaFactChunk] - webSearchQueries: _list[str] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata( - typing_extensions.TypedDict, total=False -): - predictorMetadata: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata + factText: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata( +class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec( typing_extensions.TypedDict, total=False ): - prediction: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] + enableRefinementAttributes: bool + enableRelatedQuestions: bool + maxRelatedQuestions: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport( +class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( typing_extensions.TypedDict, total=False ): - claimText: str - supportChunkIndices: _list[int] - supportScore: float + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata( +class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry( typing_extensions.TypedDict, total=False ): - dynamicRetrievalMetadata: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", - "VERTEX_AI_SEARCH", - "GOOGLE_SEARCH", - "INLINE_CONTENT", - "GOOGLE_MAPS", - ] + externalIdentity: str + groupId: str + userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint( +class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( typing_extensions.TypedDict, total=False ): - renderedContent: str - sdkBlob: str + failureCount: str + successCount: str + totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetSessionRequest( +class GoogleCloudDiscoveryengineV1alphaIdentityMappingStore( typing_extensions.TypedDict, total=False ): - includeAnswerDetails: bool + cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig + idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig + kmsKeyName: str name: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False -): - documentDataMap: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent( - typing_extensions.TypedDict, total=False -): - parts: _list[GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart] - role: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart( - typing_extensions.TypedDict, total=False -): - text: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGroundingFact( - typing_extensions.TypedDict, total=False -): - attributes: dict[str, typing.Any] - factText: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec( - typing_extensions.TypedDict, total=False -): - enableRefinementAttributes: bool - enableRelatedQuestions: bool - maxRelatedQuestions: int - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( typing_extensions.TypedDict, total=False @@ -2902,6 +3548,26 @@ class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + inlineSource: ( + GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -3106,6 +3772,20 @@ class GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse( evaluations: _list[GoogleCloudDiscoveryengineV1alphaEvaluation] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse( + typing_extensions.TypedDict, total=False +): + identityMappingStores: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingStore] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse( typing_extensions.TypedDict, total=False @@ -3159,6 +3839,13 @@ class GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse( targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] totalSize: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaMediaInfo( typing_extensions.TypedDict, total=False @@ -3226,6 +3913,7 @@ class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest( class GoogleCloudDiscoveryengineV1alphaPrincipal( typing_extensions.TypedDict, total=False ): + externalEntityId: str groupId: str userId: str @@ -3327,6 +4015,22 @@ class GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + force: bool + inlineSource: ( + GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -3455,6 +4159,8 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( createTime: str invalidUris: _list[str] invalidUrisCount: int + noindexUris: _list[str] + noindexUrisCount: int pendingCount: int quotaExceededCount: int successCount: int @@ -3497,6 +4203,13 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReas ] errorMessage: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo( + typing_extensions.TypedDict, total=False +): + name: str + scopes: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata( typing_extensions.TypedDict, total=False @@ -3517,6 +4230,21 @@ class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( error: GoogleRpcStatus state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest( + typing_extensions.TypedDict, total=False +): + removeAllSearchHistorySuggestions: bool + removeTime: str + searchHistorySuggestion: str + userInfo: GoogleCloudDiscoveryengineV1alphaUserInfo + userPseudoId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReply(typing_extensions.TypedDict, total=False): references: _list[GoogleCloudDiscoveryengineV1alphaReplyReference] @@ -3677,6 +4405,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -3692,6 +4421,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec] filter: str @@ -3710,7 +4440,15 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -3724,6 +4462,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( spellCorrectionSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec ) + useLatestData: bool userInfo: GoogleCloudDiscoveryengineV1alphaUserInfo userLabels: dict[str, typing.Any] userPseudoId: str @@ -3819,6 +4558,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -3834,14 +4574,36 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -3906,11 +4668,19 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( @@ -3996,17 +4766,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinemen class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo( typing_extensions.TypedDict, total=False ): + classifiedIntents: _list[str] extractedFilters: str rewrittenQuery: str - sqlRequest: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest structuredExtractedFilter: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest( - typing_extensions.TypedDict, total=False -): - sqlQuery: str - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( typing_extensions.TypedDict, total=False @@ -4124,6 +4888,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary( "JAIL_BREAKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", + "TIME_OUT", ] ] summaryText: str @@ -4131,6 +4896,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary( GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata ) +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation( typing_extensions.TypedDict, total=False @@ -4166,6 +4947,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference( class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str @@ -4180,6 +4962,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes( class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata( typing_extensions.TypedDict, total=False ): + blobAttachments: _list[ + GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment + ] citationMetadata: ( GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata ) @@ -4190,6 +4975,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata( class GoogleCloudDiscoveryengineV1alphaServingConfig( typing_extensions.TypedDict, total=False ): + answerGenerationSpec: GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec boostControlIds: _list[str] createTime: str customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec @@ -4258,6 +5044,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer query: GoogleCloudDiscoveryengineV1alphaQuery + queryConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( @@ -4383,7 +5170,13 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -4404,6 +5197,12 @@ class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTextInput( typing_extensions.TypedDict, total=False @@ -4541,9 +5340,263 @@ class GoogleCloudDiscoveryengineV1alphaUserEvent( class GoogleCloudDiscoveryengineV1alphaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfig( + typing_extensions.TypedDict, total=False +): + accessSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings + allowPublicAccess: bool + allowlistedDomains: _list[str] + assistantSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings + collectionComponents: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent + ] + configId: str + contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec + createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig + ) + dataStoreType: typing_extensions.Literal[ + "DATA_STORE_TYPE_UNSPECIFIED", + "SITE_SEARCH", + "STRUCTURED", + "UNSTRUCTURED", + "BLENDED", + ] + dataStoreUiConfigs: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig + ] + defaultSearchRequestOrderBy: str + displayName: str + enableAutocomplete: bool + enableConversationalSearch: bool + enablePrivateKnowledgeGraph: bool + enableQualityFeedback: bool + enableResultScore: bool + enableSafeSearch: bool + enableSearchAsYouType: bool + enableSnippetResultSummary: bool + enableSummarization: bool + enableWebApp: bool + experimentalFeatures: dict[str, typing.Any] + facetField: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField] + fieldsUiComponentsMap: dict[str, typing.Any] + homepageSetting: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting + industryVertical: typing_extensions.Literal[ + "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" + ] + llmEnabled: bool + minimumDataTermAccepted: bool + name: str + resultDisplayType: typing_extensions.Literal[ + "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" + ] + solutionType: typing_extensions.Literal[ + "SOLUTION_TYPE_UNSPECIFIED", + "SOLUTION_TYPE_RECOMMENDATION", + "SOLUTION_TYPE_SEARCH", + "SOLUTION_TYPE_CHAT", + "SOLUTION_TYPE_GENERATIVE_CHAT", + ] + uiBranding: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings + uiSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings( + typing_extensions.TypedDict, total=False +): + allowPublicAccess: bool + allowlistedDomains: _list[str] + enableWebApp: bool + languageCode: str + workforceIdentityPoolProvider: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings( + typing_extensions.TypedDict, total=False +): + googleSearchGroundingEnabled: bool + webGroundingType: typing_extensions.Literal[ + "WEB_GROUNDING_TYPE_UNSPECIFIED", + "WEB_GROUNDING_TYPE_DISABLED", + "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", + "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent( + typing_extensions.TypedDict, total=False +): + connectorIconLink: str + dataSource: str + dataSourceDisplayName: str + dataStoreComponents: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent + ] + displayName: str + id: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + customerType: typing_extensions.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( + typing_extensions.TypedDict, total=False +): + contentConfig: typing_extensions.Literal[ + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", + ] + displayName: str + entityName: str + id: str + name: str + workspaceType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + "GOOGLE_PEOPLE", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig( + typing_extensions.TypedDict, total=False +): + facetField: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField] + fieldsUiComponentsMap: dict[str, typing.Any] + id: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField( + typing_extensions.TypedDict, total=False +): + displayName: str + field: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting( + typing_extensions.TypedDict, total=False +): + shortcuts: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut( + typing_extensions.TypedDict, total=False +): + destinationUri: str + icon: GoogleCloudDiscoveryengineV1alphaWidgetConfigImage + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigImage( + typing_extensions.TypedDict, total=False +): + url: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField( + typing_extensions.TypedDict, total=False +): + deviceVisibility: _list[ + typing_extensions.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] + ] + displayTemplate: str + field: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings( + typing_extensions.TypedDict, total=False +): + logo: GoogleCloudDiscoveryengineV1alphaWidgetConfigImage + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( + typing_extensions.TypedDict, total=False +): + dataStoreUiConfigs: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig + ] + defaultSearchRequestOrderBy: str + disableUserEventsCollection: bool + enableAutocomplete: bool + enablePeopleSearch: bool + enableQualityFeedback: bool + enableSafeSearch: bool + enableSearchAsYouType: bool + enableVisualContentSummary: bool + features: dict[str, typing.Any] + generativeAnswerConfig: ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig + ) + interactionType: typing_extensions.Literal[ + "INTERACTION_TYPE_UNSPECIFIED", + "SEARCH_ONLY", + "SEARCH_WITH_ANSWER", + "SEARCH_WITH_FOLLOW_UPS", + ] + resultDescriptionType: typing_extensions.Literal[ + "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig( + typing_extensions.TypedDict, total=False +): + disableRelatedQuestions: bool + ignoreAdversarialQuery: bool + ignoreLowRelevantContent: bool + ignoreNonAnswerSeekingQuery: bool + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + languageCode: str + maxRephraseSteps: int + modelPromptPreamble: str + modelVersion: str + resultCount: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -4560,6 +5613,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -4582,6 +5636,22 @@ class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCmekConfig( typing_extensions.TypedDict, total=False @@ -4591,6 +5661,12 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -4598,8 +5674,10 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -4658,6 +5736,31 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( @@ -4685,6 +5788,12 @@ class GoogleCloudDiscoveryengineV1betaControlSynonymsAction( ): synonyms: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + qpsTimeSeries: GoogleMonitoringV3TimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -4729,6 +5838,7 @@ class GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig @@ -4743,6 +5853,8 @@ class GoogleCloudDiscoveryengineV1betaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -4785,6 +5897,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -4881,7 +6002,13 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -4911,9 +6038,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -4932,6 +6063,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -4955,6 +6087,44 @@ class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( + typing_extensions.TypedDict, total=False +): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" + ] + type: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( + typing_extensions.TypedDict, total=False +): + targetField: str + targetFieldValueFloat: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False @@ -4995,18 +6165,19 @@ class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec( sampleQuerySet: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse( +class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( typing_extensions.TypedDict, total=False ): - sitemapsMetadata: _list[ - GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata - ] + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata( +class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( typing_extensions.TypedDict, total=False ): - sitemap: GoogleCloudDiscoveryengineV1betaSitemap + failureCount: str + successCount: str + totalCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @@ -5047,6 +6218,12 @@ class GoogleCloudDiscoveryengineV1betaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -5121,6 +6298,26 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + dedicatedCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries + ) + error: GoogleRpcStatus + organicCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries + ) + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str @@ -5195,6 +6392,20 @@ class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( top3: float top5: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSchema(typing_extensions.TypedDict, total=False): jsonSchema: str @@ -5206,6 +6417,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -5220,6 +6432,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec] filter: str @@ -5238,7 +6451,15 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -5347,6 +6568,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -5362,14 +6584,36 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -5434,11 +6678,19 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( @@ -5453,6 +6705,20 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSingleRegionKey( typing_extensions.TypedDict, total=False @@ -5482,7 +6748,13 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -5549,9 +6821,28 @@ class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1betaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -5568,8 +6859,28 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaSourceId(typing_extensions.TypedDict, total=False): + id: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest( + typing_extensions.TypedDict, total=False +): + blob: GdataMedia + mediaRequestInfo: ApiservingMediaRequestInfo + sourceId: str + +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaUploadSourceFileResponse( + typing_extensions.TypedDict, total=False +): + mediaResponseInfo: ApiservingMediaResponseInfo + sourceId: GoogleCloudNotebooklmV1alphaSourceId + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi index 674adb64..8276a406 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -17,6 +17,28 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CmekConfigsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaCmekConfigHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1betaListCmekConfigsResponseHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaCmekConfig = ..., + setDefault: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class CollectionsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -579,6 +601,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def fetch( + self, + *, + parent: str, + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseHttpRequest: ... @typing.type_check_only class TargetSitesResource(googleapiclient.discovery.Resource): @@ -854,6 +883,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseHttpRequest: ... + def removeSuggestion( + self, + *, + completionConfig: str, + body: GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponseHttpRequest: ... @typing.type_check_only class ControlsResource(googleapiclient.discovery.Resource): @@ -1970,6 +2006,72 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaIdentityMappingStore = ..., + cmekConfigName: str = ..., + disableCmek: bool = ..., + identityMappingStoreId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1betaIdentityMappingStoreHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1betaIdentityMappingStoreHttpRequest + ): ... + def importIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponse, + ) -> ( + GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponseHttpRequest + | None + ): ... + def listIdentityMappings( + self, + *, + identityMappingStore: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponseHttpRequest: ... + def listIdentityMappings_next( + self, + previous_request: GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponseHttpRequest + | None + ): ... + def purgeIdentityMappings( + self, + *, + identityMappingStore: str, + body: GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -1992,6 +2094,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PodcastsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class RankingConfigsResource(googleapiclient.discovery.Resource): def rank( @@ -2126,22 +2238,81 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaUserEventHttpRequest: ... - def generateGroundedContent( + @typing.type_check_only + class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UserLicensesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaListUserLicensesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1betaListUserLicensesResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1betaListUserLicensesResponse, + ) -> ( + GoogleCloudDiscoveryengineV1betaListUserLicensesResponseHttpRequest + | None + ): ... + + def batchUpdateUserLicenses( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def userLicenses(self) -> UserLicensesResource: ... + + def getCmekConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaCmekConfigHttpRequest: ... + def obtainCrawlRate( self, *, location: str, - body: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest = ..., + body: GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseHttpRequest: ... + ) -> GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponseHttpRequest: ... + def removeDedicatedCrawlRate( + self, + *, + location: str, + body: GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setDedicatedCrawlRate( + self, + *, + location: str, + body: GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def updateCmekConfig( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaCmekConfig = ..., + setDefault: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cmekConfigs(self) -> CmekConfigsResource: ... def collections(self) -> CollectionsResource: ... def dataStores(self) -> DataStoresResource: ... def evaluations(self) -> EvaluationsResource: ... def groundingConfigs(self) -> GroundingConfigsResource: ... def identityMappingStores(self) -> IdentityMappingStoresResource: ... def operations(self) -> OperationsResource: ... + def podcasts(self) -> PodcastsResource: ... def rankingConfigs(self) -> RankingConfigsResource: ... def sampleQuerySets(self) -> SampleQuerySetsResource: ... def userEvents(self) -> UserEventsResource: ... + def userStores(self) -> UserStoresResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -2245,6 +2416,16 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaCheckGroundingResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCmekConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaCmekConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2346,14 +2527,24 @@ class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseHttpRequest( ) -> GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse: ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseHttpRequest( +class GoogleCloudDiscoveryengineV1betaIdentityMappingStoreHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaIdentityMappingStore: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse: ... + ) -> GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse: ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListControlsResponseHttpRequest( @@ -2435,6 +2626,26 @@ class GoogleCloudDiscoveryengineV1betaListEvaluationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaListEvaluationsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2495,6 +2706,26 @@ class GoogleCloudDiscoveryengineV1betaListTargetSitesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaListTargetSitesResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListUserLicensesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaListUserLicensesResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRankResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2515,6 +2746,16 @@ class GoogleCloudDiscoveryengineV1betaRecommendResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaRecommendResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSampleQueryHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 71584990..cc607fd0 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -74,6 +74,18 @@ class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=Fals systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( + typing_extensions.TypedDict, total=False +): + connectorRun: str + dataConnector: str + endTime: str + entity: str + operation: str + startTime: str + syncType: str + @typing.type_check_only class GoogleCloudDiscoveryengineLoggingErrorContext( typing_extensions.TypedDict, total=False @@ -85,6 +97,7 @@ class GoogleCloudDiscoveryengineLoggingErrorContext( class GoogleCloudDiscoveryengineLoggingErrorLog( typing_extensions.TypedDict, total=False ): + connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext message: str @@ -128,6 +141,27 @@ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( + typing_extensions.TypedDict, total=False +): + userDefinedClassifierSpec: ( + GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( + typing_extensions.TypedDict, total=False +): + enableUserDefinedClassifier: bool + modelId: str + preamble: str + seed: int + taskMarker: str + temperature: float + topK: str + topP: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -141,6 +175,22 @@ class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total=False): isDefault: bool @@ -148,6 +198,12 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -155,8 +211,10 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -213,6 +271,31 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlFilterAction( @@ -261,6 +344,13 @@ class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -270,6 +360,7 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig @@ -284,6 +375,8 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -320,6 +413,13 @@ class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -348,6 +448,13 @@ class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -407,7 +514,13 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalPa @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -437,9 +550,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -458,6 +575,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -481,6 +599,44 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( + typing_extensions.TypedDict, total=False +): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" + ] + type: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( + typing_extensions.TypedDict, total=False +): + targetField: str + targetFieldValueFloat: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False @@ -492,6 +648,21 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( + typing_extensions.TypedDict, total=False +): + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + totalCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -531,6 +702,12 @@ class GoogleCloudDiscoveryengineV1ImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -644,6 +821,7 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -721,6 +899,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModel class GoogleCloudDiscoveryengineV1ServingConfig( typing_extensions.TypedDict, total=False ): + answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str displayName: str @@ -778,13 +957,25 @@ class GoogleCloudDiscoveryengineV1SiteVerificationInfo( ] verifyTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): + createTime: str + name: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -843,6 +1034,22 @@ class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -859,6 +1066,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -874,6 +1082,7 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( ): actionParams: dict[str, typing.Any] isActionConfigured: bool + serviceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( @@ -882,6 +1091,24 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( + typing_extensions.TypedDict, total=False +): + alertEnrollments: _list[ + GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment + ] + alertPolicyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( + typing_extensions.TypedDict, total=False +): + alertId: str + enrollState: typing_extensions.Literal[ + "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -896,9 +1123,12 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER", ] ] answerText: str + blobAttachments: _list[GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment] citations: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitation] completeTime: str createTime: str @@ -916,6 +1146,22 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitation( typing_extensions.TypedDict, total=False @@ -959,6 +1205,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] @typing.type_check_only @@ -977,6 +1224,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] chunk: str content: str documentMetadata: ( @@ -1000,6 +1248,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( ): document: str structData: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @@ -1017,6 +1267,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str relevanceScore: float @@ -1083,6 +1334,19 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( ): query: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBAPConfig( + typing_extensions.TypedDict, total=False +): + supportedConnectorModes: _list[ + typing_extensions.Literal[ + "CONNECTOR_MODE_UNSPECIFIED", + "DATA_INGESTION", + "ACTIONS", + "END_USER_AUTHENTICATION", + ] + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -1096,6 +1360,22 @@ class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCmekConfig( typing_extensions.TypedDict, total=False @@ -1105,6 +1385,12 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -1112,8 +1398,10 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -1166,6 +1454,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str trigger: typing_extensions.Literal[ @@ -1176,11 +1465,14 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( typing_extensions.TypedDict, total=False ): + deletedRecordCount: str entityName: str errorRecordCount: str errors: _list[GoogleRpcStatus] extractedRecordCount: str indexedRecordCount: str + progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress + scheduledRecordCount: str sourceApiRequestCount: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -1191,10 +1483,21 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( "CANCELLED", "PENDING", "WARNING", + "SKIPPED", ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal["SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL"] + syncType: typing_extensions.Literal[ + "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( + typing_extensions.TypedDict, total=False +): + currentCount: str + percentile: float + totalCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControl( @@ -1232,6 +1535,31 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( @@ -1315,8 +1643,21 @@ class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec( class GoogleCloudDiscoveryengineV1alphaDataConnector( typing_extensions.TypedDict, total=False ): + aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig + actionState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + alertPolicyConfigs: _list[GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig] autoRunDisabled: bool + bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ typing_extensions.Literal[ "BLOCKING_REASON_UNSPECIFIED", @@ -1324,13 +1665,41 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "ALLOWLIST_IN_SERVICE_ATTACHMENT", ] ] + 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[GoogleCloudDiscoveryengineV1alphaDestinationConfig] + endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig entities: _list[GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity] errors: _list[GoogleRpcStatus] identityRefreshInterval: str identityScheduleConfig: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig + incrementalRefreshInterval: str + incrementalSyncDisabled: bool kmsKeyName: str lastSyncTime: str latestPauseTime: str @@ -1338,23 +1707,75 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( nextSyncTime: GoogleTypeDateTime params: dict[str, typing.Any] privateConnectivityProjectId: str + realtimeState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", + ] + realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "RUNNING", "WARNING" + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "RUNNING", + "WARNING", + "INITIALIZATION_FAILED", + "UPDATING", ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC"] + syncMode: typing_extensions.Literal[ + "PERIODIC", "STREAMING", "UNSPECIFIED", "SCALA_SYNC" + ] updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( + typing_extensions.TypedDict, total=False +): + additionalParams: dict[str, typing.Any] + authParams: dict[str, typing.Any] + tenant: GoogleCloudDiscoveryengineV1alphaTenant + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( + typing_extensions.TypedDict, total=False +): + realtimeSyncSecret: str + streamingError: ( + GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError + ) + webhookUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( + 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 GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( typing_extensions.TypedDict, total=False ): dataStore: str entityName: str + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig keyPropertyMappings: dict[str, typing.Any] params: dict[str, typing.Any] + startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( @@ -1375,6 +1796,8 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" @@ -1422,9 +1845,18 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( typing_extensions.TypedDict, total=False ): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( typing_extensions.TypedDict, total=False @@ -1549,7 +1981,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigi @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -1579,6 +2017,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -1609,6 +2048,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -1636,6 +2076,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False ): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig trainingState: typing_extensions.Literal[ @@ -1643,6 +2084,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( ] type: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( typing_extensions.TypedDict, total=False @@ -1650,6 +2104,12 @@ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOpti targetField: str targetFieldValueFloat: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( + typing_extensions.TypedDict, total=False +): + contextEventType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( typing_extensions.TypedDict, total=False @@ -1657,6 +2117,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( dataState: typing_extensions.Literal[ "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" ] + lastTrainTime: str lastTuneTime: str servingState: typing_extensions.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" @@ -1720,20 +2181,6 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( ): sampleQuerySet: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse( - typing_extensions.TypedDict, total=False -): - sitemapsMetadata: _list[ - GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata( - typing_extensions.TypedDict, total=False -): - sitemap: GoogleCloudDiscoveryengineV1alphaSitemap - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFieldConfig( typing_extensions.TypedDict, total=False @@ -1795,6 +2242,21 @@ class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( ): documentDataMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( + typing_extensions.TypedDict, total=False +): + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + totalCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( typing_extensions.TypedDict, total=False @@ -1854,6 +2316,12 @@ class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -2082,6 +2550,8 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( createTime: str invalidUris: _list[str] invalidUrisCount: int + noindexUris: _list[str] + noindexUrisCount: int pendingCount: int quotaExceededCount: int successCount: int @@ -2169,6 +2639,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -2184,6 +2655,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec] filter: str @@ -2202,7 +2674,15 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -2216,6 +2696,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( spellCorrectionSpec: ( GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec ) + useLatestData: bool userInfo: GoogleCloudDiscoveryengineV1alphaUserInfo userLabels: dict[str, typing.Any] userPseudoId: str @@ -2311,6 +2792,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -2326,14 +2808,36 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -2398,11 +2902,19 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( @@ -2437,6 +2949,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer query: GoogleCloudDiscoveryengineV1alphaQuery + queryConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( @@ -2500,7 +3013,13 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -2521,6 +3040,12 @@ class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata( typing_extensions.TypedDict, total=False @@ -2588,9 +3113,28 @@ class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( class GoogleCloudDiscoveryengineV1alphaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -2607,6 +3151,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only @@ -2614,9 +3159,13 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec + experimentIds: _list[str] includeTailSuggestions: bool query: str queryModel: str + suggestionTypeSpecs: _list[ + GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec + ] suggestionTypes: _list[ typing_extensions.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", @@ -2645,6 +3194,20 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecCondi boost: float condition: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec( + 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 GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse( typing_extensions.TypedDict, total=False @@ -2671,7 +3234,10 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSugges "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" ] dataStore: str + destinationUri: str document: GoogleCloudDiscoveryengineV1betaDocument + iconUri: str + score: float suggestion: str @typing.type_check_only @@ -2679,10 +3245,13 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggest typing_extensions.TypedDict, total=False ): dataStore: str + destinationUri: str + displayPhotoUri: str document: GoogleCloudDiscoveryengineV1betaDocument personType: typing_extensions.Literal[ "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" ] + score: float suggestion: str @typing.type_check_only @@ -2691,6 +3260,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggesti ): completableFieldPaths: _list[str] dataStore: _list[str] + score: float suggestion: str @typing.type_check_only @@ -2698,6 +3268,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchS typing_extensions.TypedDict, total=False ): recentSearchTime: str + score: float suggestion: str @typing.type_check_only @@ -2732,9 +3303,12 @@ class GoogleCloudDiscoveryengineV1betaAnswer(typing_extensions.TypedDict, total= "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER", ] ] answerText: str + blobAttachments: _list[GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment] citations: _list[GoogleCloudDiscoveryengineV1betaAnswerCitation] completeTime: str createTime: str @@ -2750,6 +3324,22 @@ class GoogleCloudDiscoveryengineV1betaAnswer(typing_extensions.TypedDict, total= ] steps: _list[GoogleCloudDiscoveryengineV1betaAnswerStep] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerCitation( typing_extensions.TypedDict, total=False @@ -2764,6 +3354,27 @@ class GoogleCloudDiscoveryengineV1betaAnswerCitationSource( ): referenceId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec( + typing_extensions.TypedDict, total=False +): + userDefinedClassifierSpec: ( + GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec( + typing_extensions.TypedDict, total=False +): + enableUserDefinedClassifier: bool + modelId: str + preamble: str + seed: int + taskMarker: str + temperature: float + topK: str + topP: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport( typing_extensions.TypedDict, total=False @@ -2782,6 +3393,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequest( GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec ) asynchronousMode: bool + endUserSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec groundingSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec query: GoogleCloudDiscoveryengineV1betaQuery queryUnderstandingSpec: ( @@ -2809,6 +3421,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec( modelSpec: ( GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec ) + multimodalSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec promptSpec: ( GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec ) @@ -2819,12 +3432,50 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMode ): modelVersion: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec( typing_extensions.TypedDict, total=False ): preamble: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec( + typing_extensions.TypedDict, total=False +): + endUserMetadata: _list[ + GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData( + typing_extensions.TypedDict, total=False +): + chunkInfo: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( + typing_extensions.TypedDict, total=False +): + content: str + documentMetadata: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec( typing_extensions.TypedDict, total=False @@ -2838,6 +3489,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec( class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec( typing_extensions.TypedDict, total=False ): + disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec queryRephraserSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec @@ -2852,6 +3504,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQu "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] ] @@ -3025,6 +3678,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassific "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", "NON_ANSWER_SEEKING_QUERY_V2", + "USER_DEFINED_CLASSIFICATION_QUERY", ] @typing.type_check_only @@ -3043,6 +3697,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReference( class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] chunk: str content: str documentMetadata: ( @@ -3066,6 +3721,8 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo( ): document: str structData: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo( @@ -3083,6 +3740,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo( class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str relevanceScore: float @@ -3194,6 +3852,38 @@ class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentM fhirResource: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + failureCount: str + successCount: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest( + typing_extensions.TypedDict, total=False +): + deleteUnassignedUserLicenses: bool + inlineSource: ( + GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource( + typing_extensions.TypedDict, total=False +): + updateMask: str + userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -3296,6 +3986,7 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim( claimText: str endPos: int groundingCheckRequired: bool + score: float startPos: int @typing.type_check_only @@ -3303,11 +3994,15 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingSpec( typing_extensions.TypedDict, total=False ): citationThreshold: float + enableClaimLevelScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaChunk(typing_extensions.TypedDict, total=False): + annotationContents: _list[str] + annotationMetadata: _list[GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1betaChunkChunkMetadata content: str + dataUrls: _list[str] derivedStructData: dict[str, typing.Any] documentMetadata: GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata id: str @@ -3315,6 +4010,13 @@ class GoogleCloudDiscoveryengineV1betaChunk(typing_extensions.TypedDict, total=F pageSpan: GoogleCloudDiscoveryengineV1betaChunkPageSpan relevanceScore: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata( + typing_extensions.TypedDict, total=False +): + imageId: str + structuredContent: GoogleCloudDiscoveryengineV1betaChunkStructuredContent + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata( typing_extensions.TypedDict, total=False @@ -3337,6 +4039,18 @@ class GoogleCloudDiscoveryengineV1betaChunkPageSpan( pageEnd: int pageStart: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaChunkStructuredContent( + typing_extensions.TypedDict, total=False +): + content: str + structureType: typing_extensions.Literal[ + "STRUCTURE_TYPE_UNSPECIFIED", + "SHAREHOLDER_STRUCTURE", + "SIGNATURE_STRUCTURE", + "CHECKBOX_STRUCTURE", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCloudSqlSource( typing_extensions.TypedDict, total=False @@ -3357,6 +4071,12 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( kmsKeyVersion: str lastRotationTimestampMicros: str name: str + notebooklmState: typing_extensions.Literal[ + "NOTEBOOK_LM_STATE_UNSPECIFIED", + "NOTEBOOK_LM_NOT_READY", + "NOTEBOOK_LM_READY", + "NOTEBOOK_LM_NOT_ENABLED", + ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -3364,8 +4084,10 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( "ACTIVE", "KEY_ISSUE", "DELETING", + "DELETE_FAILED", "UNUSABLE", "ACTIVE_ROTATING", + "DELETED", ] @typing.type_check_only @@ -3459,6 +4181,31 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( dataStore: str filter: str fixedBoost: float + interpolationBoostSpec: ( + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( @@ -3536,6 +4283,12 @@ class GoogleCloudDiscoveryengineV1betaConverseConversationResponse( reply: GoogleCloudDiscoveryengineV1betaReply searchResults: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + qpsTimeSeries: GoogleMonitoringV3TimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -3616,6 +4369,7 @@ class GoogleCloudDiscoveryengineV1betaCustomTuningModel( class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): + aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig @@ -3630,6 +4384,8 @@ class GoogleCloudDiscoveryengineV1betaDataStore( defaultSchemaId: str displayName: str documentProcessingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig + healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig + identityMappingStore: str industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] @@ -3672,6 +4428,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( ): disabledForServing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( typing_extensions.TypedDict, total=False @@ -3735,6 +4500,7 @@ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse( class GoogleCloudDiscoveryengineV1betaDocument( typing_extensions.TypedDict, total=False ): + aclInfo: GoogleCloudDiscoveryengineV1betaDocumentAclInfo content: GoogleCloudDiscoveryengineV1betaDocumentContent derivedStructData: dict[str, typing.Any] id: str @@ -3746,6 +4512,19 @@ class GoogleCloudDiscoveryengineV1betaDocument( schemaId: str structData: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDocumentAclInfo( + typing_extensions.TypedDict, total=False +): + readers: _list[GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction( + typing_extensions.TypedDict, total=False +): + idpWide: bool + principals: _list[GoogleCloudDiscoveryengineV1betaPrincipal] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentContent( typing_extensions.TypedDict, total=False @@ -3816,7 +4595,13 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigit @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( typing_extensions.TypedDict, total=False -): ... +): + enableImageAnnotation: bool + enableTableAnnotation: bool + excludeHtmlClasses: _list[str] + excludeHtmlElements: _list[str] + excludeHtmlIds: _list[str] + structuredContentTypes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( @@ -3863,9 +4648,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= dataStoreIds: _list[str] disableAnalytics: bool displayName: str + features: dict[str, typing.Any] industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + mediaRecommendationEngineConfig: ( + GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig + ) name: str searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ @@ -3884,6 +4673,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig ) + allowCrossRegion: bool dialogflowAgentToLink: str @typing.type_check_only @@ -3902,10 +4692,48 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata( dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( +class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( + typing_extensions.TypedDict, total=False +): + companyName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( + typing_extensions.TypedDict, total=False +): + engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig + optimizationObjective: str + optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig + trainingState: typing_extensions.Literal[ + "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" + ] + type: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( + typing_extensions.TypedDict, total=False +): + mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig + recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( + typing_extensions.TypedDict, total=False +): + timeWindowDays: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( + typing_extensions.TypedDict, total=False +): + targetField: str + targetFieldValueFloat: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( typing_extensions.TypedDict, total=False ): - companyName: str + contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( @@ -3951,9 +4779,12 @@ class GoogleCloudDiscoveryengineV1betaFactChunk( typing_extensions.TypedDict, total=False ): chunkText: str + domain: str index: int source: str sourceMetadata: dict[str, typing.Any] + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse( @@ -4003,175 +4834,42 @@ class GoogleCloudDiscoveryengineV1betaGcsSource( inputUris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest( - typing_extensions.TypedDict, total=False -): - contents: _list[GoogleCloudDiscoveryengineV1betaGroundedGenerationContent] - generationSpec: ( - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec - ) - groundingSpec: ( - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec - ) - systemInstruction: GoogleCloudDiscoveryengineV1betaGroundedGenerationContent - userLabels: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration( - typing_extensions.TypedDict, total=False -): - predictor: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor( - typing_extensions.TypedDict, total=False -): - threshold: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec( - typing_extensions.TypedDict, total=False -): - frequencyPenalty: float - languageCode: str - maxOutputTokens: int - modelId: str - presencePenalty: float - seed: int - temperature: float - topK: int - topP: float - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource( - typing_extensions.TypedDict, total=False -): - googleSearchSource: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource - inlineSource: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource - searchSource: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource( - typing_extensions.TypedDict, total=False -): - dynamicRetrievalConfig: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestDynamicRetrievalConfiguration - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource( +class GoogleCloudDiscoveryengineV1betaGroundingFact( typing_extensions.TypedDict, total=False ): attributes: dict[str, typing.Any] - groundingFacts: _list[GoogleCloudDiscoveryengineV1betaGroundingFact] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource( - typing_extensions.TypedDict, total=False -): - filter: str - maxResultCount: int - safeSearch: bool - servingConfig: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec( - typing_extensions.TypedDict, total=False -): - groundingSources: _list[ - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse( - typing_extensions.TypedDict, total=False -): - candidates: _list[ - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate - ] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate( - typing_extensions.TypedDict, total=False -): - content: GoogleCloudDiscoveryengineV1betaGroundedGenerationContent - groundingMetadata: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata - groundingScore: float - index: int - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadata( - typing_extensions.TypedDict, total=False -): - groundingSupport: _list[ - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport - ] - retrievalMetadata: _list[ - GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata - ] - searchEntryPoint: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint - supportChunks: _list[GoogleCloudDiscoveryengineV1betaFactChunk] - webSearchQueries: _list[str] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata( - typing_extensions.TypedDict, total=False -): - predictorMetadata: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata( - typing_extensions.TypedDict, total=False -): - prediction: float - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1_INDEPENDENT"] - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport( - typing_extensions.TypedDict, total=False -): - claimText: str - supportChunkIndices: _list[int] - supportScore: float - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata( - typing_extensions.TypedDict, total=False -): - dynamicRetrievalMetadata: GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", - "VERTEX_AI_SEARCH", - "GOOGLE_SEARCH", - "INLINE_CONTENT", - "GOOGLE_MAPS", - ] + factText: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint( +class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( typing_extensions.TypedDict, total=False ): - renderedContent: str - sdkBlob: str + enableConfigurableSchema: bool + enableStaticIndexingForBatchIngestion: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGroundedGenerationContent( +class GoogleCloudDiscoveryengineV1betaIdentityMappingEntry( typing_extensions.TypedDict, total=False ): - parts: _list[GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart] - role: str + externalIdentity: str + groupId: str + userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart( +class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( typing_extensions.TypedDict, total=False ): - text: str + failureCount: str + successCount: str + totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGroundingFact( +class GoogleCloudDiscoveryengineV1betaIdentityMappingStore( typing_extensions.TypedDict, total=False ): - attributes: dict[str, typing.Any] - factText: str + cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig + kmsKeyName: str + name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @@ -4257,6 +4955,26 @@ class GoogleCloudDiscoveryengineV1betaImportErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + inlineSource: ( + GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( typing_extensions.TypedDict, total=False @@ -4368,6 +5086,12 @@ class GoogleCloudDiscoveryengineV1betaLanguageInfo( normalizedLanguageCode: str region: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse( + typing_extensions.TypedDict, total=False +): + cmekConfigs: _list[GoogleCloudDiscoveryengineV1betaCmekConfig] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListControlsResponse( typing_extensions.TypedDict, total=False @@ -4432,6 +5156,20 @@ class GoogleCloudDiscoveryengineV1betaListEvaluationsResponse( evaluations: _list[GoogleCloudDiscoveryengineV1betaEvaluation] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponse( + typing_extensions.TypedDict, total=False +): + identityMappingStores: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingStore] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse( typing_extensions.TypedDict, total=False @@ -4475,6 +5213,13 @@ class GoogleCloudDiscoveryengineV1betaListTargetSitesResponse( targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] totalSize: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaMediaInfo( typing_extensions.TypedDict, total=False @@ -4488,6 +5233,32 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest( + typing_extensions.TypedDict, total=False +): + crawlRateScope: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + dedicatedCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries + ) + error: GoogleRpcStatus + organicCrawlRateTimeSeries: ( + GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries + ) + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( + typing_extensions.TypedDict, total=False +): + googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPageInfo( typing_extensions.TypedDict, total=False @@ -4512,6 +5283,14 @@ class GoogleCloudDiscoveryengineV1betaPauseEngineRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaPrincipal( + typing_extensions.TypedDict, total=False +): + externalEntityId: str + groupId: str + userId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str @@ -4587,6 +5366,22 @@ class GoogleCloudDiscoveryengineV1betaPurgeErrorConfig( ): gcsPrefix: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + force: bool + inlineSource: ( + GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequestInlineSource + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequestInlineSource( + typing_extensions.TypedDict, total=False +): + identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata( typing_extensions.TypedDict, total=False @@ -4700,6 +5495,41 @@ class GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest( siteCredential: str uris: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateRequest( + typing_extensions.TypedDict, total=False +): + crawlRateScope: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest( + typing_extensions.TypedDict, total=False +): + removeAllSearchHistorySuggestions: bool + removeTime: str + searchHistorySuggestion: str + userInfo: GoogleCloudDiscoveryengineV1betaUserInfo + userPseudoId: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaReply(typing_extensions.TypedDict, total=False): references: _list[GoogleCloudDiscoveryengineV1betaReplyReference] @@ -4797,6 +5627,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( typing_extensions.TypedDict, total=False ): description: str + document: str enabled: bool imageUri: str title: str @@ -4811,6 +5642,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] + displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec facetSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec] filter: str @@ -4829,7 +5661,15 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str + rankingExpressionBackend: typing_extensions.Literal[ + "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", + "BYOE", + "CLEARBOX", + "RANK_BY_EMBEDDING", + "RANK_BY_FORMULA", + ] regionCode: str + relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] @@ -4938,6 +5778,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( languageCode: str modelPromptSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec modelSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec + multimodalSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec summaryResultCount: int useSemanticChunks: bool @@ -4953,14 +5794,36 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( + typing_extensions.TypedDict, total=False +): + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec + customSearchOperators: str dataStore: str filter: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( + typing_extensions.TypedDict, total=False +): + matchHighlightingCondition: typing_extensions.Literal[ + "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", + "MATCH_HIGHLIGHTING_DISABLED", + "MATCH_HIGHLIGHTING_ENABLED", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( typing_extensions.TypedDict, total=False @@ -5025,11 +5888,19 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( + typing_extensions.TypedDict, total=False +): + returnRelevanceScore: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( typing_extensions.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED"] + condition: typing_extensions.Literal[ + "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( @@ -5111,17 +5982,11 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinement class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo( typing_extensions.TypedDict, total=False ): + classifiedIntents: _list[str] extractedFilters: str rewrittenQuery: str - sqlRequest: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest structuredExtractedFilter: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter -@typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest( - typing_extensions.TypedDict, total=False -): - sqlQuery: str - @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( typing_extensions.TypedDict, total=False @@ -5239,6 +6104,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummary( "JAIL_BREAKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", + "TIME_OUT", ] ] summaryText: str @@ -5246,6 +6112,22 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummary( GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata ) +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment( + typing_extensions.TypedDict, total=False +): + attributionType: typing_extensions.Literal[ + "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" + ] + data: GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob( + typing_extensions.TypedDict, total=False +): + data: str + mimeType: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation( typing_extensions.TypedDict, total=False @@ -5281,6 +6163,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference( class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent( typing_extensions.TypedDict, total=False ): + blobAttachmentIndexes: _list[str] content: str pageIdentifier: str @@ -5295,6 +6178,9 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes( class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata( typing_extensions.TypedDict, total=False ): + blobAttachments: _list[ + GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment + ] citationMetadata: ( GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata ) @@ -5305,6 +6191,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata( class GoogleCloudDiscoveryengineV1betaServingConfig( typing_extensions.TypedDict, total=False ): + answerGenerationSpec: GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec boostControlIds: _list[str] createTime: str displayName: str @@ -5369,6 +6256,32 @@ class GoogleCloudDiscoveryengineV1betaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1betaAnswer query: GoogleCloudDiscoveryengineV1betaQuery + queryConfig: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest( + typing_extensions.TypedDict, total=False +): + crawlRate: int + crawlRateScope: str + crawlType: typing_extensions.Literal[ + "CRAWL_TYPE_UNSPECIFIED", "USER_TRIGGERED", "AUTO_REFRESH" + ] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTOMATIC", "EXPLICIT"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( + typing_extensions.TypedDict, total=False +): + error: GoogleRpcStatus + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSingleRegionKey( @@ -5424,7 +6337,13 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str indexingStatus: typing_extensions.Literal[ - "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", "SUCCEEDED", "DELETING" + "INDEXING_STATUS_UNSPECIFIED", + "PENDING", + "FAILED", + "SUCCEEDED", + "DELETING", + "CANCELLABLE", + "CANCELLED", ] name: str providedUriPattern: str @@ -5561,9 +6480,28 @@ class GoogleCloudDiscoveryengineV1betaUserEvent( class GoogleCloudDiscoveryengineV1betaUserInfo( typing_extensions.TypedDict, total=False ): + timeZone: str userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserLicense( + typing_extensions.TypedDict, total=False +): + createTime: str + lastLoginTime: str + licenseAssignmentState: typing_extensions.Literal[ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN", + ] + licenseConfig: str + updateTime: str + userPrincipal: str + userProfile: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -5580,6 +6518,7 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_CHAT", "GOOGLE_GROUPS", "GOOGLE_KEEP", + "GOOGLE_PEOPLE", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index 042a7fbf..cbe15c6a 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -86,7 +86,6 @@ class Adloox(typing_extensions.TypedDict, total=False): class Advertiser(typing_extensions.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str - billingConfig: AdvertiserBillingConfig creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig displayName: str @@ -111,10 +110,6 @@ class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): cmHybridConfig: CmHybridConfig thirdPartyOnlyConfig: ThirdPartyOnlyConfig -@typing.type_check_only -class AdvertiserBillingConfig(typing_extensions.TypedDict, total=False): - billingProfileId: str - @typing.type_check_only class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): dynamicCreativeEnabled: bool @@ -406,11 +401,9 @@ class AssignedUserRole(typing_extensions.TypedDict, total=False): class AudienceGroupAssignedTargetingOptionDetails( typing_extensions.TypedDict, total=False ): - excludedFirstAndThirdPartyAudienceGroup: FirstAndThirdPartyAudienceGroup excludedGoogleAudienceGroup: GoogleAudienceGroup includedCombinedAudienceGroup: CombinedAudienceGroup includedCustomListGroup: CustomListGroup - includedFirstAndThirdPartyAudienceGroups: _list[FirstAndThirdPartyAudienceGroup] includedGoogleAudienceGroup: GoogleAudienceGroup @typing.type_check_only @@ -682,6 +675,15 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] @typing.type_check_only @@ -1028,6 +1030,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -1159,10 +1162,7 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): advertiserId: str customBiddingAlgorithmId: str customBiddingAlgorithmType: typing_extensions.Literal[ - "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", - "SCRIPT_BASED", - "ADS_DATA_HUB_BASED", - "GOAL_BUILDER_BASED", + "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED" ] displayName: str entityStatus: typing_extensions.Literal[ @@ -1692,6 +1692,8 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] @@ -1786,6 +1788,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] googleAdManagerAgencyId: str @@ -1879,6 +1883,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] status: typing_extensions.Literal[ @@ -1975,6 +1981,8 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] @@ -1989,48 +1997,6 @@ class ExitEvent(typing_extensions.TypedDict, total=False): ] url: str -@typing.type_check_only -class FirstAndThirdPartyAudienceGroup(typing_extensions.TypedDict, total=False): - settings: _list[FirstAndThirdPartyAudienceTargetingSetting] - -@typing.type_check_only -class FirstAndThirdPartyAudienceTargetingSetting( - typing_extensions.TypedDict, total=False -): - firstAndThirdPartyAudienceId: str - recency: typing_extensions.Literal[ - "RECENCY_NO_LIMIT", - "RECENCY_1_MINUTE", - "RECENCY_5_MINUTES", - "RECENCY_10_MINUTES", - "RECENCY_15_MINUTES", - "RECENCY_30_MINUTES", - "RECENCY_1_HOUR", - "RECENCY_2_HOURS", - "RECENCY_3_HOURS", - "RECENCY_6_HOURS", - "RECENCY_12_HOURS", - "RECENCY_1_DAY", - "RECENCY_2_DAYS", - "RECENCY_3_DAYS", - "RECENCY_5_DAYS", - "RECENCY_7_DAYS", - "RECENCY_10_DAYS", - "RECENCY_14_DAYS", - "RECENCY_15_DAYS", - "RECENCY_21_DAYS", - "RECENCY_28_DAYS", - "RECENCY_30_DAYS", - "RECENCY_40_DAYS", - "RECENCY_45_DAYS", - "RECENCY_60_DAYS", - "RECENCY_90_DAYS", - "RECENCY_120_DAYS", - "RECENCY_180_DAYS", - "RECENCY_270_DAYS", - "RECENCY_365_DAYS", - ] - @typing.type_check_only class FixedBidStrategy(typing_extensions.TypedDict, total=False): bidAmountMicros: str @@ -2156,6 +2122,15 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] negative: bool targetingOptionId: str @@ -2197,6 +2172,15 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] @typing.type_check_only @@ -2316,6 +2300,8 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] guaranteedOrderId: str @@ -2618,6 +2604,8 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] guaranteedOrderId: str @@ -3345,7 +3333,6 @@ class PartnerCost(typing_extensions.TypedDict, total=False): "PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER", "PARTNER_COST_TYPE_TRUST_METRICS", "PARTNER_COST_TYPE_VIZU", - "PARTNER_COST_TYPE_ADLINGO_FEE", "PARTNER_COST_TYPE_CUSTOM_FEE_1", "PARTNER_COST_TYPE_CUSTOM_FEE_2", "PARTNER_COST_TYPE_CUSTOM_FEE_3", @@ -3599,6 +3586,7 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -3625,6 +3613,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -3879,6 +3868,7 @@ class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): "THIRD_PARTY_VENDOR_NIELSEN", "THIRD_PARTY_VENDOR_KANTAR", "THIRD_PARTY_VENDOR_DYNATA", + "THIRD_PARTY_VENDOR_TRANSUNION", ] @typing.type_check_only @@ -3964,6 +3954,12 @@ class UserRewardedContentTargetingOptionDetails( "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] +@typing.type_check_only +class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): + allowInFeed: bool + allowInStream: bool + allowShorts: bool + @typing.type_check_only class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): minimumDuration: typing_extensions.Literal[ @@ -4181,6 +4177,7 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): relatedVideoIds: _list[str] targetFrequency: TargetFrequency thirdPartyMeasurementSettings: YoutubeAndPartnersThirdPartyMeasurementSettings + videoAdInventoryControl: VideoAdInventoryControl videoAdSequenceSettings: VideoAdSequenceSettings viewFrequencyCap: FrequencyCap diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi index ffc2026d..fa98e7df 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi @@ -99,6 +99,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -158,6 +159,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -286,6 +288,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -345,6 +348,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -614,6 +618,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], body: AssignedTargetingOption = ..., **kwargs: typing.Any, @@ -673,6 +678,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -732,6 +738,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -791,6 +798,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -962,6 +970,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], body: AssignedTargetingOption = ..., **kwargs: typing.Any, @@ -1021,6 +1030,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -1080,6 +1090,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -1139,6 +1150,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -1475,6 +1487,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], body: AssignedTargetingOption = ..., **kwargs: typing.Any, @@ -1533,6 +1546,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -1591,6 +1605,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -1649,6 +1664,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -2412,6 +2428,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], body: AssignedTargetingOption = ..., **kwargs: typing.Any, @@ -2470,6 +2487,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -2528,6 +2546,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], assignedTargetingOptionId: str, **kwargs: typing.Any, @@ -2586,6 +2605,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], filter: str = ..., orderBy: str = ..., @@ -2698,6 +2718,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], targetingOptionId: str, advertiserId: str = ..., @@ -2756,6 +2777,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], advertiserId: str = ..., filter: str = ..., @@ -2822,6 +2844,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ], body: SearchTargetingOptionsRequest = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 231723a3..3f85c043 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -64,6 +64,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): "AD_GROUP_FORMAT_RESPONSIVE", "AD_GROUP_FORMAT_REACH", "AD_GROUP_FORMAT_MASTHEAD", + "AD_GROUP_FORMAT_DEMAND_GEN", ] adGroupId: str advertiserId: str @@ -351,7 +352,9 @@ class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlgorithmRules(typing_extensions.TypedDict, total=False): + attributionModelId: str impressionSignalRuleset: AlgorithmRulesRuleset + postImpressionSignalRuleset: AlgorithmRulesRuleset @typing.type_check_only class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): @@ -459,6 +462,8 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] int64Value: str @@ -469,6 +474,29 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "ON_SCREEN_POSITION_BELOW_THE_FOLD", ] stringValue: str + videoPlayerSizeValue: typing_extensions.Literal[ + "VIDEO_PLAYER_SIZE_UNSPECIFIED", + "VIDEO_PLAYER_SIZE_SMALL", + "VIDEO_PLAYER_SIZE_LARGE", + "VIDEO_PLAYER_SIZE_HD", + "VIDEO_PLAYER_SIZE_UNKNOWN", + ] + +@typing.type_check_only +class AlgorithmRulesFloodlightActivityConversionSignal( + typing_extensions.TypedDict, total=False +): + conversionCounting: typing_extensions.Literal[ + "CONVERSION_COUNTING_UNSPECIFIED", "ALL_CONVERSIONS", "POST_CLICK", "POST_VIEW" + ] + countingMethod: typing_extensions.Literal[ + "COUNTING_METHOD_UNSPECIFIED", + "CONVERSIONS_COUNT", + "SALES_QUANTITY", + "SALES_VALUE", + "UNIQUE_COUNT", + ] + floodlightActivityId: str @typing.type_check_only class AlgorithmRulesRule(typing_extensions.TypedDict, total=False): @@ -493,6 +521,16 @@ class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): + activeViewSignal: typing_extensions.Literal[ + "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", + "ACTIVE_VIEW_VIEWED", + "AUDIBLE", + "VIDEO_COMPLETED", + "TIME_ON_SCREEN", + "VIDEO_PLAYER_SIZE", + "COMPLETED_IN_VIEW_AUDIBLE", + ] + clickSignal: typing_extensions.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] impressionSignal: typing_extensions.Literal[ "IMPRESSION_SIGNAL_UNSPECIFIED", "DAY_AND_TIME", @@ -523,6 +561,16 @@ class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): @typing.type_check_only class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): + activeViewSignal: typing_extensions.Literal[ + "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", + "ACTIVE_VIEW_VIEWED", + "AUDIBLE", + "VIDEO_COMPLETED", + "TIME_ON_SCREEN", + "VIDEO_PLAYER_SIZE", + "COMPLETED_IN_VIEW_AUDIBLE", + ] + floodlightActivityConversionSignal: AlgorithmRulesFloodlightActivityConversionSignal number: float @typing.type_check_only @@ -627,6 +675,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): ContentOutstreamPositionAssignedTargetingOptionDetails ) contentStreamTypeDetails: ContentStreamTypeAssignedTargetingOptionDetails + contentThemeExclusionDetails: ContentThemeAssignedTargetingOptionDetails dayAndTimeDetails: DayAndTimeAssignedTargetingOptionDetails deviceMakeModelDetails: DeviceMakeModelAssignedTargetingOptionDetails deviceTypeDetails: DeviceTypeAssignedTargetingOptionDetails @@ -711,6 +760,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ] thirdPartyVerifierDetails: ThirdPartyVerifierAssignedTargetingOptionDetails urlDetails: UrlAssignedTargetingOptionDetails @@ -1035,6 +1085,15 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] @typing.type_check_only @@ -1308,6 +1367,51 @@ class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] +@typing.type_check_only +class ContentThemeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + excludedContentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + excludedTargetingOptionId: str + +@typing.type_check_only +class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + contentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + @typing.type_check_only class ConversionCountingConfig(typing_extensions.TypedDict, total=False): floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] @@ -1379,6 +1483,7 @@ class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ] @typing.type_check_only @@ -1404,6 +1509,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -1745,6 +1851,7 @@ class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ] @typing.type_check_only @@ -2122,6 +2229,8 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] @@ -2216,6 +2325,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] googleAdManagerAgencyId: str @@ -2309,6 +2420,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] status: typing_extensions.Literal[ @@ -2405,6 +2518,8 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] @@ -2629,6 +2744,15 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] negative: bool targetingOptionId: str @@ -2670,6 +2794,15 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_NEIGHBORHOOD", "GEO_REGION_TYPE_UNIVERSITY", "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", ] @typing.type_check_only @@ -2789,6 +2922,8 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] guaranteedOrderId: str @@ -2972,6 +3107,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): excludedViolenceRisk: typing_extensions.Literal[ "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" ] + qualitySyncCustomSegmentId: _list[str] traqScoreOption: typing_extensions.Literal[ "TRAQ_UNSPECIFIED", "TRAQ_250", @@ -3095,6 +3231,8 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_TOPON_GBID", "EXCHANGE_NETFLIX", "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", ] guaranteedOrderId: str @@ -4126,6 +4264,7 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -4152,6 +4291,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_7", "SDF_VERSION_7_1", "SDF_VERSION_8", + "SDF_VERSION_8_1", ] @typing.type_check_only @@ -4286,6 +4426,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): contentInstreamPositionDetails: ContentInstreamPositionTargetingOptionDetails contentOutstreamPositionDetails: ContentOutstreamPositionTargetingOptionDetails contentStreamTypeDetails: ContentStreamTypeTargetingOptionDetails + contentThemeDetails: ContentThemeTargetingOptionDetails deviceMakeModelDetails: DeviceMakeModelTargetingOptionDetails deviceTypeDetails: DeviceTypeTargetingOptionDetails digitalContentLabelDetails: DigitalContentLabelTargetingOptionDetails @@ -4355,6 +4496,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): "TARGETING_TYPE_YOUTUBE_VIDEO", "TARGETING_TYPE_YOUTUBE_CHANNEL", "TARGETING_TYPE_SESSION_POSITION", + "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", ] userRewardedContentDetails: UserRewardedContentTargetingOptionDetails videoPlayerSizeDetails: VideoPlayerSizeTargetingOptionDetails @@ -4408,6 +4550,7 @@ class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): "THIRD_PARTY_VENDOR_NIELSEN", "THIRD_PARTY_VENDOR_KANTAR", "THIRD_PARTY_VENDOR_DYNATA", + "THIRD_PARTY_VENDOR_TRANSUNION", ] @typing.type_check_only @@ -4493,6 +4636,12 @@ class UserRewardedContentTargetingOptionDetails( "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] +@typing.type_check_only +class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): + allowInFeed: bool + allowInStream: bool + allowShorts: bool + @typing.type_check_only class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): minimumDuration: typing_extensions.Literal[ @@ -4647,6 +4796,7 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): relatedVideoIds: _list[str] targetFrequency: TargetFrequency thirdPartyMeasurementConfigs: ThirdPartyMeasurementConfigs + videoAdInventoryControl: VideoAdInventoryControl videoAdSequenceSettings: VideoAdSequenceSettings viewFrequencyCap: FrequencyCap diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi index d864426b..927c75b1 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi @@ -13,6 +13,1804 @@ _list = list @typing.type_check_only class DisplayVideoResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AdvertisersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AdGroupAdsResource(googleapiclient.discovery.Resource): + def get( + self, *, advertiserId: str, adGroupAdId: str, **kwargs: typing.Any + ) -> AdGroupAdHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAdGroupAdsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdGroupAdsResponseHttpRequest, + previous_response: ListAdGroupAdsResponse, + ) -> ListAdGroupAdsResponseHttpRequest | None: ... + + @typing.type_check_only + class AdGroupsResource(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, + adGroupId: 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, + adGroupId: 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, + ) -> ListAdGroupAssignedTargetingOptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdGroupAssignedTargetingOptionsResponseHttpRequest, + previous_response: ListAdGroupAssignedTargetingOptionsResponse, + ) -> ( + ListAdGroupAssignedTargetingOptionsResponseHttpRequest | None + ): ... + + def assignedTargetingOptions( + self, + ) -> AssignedTargetingOptionsResource: ... + + def bulkListAssignedTargetingOptions( + self, + *, + advertiserId: str, + adGroupIds: str | _list[str] = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> BulkListAdGroupAssignedTargetingOptionsResponseHttpRequest: ... + def bulkListAssignedTargetingOptions_next( + self, + previous_request: BulkListAdGroupAssignedTargetingOptionsResponseHttpRequest, + previous_response: BulkListAdGroupAssignedTargetingOptionsResponse, + ) -> BulkListAdGroupAssignedTargetingOptionsResponseHttpRequest | None: ... + def get( + self, *, advertiserId: str, adGroupId: str, **kwargs: typing.Any + ) -> AdGroupHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAdGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdGroupsResponseHttpRequest, + previous_response: ListAdGroupsResponse, + ) -> ListAdGroupsResponseHttpRequest | None: ... + def targetingTypes(self) -> TargetingTypesResource: ... + + @typing.type_check_only + class AssetsResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + advertiserId: str, + body: CreateAssetRequest = ..., + **kwargs: typing.Any, + ) -> CreateAssetResponseHttpRequest: ... + + @typing.type_check_only + class CampaignsResource(googleapiclient.discovery.Resource): + def create( + self, *, advertiserId: str, body: Campaign = ..., **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + def delete( + self, *, advertiserId: str, campaignId: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, advertiserId: str, campaignId: str, **kwargs: typing.Any + ) -> CampaignHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCampaignsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCampaignsResponseHttpRequest, + previous_response: ListCampaignsResponse, + ) -> ListCampaignsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + campaignId: str, + body: Campaign = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CampaignHttpRequest: ... + + @typing.type_check_only + class ChannelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SitesResource(googleapiclient.discovery.Resource): + def bulkEdit( + self, + *, + advertiserId: str, + channelId: str, + body: BulkEditSitesRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditSitesResponseHttpRequest: ... + def create( + self, + *, + advertiserId: str, + channelId: str, + body: Site = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> SiteHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + channelId: str, + urlOrAppId: str, + partnerId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + advertiserId: str, + channelId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListSitesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSitesResponseHttpRequest, + previous_response: ListSitesResponse, + ) -> ListSitesResponseHttpRequest | None: ... + def replace( + self, + *, + advertiserId: str, + channelId: str, + body: ReplaceSitesRequest = ..., + **kwargs: typing.Any, + ) -> ReplaceSitesResponseHttpRequest: ... + + def create( + self, + *, + advertiserId: str, + body: Channel = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def get( + self, + *, + advertiserId: str, + channelId: str, + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListChannelsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListChannelsResponseHttpRequest, + previous_response: ListChannelsResponse, + ) -> ListChannelsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + channelId: str, + body: Channel = ..., + partnerId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def sites(self) -> SitesResource: ... + + @typing.type_check_only + class CreativesResource(googleapiclient.discovery.Resource): + def create( + self, *, advertiserId: str, body: Creative = ..., **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + def delete( + self, *, advertiserId: str, creativeId: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, advertiserId: str, creativeId: str, **kwargs: typing.Any + ) -> CreativeHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCreativesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCreativesResponseHttpRequest, + previous_response: ListCreativesResponse, + ) -> ListCreativesResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + creativeId: str, + body: Creative = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CreativeHttpRequest: ... + + @typing.type_check_only + class InsertionOrdersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + advertiserId: str, + body: InsertionOrder = ..., + **kwargs: typing.Any, + ) -> InsertionOrderHttpRequest: ... + def delete( + self, *, advertiserId: str, insertionOrderId: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, advertiserId: str, insertionOrderId: str, **kwargs: typing.Any + ) -> InsertionOrderHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInsertionOrdersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInsertionOrdersResponseHttpRequest, + previous_response: ListInsertionOrdersResponse, + ) -> ListInsertionOrdersResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + insertionOrderId: str, + body: InsertionOrder = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> InsertionOrderHttpRequest: ... + + @typing.type_check_only + class InvoicesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + advertiserId: str, + issueMonth: str = ..., + loiSapinInvoiceType: typing_extensions.Literal[ + "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", + "LOI_SAPIN_INVOICE_TYPE_MEDIA", + "LOI_SAPIN_INVOICE_TYPE_PLATFORM", + ] = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInvoicesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInvoicesResponseHttpRequest, + previous_response: ListInvoicesResponse, + ) -> ListInvoicesResponseHttpRequest | None: ... + def lookupInvoiceCurrency( + self, + *, + advertiserId: str, + invoiceMonth: str = ..., + **kwargs: typing.Any, + ) -> LookupInvoiceCurrencyResponseHttpRequest: ... + + @typing.type_check_only + class LineItemsResource(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, + lineItemId: 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, + lineItemId: 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, + lineItemId: 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, + lineItemId: 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, + ) -> ListLineItemAssignedTargetingOptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLineItemAssignedTargetingOptionsResponseHttpRequest, + previous_response: ListLineItemAssignedTargetingOptionsResponse, + ) -> ( + ListLineItemAssignedTargetingOptionsResponseHttpRequest | None + ): ... + + def assignedTargetingOptions( + self, + ) -> AssignedTargetingOptionsResource: ... + + def bulkEditAssignedTargetingOptions( + self, + *, + advertiserId: str, + body: BulkEditAssignedTargetingOptionsRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditAssignedTargetingOptionsResponseHttpRequest: ... + def bulkListAssignedTargetingOptions( + self, + *, + advertiserId: str, + filter: str = ..., + lineItemIds: str | _list[str] = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> BulkListAssignedTargetingOptionsResponseHttpRequest: ... + def bulkListAssignedTargetingOptions_next( + self, + previous_request: BulkListAssignedTargetingOptionsResponseHttpRequest, + previous_response: BulkListAssignedTargetingOptionsResponse, + ) -> BulkListAssignedTargetingOptionsResponseHttpRequest | None: ... + def bulkUpdate( + self, + *, + advertiserId: str, + body: BulkUpdateLineItemsRequest = ..., + **kwargs: typing.Any, + ) -> BulkUpdateLineItemsResponseHttpRequest: ... + def create( + self, *, advertiserId: str, body: LineItem = ..., **kwargs: typing.Any + ) -> LineItemHttpRequest: ... + def delete( + self, *, advertiserId: str, lineItemId: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def duplicate( + self, + *, + advertiserId: str, + lineItemId: str, + body: DuplicateLineItemRequest = ..., + **kwargs: typing.Any, + ) -> DuplicateLineItemResponseHttpRequest: ... + def generateDefault( + self, + *, + advertiserId: str, + body: GenerateDefaultLineItemRequest = ..., + **kwargs: typing.Any, + ) -> LineItemHttpRequest: ... + def get( + self, *, advertiserId: str, lineItemId: str, **kwargs: typing.Any + ) -> LineItemHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLineItemsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLineItemsResponseHttpRequest, + previous_response: ListLineItemsResponse, + ) -> ListLineItemsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + lineItemId: str, + body: LineItem = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> LineItemHttpRequest: ... + def targetingTypes(self) -> TargetingTypesResource: ... + + @typing.type_check_only + class LocationListsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssignedLocationsResource(googleapiclient.discovery.Resource): + def bulkEdit( + self, + *, + advertiserId: str, + locationListId: str, + body: BulkEditAssignedLocationsRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditAssignedLocationsResponseHttpRequest: ... + def create( + self, + *, + advertiserId: str, + locationListId: str, + body: AssignedLocation = ..., + **kwargs: typing.Any, + ) -> AssignedLocationHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + locationListId: str, + assignedLocationId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + advertiserId: str, + locationListId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAssignedLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAssignedLocationsResponseHttpRequest, + previous_response: ListAssignedLocationsResponse, + ) -> ListAssignedLocationsResponseHttpRequest | None: ... + + def create( + self, + *, + advertiserId: str, + body: LocationList = ..., + **kwargs: typing.Any, + ) -> LocationListHttpRequest: ... + def get( + self, *, advertiserId: str, locationListId: str, **kwargs: typing.Any + ) -> LocationListHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationListsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationListsResponseHttpRequest, + previous_response: ListLocationListsResponse, + ) -> ListLocationListsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + locationListId: str, + body: LocationList = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> LocationListHttpRequest: ... + def assignedLocations(self) -> AssignedLocationsResource: ... + + @typing.type_check_only + class NegativeKeywordListsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NegativeKeywordsResource(googleapiclient.discovery.Resource): + def bulkEdit( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + body: BulkEditNegativeKeywordsRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditNegativeKeywordsResponseHttpRequest: ... + def create( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + body: NegativeKeyword = ..., + **kwargs: typing.Any, + ) -> NegativeKeywordHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + keywordValue: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListNegativeKeywordsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListNegativeKeywordsResponseHttpRequest, + previous_response: ListNegativeKeywordsResponse, + ) -> ListNegativeKeywordsResponseHttpRequest | None: ... + def replace( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + body: ReplaceNegativeKeywordsRequest = ..., + **kwargs: typing.Any, + ) -> ReplaceNegativeKeywordsResponseHttpRequest: ... + + def create( + self, + *, + advertiserId: str, + body: NegativeKeywordList = ..., + **kwargs: typing.Any, + ) -> NegativeKeywordListHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + **kwargs: typing.Any, + ) -> NegativeKeywordListHttpRequest: ... + def list( + self, + *, + advertiserId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListNegativeKeywordListsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListNegativeKeywordListsResponseHttpRequest, + previous_response: ListNegativeKeywordListsResponse, + ) -> ListNegativeKeywordListsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + negativeKeywordListId: str, + body: NegativeKeywordList = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> NegativeKeywordListHttpRequest: ... + def negativeKeywords(self) -> NegativeKeywordsResource: ... + + @typing.type_check_only + class TargetingTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssignedTargetingOptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + advertiserId: 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, + 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, + 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, + 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, + ) -> ListAdvertiserAssignedTargetingOptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdvertiserAssignedTargetingOptionsResponseHttpRequest, + previous_response: ListAdvertiserAssignedTargetingOptionsResponse, + ) -> ( + ListAdvertiserAssignedTargetingOptionsResponseHttpRequest | None + ): ... + + def assignedTargetingOptions(self) -> AssignedTargetingOptionsResource: ... + + def audit( + self, *, advertiserId: str, readMask: str = ..., **kwargs: typing.Any + ) -> AuditAdvertiserResponseHttpRequest: ... + def create( + self, *, body: Advertiser = ..., **kwargs: typing.Any + ) -> AdvertiserHttpRequest: ... + def delete( + self, *, advertiserId: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def editAssignedTargetingOptions( + self, + *, + advertiserId: str, + body: BulkEditAdvertiserAssignedTargetingOptionsRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditAdvertiserAssignedTargetingOptionsResponseHttpRequest: ... + def get( + self, *, advertiserId: str, **kwargs: typing.Any + ) -> AdvertiserHttpRequest: ... + def list( + self, + *, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListAdvertisersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdvertisersResponseHttpRequest, + previous_response: ListAdvertisersResponse, + ) -> ListAdvertisersResponseHttpRequest | None: ... + def listAssignedTargetingOptions( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> BulkListAdvertiserAssignedTargetingOptionsResponseHttpRequest: ... + def listAssignedTargetingOptions_next( + self, + previous_request: BulkListAdvertiserAssignedTargetingOptionsResponseHttpRequest, + previous_response: BulkListAdvertiserAssignedTargetingOptionsResponse, + ) -> BulkListAdvertiserAssignedTargetingOptionsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + body: Advertiser = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AdvertiserHttpRequest: ... + def adGroupAds(self) -> AdGroupAdsResource: ... + def adGroups(self) -> AdGroupsResource: ... + def assets(self) -> AssetsResource: ... + def campaigns(self) -> CampaignsResource: ... + def channels(self) -> ChannelsResource: ... + def creatives(self) -> CreativesResource: ... + def insertionOrders(self) -> InsertionOrdersResource: ... + def invoices(self) -> InvoicesResource: ... + def lineItems(self) -> LineItemsResource: ... + def locationLists(self) -> LocationListsResource: ... + def negativeKeywordLists(self) -> NegativeKeywordListsResource: ... + def targetingTypes(self) -> TargetingTypesResource: ... + + @typing.type_check_only + class CombinedAudiencesResource(googleapiclient.discovery.Resource): + def get( + self, + *, + combinedAudienceId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CombinedAudienceHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListCombinedAudiencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCombinedAudiencesResponseHttpRequest, + previous_response: ListCombinedAudiencesResponse, + ) -> ListCombinedAudiencesResponseHttpRequest | None: ... + + @typing.type_check_only + class CustomBiddingAlgorithmsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + customBiddingAlgorithmId: str, + body: CustomBiddingAlgorithmRules = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingAlgorithmRulesHttpRequest: ... + def get( + self, + *, + customBiddingAlgorithmId: str, + customBiddingAlgorithmRulesId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingAlgorithmRulesHttpRequest: ... + def list( + self, + *, + customBiddingAlgorithmId: str, + advertiserId: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListCustomBiddingAlgorithmRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomBiddingAlgorithmRulesResponseHttpRequest, + previous_response: ListCustomBiddingAlgorithmRulesResponse, + ) -> ListCustomBiddingAlgorithmRulesResponseHttpRequest | None: ... + + @typing.type_check_only + class ScriptsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + customBiddingAlgorithmId: str, + body: CustomBiddingScript = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingScriptHttpRequest: ... + def get( + self, + *, + customBiddingAlgorithmId: str, + customBiddingScriptId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingScriptHttpRequest: ... + def list( + self, + *, + customBiddingAlgorithmId: str, + advertiserId: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListCustomBiddingScriptsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomBiddingScriptsResponseHttpRequest, + previous_response: ListCustomBiddingScriptsResponse, + ) -> ListCustomBiddingScriptsResponseHttpRequest | None: ... + + def create( + self, *, body: CustomBiddingAlgorithm = ..., **kwargs: typing.Any + ) -> CustomBiddingAlgorithmHttpRequest: ... + def get( + self, + *, + customBiddingAlgorithmId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingAlgorithmHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListCustomBiddingAlgorithmsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomBiddingAlgorithmsResponseHttpRequest, + previous_response: ListCustomBiddingAlgorithmsResponse, + ) -> ListCustomBiddingAlgorithmsResponseHttpRequest | None: ... + def patch( + self, + *, + customBiddingAlgorithmId: str, + body: CustomBiddingAlgorithm = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingAlgorithmHttpRequest: ... + def uploadRules( + self, + *, + customBiddingAlgorithmId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingAlgorithmRulesRefHttpRequest: ... + def uploadScript( + self, + *, + customBiddingAlgorithmId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> CustomBiddingScriptRefHttpRequest: ... + def rules(self) -> RulesResource: ... + def scripts(self) -> ScriptsResource: ... + + @typing.type_check_only + class CustomListsResource(googleapiclient.discovery.Resource): + def get( + self, *, customListId: str, advertiserId: str = ..., **kwargs: typing.Any + ) -> CustomListHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCustomListsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomListsResponseHttpRequest, + previous_response: ListCustomListsResponse, + ) -> ListCustomListsResponseHttpRequest | None: ... + + @typing.type_check_only + class FirstPartyAndPartnerAudiencesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: FirstPartyAndPartnerAudience = ..., + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> FirstPartyAndPartnerAudienceHttpRequest: ... + def editCustomerMatchMembers( + self, + *, + firstPartyAndPartnerAudienceId: str, + body: EditCustomerMatchMembersRequest = ..., + **kwargs: typing.Any, + ) -> EditCustomerMatchMembersResponseHttpRequest: ... + def get( + self, + *, + firstPartyAndPartnerAudienceId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> FirstPartyAndPartnerAudienceHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListFirstPartyAndPartnerAudiencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFirstPartyAndPartnerAudiencesResponseHttpRequest, + previous_response: ListFirstPartyAndPartnerAudiencesResponse, + ) -> ListFirstPartyAndPartnerAudiencesResponseHttpRequest | None: ... + def patch( + self, + *, + firstPartyAndPartnerAudienceId: str, + body: FirstPartyAndPartnerAudience = ..., + advertiserId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> FirstPartyAndPartnerAudienceHttpRequest: ... + + @typing.type_check_only + class FloodlightGroupsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FloodlightActivitiesResource(googleapiclient.discovery.Resource): + def get( + self, + *, + floodlightGroupId: str, + floodlightActivityId: str, + partnerId: str = ..., + **kwargs: typing.Any, + ) -> FloodlightActivityHttpRequest: ... + def list( + self, + *, + floodlightGroupId: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListFloodlightActivitiesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFloodlightActivitiesResponseHttpRequest, + previous_response: ListFloodlightActivitiesResponse, + ) -> ListFloodlightActivitiesResponseHttpRequest | None: ... + + def get( + self, *, floodlightGroupId: str, partnerId: str = ..., **kwargs: typing.Any + ) -> FloodlightGroupHttpRequest: ... + def patch( + self, + *, + floodlightGroupId: str, + body: FloodlightGroup = ..., + partnerId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> FloodlightGroupHttpRequest: ... + def floodlightActivities(self) -> FloodlightActivitiesResource: ... + + @typing.type_check_only + class GoogleAudiencesResource(googleapiclient.discovery.Resource): + def get( + self, + *, + googleAudienceId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> GoogleAudienceHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListGoogleAudiencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGoogleAudiencesResponseHttpRequest, + previous_response: ListGoogleAudiencesResponse, + ) -> ListGoogleAudiencesResponseHttpRequest | None: ... + + @typing.type_check_only + class GuaranteedOrdersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: GuaranteedOrder = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> GuaranteedOrderHttpRequest: ... + def editGuaranteedOrderReadAccessors( + self, + *, + guaranteedOrderId: str, + body: EditGuaranteedOrderReadAccessorsRequest = ..., + **kwargs: typing.Any, + ) -> EditGuaranteedOrderReadAccessorsResponseHttpRequest: ... + def get( + self, + *, + guaranteedOrderId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> GuaranteedOrderHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListGuaranteedOrdersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGuaranteedOrdersResponseHttpRequest, + previous_response: ListGuaranteedOrdersResponse, + ) -> ListGuaranteedOrdersResponseHttpRequest | None: ... + def patch( + self, + *, + guaranteedOrderId: str, + body: GuaranteedOrder = ..., + advertiserId: str = ..., + partnerId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GuaranteedOrderHttpRequest: ... + + @typing.type_check_only + class InventorySourceGroupsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssignedInventorySourcesResource(googleapiclient.discovery.Resource): + def bulkEdit( + self, + *, + inventorySourceGroupId: str, + body: BulkEditAssignedInventorySourcesRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditAssignedInventorySourcesResponseHttpRequest: ... + def create( + self, + *, + inventorySourceGroupId: str, + body: AssignedInventorySource = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> AssignedInventorySourceHttpRequest: ... + def delete( + self, + *, + inventorySourceGroupId: str, + assignedInventorySourceId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + inventorySourceGroupId: str, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListAssignedInventorySourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAssignedInventorySourcesResponseHttpRequest, + previous_response: ListAssignedInventorySourcesResponse, + ) -> ListAssignedInventorySourcesResponseHttpRequest | None: ... + + def create( + self, + *, + body: InventorySourceGroup = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceGroupHttpRequest: ... + def delete( + self, + *, + inventorySourceGroupId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + inventorySourceGroupId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceGroupHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListInventorySourceGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInventorySourceGroupsResponseHttpRequest, + previous_response: ListInventorySourceGroupsResponse, + ) -> ListInventorySourceGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + inventorySourceGroupId: str, + body: InventorySourceGroup = ..., + advertiserId: str = ..., + partnerId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceGroupHttpRequest: ... + def assignedInventorySources(self) -> AssignedInventorySourcesResource: ... + + @typing.type_check_only + class InventorySourcesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + body: InventorySource = ..., + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceHttpRequest: ... + def editInventorySourceReadWriteAccessors( + self, + *, + inventorySourceId: str, + body: EditInventorySourceReadWriteAccessorsRequest = ..., + **kwargs: typing.Any, + ) -> InventorySourceAccessorsHttpRequest: ... + def get( + self, + *, + inventorySourceId: str, + advertiserId: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceHttpRequest: ... + def list( + self, + *, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + partnerId: str = ..., + **kwargs: typing.Any, + ) -> ListInventorySourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInventorySourcesResponseHttpRequest, + previous_response: ListInventorySourcesResponse, + ) -> ListInventorySourcesResponseHttpRequest | None: ... + def patch( + self, + *, + inventorySourceId: str, + body: InventorySource = ..., + advertiserId: str = ..., + partnerId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> InventorySourceHttpRequest: ... + @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): def download( @@ -29,6 +1827,386 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleBytestreamMediaHttpRequest: ... + @typing.type_check_only + class PartnersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChannelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SitesResource(googleapiclient.discovery.Resource): + def bulkEdit( + self, + *, + partnerId: str, + channelId: str, + body: BulkEditSitesRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditSitesResponseHttpRequest: ... + def create( + self, + *, + partnerId: str, + channelId: str, + body: Site = ..., + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> SiteHttpRequest: ... + def delete( + self, + *, + partnerId: str, + channelId: str, + urlOrAppId: str, + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + partnerId: str, + channelId: str, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSitesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSitesResponseHttpRequest, + previous_response: ListSitesResponse, + ) -> ListSitesResponseHttpRequest | None: ... + def replace( + self, + *, + partnerId: str, + channelId: str, + body: ReplaceSitesRequest = ..., + **kwargs: typing.Any, + ) -> ReplaceSitesResponseHttpRequest: ... + + def create( + self, + *, + partnerId: str, + body: Channel = ..., + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def get( + self, + *, + partnerId: str, + channelId: str, + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def list( + self, + *, + partnerId: str, + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListChannelsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListChannelsResponseHttpRequest, + previous_response: ListChannelsResponse, + ) -> ListChannelsResponseHttpRequest | None: ... + def patch( + self, + *, + partnerId: str, + channelId: str, + body: Channel = ..., + advertiserId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ChannelHttpRequest: ... + def sites(self) -> SitesResource: ... + + @typing.type_check_only + class TargetingTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssignedTargetingOptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + partnerId: 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, + *, + partnerId: 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, + *, + partnerId: 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, + *, + partnerId: 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, + ) -> ListPartnerAssignedTargetingOptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPartnerAssignedTargetingOptionsResponseHttpRequest, + previous_response: ListPartnerAssignedTargetingOptionsResponse, + ) -> ListPartnerAssignedTargetingOptionsResponseHttpRequest | None: ... + + def assignedTargetingOptions(self) -> AssignedTargetingOptionsResource: ... + + def editAssignedTargetingOptions( + self, + *, + partnerId: str, + body: BulkEditPartnerAssignedTargetingOptionsRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditPartnerAssignedTargetingOptionsResponseHttpRequest: ... + def get( + self, *, partnerId: str, **kwargs: typing.Any + ) -> PartnerHttpRequest: ... + def list( + self, + *, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListPartnersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPartnersResponseHttpRequest, + previous_response: ListPartnersResponse, + ) -> ListPartnersResponseHttpRequest | None: ... + def channels(self) -> ChannelsResource: ... + def targetingTypes(self) -> TargetingTypesResource: ... + @typing.type_check_only class SdfdownloadtasksResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -37,8 +2215,254 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def create( + self, *, body: CreateSdfDownloadTaskRequest = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SdfuploadtasksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class TargetingTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class TargetingOptionsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + 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", + ], + targetingOptionId: str, + advertiserId: str = ..., + **kwargs: typing.Any, + ) -> TargetingOptionHttpRequest: ... + def list( + self, + *, + 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", + ], + advertiserId: str = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListTargetingOptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTargetingOptionsResponseHttpRequest, + previous_response: ListTargetingOptionsResponse, + ) -> ListTargetingOptionsResponseHttpRequest | None: ... + def search( + self, + *, + 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: SearchTargetingOptionsRequest = ..., + **kwargs: typing.Any, + ) -> SearchTargetingOptionsResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchTargetingOptionsResponseHttpRequest, + previous_response: SearchTargetingOptionsResponse, + ) -> SearchTargetingOptionsResponseHttpRequest | None: ... + + def targetingOptions(self) -> TargetingOptionsResource: ... + + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def bulkEditAssignedUserRoles( + self, + *, + userId: str, + body: BulkEditAssignedUserRolesRequest = ..., + **kwargs: typing.Any, + ) -> BulkEditAssignedUserRolesResponseHttpRequest: ... + def create( + self, *, body: User = ..., **kwargs: typing.Any + ) -> UserHttpRequest: ... + def delete(self, *, userId: str, **kwargs: typing.Any) -> EmptyHttpRequest: ... + def get(self, *, userId: str, **kwargs: typing.Any) -> UserHttpRequest: ... + def list( + self, + *, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUsersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUsersResponseHttpRequest, + previous_response: ListUsersResponse, + ) -> ListUsersResponseHttpRequest | None: ... + def patch( + self, + *, + userId: str, + body: User = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -51,24 +2475,772 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def advertisers(self) -> AdvertisersResource: ... + def combinedAudiences(self) -> CombinedAudiencesResource: ... + def customBiddingAlgorithms(self) -> CustomBiddingAlgorithmsResource: ... + def customLists(self) -> CustomListsResource: ... + def firstPartyAndPartnerAudiences( + self, + ) -> FirstPartyAndPartnerAudiencesResource: ... + def floodlightGroups(self) -> FloodlightGroupsResource: ... + def googleAudiences(self) -> GoogleAudiencesResource: ... + def guaranteedOrders(self) -> GuaranteedOrdersResource: ... + def inventorySourceGroups(self) -> InventorySourceGroupsResource: ... + def inventorySources(self) -> InventorySourcesResource: ... def media(self) -> MediaResource: ... + def partners(self) -> PartnersResource: ... def sdfdownloadtasks(self) -> SdfdownloadtasksResource: ... + def sdfuploadtasks(self) -> SdfuploadtasksResource: ... + def targetingTypes(self) -> TargetingTypesResource: ... + def users(self) -> UsersResource: ... @typing.type_check_only -class GoogleBytestreamMediaHttpRequest(googleapiclient.http.HttpRequest): +class AdGroupHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleBytestreamMedia: ... + ) -> AdGroup: ... @typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): +class AdGroupAdHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Operation: ... + ) -> AdGroupAd: ... + +@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 AssignedInventorySourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AssignedInventorySource: ... + +@typing.type_check_only +class AssignedLocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AssignedLocation: ... + +@typing.type_check_only +class AssignedTargetingOptionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AssignedTargetingOption: ... + +@typing.type_check_only +class AuditAdvertiserResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AuditAdvertiserResponse: ... + +@typing.type_check_only +class BulkEditAdvertiserAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditAdvertiserAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkEditAssignedInventorySourcesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditAssignedInventorySourcesResponse: ... + +@typing.type_check_only +class BulkEditAssignedLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditAssignedLocationsResponse: ... + +@typing.type_check_only +class BulkEditAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkEditAssignedUserRolesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditAssignedUserRolesResponse: ... + +@typing.type_check_only +class BulkEditNegativeKeywordsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditNegativeKeywordsResponse: ... + +@typing.type_check_only +class BulkEditPartnerAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditPartnerAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkEditSitesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkEditSitesResponse: ... + +@typing.type_check_only +class BulkListAdGroupAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkListAdGroupAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkListAdvertiserAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkListAdvertiserAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkListAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkListAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class BulkUpdateLineItemsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkUpdateLineItemsResponse: ... + +@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 ChannelHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Channel: ... + +@typing.type_check_only +class CombinedAudienceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CombinedAudience: ... + +@typing.type_check_only +class CreateAssetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreateAssetResponse: ... + +@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 CustomBiddingAlgorithmHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomBiddingAlgorithm: ... + +@typing.type_check_only +class CustomBiddingAlgorithmRulesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomBiddingAlgorithmRules: ... + +@typing.type_check_only +class CustomBiddingAlgorithmRulesRefHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomBiddingAlgorithmRulesRef: ... + +@typing.type_check_only +class CustomBiddingScriptHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomBiddingScript: ... + +@typing.type_check_only +class CustomBiddingScriptRefHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomBiddingScriptRef: ... + +@typing.type_check_only +class CustomListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomList: ... + +@typing.type_check_only +class DuplicateLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DuplicateLineItemResponse: ... + +@typing.type_check_only +class EditCustomerMatchMembersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EditCustomerMatchMembersResponse: ... + +@typing.type_check_only +class EditGuaranteedOrderReadAccessorsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EditGuaranteedOrderReadAccessorsResponse: ... + +@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 FirstPartyAndPartnerAudienceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FirstPartyAndPartnerAudience: ... + +@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 FloodlightGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FloodlightGroup: ... + +@typing.type_check_only +class GoogleAudienceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAudience: ... + +@typing.type_check_only +class GoogleBytestreamMediaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleBytestreamMedia: ... + +@typing.type_check_only +class GuaranteedOrderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GuaranteedOrder: ... + +@typing.type_check_only +class InsertionOrderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InsertionOrder: ... + +@typing.type_check_only +class InventorySourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InventorySource: ... + +@typing.type_check_only +class InventorySourceAccessorsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InventorySourceAccessors: ... + +@typing.type_check_only +class InventorySourceGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InventorySourceGroup: ... + +@typing.type_check_only +class LineItemHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LineItem: ... + +@typing.type_check_only +class ListAdGroupAdsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdGroupAdsResponse: ... + +@typing.type_check_only +class ListAdGroupAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdGroupAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class ListAdGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdGroupsResponse: ... + +@typing.type_check_only +class ListAdvertiserAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdvertiserAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class ListAdvertisersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdvertisersResponse: ... + +@typing.type_check_only +class ListAssignedInventorySourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAssignedInventorySourcesResponse: ... + +@typing.type_check_only +class ListAssignedLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAssignedLocationsResponse: ... + +@typing.type_check_only +class ListCampaignsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCampaignsResponse: ... + +@typing.type_check_only +class ListChannelsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListChannelsResponse: ... + +@typing.type_check_only +class ListCombinedAudiencesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCombinedAudiencesResponse: ... + +@typing.type_check_only +class ListCreativesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCreativesResponse: ... + +@typing.type_check_only +class ListCustomBiddingAlgorithmRulesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomBiddingAlgorithmRulesResponse: ... + +@typing.type_check_only +class ListCustomBiddingAlgorithmsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomBiddingAlgorithmsResponse: ... + +@typing.type_check_only +class ListCustomBiddingScriptsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomBiddingScriptsResponse: ... + +@typing.type_check_only +class ListCustomListsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomListsResponse: ... + +@typing.type_check_only +class ListFirstPartyAndPartnerAudiencesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListFirstPartyAndPartnerAudiencesResponse: ... + +@typing.type_check_only +class ListFloodlightActivitiesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListFloodlightActivitiesResponse: ... + +@typing.type_check_only +class ListGoogleAudiencesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGoogleAudiencesResponse: ... + +@typing.type_check_only +class ListGuaranteedOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGuaranteedOrdersResponse: ... + +@typing.type_check_only +class ListInsertionOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInsertionOrdersResponse: ... + +@typing.type_check_only +class ListInventorySourceGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInventorySourceGroupsResponse: ... + +@typing.type_check_only +class ListInventorySourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInventorySourcesResponse: ... + +@typing.type_check_only +class ListInvoicesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInvoicesResponse: ... + +@typing.type_check_only +class ListLineItemAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLineItemAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class ListLineItemsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLineItemsResponse: ... + +@typing.type_check_only +class ListLocationListsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationListsResponse: ... + +@typing.type_check_only +class ListNegativeKeywordListsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListNegativeKeywordListsResponse: ... + +@typing.type_check_only +class ListNegativeKeywordsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListNegativeKeywordsResponse: ... + +@typing.type_check_only +class ListPartnerAssignedTargetingOptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPartnerAssignedTargetingOptionsResponse: ... + +@typing.type_check_only +class ListPartnersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPartnersResponse: ... + +@typing.type_check_only +class ListSitesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSitesResponse: ... + +@typing.type_check_only +class ListTargetingOptionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTargetingOptionsResponse: ... + +@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 LocationListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LocationList: ... + +@typing.type_check_only +class LookupInvoiceCurrencyResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LookupInvoiceCurrencyResponse: ... + +@typing.type_check_only +class NegativeKeywordHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NegativeKeyword: ... + +@typing.type_check_only +class NegativeKeywordListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NegativeKeywordList: ... + +@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 PartnerHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Partner: ... + +@typing.type_check_only +class ReplaceNegativeKeywordsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReplaceNegativeKeywordsResponse: ... + +@typing.type_check_only +class ReplaceSitesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReplaceSitesResponse: ... + +@typing.type_check_only +class SearchTargetingOptionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchTargetingOptionsResponse: ... + +@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 TargetingOptionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TargetingOption: ... + +@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: ... @typing.type_check_only class BytesHttpRequest(googleapiclient.http.HttpRequest): diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 251ecadb..f84d7066 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -4,10 +4,3861 @@ import typing_extensions _list = list +@typing.type_check_only +class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total=False): + displayName: str + minimumDuration: typing_extensions.Literal[ + "VIDEO_DURATION_UNSPECIFIED", + "VIDEO_DURATION_SECONDS_NONE", + "VIDEO_DURATION_SECONDS_0", + "VIDEO_DURATION_SECONDS_1", + "VIDEO_DURATION_SECONDS_2", + "VIDEO_DURATION_SECONDS_3", + "VIDEO_DURATION_SECONDS_4", + "VIDEO_DURATION_SECONDS_5", + "VIDEO_DURATION_SECONDS_6", + "VIDEO_DURATION_SECONDS_7", + "VIDEO_DURATION_SECONDS_8", + "VIDEO_DURATION_SECONDS_9", + "VIDEO_DURATION_SECONDS_10", + "VIDEO_DURATION_SECONDS_11", + "VIDEO_DURATION_SECONDS_12", + "VIDEO_DURATION_SECONDS_13", + "VIDEO_DURATION_SECONDS_14", + "VIDEO_DURATION_SECONDS_15", + "VIDEO_DURATION_SECONDS_30", + "VIDEO_DURATION_SECONDS_45", + "VIDEO_DURATION_SECONDS_60", + ] + minimumQuartile: typing_extensions.Literal[ + "VIDEO_DURATION_QUARTILE_UNSPECIFIED", + "VIDEO_DURATION_QUARTILE_NONE", + "VIDEO_DURATION_QUARTILE_FIRST", + "VIDEO_DURATION_QUARTILE_SECOND", + "VIDEO_DURATION_QUARTILE_THIRD", + "VIDEO_DURATION_QUARTILE_FOURTH", + ] + minimumViewability: typing_extensions.Literal[ + "VIEWABILITY_PERCENT_UNSPECIFIED", + "VIEWABILITY_PERCENT_0", + "VIEWABILITY_PERCENT_25", + "VIEWABILITY_PERCENT_50", + "VIEWABILITY_PERCENT_75", + "VIEWABILITY_PERCENT_100", + ] + minimumVolume: typing_extensions.Literal[ + "VIDEO_VOLUME_PERCENT_UNSPECIFIED", + "VIDEO_VOLUME_PERCENT_0", + "VIDEO_VOLUME_PERCENT_10", + ] + +@typing.type_check_only +class AdGroup(typing_extensions.TypedDict, total=False): + adGroupFormat: typing_extensions.Literal[ + "AD_GROUP_FORMAT_UNSPECIFIED", + "AD_GROUP_FORMAT_IN_STREAM", + "AD_GROUP_FORMAT_VIDEO_DISCOVERY", + "AD_GROUP_FORMAT_BUMPER", + "AD_GROUP_FORMAT_NON_SKIPPABLE_IN_STREAM", + "AD_GROUP_FORMAT_AUDIO", + "AD_GROUP_FORMAT_RESPONSIVE", + "AD_GROUP_FORMAT_REACH", + "AD_GROUP_FORMAT_MASTHEAD", + "AD_GROUP_FORMAT_DEMAND_GEN", + ] + adGroupId: str + advertiserId: str + bidStrategy: BiddingStrategy + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + lineItemId: str + name: str + productFeedData: ProductFeedData + targetingExpansion: TargetingExpansionConfig + +@typing.type_check_only +class AdGroupAd(typing_extensions.TypedDict, total=False): + adGroupAdId: str + adGroupId: str + adUrls: _list[AdUrl] + advertiserId: str + audioAd: AudioAd + bumperAd: BumperAd + displayName: str + displayVideoSourceAd: DisplayVideoSourceAd + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + inStreamAd: InStreamAd + mastheadAd: MastheadAd + name: str + nonSkippableAd: NonSkippableAd + videoDiscoverAd: VideoDiscoveryAd + videoPerformanceAd: VideoPerformanceAd + +@typing.type_check_only +class AdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): + adGroupId: str + assignedTargetingOption: AssignedTargetingOption + +@typing.type_check_only +class AdUrl(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "AD_URL_TYPE_UNSPECIFIED", + "AD_URL_TYPE_BEACON_IMPRESSION", + "AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", + "AD_URL_TYPE_BEACON_CLICK", + "AD_URL_TYPE_BEACON_SKIP", + ] + url: str + +@typing.type_check_only +class Adloox(typing_extensions.TypedDict, total=False): + adultExplicitSexualContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + armsAmmunitionContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent: ( + typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + ) + deathInjuryMilitaryConflictContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + debatedSensitiveSocialIssueContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + displayIabViewability: typing_extensions.Literal[ + "DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", + "DISPLAY_IAB_VIEWABILITY_10", + "DISPLAY_IAB_VIEWABILITY_20", + "DISPLAY_IAB_VIEWABILITY_35", + "DISPLAY_IAB_VIEWABILITY_50", + "DISPLAY_IAB_VIEWABILITY_75", + ] + excludedAdlooxCategories: _list[ + typing_extensions.Literal[ + "ADLOOX_UNSPECIFIED", + "ADULT_CONTENT_HARD", + "ADULT_CONTENT_SOFT", + "ILLEGAL_CONTENT", + "BORDERLINE_CONTENT", + "DISCRIMINATORY_CONTENT", + "VIOLENT_CONTENT_WEAPONS", + "LOW_VIEWABILITY_DOMAINS", + "FRAUD", + ] + ] + excludedFraudIvtMfaCategories: _list[ + typing_extensions.Literal["FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA"] + ] + hateSpeechActsAggressionContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + illegalDrugsTobaccoEcigarettesVapingAlcoholContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + misinformationContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + obscenityProfanityContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + onlinePiracyContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + spamHarmfulContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + terrorismContent: typing_extensions.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + videoIabViewability: typing_extensions.Literal[ + "VIDEO_IAB_VIEWABILITY_UNSPECIFIED", + "VIDEO_IAB_VIEWABILITY_10", + "VIDEO_IAB_VIEWABILITY_20", + "VIDEO_IAB_VIEWABILITY_35", + "VIDEO_IAB_VIEWABILITY_50", + "VIDEO_IAB_VIEWABILITY_75", + ] + +@typing.type_check_only +class Advertiser(typing_extensions.TypedDict, total=False): + adServerConfig: AdvertiserAdServerConfig + advertiserId: str + billingConfig: AdvertiserBillingConfig + creativeConfig: AdvertiserCreativeConfig + dataAccessConfig: AdvertiserDataAccessConfig + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + generalConfig: AdvertiserGeneralConfig + integrationDetails: IntegrationDetails + name: str + partnerId: str + prismaEnabled: bool + servingConfig: AdvertiserTargetingConfig + updateTime: str + +@typing.type_check_only +class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): + cmHybridConfig: CmHybridConfig + thirdPartyOnlyConfig: ThirdPartyOnlyConfig + +@typing.type_check_only +class AdvertiserBillingConfig(typing_extensions.TypedDict, total=False): + billingProfileId: str + +@typing.type_check_only +class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): + dynamicCreativeEnabled: bool + iasClientId: str + obaComplianceDisabled: bool + videoCreativeDataSharingAuthorized: bool + +@typing.type_check_only +class AdvertiserDataAccessConfig(typing_extensions.TypedDict, total=False): + sdfConfig: AdvertiserSdfConfig + +@typing.type_check_only +class AdvertiserGeneralConfig(typing_extensions.TypedDict, total=False): + currencyCode: str + domainUrl: str + timeZone: str + +@typing.type_check_only +class AdvertiserSdfConfig(typing_extensions.TypedDict, total=False): + overridePartnerSdfConfig: bool + sdfConfig: SdfConfig + +@typing.type_check_only +class AdvertiserTargetingConfig(typing_extensions.TypedDict, total=False): + exemptTvFromViewabilityTargeting: bool + +@typing.type_check_only +class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + ageRange: typing_extensions.Literal[ + "AGE_RANGE_UNSPECIFIED", + "AGE_RANGE_18_24", + "AGE_RANGE_25_34", + "AGE_RANGE_35_44", + "AGE_RANGE_45_54", + "AGE_RANGE_55_64", + "AGE_RANGE_65_PLUS", + "AGE_RANGE_UNKNOWN", + "AGE_RANGE_18_20", + "AGE_RANGE_21_24", + "AGE_RANGE_25_29", + "AGE_RANGE_30_34", + "AGE_RANGE_35_39", + "AGE_RANGE_40_44", + "AGE_RANGE_45_49", + "AGE_RANGE_50_54", + "AGE_RANGE_55_59", + "AGE_RANGE_60_64", + ] + +@typing.type_check_only +class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + ageRange: typing_extensions.Literal[ + "AGE_RANGE_UNSPECIFIED", + "AGE_RANGE_18_24", + "AGE_RANGE_25_34", + "AGE_RANGE_35_44", + "AGE_RANGE_45_54", + "AGE_RANGE_55_64", + "AGE_RANGE_65_PLUS", + "AGE_RANGE_UNKNOWN", + "AGE_RANGE_18_20", + "AGE_RANGE_21_24", + "AGE_RANGE_25_29", + "AGE_RANGE_30_34", + "AGE_RANGE_35_39", + "AGE_RANGE_40_44", + "AGE_RANGE_45_49", + "AGE_RANGE_50_54", + "AGE_RANGE_55_59", + "AGE_RANGE_60_64", + ] + +@typing.type_check_only +class AlgorithmRules(typing_extensions.TypedDict, total=False): + attributionModelId: str + impressionSignalRuleset: AlgorithmRulesRuleset + postImpressionSignalRuleset: AlgorithmRulesRuleset + +@typing.type_check_only +class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): + boolValue: bool + creativeDimensionValue: Dimensions + dayAndTimeValue: DayAndTime + deviceTypeValue: typing_extensions.Literal[ + "RULE_DEVICE_TYPE_UNSPECIFIED", + "RULE_DEVICE_TYPE_COMPUTER", + "RULE_DEVICE_TYPE_CONNECTED_TV", + "RULE_DEVICE_TYPE_SMART_PHONE", + "RULE_DEVICE_TYPE_TABLET", + "RULE_DEVICE_TYPE_CONNECTED_DEVICE", + "RULE_DEVICE_TYPE_SET_TOP_BOX", + ] + doubleValue: float + environmentValue: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", + "ENVIRONMENT_WEB_OPTIMIZED", + "ENVIRONMENT_WEB_NOT_OPTIMIZED", + "ENVIRONMENT_APP", + ] + exchangeValue: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + int64Value: str + onScreenPositionValue: typing_extensions.Literal[ + "ON_SCREEN_POSITION_UNSPECIFIED", + "ON_SCREEN_POSITION_UNKNOWN", + "ON_SCREEN_POSITION_ABOVE_THE_FOLD", + "ON_SCREEN_POSITION_BELOW_THE_FOLD", + ] + stringValue: str + videoPlayerSizeValue: typing_extensions.Literal[ + "VIDEO_PLAYER_SIZE_UNSPECIFIED", + "VIDEO_PLAYER_SIZE_SMALL", + "VIDEO_PLAYER_SIZE_LARGE", + "VIDEO_PLAYER_SIZE_HD", + "VIDEO_PLAYER_SIZE_UNKNOWN", + ] + +@typing.type_check_only +class AlgorithmRulesFloodlightActivityConversionSignal( + typing_extensions.TypedDict, total=False +): + conversionCounting: typing_extensions.Literal[ + "CONVERSION_COUNTING_UNSPECIFIED", "ALL_CONVERSIONS", "POST_CLICK", "POST_VIEW" + ] + countingMethod: typing_extensions.Literal[ + "COUNTING_METHOD_UNSPECIFIED", + "CONVERSIONS_COUNT", + "SALES_QUANTITY", + "SALES_VALUE", + "UNIQUE_COUNT", + ] + floodlightActivityId: str + +@typing.type_check_only +class AlgorithmRulesRule(typing_extensions.TypedDict, total=False): + conditions: _list[AlgorithmRulesRuleCondition] + defaultReturnValue: AlgorithmRulesSignalValue + +@typing.type_check_only +class AlgorithmRulesRuleCondition(typing_extensions.TypedDict, total=False): + returnValue: AlgorithmRulesSignalValue + signalComparisons: _list[AlgorithmRulesSignalComparison] + +@typing.type_check_only +class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): + aggregationType: typing_extensions.Literal[ + "RULE_AGGREGATION_TYPE_UNSPECIFIED", + "SUM_OF_VALUES", + "PRODUCT_OF_VALUES", + "MAXIMUM_VALUE", + ] + maxValue: float + rules: _list[AlgorithmRulesRule] + +@typing.type_check_only +class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): + activeViewSignal: typing_extensions.Literal[ + "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", + "ACTIVE_VIEW_VIEWED", + "AUDIBLE", + "VIDEO_COMPLETED", + "TIME_ON_SCREEN", + "VIDEO_PLAYER_SIZE", + "COMPLETED_IN_VIEW_AUDIBLE", + ] + clickSignal: typing_extensions.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] + impressionSignal: typing_extensions.Literal[ + "IMPRESSION_SIGNAL_UNSPECIFIED", + "DAY_AND_TIME", + "DEVICE_TYPE", + "AD_POSITION", + "OPERATING_SYSTEM_ID", + "MOBILE_MODEL_ID", + "EXCHANGE", + "ENVIRONMENT", + "COUNTRY_ID", + "CITY_ID", + "BROWSER_ID", + "CREATIVE_DIMENSION", + ] + +@typing.type_check_only +class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): + comparisonOperator: typing_extensions.Literal[ + "COMPARISON_OPERATOR_UNSPECIFIED", + "EQUAL", + "GREATER_THAN", + "LESS_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN_OR_EQUAL_TO", + ] + comparisonValue: AlgorithmRulesComparisonValue + signal: AlgorithmRulesSignal + +@typing.type_check_only +class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): + activeViewSignal: typing_extensions.Literal[ + "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", + "ACTIVE_VIEW_VIEWED", + "AUDIBLE", + "VIDEO_COMPLETED", + "TIME_ON_SCREEN", + "VIDEO_PLAYER_SIZE", + "COMPLETED_IN_VIEW_AUDIBLE", + ] + floodlightActivityConversionSignal: AlgorithmRulesFloodlightActivityConversionSignal + number: float + +@typing.type_check_only +class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + appId: str + appPlatform: typing_extensions.Literal[ + "APP_PLATFORM_UNSPECIFIED", + "APP_PLATFORM_IOS", + "APP_PLATFORM_ANDROID", + "APP_PLATFORM_ROKU", + "APP_PLATFORM_AMAZON_FIRETV", + "APP_PLATFORM_PLAYSTATION", + "APP_PLATFORM_APPLE_TV", + "APP_PLATFORM_XBOX", + "APP_PLATFORM_SAMSUNG_TV", + "APP_PLATFORM_ANDROID_TV", + "APP_PLATFORM_GENERIC_CTV", + "APP_PLATFORM_LG_TV", + "APP_PLATFORM_VIZIO_TV", + ] + displayName: str + negative: bool + +@typing.type_check_only +class AppCategoryAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class AppCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class Asset(typing_extensions.TypedDict, total=False): + content: str + mediaId: str + +@typing.type_check_only +class AssetAssociation(typing_extensions.TypedDict, total=False): + asset: Asset + role: typing_extensions.Literal[ + "ASSET_ROLE_UNSPECIFIED", + "ASSET_ROLE_MAIN", + "ASSET_ROLE_BACKUP", + "ASSET_ROLE_POLITE_LOAD", + "ASSET_ROLE_HEADLINE", + "ASSET_ROLE_LONG_HEADLINE", + "ASSET_ROLE_BODY", + "ASSET_ROLE_LONG_BODY", + "ASSET_ROLE_CAPTION_URL", + "ASSET_ROLE_CALL_TO_ACTION", + "ASSET_ROLE_ADVERTISER_NAME", + "ASSET_ROLE_PRICE", + "ASSET_ROLE_ANDROID_APP_ID", + "ASSET_ROLE_IOS_APP_ID", + "ASSET_ROLE_RATING", + "ASSET_ROLE_ICON", + "ASSET_ROLE_COVER_IMAGE", + "ASSET_ROLE_BACKGROUND_COLOR", + "ASSET_ROLE_ACCENT_COLOR", + "ASSET_ROLE_REQUIRE_LOGO", + "ASSET_ROLE_REQUIRE_IMAGE", + "ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS", + ] + +@typing.type_check_only +class AssignedInventorySource(typing_extensions.TypedDict, total=False): + assignedInventorySourceId: str + inventorySourceId: str + name: str + +@typing.type_check_only +class AssignedLocation(typing_extensions.TypedDict, total=False): + assignedLocationId: str + name: str + targetingOptionId: str + +@typing.type_check_only +class AssignedTargetingOption(typing_extensions.TypedDict, total=False): + ageRangeDetails: AgeRangeAssignedTargetingOptionDetails + appCategoryDetails: AppCategoryAssignedTargetingOptionDetails + appDetails: AppAssignedTargetingOptionDetails + assignedTargetingOptionId: str + assignedTargetingOptionIdAlias: str + audienceGroupDetails: AudienceGroupAssignedTargetingOptionDetails + audioContentTypeDetails: AudioContentTypeAssignedTargetingOptionDetails + authorizedSellerStatusDetails: AuthorizedSellerStatusAssignedTargetingOptionDetails + browserDetails: BrowserAssignedTargetingOptionDetails + businessChainDetails: BusinessChainAssignedTargetingOptionDetails + carrierAndIspDetails: CarrierAndIspAssignedTargetingOptionDetails + categoryDetails: CategoryAssignedTargetingOptionDetails + channelDetails: ChannelAssignedTargetingOptionDetails + contentDurationDetails: ContentDurationAssignedTargetingOptionDetails + contentGenreDetails: ContentGenreAssignedTargetingOptionDetails + contentInstreamPositionDetails: ( + ContentInstreamPositionAssignedTargetingOptionDetails + ) + contentOutstreamPositionDetails: ( + ContentOutstreamPositionAssignedTargetingOptionDetails + ) + contentStreamTypeDetails: ContentStreamTypeAssignedTargetingOptionDetails + contentThemeExclusionDetails: ContentThemeAssignedTargetingOptionDetails + dayAndTimeDetails: DayAndTimeAssignedTargetingOptionDetails + deviceMakeModelDetails: DeviceMakeModelAssignedTargetingOptionDetails + deviceTypeDetails: DeviceTypeAssignedTargetingOptionDetails + digitalContentLabelExclusionDetails: ( + DigitalContentLabelAssignedTargetingOptionDetails + ) + environmentDetails: EnvironmentAssignedTargetingOptionDetails + exchangeDetails: ExchangeAssignedTargetingOptionDetails + genderDetails: GenderAssignedTargetingOptionDetails + geoRegionDetails: GeoRegionAssignedTargetingOptionDetails + householdIncomeDetails: HouseholdIncomeAssignedTargetingOptionDetails + inheritance: typing_extensions.Literal[ + "INHERITANCE_UNSPECIFIED", + "NOT_INHERITED", + "INHERITED_FROM_PARTNER", + "INHERITED_FROM_ADVERTISER", + ] + inventorySourceDetails: InventorySourceAssignedTargetingOptionDetails + inventorySourceGroupDetails: InventorySourceGroupAssignedTargetingOptionDetails + keywordDetails: KeywordAssignedTargetingOptionDetails + languageDetails: LanguageAssignedTargetingOptionDetails + name: str + nativeContentPositionDetails: NativeContentPositionAssignedTargetingOptionDetails + negativeKeywordListDetails: NegativeKeywordListAssignedTargetingOptionDetails + omidDetails: OmidAssignedTargetingOptionDetails + onScreenPositionDetails: OnScreenPositionAssignedTargetingOptionDetails + operatingSystemDetails: OperatingSystemAssignedTargetingOptionDetails + parentalStatusDetails: ParentalStatusAssignedTargetingOptionDetails + poiDetails: PoiAssignedTargetingOptionDetails + proximityLocationListDetails: ProximityLocationListAssignedTargetingOptionDetails + regionalLocationListDetails: RegionalLocationListAssignedTargetingOptionDetails + sensitiveCategoryExclusionDetails: SensitiveCategoryAssignedTargetingOptionDetails + sessionPositionDetails: SessionPositionAssignedTargetingOptionDetails + subExchangeDetails: SubExchangeAssignedTargetingOptionDetails + 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", + ] + thirdPartyVerifierDetails: ThirdPartyVerifierAssignedTargetingOptionDetails + urlDetails: UrlAssignedTargetingOptionDetails + userRewardedContentDetails: UserRewardedContentAssignedTargetingOptionDetails + videoPlayerSizeDetails: VideoPlayerSizeAssignedTargetingOptionDetails + viewabilityDetails: ViewabilityAssignedTargetingOptionDetails + youtubeChannelDetails: YoutubeChannelAssignedTargetingOptionDetails + youtubeVideoDetails: YoutubeVideoAssignedTargetingOptionDetails + +@typing.type_check_only +class AssignedUserRole(typing_extensions.TypedDict, total=False): + advertiserId: str + assignedUserRoleId: str + partnerId: str + userRole: typing_extensions.Literal[ + "USER_ROLE_UNSPECIFIED", + "ADMIN", + "ADMIN_PARTNER_CLIENT", + "STANDARD", + "STANDARD_PLANNER", + "STANDARD_PLANNER_LIMITED", + "STANDARD_PARTNER_CLIENT", + "READ_ONLY", + "REPORTING_ONLY", + "LIMITED_REPORTING_ONLY", + "CREATIVE", + "CREATIVE_ADMIN", + ] + +@typing.type_check_only +class AudienceGroupAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + excludedFirstPartyAndPartnerAudienceGroup: FirstPartyAndPartnerAudienceGroup + excludedGoogleAudienceGroup: GoogleAudienceGroup + includedCombinedAudienceGroup: CombinedAudienceGroup + includedCustomListGroup: CustomListGroup + includedFirstPartyAndPartnerAudienceGroups: _list[FirstPartyAndPartnerAudienceGroup] + includedGoogleAudienceGroup: GoogleAudienceGroup + +@typing.type_check_only +class AudioAd(typing_extensions.TypedDict, total=False): + displayUrl: str + finalUrl: str + trackingUrl: str + video: YoutubeVideoDetails + +@typing.type_check_only +class AudioContentTypeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + audioContentType: typing_extensions.Literal[ + "AUDIO_CONTENT_TYPE_UNSPECIFIED", + "AUDIO_CONTENT_TYPE_UNKNOWN", + "AUDIO_CONTENT_TYPE_MUSIC", + "AUDIO_CONTENT_TYPE_BROADCAST", + "AUDIO_CONTENT_TYPE_PODCAST", + ] + +@typing.type_check_only +class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + audioContentType: typing_extensions.Literal[ + "AUDIO_CONTENT_TYPE_UNSPECIFIED", + "AUDIO_CONTENT_TYPE_UNKNOWN", + "AUDIO_CONTENT_TYPE_MUSIC", + "AUDIO_CONTENT_TYPE_BROADCAST", + "AUDIO_CONTENT_TYPE_PODCAST", + ] + +@typing.type_check_only +class AudioVideoOffset(typing_extensions.TypedDict, total=False): + percentage: str + seconds: str + +@typing.type_check_only +class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): + adGroupCriteriaCount: str + campaignCriteriaCount: str + channelsCount: str + negativeKeywordListsCount: str + negativelyTargetedChannelsCount: str + usedCampaignsCount: str + usedInsertionOrdersCount: str + usedLineItemsCount: str + +@typing.type_check_only +class AuthorizedSellerStatusAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + authorizedSellerStatus: typing_extensions.Literal[ + "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", + "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", + "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", + ] + targetingOptionId: str + +@typing.type_check_only +class AuthorizedSellerStatusTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + authorizedSellerStatus: typing_extensions.Literal[ + "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", + "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", + "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", + ] + +@typing.type_check_only +class BiddingStrategy(typing_extensions.TypedDict, total=False): + fixedBid: FixedBidStrategy + maximizeSpendAutoBid: MaximizeSpendBidStrategy + performanceGoalAutoBid: PerformanceGoalBidStrategy + youtubeAndPartnersBid: YoutubeAndPartnersBiddingStrategy + +@typing.type_check_only +class BrowserAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class BrowserTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class BudgetSummary(typing_extensions.TypedDict, total=False): + externalBudgetId: str + preTaxAmountMicros: str + prismaCpeCode: PrismaCpeCode + taxAmountMicros: str + totalAmountMicros: str + +@typing.type_check_only +class BulkEditAdvertiserAssignedTargetingOptionsRequest( + typing_extensions.TypedDict, total=False +): + createRequests: _list[CreateAssignedTargetingOptionsRequest] + deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] + +@typing.type_check_only +class BulkEditAdvertiserAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + createdAssignedTargetingOptions: _list[AssignedTargetingOption] + +@typing.type_check_only +class BulkEditAssignedInventorySourcesRequest(typing_extensions.TypedDict, total=False): + advertiserId: str + createdAssignedInventorySources: _list[AssignedInventorySource] + deletedAssignedInventorySources: _list[str] + partnerId: str + +@typing.type_check_only +class BulkEditAssignedInventorySourcesResponse( + typing_extensions.TypedDict, total=False +): + assignedInventorySources: _list[AssignedInventorySource] + +@typing.type_check_only +class BulkEditAssignedLocationsRequest(typing_extensions.TypedDict, total=False): + createdAssignedLocations: _list[AssignedLocation] + deletedAssignedLocations: _list[str] + +@typing.type_check_only +class BulkEditAssignedLocationsResponse(typing_extensions.TypedDict, total=False): + assignedLocations: _list[AssignedLocation] + +@typing.type_check_only +class BulkEditAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): + createRequests: _list[CreateAssignedTargetingOptionsRequest] + deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] + lineItemIds: _list[str] + +@typing.type_check_only +class BulkEditAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + errors: _list[Status] + failedLineItemIds: _list[str] + updatedLineItemIds: _list[str] + +@typing.type_check_only +class BulkEditAssignedUserRolesRequest(typing_extensions.TypedDict, total=False): + createdAssignedUserRoles: _list[AssignedUserRole] + deletedAssignedUserRoles: _list[str] + +@typing.type_check_only +class BulkEditAssignedUserRolesResponse(typing_extensions.TypedDict, total=False): + createdAssignedUserRoles: _list[AssignedUserRole] + +@typing.type_check_only +class BulkEditNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): + createdNegativeKeywords: _list[NegativeKeyword] + deletedNegativeKeywords: _list[str] + +@typing.type_check_only +class BulkEditNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): + negativeKeywords: _list[NegativeKeyword] + +@typing.type_check_only +class BulkEditPartnerAssignedTargetingOptionsRequest( + typing_extensions.TypedDict, total=False +): + createRequests: _list[CreateAssignedTargetingOptionsRequest] + deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] + +@typing.type_check_only +class BulkEditPartnerAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + createdAssignedTargetingOptions: _list[AssignedTargetingOption] + +@typing.type_check_only +class BulkEditSitesRequest(typing_extensions.TypedDict, total=False): + advertiserId: str + createdSites: _list[Site] + deletedSites: _list[str] + partnerId: str + +@typing.type_check_only +class BulkEditSitesResponse(typing_extensions.TypedDict, total=False): + sites: _list[Site] + +@typing.type_check_only +class BulkListAdGroupAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + adGroupAssignedTargetingOptions: _list[AdGroupAssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class BulkListAdvertiserAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + assignedTargetingOptions: _list[AssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class BulkListAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): + lineItemIds: _list[str] + targetLineItem: LineItem + updateMask: str + +@typing.type_check_only +class BulkUpdateLineItemsResponse(typing_extensions.TypedDict, total=False): + errors: _list[Status] + failedLineItemIds: _list[str] + skippedLineItemIds: _list[str] + updatedLineItemIds: _list[str] + +@typing.type_check_only +class BumperAd(typing_extensions.TypedDict, total=False): + commonInStreamAttribute: CommonInStreamAttribute + +@typing.type_check_only +class BusinessChainAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + proximityRadiusAmount: float + proximityRadiusUnit: typing_extensions.Literal[ + "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" + ] + targetingOptionId: str + +@typing.type_check_only +class BusinessChainSearchTerms(typing_extensions.TypedDict, total=False): + businessChainQuery: str + regionQuery: str + +@typing.type_check_only +class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=False): + businessChain: str + geoRegion: str + geoRegionType: typing_extensions.Literal[ + "GEO_REGION_TYPE_UNKNOWN", + "GEO_REGION_TYPE_OTHER", + "GEO_REGION_TYPE_COUNTRY", + "GEO_REGION_TYPE_REGION", + "GEO_REGION_TYPE_TERRITORY", + "GEO_REGION_TYPE_PROVINCE", + "GEO_REGION_TYPE_STATE", + "GEO_REGION_TYPE_PREFECTURE", + "GEO_REGION_TYPE_GOVERNORATE", + "GEO_REGION_TYPE_CANTON", + "GEO_REGION_TYPE_UNION_TERRITORY", + "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", + "GEO_REGION_TYPE_DMA_REGION", + "GEO_REGION_TYPE_METRO", + "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", + "GEO_REGION_TYPE_COUNTY", + "GEO_REGION_TYPE_MUNICIPALITY", + "GEO_REGION_TYPE_CITY", + "GEO_REGION_TYPE_POSTAL_CODE", + "GEO_REGION_TYPE_DEPARTMENT", + "GEO_REGION_TYPE_AIRPORT", + "GEO_REGION_TYPE_TV_REGION", + "GEO_REGION_TYPE_OKRUG", + "GEO_REGION_TYPE_BOROUGH", + "GEO_REGION_TYPE_CITY_REGION", + "GEO_REGION_TYPE_ARRONDISSEMENT", + "GEO_REGION_TYPE_NEIGHBORHOOD", + "GEO_REGION_TYPE_UNIVERSITY", + "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", + ] + +@typing.type_check_only +class Campaign(typing_extensions.TypedDict, total=False): + advertiserId: str + campaignBudgets: _list[CampaignBudget] + campaignFlight: CampaignFlight + campaignGoal: CampaignGoal + campaignId: str + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + frequencyCap: FrequencyCap + name: str + updateTime: str + +@typing.type_check_only +class CampaignBudget(typing_extensions.TypedDict, total=False): + budgetAmountMicros: str + budgetId: str + budgetUnit: typing_extensions.Literal[ + "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" + ] + dateRange: DateRange + displayName: str + externalBudgetId: str + externalBudgetSource: typing_extensions.Literal[ + "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", + "EXTERNAL_BUDGET_SOURCE_NONE", + "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN", + ] + invoiceGroupingId: str + prismaConfig: PrismaConfig + +@typing.type_check_only +class CampaignFlight(typing_extensions.TypedDict, total=False): + plannedDates: DateRange + plannedSpendAmountMicros: str + +@typing.type_check_only +class CampaignGoal(typing_extensions.TypedDict, total=False): + campaignGoalType: typing_extensions.Literal[ + "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", + "CAMPAIGN_GOAL_TYPE_APP_INSTALL", + "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", + "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION", + "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION", + ] + performanceGoal: PerformanceGoal + +@typing.type_check_only +class CarrierAndIspAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class CarrierAndIspTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + type: typing_extensions.Literal[ + "CARRIER_AND_ISP_TYPE_UNSPECIFIED", + "CARRIER_AND_ISP_TYPE_ISP", + "CARRIER_AND_ISP_TYPE_CARRIER", + ] + +@typing.type_check_only +class CategoryAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class CategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class Channel(typing_extensions.TypedDict, total=False): + advertiserId: str + channelId: str + displayName: str + name: str + negativelyTargetedLineItemCount: str + partnerId: str + positivelyTargetedLineItemCount: str + +@typing.type_check_only +class ChannelAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + channelId: str + negative: bool + +@typing.type_check_only +class CmHybridConfig(typing_extensions.TypedDict, total=False): + cmAccountId: str + cmAdvertiserIds: _list[str] + cmFloodlightConfigId: str + cmFloodlightLinkingAuthorized: bool + cmSyncableSiteIds: _list[str] + dv360ToCmCostReportingEnabled: bool + dv360ToCmDataSharingEnabled: bool + +@typing.type_check_only +class CmTrackingAd(typing_extensions.TypedDict, total=False): + cmAdId: str + cmCreativeId: str + cmPlacementId: str + +@typing.type_check_only +class CombinedAudience(typing_extensions.TypedDict, total=False): + combinedAudienceId: str + displayName: str + name: str + +@typing.type_check_only +class CombinedAudienceGroup(typing_extensions.TypedDict, total=False): + settings: _list[CombinedAudienceTargetingSetting] + +@typing.type_check_only +class CombinedAudienceTargetingSetting(typing_extensions.TypedDict, total=False): + combinedAudienceId: str + +@typing.type_check_only +class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): + actionButtonLabel: str + actionHeadline: str + companionBanner: ImageAsset + displayUrl: str + finalUrl: str + trackingUrl: str + video: YoutubeVideoDetails + +@typing.type_check_only +class Consent(typing_extensions.TypedDict, total=False): + adPersonalization: typing_extensions.Literal[ + "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" + ] + adUserData: typing_extensions.Literal[ + "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" + ] + +@typing.type_check_only +class ContactInfo(typing_extensions.TypedDict, total=False): + countryCode: str + hashedEmails: _list[str] + hashedFirstName: str + hashedLastName: str + hashedPhoneNumbers: _list[str] + zipCodes: _list[str] + +@typing.type_check_only +class ContactInfoList(typing_extensions.TypedDict, total=False): + consent: Consent + contactInfos: _list[ContactInfo] + +@typing.type_check_only +class ContentDurationAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentDuration: 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", + ] + targetingOptionId: str + +@typing.type_check_only +class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=False): + contentDuration: 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", + ] + +@typing.type_check_only +class ContentGenreAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class ContentGenreTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class ContentInstreamPositionAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + adType: typing_extensions.Literal[ + "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" + ] + contentInstreamPosition: typing_extensions.Literal[ + "CONTENT_INSTREAM_POSITION_UNSPECIFIED", + "CONTENT_INSTREAM_POSITION_PRE_ROLL", + "CONTENT_INSTREAM_POSITION_MID_ROLL", + "CONTENT_INSTREAM_POSITION_POST_ROLL", + "CONTENT_INSTREAM_POSITION_UNKNOWN", + ] + +@typing.type_check_only +class ContentInstreamPositionTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentInstreamPosition: typing_extensions.Literal[ + "CONTENT_INSTREAM_POSITION_UNSPECIFIED", + "CONTENT_INSTREAM_POSITION_PRE_ROLL", + "CONTENT_INSTREAM_POSITION_MID_ROLL", + "CONTENT_INSTREAM_POSITION_POST_ROLL", + "CONTENT_INSTREAM_POSITION_UNKNOWN", + ] + +@typing.type_check_only +class ContentOutstreamPositionAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + adType: typing_extensions.Literal[ + "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" + ] + contentOutstreamPosition: typing_extensions.Literal[ + "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", + "CONTENT_OUTSTREAM_POSITION_UNKNOWN", + "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", + "CONTENT_OUTSTREAM_POSITION_IN_BANNER", + "CONTENT_OUTSTREAM_POSITION_IN_FEED", + "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL", + ] + +@typing.type_check_only +class ContentOutstreamPositionTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentOutstreamPosition: typing_extensions.Literal[ + "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", + "CONTENT_OUTSTREAM_POSITION_UNKNOWN", + "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", + "CONTENT_OUTSTREAM_POSITION_IN_BANNER", + "CONTENT_OUTSTREAM_POSITION_IN_FEED", + "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL", + ] + +@typing.type_check_only +class ContentStreamTypeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentStreamType: typing_extensions.Literal[ + "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" + ] + targetingOptionId: str + +@typing.type_check_only +class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + contentStreamType: typing_extensions.Literal[ + "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" + ] + +@typing.type_check_only +class ContentThemeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + excludedContentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + excludedTargetingOptionId: str + +@typing.type_check_only +class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + contentTheme: typing_extensions.Literal[ + "CONTENT_THEME_UNSPECIFIED", + "CONTENT_THEME_FIGHTING_VIDEO_GAMES", + "CONTENT_THEME_MATURE_GAMES", + "CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", + "CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", + "CONTENT_THEME_POLITICS", + "CONTENT_THEME_RECENT_NEWS", + "CONTENT_THEME_RELIGION", + "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", + "CONTENT_THEME_UNPLEASANT_NEWS", + ] + +@typing.type_check_only +class ConversionCountingConfig(typing_extensions.TypedDict, total=False): + floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] + postViewCountPercentageMillis: str + +@typing.type_check_only +class CounterEvent(typing_extensions.TypedDict, total=False): + name: str + reportingName: str + +@typing.type_check_only +class CreateAssetRequest(typing_extensions.TypedDict, total=False): + filename: str + +@typing.type_check_only +class CreateAssetResponse(typing_extensions.TypedDict, total=False): + asset: Asset + +@typing.type_check_only +class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): + assignedTargetingOptions: _list[AssignedTargetingOption] + 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", + ] + +@typing.type_check_only +class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): + advertiserId: str + idFilter: IdFilter + inventorySourceFilter: InventorySourceFilter + parentEntityFilter: ParentEntityFilter + partnerId: str + version: typing_extensions.Literal[ + "SDF_VERSION_UNSPECIFIED", + "SDF_VERSION_3_1", + "SDF_VERSION_4", + "SDF_VERSION_4_1", + "SDF_VERSION_4_2", + "SDF_VERSION_5", + "SDF_VERSION_5_1", + "SDF_VERSION_5_2", + "SDF_VERSION_5_3", + "SDF_VERSION_5_4", + "SDF_VERSION_5_5", + "SDF_VERSION_6", + "SDF_VERSION_7", + "SDF_VERSION_7_1", + "SDF_VERSION_8", + "SDF_VERSION_8_1", + ] + +@typing.type_check_only +class Creative(typing_extensions.TypedDict, total=False): + additionalDimensions: _list[Dimensions] + advertiserId: str + appendedTag: str + assets: _list[AssetAssociation] + cmPlacementId: str + cmTrackingAd: CmTrackingAd + companionCreativeIds: _list[str] + counterEvents: _list[CounterEvent] + createTime: str + creativeAttributes: _list[ + typing_extensions.Literal[ + "CREATIVE_ATTRIBUTE_UNSPECIFIED", + "CREATIVE_ATTRIBUTE_VAST", + "CREATIVE_ATTRIBUTE_VPAID_LINEAR", + "CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR", + ] + ] + creativeId: str + creativeType: typing_extensions.Literal[ + "CREATIVE_TYPE_UNSPECIFIED", + "CREATIVE_TYPE_STANDARD", + "CREATIVE_TYPE_EXPANDABLE", + "CREATIVE_TYPE_VIDEO", + "CREATIVE_TYPE_NATIVE", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL", + "CREATIVE_TYPE_NATIVE_SITE_SQUARE", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", + "CREATIVE_TYPE_LIGHTBOX", + "CREATIVE_TYPE_NATIVE_APP_INSTALL", + "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", + "CREATIVE_TYPE_AUDIO", + "CREATIVE_TYPE_PUBLISHER_HOSTED", + "CREATIVE_TYPE_NATIVE_VIDEO", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", + "CREATIVE_TYPE_ASSET_BASED_CREATIVE", + ] + dimensions: Dimensions + displayName: str + dynamic: bool + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + exitEvents: _list[ExitEvent] + expandOnHover: bool + expandingDirection: typing_extensions.Literal[ + "EXPANDING_DIRECTION_UNSPECIFIED", + "EXPANDING_DIRECTION_NONE", + "EXPANDING_DIRECTION_UP", + "EXPANDING_DIRECTION_DOWN", + "EXPANDING_DIRECTION_LEFT", + "EXPANDING_DIRECTION_RIGHT", + "EXPANDING_DIRECTION_UP_AND_LEFT", + "EXPANDING_DIRECTION_UP_AND_RIGHT", + "EXPANDING_DIRECTION_DOWN_AND_LEFT", + "EXPANDING_DIRECTION_DOWN_AND_RIGHT", + "EXPANDING_DIRECTION_UP_OR_DOWN", + "EXPANDING_DIRECTION_LEFT_OR_RIGHT", + "EXPANDING_DIRECTION_ANY_DIAGONAL", + ] + hostingSource: typing_extensions.Literal[ + "HOSTING_SOURCE_UNSPECIFIED", + "HOSTING_SOURCE_CM", + "HOSTING_SOURCE_THIRD_PARTY", + "HOSTING_SOURCE_HOSTED", + "HOSTING_SOURCE_RICH_MEDIA", + ] + html5Video: bool + iasCampaignMonitoring: bool + integrationCode: str + jsTrackerUrl: str + lineItemIds: _list[str] + mediaDuration: str + mp3Audio: bool + name: str + notes: str + obaIcon: ObaIcon + oggAudio: bool + progressOffset: AudioVideoOffset + requireHtml5: bool + requireMraid: bool + requirePingForAttribution: bool + reviewStatus: ReviewStatusInfo + skipOffset: AudioVideoOffset + skippable: bool + thirdPartyTag: str + thirdPartyUrls: _list[ThirdPartyUrl] + timerEvents: _list[TimerEvent] + trackerUrls: _list[str] + transcodes: _list[Transcode] + universalAdId: UniversalAdId + updateTime: str + vastTagUrl: str + vpaid: bool + +@typing.type_check_only +class CreativeConfig(typing_extensions.TypedDict, total=False): + creativeType: typing_extensions.Literal[ + "CREATIVE_TYPE_UNSPECIFIED", + "CREATIVE_TYPE_STANDARD", + "CREATIVE_TYPE_EXPANDABLE", + "CREATIVE_TYPE_VIDEO", + "CREATIVE_TYPE_NATIVE", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL", + "CREATIVE_TYPE_NATIVE_SITE_SQUARE", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", + "CREATIVE_TYPE_LIGHTBOX", + "CREATIVE_TYPE_NATIVE_APP_INSTALL", + "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", + "CREATIVE_TYPE_AUDIO", + "CREATIVE_TYPE_PUBLISHER_HOSTED", + "CREATIVE_TYPE_NATIVE_VIDEO", + "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", + "CREATIVE_TYPE_ASSET_BASED_CREATIVE", + ] + displayCreativeConfig: InventorySourceDisplayCreativeConfig + videoCreativeConfig: InventorySourceVideoCreativeConfig + +@typing.type_check_only +class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): + advertiserId: str + customBiddingAlgorithmId: str + customBiddingAlgorithmType: typing_extensions.Literal[ + "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED", "RULE_BASED" + ] + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + modelDetails: _list[CustomBiddingModelDetails] + name: str + partnerId: str + sharedAdvertiserIds: _list[str] + +@typing.type_check_only +class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): + active: bool + createTime: str + customBiddingAlgorithmId: str + customBiddingAlgorithmRulesId: str + error: CustomBiddingAlgorithmRulesError + name: str + rules: CustomBiddingAlgorithmRulesRef + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED"] + +@typing.type_check_only +class CustomBiddingAlgorithmRulesError(typing_extensions.TypedDict, total=False): + errorCode: typing_extensions.Literal[ + "ERROR_CODE_UNSPECIFIED", + "SYNTAX_ERROR", + "CONSTRAINT_VIOLATION_ERROR", + "INTERNAL_ERROR", + ] + +@typing.type_check_only +class CustomBiddingAlgorithmRulesRef(typing_extensions.TypedDict, total=False): + resourceName: str + +@typing.type_check_only +class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): + advertiserId: str + readinessState: typing_extensions.Literal[ + "READINESS_STATE_UNSPECIFIED", + "READINESS_STATE_ACTIVE", + "READINESS_STATE_INSUFFICIENT_DATA", + "READINESS_STATE_TRAINING", + "READINESS_STATE_NO_VALID_SCRIPT", + "READINESS_STATE_EVALUATION_FAILURE", + ] + suspensionState: typing_extensions.Literal[ + "SUSPENSION_STATE_UNSPECIFIED", + "SUSPENSION_STATE_ENABLED", + "SUSPENSION_STATE_DORMANT", + "SUSPENSION_STATE_SUSPENDED", + ] + +@typing.type_check_only +class CustomBiddingScript(typing_extensions.TypedDict, total=False): + active: bool + createTime: str + customBiddingAlgorithmId: str + customBiddingScriptId: str + errors: _list[ScriptError] + name: str + script: CustomBiddingScriptRef + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING" + ] + +@typing.type_check_only +class CustomBiddingScriptRef(typing_extensions.TypedDict, total=False): + resourceName: str + +@typing.type_check_only +class CustomLabel(typing_extensions.TypedDict, total=False): + key: typing_extensions.Literal[ + "CUSTOM_LABEL_KEY_UNSPECIFIED", + "CUSTOM_LABEL_KEY_0", + "CUSTOM_LABEL_KEY_1", + "CUSTOM_LABEL_KEY_2", + "CUSTOM_LABEL_KEY_3", + "CUSTOM_LABEL_KEY_4", + ] + value: str + +@typing.type_check_only +class CustomList(typing_extensions.TypedDict, total=False): + customListId: str + displayName: str + name: str + +@typing.type_check_only +class CustomListGroup(typing_extensions.TypedDict, total=False): + settings: _list[CustomListTargetingSetting] + +@typing.type_check_only +class CustomListTargetingSetting(typing_extensions.TypedDict, total=False): + customListId: str + +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class DateRange(typing_extensions.TypedDict, total=False): + endDate: Date + startDate: Date + +@typing.type_check_only +class DayAndTime(typing_extensions.TypedDict, total=False): + dayOfWeek: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + hourOfDay: int + timeZoneResolution: typing_extensions.Literal[ + "TIME_ZONE_RESOLUTION_UNSPECIFIED", + "TIME_ZONE_RESOLUTION_END_USER", + "TIME_ZONE_RESOLUTION_ADVERTISER", + ] + +@typing.type_check_only +class DayAndTimeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + dayOfWeek: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + endHour: int + startHour: int + timeZoneResolution: typing_extensions.Literal[ + "TIME_ZONE_RESOLUTION_UNSPECIFIED", + "TIME_ZONE_RESOLUTION_END_USER", + "TIME_ZONE_RESOLUTION_ADVERTISER", + ] + +@typing.type_check_only +class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): + assignedTargetingOptionIds: _list[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", + ] + +@typing.type_check_only +class DeviceMakeModelAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class DeviceMakeModelTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class DeviceTypeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + deviceType: typing_extensions.Literal[ + "DEVICE_TYPE_UNSPECIFIED", + "DEVICE_TYPE_COMPUTER", + "DEVICE_TYPE_CONNECTED_TV", + "DEVICE_TYPE_SMART_PHONE", + "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", + ] + youtubeAndPartnersBidMultiplier: float + +@typing.type_check_only +class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + deviceType: typing_extensions.Literal[ + "DEVICE_TYPE_UNSPECIFIED", + "DEVICE_TYPE_COMPUTER", + "DEVICE_TYPE_CONNECTED_TV", + "DEVICE_TYPE_SMART_PHONE", + "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", + ] + +@typing.type_check_only +class DigitalContentLabelAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + excludedContentRatingTier: typing_extensions.Literal[ + "CONTENT_RATING_TIER_UNSPECIFIED", + "CONTENT_RATING_TIER_UNRATED", + "CONTENT_RATING_TIER_GENERAL", + "CONTENT_RATING_TIER_PARENTAL_GUIDANCE", + "CONTENT_RATING_TIER_TEENS", + "CONTENT_RATING_TIER_MATURE", + "CONTENT_RATING_TIER_FAMILIES", + ] + +@typing.type_check_only +class DigitalContentLabelTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentRatingTier: typing_extensions.Literal[ + "CONTENT_RATING_TIER_UNSPECIFIED", + "CONTENT_RATING_TIER_UNRATED", + "CONTENT_RATING_TIER_GENERAL", + "CONTENT_RATING_TIER_PARENTAL_GUIDANCE", + "CONTENT_RATING_TIER_TEENS", + "CONTENT_RATING_TIER_MATURE", + "CONTENT_RATING_TIER_FAMILIES", + ] + +@typing.type_check_only +class Dimensions(typing_extensions.TypedDict, total=False): + heightPixels: int + widthPixels: int + +@typing.type_check_only +class DisplayVideoSourceAd(typing_extensions.TypedDict, total=False): + creativeId: str + +@typing.type_check_only +class DoubleVerify(typing_extensions.TypedDict, total=False): + appStarRating: DoubleVerifyAppStarRating + avoidedAgeRatings: _list[ + typing_extensions.Literal[ + "AGE_RATING_UNSPECIFIED", + "APP_AGE_RATE_UNKNOWN", + "APP_AGE_RATE_4_PLUS", + "APP_AGE_RATE_9_PLUS", + "APP_AGE_RATE_12_PLUS", + "APP_AGE_RATE_17_PLUS", + "APP_AGE_RATE_18_PLUS", + ] + ] + brandSafetyCategories: DoubleVerifyBrandSafetyCategories + customSegmentId: str + displayViewability: DoubleVerifyDisplayViewability + fraudInvalidTraffic: DoubleVerifyFraudInvalidTraffic + videoViewability: DoubleVerifyVideoViewability + +@typing.type_check_only +class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): + avoidInsufficientStarRating: bool + avoidedStarRating: typing_extensions.Literal[ + "APP_STAR_RATE_UNSPECIFIED", + "APP_STAR_RATE_1_POINT_5_LESS", + "APP_STAR_RATE_2_LESS", + "APP_STAR_RATE_2_POINT_5_LESS", + "APP_STAR_RATE_3_LESS", + "APP_STAR_RATE_3_POINT_5_LESS", + "APP_STAR_RATE_4_LESS", + "APP_STAR_RATE_4_POINT_5_LESS", + ] + +@typing.type_check_only +class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False): + avoidUnknownBrandSafetyCategory: bool + avoidedHighSeverityCategories: _list[ + typing_extensions.Literal[ + "HIGHER_SEVERITY_UNSPECIFIED", + "ADULT_CONTENT_PORNOGRAPHY", + "COPYRIGHT_INFRINGEMENT", + "SUBSTANCE_ABUSE", + "GRAPHIC_VIOLENCE_WEAPONS", + "HATE_PROFANITY", + "CRIMINAL_SKILLS", + "NUISANCE_INCENTIVIZED_MALWARE_CLUTTER", + ] + ] + avoidedMediumSeverityCategories: _list[ + typing_extensions.Literal[ + "MEDIUM_SEVERITY_UNSPECIFIED", + "AD_SERVERS", + "ADULT_CONTENT_SWIMSUIT", + "ALTERNATIVE_LIFESTYLES", + "CELEBRITY_GOSSIP", + "GAMBLING", + "OCCULT", + "SEX_EDUCATION", + "DISASTER_AVIATION", + "DISASTER_MAN_MADE", + "DISASTER_NATURAL", + "DISASTER_TERRORIST_EVENTS", + "DISASTER_VEHICLE", + "ALCOHOL", + "SMOKING", + "NEGATIVE_NEWS_FINANCIAL", + "NON_ENGLISH", + "PARKING_PAGE", + "UNMODERATED_UGC", + "INFLAMMATORY_POLITICS_AND_NEWS", + "NEGATIVE_NEWS_PHARMACEUTICAL", + ] + ] + +@typing.type_check_only +class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): + iab: typing_extensions.Literal[ + "IAB_VIEWED_RATE_UNSPECIFIED", + "IAB_VIEWED_RATE_80_PERCENT_HIGHER", + "IAB_VIEWED_RATE_75_PERCENT_HIGHER", + "IAB_VIEWED_RATE_70_PERCENT_HIGHER", + "IAB_VIEWED_RATE_65_PERCENT_HIGHER", + "IAB_VIEWED_RATE_60_PERCENT_HIGHER", + "IAB_VIEWED_RATE_55_PERCENT_HIGHER", + "IAB_VIEWED_RATE_50_PERCENT_HIGHER", + "IAB_VIEWED_RATE_40_PERCENT_HIGHER", + "IAB_VIEWED_RATE_30_PERCENT_HIGHER", + ] + viewableDuring: typing_extensions.Literal[ + "AVERAGE_VIEW_DURATION_UNSPECIFIED", + "AVERAGE_VIEW_DURATION_5_SEC", + "AVERAGE_VIEW_DURATION_10_SEC", + "AVERAGE_VIEW_DURATION_15_SEC", + ] + +@typing.type_check_only +class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): + avoidInsufficientOption: bool + avoidedFraudOption: typing_extensions.Literal[ + "FRAUD_UNSPECIFIED", + "AD_IMPRESSION_FRAUD_100", + "AD_IMPRESSION_FRAUD_50", + "AD_IMPRESSION_FRAUD_25", + "AD_IMPRESSION_FRAUD_10", + "AD_IMPRESSION_FRAUD_8", + "AD_IMPRESSION_FRAUD_6", + "AD_IMPRESSION_FRAUD_4", + "AD_IMPRESSION_FRAUD_2", + ] + +@typing.type_check_only +class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): + playerImpressionRate: typing_extensions.Literal[ + "PLAYER_SIZE_400X300_UNSPECIFIED", + "PLAYER_SIZE_400X300_95", + "PLAYER_SIZE_400X300_70", + "PLAYER_SIZE_400X300_25", + "PLAYER_SIZE_400X300_5", + ] + videoIab: typing_extensions.Literal[ + "VIDEO_IAB_UNSPECIFIED", + "IAB_VIEWABILITY_80_PERCENT_HIGHER", + "IAB_VIEWABILITY_75_PERCENT_HIGHER", + "IAB_VIEWABILITY_70_PERCENT_HIGHER", + "IAB_VIEWABILITY_65_PERCENT_HIHGER", + "IAB_VIEWABILITY_60_PERCENT_HIGHER", + "IAB_VIEWABILITY_55_PERCENT_HIHGER", + "IAB_VIEWABILITY_50_PERCENT_HIGHER", + "IAB_VIEWABILITY_40_PERCENT_HIHGER", + "IAB_VIEWABILITY_30_PERCENT_HIHGER", + ] + videoViewableRate: typing_extensions.Literal[ + "VIDEO_VIEWABLE_RATE_UNSPECIFIED", + "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", + "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", + "VIEWED_PERFORMANCE_30_PERCENT_HIGHER", + "VIEWED_PERFORMANCE_25_PERCENT_HIGHER", + "VIEWED_PERFORMANCE_20_PERCENT_HIGHER", + "VIEWED_PERFORMANCE_10_PERCENT_HIGHER", + ] + +@typing.type_check_only +class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): + targetDisplayName: str + +@typing.type_check_only +class DuplicateLineItemResponse(typing_extensions.TypedDict, total=False): + duplicateLineItemId: str + +@typing.type_check_only +class EditCustomerMatchMembersRequest(typing_extensions.TypedDict, total=False): + addedContactInfoList: ContactInfoList + addedMobileDeviceIdList: MobileDeviceIdList + advertiserId: str + removedContactInfoList: ContactInfoList + removedMobileDeviceIdList: MobileDeviceIdList + +@typing.type_check_only +class EditCustomerMatchMembersResponse(typing_extensions.TypedDict, total=False): + firstPartyAndPartnerAudienceId: str + +@typing.type_check_only +class EditGuaranteedOrderReadAccessorsRequest(typing_extensions.TypedDict, total=False): + addedAdvertisers: _list[str] + partnerId: str + readAccessInherited: bool + removedAdvertisers: _list[str] + +@typing.type_check_only +class EditGuaranteedOrderReadAccessorsResponse( + typing_extensions.TypedDict, total=False +): + readAccessInherited: bool + readAdvertiserIds: _list[str] + +@typing.type_check_only +class EditInventorySourceReadWriteAccessorsRequest( + typing_extensions.TypedDict, total=False +): + advertisersUpdate: EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate + assignPartner: bool + partnerId: str + +@typing.type_check_only +class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate( + typing_extensions.TypedDict, total=False +): + addedAdvertisers: _list[str] + removedAdvertisers: _list[str] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EnvironmentAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + environment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", + "ENVIRONMENT_WEB_OPTIMIZED", + "ENVIRONMENT_WEB_NOT_OPTIMIZED", + "ENVIRONMENT_APP", + ] + +@typing.type_check_only +class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False): + environment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", + "ENVIRONMENT_WEB_OPTIMIZED", + "ENVIRONMENT_WEB_NOT_OPTIMIZED", + "ENVIRONMENT_APP", + ] + +@typing.type_check_only +class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + +@typing.type_check_only +class ExchangeConfig(typing_extensions.TypedDict, total=False): + enabledExchanges: _list[ExchangeConfigEnabledExchange] + +@typing.type_check_only +class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + googleAdManagerAgencyId: str + googleAdManagerBuyerNetworkId: str + seatId: str + +@typing.type_check_only +class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + status: typing_extensions.Literal[ + "REVIEW_STATUS_UNSPECIFIED", + "REVIEW_STATUS_APPROVED", + "REVIEW_STATUS_REJECTED", + "REVIEW_STATUS_PENDING", + ] + +@typing.type_check_only +class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + +@typing.type_check_only +class ExitEvent(typing_extensions.TypedDict, total=False): + name: str + reportingName: str + type: typing_extensions.Literal[ + "EXIT_EVENT_TYPE_UNSPECIFIED", + "EXIT_EVENT_TYPE_DEFAULT", + "EXIT_EVENT_TYPE_BACKUP", + ] + url: str + +@typing.type_check_only +class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): + activeDisplayAudienceSize: str + appId: str + audienceSource: typing_extensions.Literal[ + "AUDIENCE_SOURCE_UNSPECIFIED", + "DISPLAY_VIDEO_360", + "CAMPAIGN_MANAGER", + "AD_MANAGER", + "SEARCH_ADS_360", + "YOUTUBE", + "ADS_DATA_HUB", + ] + audienceType: typing_extensions.Literal[ + "AUDIENCE_TYPE_UNSPECIFIED", + "CUSTOMER_MATCH_CONTACT_INFO", + "CUSTOMER_MATCH_DEVICE_ID", + "CUSTOMER_MATCH_USER_ID", + "ACTIVITY_BASED", + "FREQUENCY_CAP", + "TAG_BASED", + "YOUTUBE_USERS", + "THIRD_PARTY", + "COMMERCE", + "LINEAR", + ] + contactInfoList: ContactInfoList + description: str + displayAudienceSize: str + displayDesktopAudienceSize: str + displayMobileAppAudienceSize: str + displayMobileWebAudienceSize: str + displayName: str + firstPartyAndPartnerAudienceId: str + firstPartyAndPartnerAudienceType: typing_extensions.Literal[ + "FIRST_PARTY_AND_PARTNER_AUDIENCE_TYPE_UNSPECIFIED", + "TYPE_FIRST_PARTY", + "TYPE_PARTNER", + ] + gmailAudienceSize: str + membershipDurationDays: str + mobileDeviceIdList: MobileDeviceIdList + name: str + youtubeAudienceSize: str + +@typing.type_check_only +class FirstPartyAndPartnerAudienceGroup(typing_extensions.TypedDict, total=False): + settings: _list[FirstPartyAndPartnerAudienceTargetingSetting] + +@typing.type_check_only +class FirstPartyAndPartnerAudienceTargetingSetting( + typing_extensions.TypedDict, total=False +): + firstPartyAndPartnerAudienceId: str + recency: typing_extensions.Literal[ + "RECENCY_NO_LIMIT", + "RECENCY_1_MINUTE", + "RECENCY_5_MINUTES", + "RECENCY_10_MINUTES", + "RECENCY_15_MINUTES", + "RECENCY_30_MINUTES", + "RECENCY_1_HOUR", + "RECENCY_2_HOURS", + "RECENCY_3_HOURS", + "RECENCY_6_HOURS", + "RECENCY_12_HOURS", + "RECENCY_1_DAY", + "RECENCY_2_DAYS", + "RECENCY_3_DAYS", + "RECENCY_5_DAYS", + "RECENCY_7_DAYS", + "RECENCY_10_DAYS", + "RECENCY_14_DAYS", + "RECENCY_15_DAYS", + "RECENCY_21_DAYS", + "RECENCY_28_DAYS", + "RECENCY_30_DAYS", + "RECENCY_40_DAYS", + "RECENCY_45_DAYS", + "RECENCY_60_DAYS", + "RECENCY_90_DAYS", + "RECENCY_120_DAYS", + "RECENCY_180_DAYS", + "RECENCY_270_DAYS", + "RECENCY_365_DAYS", + ] + +@typing.type_check_only +class FixedBidStrategy(typing_extensions.TypedDict, total=False): + bidAmountMicros: str + +@typing.type_check_only +class FloodlightActivity(typing_extensions.TypedDict, total=False): + advertiserIds: _list[str] + displayName: str + floodlightActivityId: str + floodlightGroupId: str + name: str + remarketingConfigs: _list[RemarketingConfig] + servingStatus: typing_extensions.Literal[ + "FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", + "FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", + "FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED", + ] + sslRequired: bool + +@typing.type_check_only +class FloodlightGroup(typing_extensions.TypedDict, total=False): + activeViewConfig: ActiveViewVideoViewabilityMetricConfig + customVariables: dict[str, typing.Any] + displayName: str + floodlightGroupId: str + lookbackWindow: LookbackWindow + name: str + webTagType: typing_extensions.Literal[ + "WEB_TAG_TYPE_UNSPECIFIED", + "WEB_TAG_TYPE_NONE", + "WEB_TAG_TYPE_IMAGE", + "WEB_TAG_TYPE_DYNAMIC", + ] + +@typing.type_check_only +class FrequencyCap(typing_extensions.TypedDict, total=False): + maxImpressions: int + maxViews: int + timeUnit: typing_extensions.Literal[ + "TIME_UNIT_UNSPECIFIED", + "TIME_UNIT_LIFETIME", + "TIME_UNIT_MONTHS", + "TIME_UNIT_WEEKS", + "TIME_UNIT_DAYS", + "TIME_UNIT_HOURS", + "TIME_UNIT_MINUTES", + ] + timeUnitCount: int + unlimited: bool + +@typing.type_check_only +class GenderAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + gender: typing_extensions.Literal[ + "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" + ] + +@typing.type_check_only +class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): + gender: typing_extensions.Literal[ + "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" + ] + +@typing.type_check_only +class GenerateDefaultLineItemRequest(typing_extensions.TypedDict, total=False): + displayName: str + insertionOrderId: str + lineItemType: typing_extensions.Literal[ + "LINE_ITEM_TYPE_UNSPECIFIED", + "LINE_ITEM_TYPE_DISPLAY_DEFAULT", + "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", + "LINE_ITEM_TYPE_VIDEO_DEFAULT", + "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", + "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", + "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", + "LINE_ITEM_TYPE_AUDIO_DEFAULT", + "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME", + ] + mobileApp: MobileApp + +@typing.type_check_only +class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + geoRegionType: typing_extensions.Literal[ + "GEO_REGION_TYPE_UNKNOWN", + "GEO_REGION_TYPE_OTHER", + "GEO_REGION_TYPE_COUNTRY", + "GEO_REGION_TYPE_REGION", + "GEO_REGION_TYPE_TERRITORY", + "GEO_REGION_TYPE_PROVINCE", + "GEO_REGION_TYPE_STATE", + "GEO_REGION_TYPE_PREFECTURE", + "GEO_REGION_TYPE_GOVERNORATE", + "GEO_REGION_TYPE_CANTON", + "GEO_REGION_TYPE_UNION_TERRITORY", + "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", + "GEO_REGION_TYPE_DMA_REGION", + "GEO_REGION_TYPE_METRO", + "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", + "GEO_REGION_TYPE_COUNTY", + "GEO_REGION_TYPE_MUNICIPALITY", + "GEO_REGION_TYPE_CITY", + "GEO_REGION_TYPE_POSTAL_CODE", + "GEO_REGION_TYPE_DEPARTMENT", + "GEO_REGION_TYPE_AIRPORT", + "GEO_REGION_TYPE_TV_REGION", + "GEO_REGION_TYPE_OKRUG", + "GEO_REGION_TYPE_BOROUGH", + "GEO_REGION_TYPE_CITY_REGION", + "GEO_REGION_TYPE_ARRONDISSEMENT", + "GEO_REGION_TYPE_NEIGHBORHOOD", + "GEO_REGION_TYPE_UNIVERSITY", + "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", + ] + negative: bool + targetingOptionId: str + +@typing.type_check_only +class GeoRegionSearchTerms(typing_extensions.TypedDict, total=False): + geoRegionQuery: str + +@typing.type_check_only +class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + geoRegionType: typing_extensions.Literal[ + "GEO_REGION_TYPE_UNKNOWN", + "GEO_REGION_TYPE_OTHER", + "GEO_REGION_TYPE_COUNTRY", + "GEO_REGION_TYPE_REGION", + "GEO_REGION_TYPE_TERRITORY", + "GEO_REGION_TYPE_PROVINCE", + "GEO_REGION_TYPE_STATE", + "GEO_REGION_TYPE_PREFECTURE", + "GEO_REGION_TYPE_GOVERNORATE", + "GEO_REGION_TYPE_CANTON", + "GEO_REGION_TYPE_UNION_TERRITORY", + "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", + "GEO_REGION_TYPE_DMA_REGION", + "GEO_REGION_TYPE_METRO", + "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", + "GEO_REGION_TYPE_COUNTY", + "GEO_REGION_TYPE_MUNICIPALITY", + "GEO_REGION_TYPE_CITY", + "GEO_REGION_TYPE_POSTAL_CODE", + "GEO_REGION_TYPE_DEPARTMENT", + "GEO_REGION_TYPE_AIRPORT", + "GEO_REGION_TYPE_TV_REGION", + "GEO_REGION_TYPE_OKRUG", + "GEO_REGION_TYPE_BOROUGH", + "GEO_REGION_TYPE_CITY_REGION", + "GEO_REGION_TYPE_ARRONDISSEMENT", + "GEO_REGION_TYPE_NEIGHBORHOOD", + "GEO_REGION_TYPE_UNIVERSITY", + "GEO_REGION_TYPE_DISTRICT", + "GEO_REGION_TYPE_NATIONAL_PARK", + "GEO_REGION_TYPE_BARRIO", + "GEO_REGION_TYPE_SUB_WARD", + "GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", + "GEO_REGION_TYPE_SUB_DISTRICT", + "GEO_REGION_TYPE_QUARTER", + "GEO_REGION_TYPE_DIVISION", + "GEO_REGION_TYPE_COMMUNE", + "GEO_REGION_TYPE_COLLOQUIAL_AREA", + ] + +@typing.type_check_only +class GoogleAudience(typing_extensions.TypedDict, total=False): + displayName: str + googleAudienceId: str + googleAudienceType: typing_extensions.Literal[ + "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", + "GOOGLE_AUDIENCE_TYPE_AFFINITY", + "GOOGLE_AUDIENCE_TYPE_IN_MARKET", + "GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS", + "GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES", + "GOOGLE_AUDIENCE_TYPE_LIFE_EVENT", + "GOOGLE_AUDIENCE_TYPE_EXTENDED_DEMOGRAPHIC", + ] + name: str + +@typing.type_check_only +class GoogleAudienceGroup(typing_extensions.TypedDict, total=False): + settings: _list[GoogleAudienceTargetingSetting] + +@typing.type_check_only +class GoogleAudienceTargetingSetting(typing_extensions.TypedDict, total=False): + googleAudienceId: str + @typing.type_check_only class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): resourceName: str +@typing.type_check_only +class GuaranteedOrder(typing_extensions.TypedDict, total=False): + defaultAdvertiserId: str + defaultCampaignId: str + displayName: str + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + guaranteedOrderId: str + legacyGuaranteedOrderId: str + name: str + publisherName: str + readAccessInherited: bool + readAdvertiserIds: _list[str] + readWriteAdvertiserId: str + readWritePartnerId: str + status: GuaranteedOrderStatus + updateTime: str + +@typing.type_check_only +class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): + configStatus: typing_extensions.Literal[ + "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", "PENDING", "COMPLETED" + ] + entityPauseReason: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + +@typing.type_check_only +class HouseholdIncomeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + householdIncome: typing_extensions.Literal[ + "HOUSEHOLD_INCOME_UNSPECIFIED", + "HOUSEHOLD_INCOME_UNKNOWN", + "HOUSEHOLD_INCOME_LOWER_50_PERCENT", + "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", + "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", + "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", + "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", + "HOUSEHOLD_INCOME_TOP_10_PERCENT", + ] + +@typing.type_check_only +class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + householdIncome: typing_extensions.Literal[ + "HOUSEHOLD_INCOME_UNSPECIFIED", + "HOUSEHOLD_INCOME_UNKNOWN", + "HOUSEHOLD_INCOME_LOWER_50_PERCENT", + "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", + "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", + "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", + "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", + "HOUSEHOLD_INCOME_TOP_10_PERCENT", + ] + +@typing.type_check_only +class IdFilter(typing_extensions.TypedDict, total=False): + adGroupAdIds: _list[str] + adGroupIds: _list[str] + adGroupQaIds: _list[str] + campaignIds: _list[str] + insertionOrderIds: _list[str] + lineItemIds: _list[str] + lineItemQaIds: _list[str] + mediaProductIds: _list[str] + +@typing.type_check_only +class ImageAsset(typing_extensions.TypedDict, total=False): + fileSize: str + fullSize: Dimensions + mimeType: str + +@typing.type_check_only +class InStreamAd(typing_extensions.TypedDict, total=False): + commonInStreamAttribute: CommonInStreamAttribute + customParameters: dict[str, typing.Any] + +@typing.type_check_only +class InsertionOrder(typing_extensions.TypedDict, total=False): + advertiserId: str + bidStrategy: BiddingStrategy + budget: InsertionOrderBudget + campaignId: str + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + frequencyCap: FrequencyCap + insertionOrderId: str + insertionOrderType: typing_extensions.Literal[ + "INSERTION_ORDER_TYPE_UNSPECIFIED", "RTB", "OVER_THE_TOP" + ] + integrationDetails: IntegrationDetails + kpi: Kpi + name: str + optimizationObjective: typing_extensions.Literal[ + "OPTIMIZATION_OBJECTIVE_UNSPECIFIED", + "CONVERSION", + "CLICK", + "BRAND_AWARENESS", + "CUSTOM", + "NO_OBJECTIVE", + ] + pacing: Pacing + partnerCosts: _list[PartnerCost] + reservationType: typing_extensions.Literal[ + "RESERVATION_TYPE_UNSPECIFIED", + "RESERVATION_TYPE_NOT_GUARANTEED", + "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", + "RESERVATION_TYPE_TAG_GUARANTEED", + "RESERVATION_TYPE_PETRA_VIRAL", + "RESERVATION_TYPE_INSTANT_RESERVE", + ] + updateTime: str + +@typing.type_check_only +class InsertionOrderBudget(typing_extensions.TypedDict, total=False): + automationType: typing_extensions.Literal[ + "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", + "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", + "INSERTION_ORDER_AUTOMATION_TYPE_NONE", + "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET", + ] + budgetSegments: _list[InsertionOrderBudgetSegment] + budgetUnit: typing_extensions.Literal[ + "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" + ] + +@typing.type_check_only +class InsertionOrderBudgetSegment(typing_extensions.TypedDict, total=False): + budgetAmountMicros: str + campaignBudgetId: str + dateRange: DateRange + description: str + +@typing.type_check_only +class IntegralAdScience(typing_extensions.TypedDict, total=False): + customSegmentId: _list[str] + displayViewability: typing_extensions.Literal[ + "PERFORMANCE_VIEWABILITY_UNSPECIFIED", + "PERFORMANCE_VIEWABILITY_40", + "PERFORMANCE_VIEWABILITY_50", + "PERFORMANCE_VIEWABILITY_60", + "PERFORMANCE_VIEWABILITY_70", + ] + excludeUnrateable: bool + excludedAdFraudRisk: typing_extensions.Literal[ + "SUSPICIOUS_ACTIVITY_UNSPECIFIED", + "SUSPICIOUS_ACTIVITY_HR", + "SUSPICIOUS_ACTIVITY_HMR", + ] + excludedAdultRisk: typing_extensions.Literal[ + "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" + ] + excludedAlcoholRisk: typing_extensions.Literal[ + "ALCOHOL_UNSPECIFIED", "ALCOHOL_HR", "ALCOHOL_HMR" + ] + excludedDrugsRisk: typing_extensions.Literal[ + "DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR" + ] + excludedGamblingRisk: typing_extensions.Literal[ + "GAMBLING_UNSPECIFIED", "GAMBLING_HR", "GAMBLING_HMR" + ] + excludedHateSpeechRisk: typing_extensions.Literal[ + "HATE_SPEECH_UNSPECIFIED", "HATE_SPEECH_HR", "HATE_SPEECH_HMR" + ] + excludedIllegalDownloadsRisk: typing_extensions.Literal[ + "ILLEGAL_DOWNLOADS_UNSPECIFIED", "ILLEGAL_DOWNLOADS_HR", "ILLEGAL_DOWNLOADS_HMR" + ] + excludedOffensiveLanguageRisk: typing_extensions.Literal[ + "OFFENSIVE_LANGUAGE_UNSPECIFIED", + "OFFENSIVE_LANGUAGE_HR", + "OFFENSIVE_LANGUAGE_HMR", + ] + excludedViolenceRisk: typing_extensions.Literal[ + "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" + ] + qualitySyncCustomSegmentId: _list[str] + traqScoreOption: typing_extensions.Literal[ + "TRAQ_UNSPECIFIED", + "TRAQ_250", + "TRAQ_500", + "TRAQ_600", + "TRAQ_700", + "TRAQ_750", + "TRAQ_875", + "TRAQ_1000", + ] + videoViewability: typing_extensions.Literal[ + "VIDEO_VIEWABILITY_UNSPECIFIED", + "VIDEO_VIEWABILITY_40", + "VIDEO_VIEWABILITY_50", + "VIDEO_VIEWABILITY_60", + "VIDEO_VIEWABILITY_70", + ] + +@typing.type_check_only +class IntegrationDetails(typing_extensions.TypedDict, total=False): + details: str + integrationCode: str + +@typing.type_check_only +class InventorySource(typing_extensions.TypedDict, total=False): + commitment: typing_extensions.Literal[ + "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", + "INVENTORY_SOURCE_COMMITMENT_GUARANTEED", + "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED", + ] + creativeConfigs: _list[CreativeConfig] + dealId: str + deliveryMethod: typing_extensions.Literal[ + "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", + "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", + "INVENTORY_SOURCE_DELIVERY_METHOD_TAG", + ] + displayName: str + exchange: typing_extensions.Literal[ + "EXCHANGE_UNSPECIFIED", + "EXCHANGE_GOOGLE_AD_MANAGER", + "EXCHANGE_APPNEXUS", + "EXCHANGE_BRIGHTROLL", + "EXCHANGE_ADFORM", + "EXCHANGE_ADMETA", + "EXCHANGE_ADMIXER", + "EXCHANGE_ADSMOGO", + "EXCHANGE_ADSWIZZ", + "EXCHANGE_BIDSWITCH", + "EXCHANGE_BRIGHTROLL_DISPLAY", + "EXCHANGE_CADREON", + "EXCHANGE_DAILYMOTION", + "EXCHANGE_FIVE", + "EXCHANGE_FLUCT", + "EXCHANGE_FREEWHEEL", + "EXCHANGE_GENIEE", + "EXCHANGE_GUMGUM", + "EXCHANGE_IMOBILE", + "EXCHANGE_IBILLBOARD", + "EXCHANGE_IMPROVE_DIGITAL", + "EXCHANGE_INDEX", + "EXCHANGE_KARGO", + "EXCHANGE_MICROAD", + "EXCHANGE_MOPUB", + "EXCHANGE_NEND", + "EXCHANGE_ONE_BY_AOL_DISPLAY", + "EXCHANGE_ONE_BY_AOL_MOBILE", + "EXCHANGE_ONE_BY_AOL_VIDEO", + "EXCHANGE_OOYALA", + "EXCHANGE_OPENX", + "EXCHANGE_PERMODO", + "EXCHANGE_PLATFORMONE", + "EXCHANGE_PLATFORMID", + "EXCHANGE_PUBMATIC", + "EXCHANGE_PULSEPOINT", + "EXCHANGE_REVENUEMAX", + "EXCHANGE_RUBICON", + "EXCHANGE_SMARTCLIP", + "EXCHANGE_SMARTRTB", + "EXCHANGE_SMARTSTREAMTV", + "EXCHANGE_SOVRN", + "EXCHANGE_SPOTXCHANGE", + "EXCHANGE_STROER", + "EXCHANGE_TEADSTV", + "EXCHANGE_TELARIA", + "EXCHANGE_TVN", + "EXCHANGE_UNITED", + "EXCHANGE_YIELDLAB", + "EXCHANGE_YIELDMO", + "EXCHANGE_UNRULYX", + "EXCHANGE_OPEN8", + "EXCHANGE_TRITON", + "EXCHANGE_TRIPLELIFT", + "EXCHANGE_TABOOLA", + "EXCHANGE_INMOBI", + "EXCHANGE_SMAATO", + "EXCHANGE_AJA", + "EXCHANGE_SUPERSHIP", + "EXCHANGE_NEXSTAR_DIGITAL", + "EXCHANGE_WAZE", + "EXCHANGE_SOUNDCAST", + "EXCHANGE_SHARETHROUGH", + "EXCHANGE_FYBER", + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY", + "EXCHANGE_VISTAR", + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX", + "EXCHANGE_RESET_DIGITAL", + "EXCHANGE_HIVESTACK", + "EXCHANGE_DRAX", + "EXCHANGE_APPLOVIN_GBID", + "EXCHANGE_FYBER_GBID", + "EXCHANGE_UNITY_GBID", + "EXCHANGE_CHARTBOOST_GBID", + "EXCHANGE_ADMOST_GBID", + "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", + "EXCHANGE_CORE", + "EXCHANGE_COMMERCE_GRID", + "EXCHANGE_SPOTIFY", + "EXCHANGE_TUBI", + ] + guaranteedOrderId: str + inventorySourceId: str + inventorySourceProductType: typing_extensions.Literal[ + "INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", + "PREFERRED_DEAL", + "PRIVATE_AUCTION", + "PROGRAMMATIC_GUARANTEED", + "TAG_GUARANTEED", + "YOUTUBE_RESERVE", + "INSTANT_RESERVE", + "GUARANTEED_PACKAGE", + "PROGRAMMATIC_TV", + "AUCTION_PACKAGE", + ] + inventorySourceType: typing_extensions.Literal[ + "INVENTORY_SOURCE_TYPE_UNSPECIFIED", + "INVENTORY_SOURCE_TYPE_PRIVATE", + "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE", + ] + name: str + publisherName: str + rateDetails: RateDetails + readAdvertiserIds: _list[str] + readPartnerIds: _list[str] + readWriteAccessors: InventorySourceAccessors + status: InventorySourceStatus + timeRange: TimeRange + updateTime: str + +@typing.type_check_only +class InventorySourceAccessors(typing_extensions.TypedDict, total=False): + advertisers: InventorySourceAccessorsAdvertiserAccessors + partner: InventorySourceAccessorsPartnerAccessor + +@typing.type_check_only +class InventorySourceAccessorsAdvertiserAccessors( + typing_extensions.TypedDict, total=False +): + advertiserIds: _list[str] + +@typing.type_check_only +class InventorySourceAccessorsPartnerAccessor(typing_extensions.TypedDict, total=False): + partnerId: str + +@typing.type_check_only +class InventorySourceAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + inventorySourceId: str + +@typing.type_check_only +class InventorySourceDisplayCreativeConfig(typing_extensions.TypedDict, total=False): + creativeSize: Dimensions + +@typing.type_check_only +class InventorySourceFilter(typing_extensions.TypedDict, total=False): + inventorySourceIds: _list[str] + +@typing.type_check_only +class InventorySourceGroup(typing_extensions.TypedDict, total=False): + displayName: str + inventorySourceGroupId: str + name: str + +@typing.type_check_only +class InventorySourceGroupAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + inventorySourceGroupId: str + +@typing.type_check_only +class InventorySourceStatus(typing_extensions.TypedDict, total=False): + configStatus: typing_extensions.Literal[ + "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", + "INVENTORY_SOURCE_CONFIG_STATUS_PENDING", + "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED", + ] + entityPauseReason: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + sellerPauseReason: str + sellerStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + +@typing.type_check_only +class InventorySourceVideoCreativeConfig(typing_extensions.TypedDict, total=False): + duration: str + +@typing.type_check_only +class Invoice(typing_extensions.TypedDict, total=False): + budgetInvoiceGroupingId: str + budgetSummaries: _list[BudgetSummary] + correctedInvoiceId: str + currencyCode: str + displayName: str + dueDate: Date + invoiceId: str + invoiceType: typing_extensions.Literal[ + "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" + ] + issueDate: Date + name: str + nonBudgetMicros: str + paymentsAccountId: str + paymentsProfileId: str + pdfUrl: str + purchaseOrderNumber: str + replacedInvoiceIds: _list[str] + serviceDateRange: DateRange + subtotalAmountMicros: str + totalAmountMicros: str + totalTaxAmountMicros: str + +@typing.type_check_only +class KeywordAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + keyword: str + negative: bool + +@typing.type_check_only +class Kpi(typing_extensions.TypedDict, total=False): + kpiAlgorithmId: str + kpiAmountMicros: str + kpiPercentageMicros: str + kpiString: str + kpiType: typing_extensions.Literal[ + "KPI_TYPE_UNSPECIFIED", + "KPI_TYPE_CPM", + "KPI_TYPE_CPC", + "KPI_TYPE_CPA", + "KPI_TYPE_CTR", + "KPI_TYPE_VIEWABILITY", + "KPI_TYPE_CPIAVC", + "KPI_TYPE_CPE", + "KPI_TYPE_CPV", + "KPI_TYPE_CLICK_CVR", + "KPI_TYPE_IMPRESSION_CVR", + "KPI_TYPE_VCPM", + "KPI_TYPE_VTR", + "KPI_TYPE_AUDIO_COMPLETION_RATE", + "KPI_TYPE_VIDEO_COMPLETION_RATE", + "KPI_TYPE_CPCL", + "KPI_TYPE_CPCV", + "KPI_TYPE_TOS10", + "KPI_TYPE_MAXIMIZE_PACING", + "KPI_TYPE_CUSTOM_IMPRESSION_VALUE_OVER_COST", + "KPI_TYPE_OTHER", + ] + +@typing.type_check_only +class LanguageAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class LanguageTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class LineItem(typing_extensions.TypedDict, total=False): + advertiserId: str + bidStrategy: BiddingStrategy + budget: LineItemBudget + campaignId: str + conversionCounting: ConversionCountingConfig + creativeIds: _list[str] + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + excludeNewExchanges: bool + flight: LineItemFlight + frequencyCap: FrequencyCap + insertionOrderId: str + integrationDetails: IntegrationDetails + lineItemId: str + lineItemType: typing_extensions.Literal[ + "LINE_ITEM_TYPE_UNSPECIFIED", + "LINE_ITEM_TYPE_DISPLAY_DEFAULT", + "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", + "LINE_ITEM_TYPE_VIDEO_DEFAULT", + "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", + "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", + "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", + "LINE_ITEM_TYPE_AUDIO_DEFAULT", + "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME", + ] + mobileApp: MobileApp + name: str + pacing: Pacing + partnerCosts: _list[PartnerCost] + partnerRevenueModel: PartnerRevenueModel + reservationType: typing_extensions.Literal[ + "RESERVATION_TYPE_UNSPECIFIED", + "RESERVATION_TYPE_NOT_GUARANTEED", + "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", + "RESERVATION_TYPE_TAG_GUARANTEED", + "RESERVATION_TYPE_PETRA_VIRAL", + "RESERVATION_TYPE_INSTANT_RESERVE", + ] + targetingExpansion: TargetingExpansionConfig + updateTime: str + warningMessages: _list[ + typing_extensions.Literal[ + "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", + "INVALID_FLIGHT_DATES", + "EXPIRED", + "PENDING_FLIGHT", + "ALL_PARTNER_ENABLED_EXCHANGES_NEGATIVELY_TARGETED", + "INVALID_INVENTORY_SOURCE", + "APP_INVENTORY_INVALID_SITE_TARGETING", + "APP_INVENTORY_INVALID_AUDIENCE_LISTS", + "NO_VALID_CREATIVE", + "PARENT_INSERTION_ORDER_PAUSED", + "PARENT_INSERTION_ORDER_EXPIRED", + ] + ] + youtubeAndPartnersSettings: YoutubeAndPartnersSettings + +@typing.type_check_only +class LineItemAssignedTargetingOption(typing_extensions.TypedDict, total=False): + assignedTargetingOption: AssignedTargetingOption + lineItemId: str + +@typing.type_check_only +class LineItemBudget(typing_extensions.TypedDict, total=False): + budgetAllocationType: typing_extensions.Literal[ + "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", + "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", + "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", + "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED", + ] + budgetUnit: typing_extensions.Literal[ + "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" + ] + maxAmount: str + +@typing.type_check_only +class LineItemFlight(typing_extensions.TypedDict, total=False): + dateRange: DateRange + flightDateType: typing_extensions.Literal[ + "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", + "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", + "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", + ] + +@typing.type_check_only +class ListAdGroupAdsResponse(typing_extensions.TypedDict, total=False): + adGroupAds: _list[AdGroupAd] + nextPageToken: str + +@typing.type_check_only +class ListAdGroupAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + assignedTargetingOptions: _list[AssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class ListAdGroupsResponse(typing_extensions.TypedDict, total=False): + adGroups: _list[AdGroup] + nextPageToken: str + +@typing.type_check_only +class ListAdvertiserAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + assignedTargetingOptions: _list[AssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class ListAdvertisersResponse(typing_extensions.TypedDict, total=False): + advertisers: _list[Advertiser] + nextPageToken: str + +@typing.type_check_only +class ListAssignedInventorySourcesResponse(typing_extensions.TypedDict, total=False): + assignedInventorySources: _list[AssignedInventorySource] + nextPageToken: str + +@typing.type_check_only +class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): + assignedLocations: _list[AssignedLocation] + nextPageToken: str + +@typing.type_check_only +class ListCampaignsResponse(typing_extensions.TypedDict, total=False): + campaigns: _list[Campaign] + nextPageToken: str + +@typing.type_check_only +class ListChannelsResponse(typing_extensions.TypedDict, total=False): + channels: _list[Channel] + nextPageToken: str + +@typing.type_check_only +class ListCombinedAudiencesResponse(typing_extensions.TypedDict, total=False): + combinedAudiences: _list[CombinedAudience] + nextPageToken: str + +@typing.type_check_only +class ListCreativesResponse(typing_extensions.TypedDict, total=False): + creatives: _list[Creative] + nextPageToken: str + +@typing.type_check_only +class ListCustomBiddingAlgorithmRulesResponse(typing_extensions.TypedDict, total=False): + customBiddingRules: _list[CustomBiddingAlgorithmRules] + nextPageToken: str + +@typing.type_check_only +class ListCustomBiddingAlgorithmsResponse(typing_extensions.TypedDict, total=False): + customBiddingAlgorithms: _list[CustomBiddingAlgorithm] + nextPageToken: str + +@typing.type_check_only +class ListCustomBiddingScriptsResponse(typing_extensions.TypedDict, total=False): + customBiddingScripts: _list[CustomBiddingScript] + nextPageToken: str + +@typing.type_check_only +class ListCustomListsResponse(typing_extensions.TypedDict, total=False): + customLists: _list[CustomList] + nextPageToken: str + +@typing.type_check_only +class ListFirstPartyAndPartnerAudiencesResponse( + typing_extensions.TypedDict, total=False +): + firstPartyAndPartnerAudiences: _list[FirstPartyAndPartnerAudience] + nextPageToken: str + +@typing.type_check_only +class ListFloodlightActivitiesResponse(typing_extensions.TypedDict, total=False): + floodlightActivities: _list[FloodlightActivity] + nextPageToken: str + +@typing.type_check_only +class ListGoogleAudiencesResponse(typing_extensions.TypedDict, total=False): + googleAudiences: _list[GoogleAudience] + nextPageToken: str + +@typing.type_check_only +class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): + guaranteedOrders: _list[GuaranteedOrder] + nextPageToken: str + +@typing.type_check_only +class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): + insertionOrders: _list[InsertionOrder] + nextPageToken: str + +@typing.type_check_only +class ListInventorySourceGroupsResponse(typing_extensions.TypedDict, total=False): + inventorySourceGroups: _list[InventorySourceGroup] + nextPageToken: str + +@typing.type_check_only +class ListInventorySourcesResponse(typing_extensions.TypedDict, total=False): + inventorySources: _list[InventorySource] + nextPageToken: str + +@typing.type_check_only +class ListInvoicesResponse(typing_extensions.TypedDict, total=False): + invoices: _list[Invoice] + nextPageToken: str + +@typing.type_check_only +class ListLineItemAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + assignedTargetingOptions: _list[AssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class ListLineItemsResponse(typing_extensions.TypedDict, total=False): + lineItems: _list[LineItem] + nextPageToken: str + +@typing.type_check_only +class ListLocationListsResponse(typing_extensions.TypedDict, total=False): + locationLists: _list[LocationList] + nextPageToken: str + +@typing.type_check_only +class ListNegativeKeywordListsResponse(typing_extensions.TypedDict, total=False): + negativeKeywordLists: _list[NegativeKeywordList] + nextPageToken: str + +@typing.type_check_only +class ListNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): + negativeKeywords: _list[NegativeKeyword] + nextPageToken: str + +@typing.type_check_only +class ListPartnerAssignedTargetingOptionsResponse( + typing_extensions.TypedDict, total=False +): + assignedTargetingOptions: _list[AssignedTargetingOption] + nextPageToken: str + +@typing.type_check_only +class ListPartnersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + partners: _list[Partner] + +@typing.type_check_only +class ListSitesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + sites: _list[Site] + +@typing.type_check_only +class ListTargetingOptionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + targetingOptions: _list[TargetingOption] + +@typing.type_check_only +class ListUsersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + users: _list[User] + +@typing.type_check_only +class LocationList(typing_extensions.TypedDict, total=False): + advertiserId: str + displayName: str + locationListId: str + locationType: typing_extensions.Literal[ + "TARGETING_LOCATION_TYPE_UNSPECIFIED", + "TARGETING_LOCATION_TYPE_PROXIMITY", + "TARGETING_LOCATION_TYPE_REGIONAL", + ] + name: str + +@typing.type_check_only +class LookbackWindow(typing_extensions.TypedDict, total=False): + clickDays: int + impressionDays: int + +@typing.type_check_only +class LookupInvoiceCurrencyResponse(typing_extensions.TypedDict, total=False): + currencyCode: str + +@typing.type_check_only +class MastheadAd(typing_extensions.TypedDict, total=False): + autoplayVideoDuration: str + autoplayVideoStartMillisecond: str + callToActionButtonLabel: str + callToActionFinalUrl: str + callToActionTrackingUrl: str + companionYoutubeVideos: _list[YoutubeVideoDetails] + description: str + headline: str + showChannelArt: bool + video: YoutubeVideoDetails + videoAspectRatio: typing_extensions.Literal[ + "VIDEO_ASPECT_RATIO_UNSPECIFIED", + "VIDEO_ASPECT_RATIO_WIDESCREEN", + "VIDEO_ASPECT_RATIO_FIXED_16_9", + ] + +@typing.type_check_only +class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): + customBiddingAlgorithmId: str + maxAverageCpmBidAmountMicros: str + performanceGoalType: typing_extensions.Literal[ + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", + ] + raiseBidForDeals: bool + +@typing.type_check_only +class MeasurementConfig(typing_extensions.TypedDict, total=False): + dv360ToCmCostReportingEnabled: bool + dv360ToCmDataSharingEnabled: bool + +@typing.type_check_only +class MobileApp(typing_extensions.TypedDict, total=False): + appId: str + displayName: str + platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] + publisher: str + +@typing.type_check_only +class MobileDeviceIdList(typing_extensions.TypedDict, total=False): + consent: Consent + mobileDeviceIds: _list[str] + +@typing.type_check_only +class Money(typing_extensions.TypedDict, total=False): + currencyCode: str + nanos: int + units: str + +@typing.type_check_only +class NativeContentPositionAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentPosition: typing_extensions.Literal[ + "NATIVE_CONTENT_POSITION_UNSPECIFIED", + "NATIVE_CONTENT_POSITION_UNKNOWN", + "NATIVE_CONTENT_POSITION_IN_ARTICLE", + "NATIVE_CONTENT_POSITION_IN_FEED", + "NATIVE_CONTENT_POSITION_PERIPHERAL", + "NATIVE_CONTENT_POSITION_RECOMMENDATION", + ] + +@typing.type_check_only +class NativeContentPositionTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + contentPosition: typing_extensions.Literal[ + "NATIVE_CONTENT_POSITION_UNSPECIFIED", + "NATIVE_CONTENT_POSITION_UNKNOWN", + "NATIVE_CONTENT_POSITION_IN_ARTICLE", + "NATIVE_CONTENT_POSITION_IN_FEED", + "NATIVE_CONTENT_POSITION_PERIPHERAL", + "NATIVE_CONTENT_POSITION_RECOMMENDATION", + ] + +@typing.type_check_only +class NegativeKeyword(typing_extensions.TypedDict, total=False): + keywordValue: str + name: str + +@typing.type_check_only +class NegativeKeywordList(typing_extensions.TypedDict, total=False): + advertiserId: str + displayName: str + name: str + negativeKeywordListId: str + targetedLineItemCount: str + +@typing.type_check_only +class NegativeKeywordListAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + negativeKeywordListId: str + +@typing.type_check_only +class NonSkippableAd(typing_extensions.TypedDict, total=False): + commonInStreamAttribute: CommonInStreamAttribute + customParameters: dict[str, typing.Any] + +@typing.type_check_only +class ObaIcon(typing_extensions.TypedDict, total=False): + clickTrackingUrl: str + dimensions: Dimensions + landingPageUrl: str + position: typing_extensions.Literal[ + "OBA_ICON_POSITION_UNSPECIFIED", + "OBA_ICON_POSITION_UPPER_RIGHT", + "OBA_ICON_POSITION_UPPER_LEFT", + "OBA_ICON_POSITION_LOWER_RIGHT", + "OBA_ICON_POSITION_LOWER_LEFT", + ] + program: str + resourceMimeType: str + resourceUrl: str + viewTrackingUrl: str + +@typing.type_check_only +class OmidAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] + +@typing.type_check_only +class OmidTargetingOptionDetails(typing_extensions.TypedDict, total=False): + omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] + +@typing.type_check_only +class OnScreenPositionAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + adType: typing_extensions.Literal[ + "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" + ] + onScreenPosition: typing_extensions.Literal[ + "ON_SCREEN_POSITION_UNSPECIFIED", + "ON_SCREEN_POSITION_UNKNOWN", + "ON_SCREEN_POSITION_ABOVE_THE_FOLD", + "ON_SCREEN_POSITION_BELOW_THE_FOLD", + ] + targetingOptionId: str + +@typing.type_check_only +class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total=False): + onScreenPosition: typing_extensions.Literal[ + "ON_SCREEN_POSITION_UNSPECIFIED", + "ON_SCREEN_POSITION_UNKNOWN", + "ON_SCREEN_POSITION_ABOVE_THE_FOLD", + "ON_SCREEN_POSITION_BELOW_THE_FOLD", + ] + +@typing.type_check_only +class OperatingSystemAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + negative: bool + targetingOptionId: str + +@typing.type_check_only +class OperatingSystemTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -16,8 +3867,918 @@ class Operation(typing_extensions.TypedDict, total=False): name: str response: dict[str, typing.Any] +@typing.type_check_only +class Pacing(typing_extensions.TypedDict, total=False): + dailyMaxImpressions: str + dailyMaxMicros: str + pacingPeriod: typing_extensions.Literal[ + "PACING_PERIOD_UNSPECIFIED", "PACING_PERIOD_DAILY", "PACING_PERIOD_FLIGHT" + ] + pacingType: typing_extensions.Literal[ + "PACING_TYPE_UNSPECIFIED", + "PACING_TYPE_AHEAD", + "PACING_TYPE_ASAP", + "PACING_TYPE_EVEN", + ] + +@typing.type_check_only +class ParentEntityFilter(typing_extensions.TypedDict, total=False): + fileType: _list[ + typing_extensions.Literal[ + "FILE_TYPE_UNSPECIFIED", + "FILE_TYPE_CAMPAIGN", + "FILE_TYPE_MEDIA_PRODUCT", + "FILE_TYPE_INSERTION_ORDER", + "FILE_TYPE_LINE_ITEM", + "FILE_TYPE_AD_GROUP", + "FILE_TYPE_AD", + "FILE_TYPE_LINE_ITEM_QA", + "FILE_TYPE_AD_GROUP_QA", + ] + ] + filterIds: _list[str] + filterType: typing_extensions.Literal[ + "FILTER_TYPE_UNSPECIFIED", + "FILTER_TYPE_NONE", + "FILTER_TYPE_ADVERTISER_ID", + "FILTER_TYPE_CAMPAIGN_ID", + "FILTER_TYPE_MEDIA_PRODUCT_ID", + "FILTER_TYPE_INSERTION_ORDER_ID", + "FILTER_TYPE_LINE_ITEM_ID", + ] + +@typing.type_check_only +class ParentalStatusAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + parentalStatus: typing_extensions.Literal[ + "PARENTAL_STATUS_UNSPECIFIED", + "PARENTAL_STATUS_PARENT", + "PARENTAL_STATUS_NOT_A_PARENT", + "PARENTAL_STATUS_UNKNOWN", + ] + +@typing.type_check_only +class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=False): + parentalStatus: typing_extensions.Literal[ + "PARENTAL_STATUS_UNSPECIFIED", + "PARENTAL_STATUS_PARENT", + "PARENTAL_STATUS_NOT_A_PARENT", + "PARENTAL_STATUS_UNKNOWN", + ] + +@typing.type_check_only +class Partner(typing_extensions.TypedDict, total=False): + adServerConfig: PartnerAdServerConfig + billingConfig: PartnerBillingConfig + dataAccessConfig: PartnerDataAccessConfig + displayName: str + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + exchangeConfig: ExchangeConfig + generalConfig: PartnerGeneralConfig + name: str + partnerId: str + updateTime: str + +@typing.type_check_only +class PartnerAdServerConfig(typing_extensions.TypedDict, total=False): + measurementConfig: MeasurementConfig + +@typing.type_check_only +class PartnerBillingConfig(typing_extensions.TypedDict, total=False): + billingProfileId: str + +@typing.type_check_only +class PartnerCost(typing_extensions.TypedDict, total=False): + costType: typing_extensions.Literal[ + "PARTNER_COST_TYPE_UNSPECIFIED", + "PARTNER_COST_TYPE_ADLOOX", + "PARTNER_COST_TYPE_ADLOOX_PREBID", + "PARTNER_COST_TYPE_ADSAFE", + "PARTNER_COST_TYPE_ADXPOSE", + "PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE", + "PARTNER_COST_TYPE_AGENCY_TRADING_DESK", + "PARTNER_COST_TYPE_DV360_FEE", + "PARTNER_COST_TYPE_COMSCORE_VCE", + "PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM", + "PARTNER_COST_TYPE_DEFAULT", + "PARTNER_COST_TYPE_DOUBLE_VERIFY", + "PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID", + "PARTNER_COST_TYPE_EVIDON", + "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO", + "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID", + "PARTNER_COST_TYPE_MEDIA_COST_DATA", + "PARTNER_COST_TYPE_MOAT_VIDEO", + "PARTNER_COST_TYPE_NIELSEN_DAR", + "PARTNER_COST_TYPE_SHOP_LOCAL", + "PARTNER_COST_TYPE_TERACENT", + "PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER", + "PARTNER_COST_TYPE_TRUST_METRICS", + "PARTNER_COST_TYPE_VIZU", + "PARTNER_COST_TYPE_CUSTOM_FEE_1", + "PARTNER_COST_TYPE_CUSTOM_FEE_2", + "PARTNER_COST_TYPE_CUSTOM_FEE_3", + "PARTNER_COST_TYPE_CUSTOM_FEE_4", + "PARTNER_COST_TYPE_CUSTOM_FEE_5", + "PARTNER_COST_TYPE_SCIBIDS_FEE", + ] + feeAmount: str + feePercentageMillis: str + feeType: typing_extensions.Literal[ + "PARTNER_COST_FEE_TYPE_UNSPECIFIED", + "PARTNER_COST_FEE_TYPE_CPM_FEE", + "PARTNER_COST_FEE_TYPE_MEDIA_FEE", + ] + invoiceType: typing_extensions.Literal[ + "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", + "PARTNER_COST_INVOICE_TYPE_DV360", + "PARTNER_COST_INVOICE_TYPE_PARTNER", + ] + +@typing.type_check_only +class PartnerDataAccessConfig(typing_extensions.TypedDict, total=False): + sdfConfig: SdfConfig + +@typing.type_check_only +class PartnerGeneralConfig(typing_extensions.TypedDict, total=False): + currencyCode: str + timeZone: str + +@typing.type_check_only +class PartnerRevenueModel(typing_extensions.TypedDict, total=False): + markupAmount: str + markupType: typing_extensions.Literal[ + "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", + "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", + "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", + "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP", + ] + +@typing.type_check_only +class PerformanceGoal(typing_extensions.TypedDict, total=False): + performanceGoalAmountMicros: str + performanceGoalPercentageMicros: str + performanceGoalString: str + performanceGoalType: typing_extensions.Literal[ + "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", + "PERFORMANCE_GOAL_TYPE_CPM", + "PERFORMANCE_GOAL_TYPE_CPC", + "PERFORMANCE_GOAL_TYPE_CPA", + "PERFORMANCE_GOAL_TYPE_CTR", + "PERFORMANCE_GOAL_TYPE_VIEWABILITY", + "PERFORMANCE_GOAL_TYPE_CPIAVC", + "PERFORMANCE_GOAL_TYPE_CPE", + "PERFORMANCE_GOAL_TYPE_CPV", + "PERFORMANCE_GOAL_TYPE_CLICK_CVR", + "PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR", + "PERFORMANCE_GOAL_TYPE_VCPM", + "PERFORMANCE_GOAL_TYPE_VTR", + "PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE", + "PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE", + "PERFORMANCE_GOAL_TYPE_OTHER", + ] + +@typing.type_check_only +class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): + customBiddingAlgorithmId: str + maxAverageCpmBidAmountMicros: str + performanceGoalAmountMicros: str + performanceGoalType: typing_extensions.Literal[ + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", + ] + +@typing.type_check_only +class PoiAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + latitude: float + longitude: float + proximityRadiusAmount: float + proximityRadiusUnit: typing_extensions.Literal[ + "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" + ] + targetingOptionId: str + +@typing.type_check_only +class PoiSearchTerms(typing_extensions.TypedDict, total=False): + poiQuery: str + +@typing.type_check_only +class PoiTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + latitude: float + longitude: float + +@typing.type_check_only +class PrismaConfig(typing_extensions.TypedDict, total=False): + prismaCpeCode: PrismaCpeCode + prismaType: typing_extensions.Literal[ + "PRISMA_TYPE_UNSPECIFIED", + "PRISMA_TYPE_DISPLAY", + "PRISMA_TYPE_SEARCH", + "PRISMA_TYPE_VIDEO", + "PRISMA_TYPE_AUDIO", + "PRISMA_TYPE_SOCIAL", + "PRISMA_TYPE_FEE", + ] + supplier: str + +@typing.type_check_only +class PrismaCpeCode(typing_extensions.TypedDict, total=False): + prismaClientCode: str + prismaEstimateCode: str + prismaProductCode: str + +@typing.type_check_only +class ProductFeedData(typing_extensions.TypedDict, total=False): + isFeedDisabled: bool + productMatchDimensions: _list[ProductMatchDimension] + productMatchType: typing_extensions.Literal[ + "PRODUCT_MATCH_TYPE_UNSPECIFIED", + "PRODUCT_MATCH_TYPE_ALL_PRODUCTS", + "PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", + "PRODUCT_MATCH_TYPE_CUSTOM_LABEL", + ] + +@typing.type_check_only +class ProductMatchDimension(typing_extensions.TypedDict, total=False): + customLabel: CustomLabel + productOfferId: str + +@typing.type_check_only +class ProximityLocationListAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + proximityLocationListId: str + proximityRadius: float + proximityRadiusUnit: typing_extensions.Literal[ + "PROXIMITY_RADIUS_UNIT_UNSPECIFIED", + "PROXIMITY_RADIUS_UNIT_MILES", + "PROXIMITY_RADIUS_UNIT_KILOMETERS", + ] + +@typing.type_check_only +class RateDetails(typing_extensions.TypedDict, total=False): + inventorySourceRateType: typing_extensions.Literal[ + "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", + "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", + "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", + "INVENTORY_SOURCE_RATE_TYPE_CPD", + "INVENTORY_SOURCE_RATE_TYPE_FLAT", + ] + minimumSpend: Money + rate: Money + unitsPurchased: str + +@typing.type_check_only +class RegionalLocationListAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + negative: bool + regionalLocationListId: str + +@typing.type_check_only +class RemarketingConfig(typing_extensions.TypedDict, total=False): + advertiserId: str + remarketingEnabled: bool + +@typing.type_check_only +class ReplaceNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): + newNegativeKeywords: _list[NegativeKeyword] + +@typing.type_check_only +class ReplaceNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): + negativeKeywords: _list[NegativeKeyword] + +@typing.type_check_only +class ReplaceSitesRequest(typing_extensions.TypedDict, total=False): + advertiserId: str + newSites: _list[Site] + partnerId: str + +@typing.type_check_only +class ReplaceSitesResponse(typing_extensions.TypedDict, total=False): + sites: _list[Site] + +@typing.type_check_only +class ReviewStatusInfo(typing_extensions.TypedDict, total=False): + approvalStatus: typing_extensions.Literal[ + "APPROVAL_STATUS_UNSPECIFIED", + "APPROVAL_STATUS_PENDING_NOT_SERVABLE", + "APPROVAL_STATUS_PENDING_SERVABLE", + "APPROVAL_STATUS_APPROVED_SERVABLE", + "APPROVAL_STATUS_REJECTED_NOT_SERVABLE", + ] + contentAndPolicyReviewStatus: typing_extensions.Literal[ + "REVIEW_STATUS_UNSPECIFIED", + "REVIEW_STATUS_APPROVED", + "REVIEW_STATUS_REJECTED", + "REVIEW_STATUS_PENDING", + ] + creativeAndLandingPageReviewStatus: typing_extensions.Literal[ + "REVIEW_STATUS_UNSPECIFIED", + "REVIEW_STATUS_APPROVED", + "REVIEW_STATUS_REJECTED", + "REVIEW_STATUS_PENDING", + ] + exchangeReviewStatuses: _list[ExchangeReviewStatus] + +@typing.type_check_only +class ScriptError(typing_extensions.TypedDict, total=False): + column: str + errorCode: typing_extensions.Literal[ + "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "DEPRECATED_SYNTAX", "INTERNAL_ERROR" + ] + errorMessage: str + line: str + +@typing.type_check_only +class SdfConfig(typing_extensions.TypedDict, total=False): + adminEmail: str + version: typing_extensions.Literal[ + "SDF_VERSION_UNSPECIFIED", + "SDF_VERSION_3_1", + "SDF_VERSION_4", + "SDF_VERSION_4_1", + "SDF_VERSION_4_2", + "SDF_VERSION_5", + "SDF_VERSION_5_1", + "SDF_VERSION_5_2", + "SDF_VERSION_5_3", + "SDF_VERSION_5_4", + "SDF_VERSION_5_5", + "SDF_VERSION_6", + "SDF_VERSION_7", + "SDF_VERSION_7_1", + "SDF_VERSION_8", + "SDF_VERSION_8_1", + ] + +@typing.type_check_only +class SdfDownloadTask(typing_extensions.TypedDict, total=False): + resourceName: str + +@typing.type_check_only +class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + version: typing_extensions.Literal[ + "SDF_VERSION_UNSPECIFIED", + "SDF_VERSION_3_1", + "SDF_VERSION_4", + "SDF_VERSION_4_1", + "SDF_VERSION_4_2", + "SDF_VERSION_5", + "SDF_VERSION_5_1", + "SDF_VERSION_5_2", + "SDF_VERSION_5_3", + "SDF_VERSION_5_4", + "SDF_VERSION_5_5", + "SDF_VERSION_6", + "SDF_VERSION_7", + "SDF_VERSION_7_1", + "SDF_VERSION_8", + "SDF_VERSION_8_1", + ] + +@typing.type_check_only +class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): + advertiserId: str + businessChainSearchTerms: BusinessChainSearchTerms + geoRegionSearchTerms: GeoRegionSearchTerms + pageSize: int + pageToken: str + poiSearchTerms: PoiSearchTerms + +@typing.type_check_only +class SearchTargetingOptionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + targetingOptions: _list[TargetingOption] + +@typing.type_check_only +class SensitiveCategoryAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + excludedSensitiveCategory: typing_extensions.Literal[ + "SENSITIVE_CATEGORY_UNSPECIFIED", + "SENSITIVE_CATEGORY_ADULT", + "SENSITIVE_CATEGORY_DEROGATORY", + "SENSITIVE_CATEGORY_DOWNLOADS_SHARING", + "SENSITIVE_CATEGORY_WEAPONS", + "SENSITIVE_CATEGORY_GAMBLING", + "SENSITIVE_CATEGORY_VIOLENCE", + "SENSITIVE_CATEGORY_SUGGESTIVE", + "SENSITIVE_CATEGORY_PROFANITY", + "SENSITIVE_CATEGORY_ALCOHOL", + "SENSITIVE_CATEGORY_DRUGS", + "SENSITIVE_CATEGORY_TOBACCO", + "SENSITIVE_CATEGORY_POLITICS", + "SENSITIVE_CATEGORY_RELIGION", + "SENSITIVE_CATEGORY_TRAGEDY", + "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", + "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", + "SENSITIVE_CATEGORY_SHOCKING", + "SENSITIVE_CATEGORY_EMBEDDED_VIDEO", + "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO", + ] + +@typing.type_check_only +class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): + sensitiveCategory: typing_extensions.Literal[ + "SENSITIVE_CATEGORY_UNSPECIFIED", + "SENSITIVE_CATEGORY_ADULT", + "SENSITIVE_CATEGORY_DEROGATORY", + "SENSITIVE_CATEGORY_DOWNLOADS_SHARING", + "SENSITIVE_CATEGORY_WEAPONS", + "SENSITIVE_CATEGORY_GAMBLING", + "SENSITIVE_CATEGORY_VIOLENCE", + "SENSITIVE_CATEGORY_SUGGESTIVE", + "SENSITIVE_CATEGORY_PROFANITY", + "SENSITIVE_CATEGORY_ALCOHOL", + "SENSITIVE_CATEGORY_DRUGS", + "SENSITIVE_CATEGORY_TOBACCO", + "SENSITIVE_CATEGORY_POLITICS", + "SENSITIVE_CATEGORY_RELIGION", + "SENSITIVE_CATEGORY_TRAGEDY", + "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", + "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", + "SENSITIVE_CATEGORY_SHOCKING", + "SENSITIVE_CATEGORY_EMBEDDED_VIDEO", + "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO", + ] + +@typing.type_check_only +class SessionPositionAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + sessionPosition: typing_extensions.Literal[ + "SESSION_POSITION_UNSPECIFIED", "SESSION_POSITION_FIRST_IMPRESSION" + ] + +@typing.type_check_only +class Site(typing_extensions.TypedDict, total=False): + name: str + urlOrAppId: 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 SubExchangeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + targetingOptionId: str + +@typing.type_check_only +class SubExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + displayName: str + +@typing.type_check_only +class TargetFrequency(typing_extensions.TypedDict, total=False): + targetCount: str + timeUnit: typing_extensions.Literal[ + "TIME_UNIT_UNSPECIFIED", + "TIME_UNIT_LIFETIME", + "TIME_UNIT_MONTHS", + "TIME_UNIT_WEEKS", + "TIME_UNIT_DAYS", + "TIME_UNIT_HOURS", + "TIME_UNIT_MINUTES", + ] + timeUnitCount: int + +@typing.type_check_only +class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): + audienceExpansionLevel: typing_extensions.Literal[ + "UNKNOWN", "NO_REACH", "LEAST_REACH", "MID_REACH", "MOST_REACH" + ] + audienceExpansionSeedListExcluded: bool + enableOptimizedTargeting: bool + +@typing.type_check_only +class TargetingOption(typing_extensions.TypedDict, total=False): + ageRangeDetails: AgeRangeTargetingOptionDetails + appCategoryDetails: AppCategoryTargetingOptionDetails + audioContentTypeDetails: AudioContentTypeTargetingOptionDetails + authorizedSellerStatusDetails: AuthorizedSellerStatusTargetingOptionDetails + browserDetails: BrowserTargetingOptionDetails + businessChainDetails: BusinessChainTargetingOptionDetails + carrierAndIspDetails: CarrierAndIspTargetingOptionDetails + categoryDetails: CategoryTargetingOptionDetails + contentDurationDetails: ContentDurationTargetingOptionDetails + contentGenreDetails: ContentGenreTargetingOptionDetails + contentInstreamPositionDetails: ContentInstreamPositionTargetingOptionDetails + contentOutstreamPositionDetails: ContentOutstreamPositionTargetingOptionDetails + contentStreamTypeDetails: ContentStreamTypeTargetingOptionDetails + contentThemeDetails: ContentThemeTargetingOptionDetails + deviceMakeModelDetails: DeviceMakeModelTargetingOptionDetails + deviceTypeDetails: DeviceTypeTargetingOptionDetails + digitalContentLabelDetails: DigitalContentLabelTargetingOptionDetails + environmentDetails: EnvironmentTargetingOptionDetails + exchangeDetails: ExchangeTargetingOptionDetails + genderDetails: GenderTargetingOptionDetails + geoRegionDetails: GeoRegionTargetingOptionDetails + householdIncomeDetails: HouseholdIncomeTargetingOptionDetails + languageDetails: LanguageTargetingOptionDetails + name: str + nativeContentPositionDetails: NativeContentPositionTargetingOptionDetails + omidDetails: OmidTargetingOptionDetails + onScreenPositionDetails: OnScreenPositionTargetingOptionDetails + operatingSystemDetails: OperatingSystemTargetingOptionDetails + parentalStatusDetails: ParentalStatusTargetingOptionDetails + poiDetails: PoiTargetingOptionDetails + sensitiveCategoryDetails: SensitiveCategoryTargetingOptionDetails + subExchangeDetails: SubExchangeTargetingOptionDetails + targetingOptionId: 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", + ] + userRewardedContentDetails: UserRewardedContentTargetingOptionDetails + videoPlayerSizeDetails: VideoPlayerSizeTargetingOptionDetails + viewabilityDetails: ViewabilityTargetingOptionDetails + +@typing.type_check_only +class ThirdPartyMeasurementConfigs(typing_extensions.TypedDict, total=False): + brandLiftVendorConfigs: _list[ThirdPartyVendorConfig] + brandSafetyVendorConfigs: _list[ThirdPartyVendorConfig] + reachVendorConfigs: _list[ThirdPartyVendorConfig] + viewabilityVendorConfigs: _list[ThirdPartyVendorConfig] + +@typing.type_check_only +class ThirdPartyOnlyConfig(typing_extensions.TypedDict, total=False): + pixelOrderIdReportingEnabled: bool + +@typing.type_check_only +class ThirdPartyUrl(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "THIRD_PARTY_URL_TYPE_UNSPECIFIED", + "THIRD_PARTY_URL_TYPE_IMPRESSION", + "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP", + "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS", + ] + url: str + +@typing.type_check_only +class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): + placementId: str + vendor: typing_extensions.Literal[ + "THIRD_PARTY_VENDOR_UNSPECIFIED", + "THIRD_PARTY_VENDOR_MOAT", + "THIRD_PARTY_VENDOR_DOUBLE_VERIFY", + "THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE", + "THIRD_PARTY_VENDOR_COMSCORE", + "THIRD_PARTY_VENDOR_TELEMETRY", + "THIRD_PARTY_VENDOR_MEETRICS", + "THIRD_PARTY_VENDOR_ZEFR", + "THIRD_PARTY_VENDOR_NIELSEN", + "THIRD_PARTY_VENDOR_KANTAR", + "THIRD_PARTY_VENDOR_DYNATA", + "THIRD_PARTY_VENDOR_TRANSUNION", + ] + +@typing.type_check_only +class ThirdPartyVerifierAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + adloox: Adloox + doubleVerify: DoubleVerify + integralAdScience: IntegralAdScience + +@typing.type_check_only +class TimeRange(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class TimerEvent(typing_extensions.TypedDict, total=False): + name: str + reportingName: str + +@typing.type_check_only +class TrackingFloodlightActivityConfig(typing_extensions.TypedDict, total=False): + floodlightActivityId: str + postClickLookbackWindowDays: int + postViewLookbackWindowDays: int + +@typing.type_check_only +class Transcode(typing_extensions.TypedDict, total=False): + audioBitRateKbps: str + audioSampleRateHz: str + bitRateKbps: str + dimensions: Dimensions + fileSizeBytes: str + frameRate: float + mimeType: str + name: str + transcoded: bool + +@typing.type_check_only +class UniversalAdId(typing_extensions.TypedDict, total=False): + id: str + registry: typing_extensions.Literal[ + "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", + "UNIVERSAL_AD_REGISTRY_OTHER", + "UNIVERSAL_AD_REGISTRY_AD_ID", + "UNIVERSAL_AD_REGISTRY_CLEARCAST", + "UNIVERSAL_AD_REGISTRY_DV360", + "UNIVERSAL_AD_REGISTRY_CM", + ] + +@typing.type_check_only +class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): + negative: bool + url: str + +@typing.type_check_only +class User(typing_extensions.TypedDict, total=False): + assignedUserRoles: _list[AssignedUserRole] + displayName: str + email: str + lastLoginTime: str + name: str + userId: str + +@typing.type_check_only +class UserRewardedContentAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + targetingOptionId: str + userRewardedContent: typing_extensions.Literal[ + "USER_REWARDED_CONTENT_UNSPECIFIED", + "USER_REWARDED_CONTENT_USER_REWARDED", + "USER_REWARDED_CONTENT_NOT_USER_REWARDED", + ] + +@typing.type_check_only +class UserRewardedContentTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + userRewardedContent: typing_extensions.Literal[ + "USER_REWARDED_CONTENT_UNSPECIFIED", + "USER_REWARDED_CONTENT_USER_REWARDED", + "USER_REWARDED_CONTENT_NOT_USER_REWARDED", + ] + +@typing.type_check_only +class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): + allowInFeed: bool + allowInStream: bool + allowShorts: bool + +@typing.type_check_only +class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): + minimumDuration: typing_extensions.Literal[ + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH", + ] + steps: _list[VideoAdSequenceStep] + +@typing.type_check_only +class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): + adGroupId: str + interactionType: typing_extensions.Literal[ + "INTERACTION_TYPE_UNSPECIFIED", + "INTERACTION_TYPE_PAID_VIEW", + "INTERACTION_TYPE_SKIP", + "INTERACTION_TYPE_IMPRESSION", + "INTERACTION_TYPE_ENGAGED_IMPRESSION", + ] + previousStepId: str + stepId: str + +@typing.type_check_only +class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): + description1: str + description2: str + headline: str + thumbnail: typing_extensions.Literal[ + "THUMBNAIL_UNSPECIFIED", + "THUMBNAIL_DEFAULT", + "THUMBNAIL_1", + "THUMBNAIL_2", + "THUMBNAIL_3", + ] + video: YoutubeVideoDetails + +@typing.type_check_only +class VideoPerformanceAd(typing_extensions.TypedDict, total=False): + actionButtonLabels: _list[str] + companionBanners: _list[ImageAsset] + customParameters: dict[str, typing.Any] + descriptions: _list[str] + displayUrlBreadcrumb1: str + displayUrlBreadcrumb2: str + domain: str + finalUrl: str + headlines: _list[str] + longHeadlines: _list[str] + trackingUrl: str + videos: _list[YoutubeVideoDetails] + +@typing.type_check_only +class VideoPlayerSizeAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + videoPlayerSize: typing_extensions.Literal[ + "VIDEO_PLAYER_SIZE_UNSPECIFIED", + "VIDEO_PLAYER_SIZE_SMALL", + "VIDEO_PLAYER_SIZE_LARGE", + "VIDEO_PLAYER_SIZE_HD", + "VIDEO_PLAYER_SIZE_UNKNOWN", + ] + +@typing.type_check_only +class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=False): + videoPlayerSize: typing_extensions.Literal[ + "VIDEO_PLAYER_SIZE_UNSPECIFIED", + "VIDEO_PLAYER_SIZE_SMALL", + "VIDEO_PLAYER_SIZE_LARGE", + "VIDEO_PLAYER_SIZE_HD", + "VIDEO_PLAYER_SIZE_UNKNOWN", + ] + +@typing.type_check_only +class ViewabilityAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + viewability: typing_extensions.Literal[ + "VIEWABILITY_UNSPECIFIED", + "VIEWABILITY_10_PERCENT_OR_MORE", + "VIEWABILITY_20_PERCENT_OR_MORE", + "VIEWABILITY_30_PERCENT_OR_MORE", + "VIEWABILITY_40_PERCENT_OR_MORE", + "VIEWABILITY_50_PERCENT_OR_MORE", + "VIEWABILITY_60_PERCENT_OR_MORE", + "VIEWABILITY_70_PERCENT_OR_MORE", + "VIEWABILITY_80_PERCENT_OR_MORE", + "VIEWABILITY_90_PERCENT_OR_MORE", + ] + +@typing.type_check_only +class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False): + viewability: typing_extensions.Literal[ + "VIEWABILITY_UNSPECIFIED", + "VIEWABILITY_10_PERCENT_OR_MORE", + "VIEWABILITY_20_PERCENT_OR_MORE", + "VIEWABILITY_30_PERCENT_OR_MORE", + "VIEWABILITY_40_PERCENT_OR_MORE", + "VIEWABILITY_50_PERCENT_OR_MORE", + "VIEWABILITY_60_PERCENT_OR_MORE", + "VIEWABILITY_70_PERCENT_OR_MORE", + "VIEWABILITY_80_PERCENT_OR_MORE", + "VIEWABILITY_90_PERCENT_OR_MORE", + ] + +@typing.type_check_only +class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False): + adGroupEffectiveTargetCpaSource: typing_extensions.Literal[ + "BIDDING_SOURCE_UNSPECIFIED", + "BIDDING_SOURCE_LINE_ITEM", + "BIDDING_SOURCE_AD_GROUP", + ] + adGroupEffectiveTargetCpaValue: str + type: typing_extensions.Literal[ + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_CPM", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_LIFT", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSIONS", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPV", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS", + "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSION_VALUE", + ] + value: str + +@typing.type_check_only +class YoutubeAndPartnersInventorySourceConfig(typing_extensions.TypedDict, total=False): + includeGoogleTv: bool + includeYoutube: bool + includeYoutubeVideoPartners: bool + +@typing.type_check_only +class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): + contentCategory: typing_extensions.Literal[ + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED", + ] + effectiveContentCategory: typing_extensions.Literal[ + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", + "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED", + ] + inventorySourceSettings: YoutubeAndPartnersInventorySourceConfig + leadFormId: str + linkedMerchantId: str + relatedVideoIds: _list[str] + targetFrequency: TargetFrequency + thirdPartyMeasurementConfigs: ThirdPartyMeasurementConfigs + videoAdInventoryControl: VideoAdInventoryControl + videoAdSequenceSettings: VideoAdSequenceSettings + viewFrequencyCap: FrequencyCap + +@typing.type_check_only +class YoutubeChannelAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + channelId: str + negative: bool + +@typing.type_check_only +class YoutubeVideoAssignedTargetingOptionDetails( + typing_extensions.TypedDict, total=False +): + negative: bool + videoId: str + +@typing.type_check_only +class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): + id: str + unavailableReason: typing_extensions.Literal[ + "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", + "VIDEO_UNAVAILABLE_REASON_PRIVATE", + "VIDEO_UNAVAILABLE_REASON_DELETED", + ] diff --git a/googleapiclient-stubs/_apis/dlp/v2/resources.pyi b/googleapiclient-stubs/_apis/dlp/v2/resources.pyi index 6d3f375b..9117c855 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/resources.pyi @@ -325,6 +325,18 @@ class DLPResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class InfoTypesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + languageCode: str = ..., + locationId: str = ..., + **kwargs: typing.Any, + ) -> GooglePrivacyDlpV2ListInfoTypesResponseHttpRequest: ... + @typing.type_check_only class InspectTemplatesResource(googleapiclient.discovery.Resource): def create( @@ -502,6 +514,7 @@ class DLPResource(googleapiclient.discovery.Resource): def discoveryConfigs(self) -> DiscoveryConfigsResource: ... def dlpJobs(self) -> DlpJobsResource: ... def fileStoreDataProfiles(self) -> FileStoreDataProfilesResource: ... + def infoTypes(self) -> InfoTypesResource: ... def inspectTemplates(self) -> InspectTemplatesResource: ... def jobTriggers(self) -> JobTriggersResource: ... def projectDataProfiles(self) -> ProjectDataProfilesResource: ... @@ -1028,6 +1041,18 @@ class DLPResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GooglePrivacyDlpV2RedactImageResponseHttpRequest: ... + @typing.type_check_only + class InfoTypesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + languageCode: str = ..., + locationId: str = ..., + **kwargs: typing.Any, + ) -> GooglePrivacyDlpV2ListInfoTypesResponseHttpRequest: ... + @typing.type_check_only class InspectTemplatesResource(googleapiclient.discovery.Resource): def create( @@ -1221,6 +1246,7 @@ class DLPResource(googleapiclient.discovery.Resource): def dlpJobs(self) -> DlpJobsResource: ... def fileStoreDataProfiles(self) -> FileStoreDataProfilesResource: ... def image(self) -> ImageResource: ... + def infoTypes(self) -> InfoTypesResource: ... def inspectTemplates(self) -> InspectTemplatesResource: ... def jobTriggers(self) -> JobTriggersResource: ... def projectDataProfiles(self) -> ProjectDataProfilesResource: ... diff --git a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi index c4854670..0f5606ab 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi @@ -577,6 +577,7 @@ class GooglePrivacyDlpV2DataProfileAction(typing_extensions.TypedDict, total=Fal exportData: GooglePrivacyDlpV2Export pubSubNotification: GooglePrivacyDlpV2PubSubNotification publishToChronicle: GooglePrivacyDlpV2PublishToChronicle + publishToDataplexCatalog: GooglePrivacyDlpV2PublishToDataplexCatalog publishToScc: GooglePrivacyDlpV2PublishToSecurityCommandCenter tagResources: GooglePrivacyDlpV2TagResources @@ -598,6 +599,37 @@ class GooglePrivacyDlpV2DataProfileConfigSnapshot( inspectTemplateModifiedTime: str inspectTemplateName: str +@typing.type_check_only +class GooglePrivacyDlpV2DataProfileFinding(typing_extensions.TypedDict, total=False): + dataProfileResourceName: str + dataSourceType: GooglePrivacyDlpV2DataSourceType + findingId: str + fullResourceName: str + infotype: GooglePrivacyDlpV2InfoType + location: GooglePrivacyDlpV2DataProfileFindingLocation + quote: str + quoteInfo: GooglePrivacyDlpV2QuoteInfo + resourceVisibility: typing_extensions.Literal[ + "RESOURCE_VISIBILITY_UNSPECIFIED", + "RESOURCE_VISIBILITY_PUBLIC", + "RESOURCE_VISIBILITY_INCONCLUSIVE", + "RESOURCE_VISIBILITY_RESTRICTED", + ] + timestamp: str + +@typing.type_check_only +class GooglePrivacyDlpV2DataProfileFindingLocation( + typing_extensions.TypedDict, total=False +): + containerName: str + dataProfileFindingRecordLocation: GooglePrivacyDlpV2DataProfileFindingRecordLocation + +@typing.type_check_only +class GooglePrivacyDlpV2DataProfileFindingRecordLocation( + typing_extensions.TypedDict, total=False +): + field: GooglePrivacyDlpV2FieldId + @typing.type_check_only class GooglePrivacyDlpV2DataProfileJobConfig(typing_extensions.TypedDict, total=False): dataProfileActions: _list[GooglePrivacyDlpV2DataProfileAction] @@ -945,6 +977,7 @@ class GooglePrivacyDlpV2DiscoveryConfig(typing_extensions.TypedDict, total=False name: str orgConfig: GooglePrivacyDlpV2OrgConfig otherCloudStartingLocation: GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation + processingLocation: GooglePrivacyDlpV2ProcessingLocation status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "PAUSED"] targets: _list[GooglePrivacyDlpV2DiscoveryTarget] updateTime: str @@ -1061,6 +1094,36 @@ class GooglePrivacyDlpV2DiscoveryTarget(typing_extensions.TypedDict, total=False cloudStorageTarget: GooglePrivacyDlpV2CloudStorageDiscoveryTarget otherCloudTarget: GooglePrivacyDlpV2OtherCloudDiscoveryTarget secretsTarget: GooglePrivacyDlpV2SecretsDiscoveryTarget + vertexDatasetTarget: GooglePrivacyDlpV2VertexDatasetDiscoveryTarget + +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions( + typing_extensions.TypedDict, total=False +): + createdAfter: str + minAge: str + +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter( + typing_extensions.TypedDict, total=False +): + collection: GooglePrivacyDlpV2VertexDatasetCollection + others: GooglePrivacyDlpV2AllOtherResources + vertexDatasetResourceReference: GooglePrivacyDlpV2VertexDatasetResourceReference + +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence( + typing_extensions.TypedDict, total=False +): + inspectTemplateModifiedCadence: ( + GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence + ) + refreshFrequency: typing_extensions.Literal[ + "UPDATE_FREQUENCY_UNSPECIFIED", + "UPDATE_FREQUENCY_NEVER", + "UPDATE_FREQUENCY_DAILY", + "UPDATE_FREQUENCY_MONTHLY", + ] @typing.type_check_only class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): @@ -1091,6 +1154,21 @@ class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): class GooglePrivacyDlpV2DocumentLocation(typing_extensions.TypedDict, total=False): fileOffset: str +@typing.type_check_only +class GooglePrivacyDlpV2Domain(typing_extensions.TypedDict, total=False): + category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "AI", "CODE"] + signals: _list[ + typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "MODEL", + "TEXT_EMBEDDING", + "VERTEX_PLUGIN", + "VECTOR_PLUGIN", + "SOURCE_CODE", + "SERVICE", + ] + ] + @typing.type_check_only class GooglePrivacyDlpV2EntityId(typing_extensions.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @@ -1130,6 +1208,7 @@ class GooglePrivacyDlpV2ExclusionRule(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooglePrivacyDlpV2Export(typing_extensions.TypedDict, total=False): profileTable: GooglePrivacyDlpV2BigQueryTable + sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only class GooglePrivacyDlpV2Expressions(typing_extensions.TypedDict, total=False): @@ -1194,6 +1273,7 @@ class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total= dataRiskLevel: GooglePrivacyDlpV2DataRiskLevel dataSourceType: GooglePrivacyDlpV2DataSourceType dataStorageLocations: _list[str] + domains: _list[GooglePrivacyDlpV2Domain] fileClusterSummaries: _list[GooglePrivacyDlpV2FileClusterSummary] fileStoreInfoTypeSummaries: _list[GooglePrivacyDlpV2FileStoreInfoTypeSummary] fileStoreIsEmpty: bool @@ -1207,6 +1287,7 @@ class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total= profileStatus: GooglePrivacyDlpV2ProfileStatus projectDataProfile: str projectId: str + relatedResources: _list[GooglePrivacyDlpV2RelatedResource] resourceAttributes: dict[str, typing.Any] resourceLabels: dict[str, typing.Any] resourceVisibility: typing_extensions.Literal[ @@ -1215,8 +1296,10 @@ class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total= "RESOURCE_VISIBILITY_INCONCLUSIVE", "RESOURCE_VISIBILITY_RESTRICTED", ] + sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable sensitivityScore: GooglePrivacyDlpV2SensitivityScore state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] + tags: _list[GooglePrivacyDlpV2Tag] @typing.type_check_only class GooglePrivacyDlpV2FileStoreInfoTypeSummary( @@ -1274,6 +1357,9 @@ class GooglePrivacyDlpV2FixedSizeBucketingConfig( lowerBound: GooglePrivacyDlpV2Value upperBound: GooglePrivacyDlpV2Value +@typing.type_check_only +class GooglePrivacyDlpV2GlobalProcessing(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GooglePrivacyDlpV2HotwordRule(typing_extensions.TypedDict, total=False): hotwordRegex: GooglePrivacyDlpV2Regex @@ -1325,6 +1411,11 @@ class GooglePrivacyDlpV2HybridOptions(typing_extensions.TypedDict, total=False): requiredFindingLabelKeys: _list[str] tableOptions: GooglePrivacyDlpV2TableOptions +@typing.type_check_only +class GooglePrivacyDlpV2ImageFallbackLocation(typing_extensions.TypedDict, total=False): + globalProcessing: GooglePrivacyDlpV2GlobalProcessing + multiRegionProcessing: GooglePrivacyDlpV2MultiRegionProcessing + @typing.type_check_only class GooglePrivacyDlpV2ImageLocation(typing_extensions.TypedDict, total=False): boundingBoxes: _list[GooglePrivacyDlpV2BoundingBox] @@ -1372,6 +1463,7 @@ class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=Fals "CHINA", "COLOMBIA", "CROATIA", + "CZECHIA", "DENMARK", "FRANCE", "FINLAND", @@ -1419,6 +1511,7 @@ class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=Fals "GOVERNMENT_ID", "DOCUMENT", "CONTEXTUAL_INFORMATION", + "CUSTOM", ] @typing.type_check_only @@ -1429,6 +1522,7 @@ class GooglePrivacyDlpV2InfoTypeDescription(typing_extensions.TypedDict, total=F example: str name: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore + specificInfoTypes: _list[str] supportedBy: _list[ typing_extensions.Literal["ENUM_TYPE_UNSPECIFIED", "INSPECT", "RISK_ANALYSIS"] ] @@ -1790,6 +1884,11 @@ class GooglePrivacyDlpV2MetadataLocation(typing_extensions.TypedDict, total=Fals storageLabel: GooglePrivacyDlpV2StorageMetadataLabel type: typing_extensions.Literal["METADATATYPE_UNSPECIFIED", "STORAGE_METADATA"] +@typing.type_check_only +class GooglePrivacyDlpV2MultiRegionProcessing( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GooglePrivacyDlpV2NumericalStatsConfig(typing_extensions.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @@ -1905,6 +2004,10 @@ class GooglePrivacyDlpV2PrivacyMetric(typing_extensions.TypedDict, total=False): lDiversityConfig: GooglePrivacyDlpV2LDiversityConfig numericalStatsConfig: GooglePrivacyDlpV2NumericalStatsConfig +@typing.type_check_only +class GooglePrivacyDlpV2ProcessingLocation(typing_extensions.TypedDict, total=False): + imageFallbackLocation: GooglePrivacyDlpV2ImageFallbackLocation + @typing.type_check_only class GooglePrivacyDlpV2ProfileStatus(typing_extensions.TypedDict, total=False): status: GoogleRpcStatus @@ -1975,6 +2078,12 @@ class GooglePrivacyDlpV2PublishToChronicle( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GooglePrivacyDlpV2PublishToDataplexCatalog( + typing_extensions.TypedDict, total=False +): + lowerDataRiskToLow: bool + @typing.type_check_only class GooglePrivacyDlpV2PublishToPubSub(typing_extensions.TypedDict, total=False): topic: str @@ -2086,6 +2195,10 @@ class GooglePrivacyDlpV2ReidentifyContentResponse( item: GooglePrivacyDlpV2ContentItem overview: GooglePrivacyDlpV2TransformationOverview +@typing.type_check_only +class GooglePrivacyDlpV2RelatedResource(typing_extensions.TypedDict, total=False): + fullResource: str + @typing.type_check_only class GooglePrivacyDlpV2ReplaceDictionaryConfig( typing_extensions.TypedDict, total=False @@ -2142,6 +2255,12 @@ class GooglePrivacyDlpV2Row(typing_extensions.TypedDict, total=False): class GooglePrivacyDlpV2SaveFindings(typing_extensions.TypedDict, total=False): outputConfig: GooglePrivacyDlpV2OutputStorageConfig +@typing.type_check_only +class GooglePrivacyDlpV2SaveToGcsFindingsOutput( + typing_extensions.TypedDict, total=False +): + findings: _list[GooglePrivacyDlpV2Finding] + @typing.type_check_only class GooglePrivacyDlpV2Schedule(typing_extensions.TypedDict, total=False): recurrencePeriodDuration: str @@ -2269,6 +2388,7 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals datasetId: str datasetLocation: str datasetProjectId: str + domains: _list[GooglePrivacyDlpV2Domain] encryptionStatus: typing_extensions.Literal[ "ENCRYPTION_STATUS_UNSPECIFIED", "ENCRYPTION_GOOGLE_MANAGED", @@ -2284,6 +2404,7 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals profileLastGenerated: str profileStatus: GooglePrivacyDlpV2ProfileStatus projectDataProfile: str + relatedResources: _list[GooglePrivacyDlpV2RelatedResource] resourceLabels: dict[str, typing.Any] resourceVisibility: typing_extensions.Literal[ "RESOURCE_VISIBILITY_UNSPECIFIED", @@ -2292,11 +2413,13 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals "RESOURCE_VISIBILITY_RESTRICTED", ] rowCount: str + sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable scannedColumnCount: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] tableId: str tableSizeBytes: str + tags: _list[GooglePrivacyDlpV2Tag] @typing.type_check_only class GooglePrivacyDlpV2TableLocation(typing_extensions.TypedDict, total=False): @@ -2309,8 +2432,15 @@ class GooglePrivacyDlpV2TableOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooglePrivacyDlpV2TableReference(typing_extensions.TypedDict, total=False): datasetId: str + projectId: str tableId: str +@typing.type_check_only +class GooglePrivacyDlpV2Tag(typing_extensions.TypedDict, total=False): + key: str + namespacedTagValue: str + value: str + @typing.type_check_only class GooglePrivacyDlpV2TagCondition(typing_extensions.TypedDict, total=False): sensitivityScore: GooglePrivacyDlpV2SensitivityScore @@ -2546,6 +2676,35 @@ class GooglePrivacyDlpV2VersionDescription(typing_extensions.TypedDict, total=Fa description: str version: str +@typing.type_check_only +class GooglePrivacyDlpV2VertexDatasetCollection( + typing_extensions.TypedDict, total=False +): + vertexDatasetRegexes: GooglePrivacyDlpV2VertexDatasetRegexes + +@typing.type_check_only +class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget( + typing_extensions.TypedDict, total=False +): + conditions: GooglePrivacyDlpV2DiscoveryVertexDatasetConditions + disabled: GooglePrivacyDlpV2Disabled + filter: GooglePrivacyDlpV2DiscoveryVertexDatasetFilter + generationCadence: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence + +@typing.type_check_only +class GooglePrivacyDlpV2VertexDatasetRegex(typing_extensions.TypedDict, total=False): + projectIdRegex: str + +@typing.type_check_only +class GooglePrivacyDlpV2VertexDatasetRegexes(typing_extensions.TypedDict, total=False): + patterns: _list[GooglePrivacyDlpV2VertexDatasetRegex] + +@typing.type_check_only +class GooglePrivacyDlpV2VertexDatasetResourceReference( + typing_extensions.TypedDict, total=False +): + datasetResourceName: str + @typing.type_check_only class GooglePrivacyDlpV2WordList(typing_extensions.TypedDict, total=False): words: _list[str] diff --git a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi index b6456204..9457f011 100644 --- a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi @@ -150,6 +150,7 @@ class ManagedZoneForwardingConfig(typing_extensions.TypedDict, total=False): class ManagedZoneForwardingConfigNameServerTarget( typing_extensions.TypedDict, total=False ): + domainName: str forwardingPath: typing_extensions.Literal["default", "private"] ipv4Address: str ipv6Address: str diff --git a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi index 93b4ccf6..450f165b 100644 --- a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi @@ -150,6 +150,7 @@ class ManagedZoneForwardingConfig(typing_extensions.TypedDict, total=False): class ManagedZoneForwardingConfigNameServerTarget( typing_extensions.TypedDict, total=False ): + domainName: str forwardingPath: typing_extensions.Literal["default", "private"] ipv4Address: str ipv6Address: str diff --git a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi index 814202bd..799da7bb 100644 --- a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi @@ -939,6 +939,7 @@ class StructuralElement(typing_extensions.TypedDict, total=False): @typing.type_check_only class SubstringMatchCriteria(typing_extensions.TypedDict, total=False): matchCase: bool + searchByRegex: bool text: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi index 8f468d08..a855db9f 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi @@ -249,6 +249,7 @@ class DocumentResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index 1d4436ed..929bbe03 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -564,6 +564,7 @@ class GoogleCloudDocumentaiV1DisableProcessorResponse( class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): chunkedDocument: GoogleCloudDocumentaiV1DocumentChunkedDocument content: str + docid: str documentLayout: GoogleCloudDocumentaiV1DocumentDocumentLayout entities: _list[GoogleCloudDocumentaiV1DocumentEntity] entityRelations: _list[GoogleCloudDocumentaiV1DocumentEntityRelation] @@ -630,6 +631,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( typing_extensions.TypedDict, total=False ): blockId: str + boundingBox: GoogleCloudDocumentaiV1BoundingPoly listBlock: ( GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock ) @@ -726,6 +728,7 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue( floatValue: float integerValue: int moneyValue: GoogleTypeMoney + signatureValue: bool text: str @typing.type_check_only @@ -1053,6 +1056,7 @@ class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty( typing_extensions.TypedDict, total=False ): displayName: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", @@ -1326,6 +1330,8 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig( typing_extensions.TypedDict, total=False ): chunkingConfig: GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig + returnBoundingBoxes: bool + returnImages: bool @typing.type_check_only class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig( diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi index 9e255b66..7d0e4af8 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi @@ -327,6 +327,7 @@ class DocumentResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 7ecfb02b..01fde85a 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -846,8 +846,10 @@ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse( @typing.type_check_only class GoogleCloudDocumentaiV1beta3Document(typing_extensions.TypedDict, total=False): + blobAssets: _list[GoogleCloudDocumentaiV1beta3DocumentBlobAsset] chunkedDocument: GoogleCloudDocumentaiV1beta3DocumentChunkedDocument content: str + docid: str documentLayout: GoogleCloudDocumentaiV1beta3DocumentDocumentLayout entities: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] entityRelations: _list[GoogleCloudDocumentaiV1beta3DocumentEntityRelation] @@ -861,6 +863,20 @@ class GoogleCloudDocumentaiV1beta3Document(typing_extensions.TypedDict, total=Fa textStyles: _list[GoogleCloudDocumentaiV1beta3DocumentStyle] uri: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentAnnotations( + typing_extensions.TypedDict, total=False +): + description: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentBlobAsset( + typing_extensions.TypedDict, total=False +): + assetId: str + content: str + mimeType: str + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument( typing_extensions.TypedDict, total=False @@ -871,6 +887,9 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument( class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk( typing_extensions.TypedDict, total=False ): + chunkFields: _list[ + GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField + ] chunkId: str content: str pageFooters: _list[ @@ -882,6 +901,17 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk( pageSpan: GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan sourceBlockIds: _list[str] +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField( + typing_extensions.TypedDict, total=False +): + imageChunkField: ( + GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField + ) + tableChunkField: ( + GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField + ) + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter( typing_extensions.TypedDict, total=False @@ -903,6 +933,21 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan( pageEnd: int pageStart: int +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField( + typing_extensions.TypedDict, total=False +): + annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations + blobAssetId: str + dataUri: str + gcsUri: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField( + typing_extensions.TypedDict, total=False +): + annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout( typing_extensions.TypedDict, total=False @@ -914,11 +959,24 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock( typing_extensions.TypedDict, total=False ): blockId: str + boundingBox: GoogleCloudDocumentaiV1beta3BoundingPoly + imageBlock: GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock listBlock: GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock pageSpan: GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan tableBlock: GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock textBlock: GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock( + typing_extensions.TypedDict, total=False +): + annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations + blobAssetId: str + dataUri: str + gcsUri: str + imageText: str + mimeType: str + @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( typing_extensions.TypedDict, total=False @@ -945,6 +1003,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( typing_extensions.TypedDict, total=False ): + annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations bodyRows: _list[ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow ] @@ -1004,6 +1063,7 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue( floatValue: float integerValue: int moneyValue: GoogleTypeMoney + signatureValue: bool text: str @typing.type_check_only @@ -1385,6 +1445,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( ): description: str displayName: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", @@ -1793,6 +1854,12 @@ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig( typing_extensions.TypedDict, total=False ): chunkingConfig: GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig + enableImageAnnotation: bool + enableImageExtraction: bool + enableLlmLayoutParsing: bool + enableTableAnnotation: bool + returnBoundingBoxes: bool + returnImages: bool @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig( diff --git a/googleapiclient-stubs/_apis/drive/v2/resources.pyi b/googleapiclient-stubs/_apis/drive/v2/resources.pyi index f968bfb2..53b7be08 100644 --- a/googleapiclient-stubs/_apis/drive/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v2/resources.pyi @@ -516,6 +516,7 @@ class DriveResource(googleapiclient.discovery.Resource): *, fileId: str, permissionId: str, + enforceExpansiveAccess: bool = ..., supportsAllDrives: bool = ..., supportsTeamDrives: bool = ..., useDomainAdminAccess: bool = ..., @@ -540,6 +541,7 @@ class DriveResource(googleapiclient.discovery.Resource): fileId: str, body: Permission = ..., emailMessage: str = ..., + enforceExpansiveAccess: bool = ..., enforceSingleParent: bool = ..., moveToNewOwnersRoot: bool = ..., sendNotificationEmails: bool = ..., @@ -571,6 +573,7 @@ class DriveResource(googleapiclient.discovery.Resource): fileId: str, permissionId: str, body: Permission = ..., + enforceExpansiveAccess: bool = ..., removeExpiration: bool = ..., supportsAllDrives: bool = ..., supportsTeamDrives: bool = ..., @@ -584,6 +587,7 @@ class DriveResource(googleapiclient.discovery.Resource): fileId: str, permissionId: str, body: Permission = ..., + enforceExpansiveAccess: bool = ..., removeExpiration: bool = ..., supportsAllDrives: bool = ..., supportsTeamDrives: bool = ..., diff --git a/googleapiclient-stubs/_apis/drive/v2/schemas.pyi b/googleapiclient-stubs/_apis/drive/v2/schemas.pyi index 496bc7b8..09eec5aa 100644 --- a/googleapiclient-stubs/_apis/drive/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v2/schemas.pyi @@ -234,6 +234,7 @@ class File(typing_extensions.TypedDict, total=False): id: str imageMediaMetadata: dict[str, typing.Any] indexableText: dict[str, typing.Any] + inheritedPermissionsDisabled: bool isAppAuthorized: bool kind: str labelInfo: dict[str, typing.Any] @@ -374,6 +375,7 @@ class Permission(typing_extensions.TypedDict, total=False): etag: str expirationDate: str id: str + inheritedPermissionsDisabled: bool kind: str name: str pendingOwner: bool diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index 198ac7d5..3afca3c9 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -359,16 +359,13 @@ class DriveResource(googleapiclient.discovery.Resource): ) -> ChannelHttpRequest: ... @typing.type_check_only - class OperationResource(googleapiclient.discovery.Resource): + 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: ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): def get(self, *, name: str, **kwargs: typing.Any) -> OperationHttpRequest: ... def list( self, @@ -393,6 +390,7 @@ class DriveResource(googleapiclient.discovery.Resource): fileId: str, body: Permission = ..., emailMessage: str = ..., + enforceExpansiveAccess: bool = ..., enforceSingleParent: bool = ..., moveToNewOwnersRoot: bool = ..., sendNotificationEmail: bool = ..., @@ -407,6 +405,7 @@ class DriveResource(googleapiclient.discovery.Resource): *, fileId: str, permissionId: str, + enforceExpansiveAccess: bool = ..., supportsAllDrives: bool = ..., supportsTeamDrives: bool = ..., useDomainAdminAccess: bool = ..., @@ -445,6 +444,7 @@ class DriveResource(googleapiclient.discovery.Resource): fileId: str, permissionId: str, body: Permission = ..., + enforceExpansiveAccess: bool = ..., removeExpiration: bool = ..., supportsAllDrives: bool = ..., supportsTeamDrives: bool = ..., @@ -599,7 +599,6 @@ class DriveResource(googleapiclient.discovery.Resource): def comments(self) -> CommentsResource: ... def drives(self) -> DrivesResource: ... def files(self) -> FilesResource: ... - def operation(self) -> OperationResource: ... def operations(self) -> OperationsResource: ... def permissions(self) -> PermissionsResource: ... def replies(self) -> RepliesResource: ... diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index 079bc355..d50c0d8c 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -140,6 +140,16 @@ class ContentRestriction(typing_extensions.TypedDict, total=False): systemRestricted: bool type: str +@typing.type_check_only +class DownloadRestriction(typing_extensions.TypedDict, total=False): + restrictedForReaders: bool + restrictedForWriters: bool + +@typing.type_check_only +class DownloadRestrictionsMetadata(typing_extensions.TypedDict, total=False): + effectiveDownloadRestrictionWithContext: DownloadRestriction + itemDownloadRestriction: DownloadRestriction + @typing.type_check_only class Drive(typing_extensions.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] @@ -170,6 +180,7 @@ class File(typing_extensions.TypedDict, total=False): copyRequiresWriterPermission: bool createdTime: str description: str + downloadRestrictions: DownloadRestrictionsMetadata driveId: str explicitlyTrashed: bool exportLinks: dict[str, typing.Any] @@ -182,6 +193,7 @@ class File(typing_extensions.TypedDict, total=False): iconLink: str id: str imageMediaMetadata: dict[str, typing.Any] + inheritedPermissionsDisabled: bool isAppAuthorized: bool kind: str labelInfo: dict[str, typing.Any] @@ -318,6 +330,7 @@ class Permission(typing_extensions.TypedDict, total=False): emailAddress: str expirationTime: str id: str + inheritedPermissionsDisabled: bool kind: str pendingOwner: bool permissionDetails: _list[dict[str, typing.Any]] diff --git a/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi b/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi index 6213f1ab..b5eea602 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi @@ -237,6 +237,13 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): body: GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2LabelHttpRequest: ... + def updateLabelEnabledAppSettings( + self, + *, + name: str, + body: GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleAppsDriveLabelsV2LabelHttpRequest: ... def updatePermissions( self, *, diff --git a/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi b/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi index 8d9f6262..6d87e18f 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi @@ -481,6 +481,7 @@ class GoogleAppsDriveLabelsV2Label(typing_extensions.TypedDict, total=False): disableTime: str disabler: GoogleAppsDriveLabelsV2UserInfo displayHints: GoogleAppsDriveLabelsV2LabelDisplayHints + enabledAppSettings: GoogleAppsDriveLabelsV2LabelEnabledAppSettings fields: _list[GoogleAppsDriveLabelsV2Field] id: str labelType: typing_extensions.Literal[ @@ -523,6 +524,18 @@ class GoogleAppsDriveLabelsV2LabelDisplayHints( priority: str shownInApply: bool +@typing.type_check_only +class GoogleAppsDriveLabelsV2LabelEnabledAppSettings( + typing_extensions.TypedDict, total=False +): + enabledApps: _list[GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp] + +@typing.type_check_only +class GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp( + typing_extensions.TypedDict, total=False +): + app: typing_extensions.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] + @typing.type_check_only class GoogleAppsDriveLabelsV2LabelLimits(typing_extensions.TypedDict, total=False): fieldLimits: GoogleAppsDriveLabelsV2FieldLimits @@ -656,6 +669,15 @@ class GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest( useAdminAccess: bool view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] +@typing.type_check_only +class GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest( + typing_extensions.TypedDict, total=False +): + enabledAppSettings: GoogleAppsDriveLabelsV2LabelEnabledAppSettings + languageCode: str + useAdminAccess: bool + view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + @typing.type_check_only class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi b/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi index 47718325..6d83a673 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi @@ -240,6 +240,13 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): body: GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2betaLabelHttpRequest: ... + def updateLabelEnabledAppSettings( + self, + *, + name: str, + body: GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleAppsDriveLabelsV2betaLabelHttpRequest: ... def updatePermissions( self, *, diff --git a/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi index 08dc661a..cb68553a 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi @@ -493,6 +493,7 @@ class GoogleAppsDriveLabelsV2betaLabel(typing_extensions.TypedDict, total=False) disableTime: str disabler: GoogleAppsDriveLabelsV2betaUserInfo displayHints: GoogleAppsDriveLabelsV2betaLabelDisplayHints + enabledAppSettings: GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings fields: _list[GoogleAppsDriveLabelsV2betaField] id: str labelType: typing_extensions.Literal[ @@ -535,6 +536,18 @@ class GoogleAppsDriveLabelsV2betaLabelDisplayHints( priority: str shownInApply: bool +@typing.type_check_only +class GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings( + typing_extensions.TypedDict, total=False +): + enabledApps: _list[GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp] + +@typing.type_check_only +class GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp( + typing_extensions.TypedDict, total=False +): + app: typing_extensions.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] + @typing.type_check_only class GoogleAppsDriveLabelsV2betaLabelLimits(typing_extensions.TypedDict, total=False): fieldLimits: GoogleAppsDriveLabelsV2betaFieldLimits @@ -676,6 +689,15 @@ class GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest( useAdminAccess: bool view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] +@typing.type_check_only +class GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest( + typing_extensions.TypedDict, total=False +): + enabledAppSettings: GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings + languageCode: str + useAdminAccess: bool + view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + @typing.type_check_only class GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi index 4c3be599..76f2ae4a 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi @@ -578,6 +578,7 @@ class EventarcResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi index 9cd742d9..932a36b7 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi @@ -132,6 +132,7 @@ class GoogleApiSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleChannelConfig(typing_extensions.TypedDict, total=False): cryptoKeyName: str + labels: dict[str, typing.Any] name: str updateTime: str @@ -375,6 +376,7 @@ class Pipeline(typing_extensions.TypedDict, total=False): mediations: _list[GoogleCloudEventarcV1PipelineMediation] name: str retryPolicy: GoogleCloudEventarcV1PipelineRetryPolicy + satisfiesPzs: bool uid: str updateTime: str diff --git a/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi b/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi index 996cc780..0f2c3b21 100644 --- a/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi @@ -6,6 +6,7 @@ _list = list @typing.type_check_only class AndroidConfig(typing_extensions.TypedDict, total=False): + bandwidthConstrainedOk: bool collapseKey: str data: dict[str, typing.Any] directBootOk: bool @@ -13,6 +14,7 @@ class AndroidConfig(typing_extensions.TypedDict, total=False): notification: AndroidNotification priority: typing_extensions.Literal["NORMAL", "HIGH"] restrictedPackageName: str + restrictedSatelliteOk: bool ttl: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/file/v1/resources.pyi b/googleapiclient-stubs/_apis/file/v1/resources.pyi index 65b16653..f9d06c4c 100644 --- a/googleapiclient-stubs/_apis/file/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1/resources.pyi @@ -197,8 +197,8 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., - includeUnrevealedLocations: bool = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/file/v1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1/schemas.pyi index 19e4b562..28bad05c 100644 --- a/googleapiclient-stubs/_apis/file/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1/schemas.pyi @@ -76,6 +76,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -330,7 +331,8 @@ class PerformanceLimits(typing_extensions.TypedDict, total=False): maxWriteThroughputBps: str @typing.type_check_only -class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): ... +class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): + peerInstance: str @typing.type_check_only class ReplicaConfig(typing_extensions.TypedDict, total=False): @@ -341,7 +343,7 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): ] stateReasons: _list[ typing_extensions.Literal[ - "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE" + "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED" ] ] diff --git a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi index 476a6f1f..40ae4108 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi @@ -238,8 +238,8 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., - includeUnrevealedLocations: bool = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi index 2af209f4..7120fd84 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi @@ -59,6 +59,7 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): @typing.type_check_only class DirectoryServicesConfig(typing_extensions.TypedDict, total=False): + ldap: LdapConfig managedActiveDirectory: ManagedActiveDirectoryConfig @typing.type_check_only @@ -80,6 +81,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -235,6 +237,13 @@ class Instance(typing_extensions.TypedDict, total=False): "REGIONAL", ] +@typing.type_check_only +class LdapConfig(typing_extensions.TypedDict, total=False): + domain: str + groupsOu: str + servers: _list[str] + usersOu: str + @typing.type_check_only class ListBackupsResponse(typing_extensions.TypedDict, total=False): backups: _list[Backup] @@ -300,11 +309,15 @@ class ManagedActiveDirectoryConfig(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 @@ -315,6 +328,7 @@ class NfsExportOptions(typing_extensions.TypedDict, total=False): anonGid: str anonUid: str ipRanges: _list[str] + network: str securityFlavors: _list[ typing_extensions.Literal[ "SECURITY_FLAVOR_UNSPECIFIED", "AUTH_SYS", "KRB5", "KRB5I", "KRB5P" @@ -356,7 +370,12 @@ class PerformanceLimits(typing_extensions.TypedDict, total=False): maxWriteThroughputBps: str @typing.type_check_only -class PromoteReplicaRequest(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): @@ -367,7 +386,7 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): ] stateReasons: _list[ typing_extensions.Literal[ - "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE" + "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED" ] ] diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi index 889a805f..b429508b 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi @@ -74,9 +74,6 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): def getJwt( self, *, mobilesdkAppId: str, **kwargs: typing.Any ) -> GoogleFirebaseAppdistroV1alphaJwtHttpRequest: ... - def provisionApp( - self, *, mobilesdkAppId: str, **kwargs: typing.Any - ) -> GoogleFirebaseAppdistroV1alphaProvisionAppResponseHttpRequest: ... def release_by_hash(self) -> Release_by_hashResource: ... def releases(self) -> ReleasesResource: ... def testers(self) -> TestersResource: ... @@ -130,6 +127,13 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): @typing.type_check_only class TestCasesResource(googleapiclient.discovery.Resource): + def batchDelete( + self, + *, + parent: str, + body: GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, @@ -188,6 +192,9 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): self, *, project: str, mobilesdkAppId: str = ..., **kwargs: typing.Any ) -> GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponseHttpRequest: ... + def getTestQuota( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleFirebaseAppdistroV1alphaTestQuotaHttpRequest: ... def apps(self) -> AppsResource: ... def testers(self) -> TestersResource: ... @@ -303,44 +310,44 @@ class GoogleFirebaseAppdistroV1alphaListTestCasesResponseHttpRequest( ) -> GoogleFirebaseAppdistroV1alphaListTestCasesResponse: ... @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaProvisionAppResponseHttpRequest( +class GoogleFirebaseAppdistroV1alphaReleaseTestHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleFirebaseAppdistroV1alphaProvisionAppResponse: ... + ) -> GoogleFirebaseAppdistroV1alphaReleaseTest: ... @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaReleaseTestHttpRequest( +class GoogleFirebaseAppdistroV1alphaTestCaseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleFirebaseAppdistroV1alphaReleaseTest: ... + ) -> GoogleFirebaseAppdistroV1alphaTestCase: ... @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestCaseHttpRequest( +class GoogleFirebaseAppdistroV1alphaTestConfigHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleFirebaseAppdistroV1alphaTestCase: ... + ) -> GoogleFirebaseAppdistroV1alphaTestConfig: ... @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestConfigHttpRequest( +class GoogleFirebaseAppdistroV1alphaTestQuotaHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleFirebaseAppdistroV1alphaTestConfig: ... + ) -> GoogleFirebaseAppdistroV1alphaTestQuota: ... @typing.type_check_only class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index 47b8e8e5..291eadd3 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -9,6 +9,13 @@ class AndroidxCrawlerOutputPoint(typing_extensions.TypedDict, total=False): xCoordinate: int yCoordinate: int +@typing.type_check_only +class AndroidxCrawlerOutputRectangle(typing_extensions.TypedDict, total=False): + bottom: int + left: int + right: int + top: int + @typing.type_check_only class GoogleFirebaseAppdistroV1Release(typing_extensions.TypedDict, total=False): binaryDownloadUri: str @@ -53,7 +60,6 @@ class GoogleFirebaseAppdistroV1alphaAabCertificate( class GoogleFirebaseAppdistroV1alphaAiInstructions( typing_extensions.TypedDict, total=False ): - appDescription: str steps: _list[GoogleFirebaseAppdistroV1alphaAiStep] @typing.type_check_only @@ -110,6 +116,12 @@ class GoogleFirebaseAppdistroV1alphaAssertionDetails( result: bool screenshot: GoogleFirebaseAppdistroV1alphaScreenshot +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest( + typing_extensions.TypedDict, total=False +): + names: _list[str] + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse( typing_extensions.TypedDict, total=False @@ -174,6 +186,7 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( class GoogleFirebaseAppdistroV1alphaDeviceInteraction( typing_extensions.TypedDict, total=False ): + enterText: GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText keyCode: str screenshot: GoogleFirebaseAppdistroV1alphaScreenshot swipe: GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe @@ -181,6 +194,13 @@ class GoogleFirebaseAppdistroV1alphaDeviceInteraction( textInput: str wait: GoogleFirebaseAppdistroV1alphaDeviceInteractionWait +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText( + typing_extensions.TypedDict, total=False +): + elementBounds: AndroidxCrawlerOutputRectangle + text: str + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe( typing_extensions.TypedDict, total=False @@ -247,6 +267,7 @@ class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( "AAB_DEVELOPER_ACCOUNT_NOT_LINKED", "AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT", "AAB_UPLOAD_ERROR", + "APP_NOT_FOUND", ] message: str release: GoogleFirebaseAppdistroV1alphaRelease @@ -258,10 +279,18 @@ class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( class GoogleFirebaseAppdistroV1alphaGoalAction( typing_extensions.TypedDict, total=False ): + debugInfo: GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo deviceAction: GoogleFirebaseAppdistroV1alphaDeviceAction explanation: str terminalAction: GoogleFirebaseAppdistroV1alphaTerminalAction +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo( + typing_extensions.TypedDict, total=False +): + annotatedScreenshotUri: str + jsonUri: str + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaGoalDetails( typing_extensions.TypedDict, total=False @@ -302,11 +331,6 @@ class GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints( passwordResourceName: str usernameResourceName: str -@typing.type_check_only -class GoogleFirebaseAppdistroV1alphaProvisionAppResponse( - typing_extensions.TypedDict, total=False -): ... - @typing.type_check_only class GoogleFirebaseAppdistroV1alphaRelease(typing_extensions.TypedDict, total=False): buildVersion: str @@ -376,6 +400,7 @@ class GoogleFirebaseAppdistroV1alphaTerminalAction( @typing.type_check_only class GoogleFirebaseAppdistroV1alphaTestCase(typing_extensions.TypedDict, total=False): aiInstructions: GoogleFirebaseAppdistroV1alphaAiInstructions + createTime: str displayName: str name: str @@ -397,6 +422,12 @@ class GoogleFirebaseAppdistroV1alphaTestDevice( orientation: str version: str +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaTestQuota(typing_extensions.TypedDict, total=False): + limit: str + name: str + usage: str + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaTesterUdid( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/__init__.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/__init__.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi new file mode 100644 index 00000000..46edd885 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi @@ -0,0 +1,395 @@ +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 FirebaseAppHostingResource(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 BackendsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BuildsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Build = ..., + buildId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BuildHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListBuildsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBuildsResponseHttpRequest, + previous_response: ListBuildsResponse, + ) -> ListBuildsResponseHttpRequest | None: ... + + @typing.type_check_only + class DomainsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Domain = ..., + domainId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DomainHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListDomainsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainsResponseHttpRequest, + previous_response: ListDomainsResponse, + ) -> ListDomainsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Domain = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Rollout = ..., + requestId: str = ..., + rolloutId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListRolloutsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutsResponseHttpRequest, + previous_response: ListRolloutsResponse, + ) -> ListRolloutsResponseHttpRequest | None: ... + + @typing.type_check_only + class TrafficResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TrafficHttpRequest: ... + def patch( + self, + *, + name: str, + body: Traffic = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Backend = ..., + backendId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackendHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListBackendsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackendsResponseHttpRequest, + previous_response: ListBackendsResponse, + ) -> ListBackendsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Backend = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def builds(self) -> BuildsResource: ... + def domains(self) -> DomainsResource: ... + def rollouts(self) -> RolloutsResource: ... + def traffic(self) -> TrafficResource: ... + + @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: ... + + 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 backends(self) -> BackendsResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class BackendHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Backend: ... + +@typing.type_check_only +class BuildHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Build: ... + +@typing.type_check_only +class DomainHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Domain: ... + +@typing.type_check_only +class 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 ListBackendsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackendsResponse: ... + +@typing.type_check_only +class ListBuildsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBuildsResponse: ... + +@typing.type_check_only +class ListDomainsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDomainsResponse: ... + +@typing.type_check_only +class 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 ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutsResponse: ... + +@typing.type_check_only +class 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 RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class TrafficHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Traffic: ... diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi new file mode 100644 index 00000000..ba0c4090 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi @@ -0,0 +1,398 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Backend(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + appId: str + codebase: Codebase + createTime: str + deleteTime: str + displayName: str + environment: str + etag: str + labels: dict[str, typing.Any] + managedResources: _list[ManagedResource] + mode: str + name: str + reconciling: bool + serviceAccount: str + servingLocality: typing_extensions.Literal[ + "SERVING_LOCALITY_UNSPECIFIED", "REGIONAL_STRICT", "GLOBAL_ACCESS" + ] + uid: str + updateTime: str + uri: str + +@typing.type_check_only +class Build(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + buildLogsUri: str + config: Config + createTime: str + deleteTime: str + displayName: str + environment: str + errors: _list[Error] + etag: str + image: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + source: BuildSource + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "BUILDING", "BUILT", "DEPLOYING", "READY", "FAILED" + ] + uid: str + updateTime: str + +@typing.type_check_only +class BuildSource(typing_extensions.TypedDict, total=False): + codebase: CodebaseSource + container: ContainerSource + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Codebase(typing_extensions.TypedDict, total=False): + repository: str + rootDirectory: str + +@typing.type_check_only +class CodebaseSource(typing_extensions.TypedDict, total=False): + author: UserMetadata + branch: str + commit: str + commitMessage: str + commitTime: str + displayName: str + hash: str + uri: str + +@typing.type_check_only +class Config(typing_extensions.TypedDict, total=False): + env: _list[EnvironmentVariable] + runConfig: RunConfig + +@typing.type_check_only +class ContainerSource(typing_extensions.TypedDict, total=False): + image: str + +@typing.type_check_only +class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): + certState: typing_extensions.Literal[ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED", + ] + hostState: typing_extensions.Literal[ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE", + ] + issues: _list[Status] + liveMigrationSteps: _list[LiveMigrationStep] + ownershipState: typing_extensions.Literal[ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE", + ] + quickSetupUpdates: _list[DnsUpdates] + +@typing.type_check_only +class CustomDomainStatus(typing_extensions.TypedDict, total=False): + certState: typing_extensions.Literal[ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED", + ] + hostState: typing_extensions.Literal[ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE", + ] + issues: _list[Status] + ownershipState: typing_extensions.Literal[ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE", + ] + requiredDnsUpdates: _list[DnsUpdates] + +@typing.type_check_only +class DnsRecord(typing_extensions.TypedDict, total=False): + domainName: str + rdata: str + relevantState: _list[ + typing_extensions.Literal[ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE", + ] + ] + requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" + ] + +@typing.type_check_only +class DnsRecordSet(typing_extensions.TypedDict, total=False): + checkError: Status + domainName: str + records: _list[DnsRecord] + +@typing.type_check_only +class DnsUpdates(typing_extensions.TypedDict, total=False): + checkTime: str + desired: _list[DnsRecordSet] + discovered: _list[DnsRecordSet] + domainName: str + +@typing.type_check_only +class Domain(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + customDomainStatus: CustomDomainStatus + deleteTime: str + disabled: bool + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + serve: ServingBehavior + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] + uid: str + updateTime: str + +@typing.type_check_only +class DomainOperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + customDomainOperationMetadata: CustomDomainOperationMetadata + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EnvironmentVariable(typing_extensions.TypedDict, total=False): + availability: _list[ + typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] + ] + secret: str + value: str + variable: str + +@typing.type_check_only +class Error(typing_extensions.TypedDict, total=False): + cloudResource: str + error: Status + errorSource: typing_extensions.Literal[ + "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" + ] + +@typing.type_check_only +class ListBackendsResponse(typing_extensions.TypedDict, total=False): + backends: _list[Backend] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListBuildsResponse(typing_extensions.TypedDict, total=False): + builds: _list[Build] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListDomainsResponse(typing_extensions.TypedDict, total=False): + domains: _list[Domain] + 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] + +@typing.type_check_only +class ListRolloutsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rollouts: _list[Rollout] + unreachable: _list[str] + +@typing.type_check_only +class LiveMigrationStep(typing_extensions.TypedDict, total=False): + dnsUpdates: _list[DnsUpdates] + issues: _list[Status] + relevantDomainStates: _list[ + typing_extensions.Literal[ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE", + ] + ] + stepState: typing_extensions.Literal[ + "STEP_STATE_UNSPECIFIED", + "PREPARING", + "PENDING", + "INCOMPLETE", + "PROCESSING", + "COMPLETE", + ] + +@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 ManagedResource(typing_extensions.TypedDict, total=False): + runService: RunService + +@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 Redirect(typing_extensions.TypedDict, total=False): + status: str + uri: str + +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + build: str + createTime: str + deleteTime: str + displayName: str + error: Status + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "QUEUED", + "PENDING_BUILD", + "PROGRESSING", + "PAUSED", + "SUCCEEDED", + "FAILED", + "CANCELLED", + ] + uid: str + updateTime: str + +@typing.type_check_only +class RolloutPolicy(typing_extensions.TypedDict, total=False): + codebaseBranch: str + disabled: bool + disabledTime: str + +@typing.type_check_only +class RunConfig(typing_extensions.TypedDict, total=False): + concurrency: int + cpu: float + maxInstances: int + memoryMib: int + minInstances: int + +@typing.type_check_only +class RunService(typing_extensions.TypedDict, total=False): + service: str + +@typing.type_check_only +class ServingBehavior(typing_extensions.TypedDict, total=False): + redirect: Redirect + +@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 Traffic(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + current: TrafficSet + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + rolloutPolicy: RolloutPolicy + target: TrafficSet + uid: str + updateTime: str + +@typing.type_check_only +class TrafficSet(typing_extensions.TypedDict, total=False): + splits: _list[TrafficSplit] + +@typing.type_check_only +class TrafficSplit(typing_extensions.TypedDict, total=False): + build: str + percent: int + +@typing.type_check_only +class UserMetadata(typing_extensions.TypedDict, total=False): + displayName: str + email: str + imageUri: str diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi new file mode 100644 index 00000000..86b95234 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi @@ -0,0 +1,391 @@ +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 FirebaseAppHostingResource(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 BackendsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BuildsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Build = ..., + buildId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BuildHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListBuildsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBuildsResponseHttpRequest, + previous_response: ListBuildsResponse, + ) -> ListBuildsResponseHttpRequest | None: ... + + @typing.type_check_only + class DomainsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Domain = ..., + domainId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DomainHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListDomainsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainsResponseHttpRequest, + previous_response: ListDomainsResponse, + ) -> ListDomainsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Domain = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Rollout = ..., + requestId: str = ..., + rolloutId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListRolloutsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutsResponseHttpRequest, + previous_response: ListRolloutsResponse, + ) -> ListRolloutsResponseHttpRequest | None: ... + + @typing.type_check_only + class TrafficResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TrafficHttpRequest: ... + def patch( + self, + *, + name: str, + body: Traffic = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Backend = ..., + backendId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackendHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListBackendsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackendsResponseHttpRequest, + previous_response: ListBackendsResponse, + ) -> ListBackendsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Backend = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def builds(self) -> BuildsResource: ... + def domains(self) -> DomainsResource: ... + def rollouts(self) -> RolloutsResource: ... + def traffic(self) -> TrafficResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def backends(self) -> BackendsResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class BackendHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Backend: ... + +@typing.type_check_only +class BuildHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Build: ... + +@typing.type_check_only +class DomainHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Domain: ... + +@typing.type_check_only +class 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 ListBackendsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackendsResponse: ... + +@typing.type_check_only +class ListBuildsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBuildsResponse: ... + +@typing.type_check_only +class ListDomainsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDomainsResponse: ... + +@typing.type_check_only +class 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 ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutsResponse: ... + +@typing.type_check_only +class 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 RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class TrafficHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Traffic: ... diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi new file mode 100644 index 00000000..b841195e --- /dev/null +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi @@ -0,0 +1,416 @@ +import typing + +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] + appId: str + codebase: Codebase + createTime: str + deleteTime: str + displayName: str + environment: str + etag: str + labels: dict[str, typing.Any] + managedResources: _list[ManagedResource] + mode: str + name: str + reconciling: bool + requestLogsDisabled: bool + serviceAccount: str + servingLocality: typing_extensions.Literal[ + "SERVING_LOCALITY_UNSPECIFIED", "REGIONAL_STRICT", "GLOBAL_ACCESS" + ] + uid: str + updateTime: str + uri: str + +@typing.type_check_only +class Build(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + buildLogsUri: str + config: Config + createTime: str + deleteTime: str + displayName: str + environment: str + error: Status + errorSource: typing_extensions.Literal[ + "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" + ] + errors: _list[Error] + etag: str + image: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + source: BuildSource + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "BUILDING", "BUILT", "DEPLOYING", "READY", "FAILED" + ] + uid: str + updateTime: str + +@typing.type_check_only +class BuildSource(typing_extensions.TypedDict, total=False): + archive: ArchiveSource + codebase: CodebaseSource + container: ContainerSource + +@typing.type_check_only +class Codebase(typing_extensions.TypedDict, total=False): + repository: str + rootDirectory: str + +@typing.type_check_only +class CodebaseSource(typing_extensions.TypedDict, total=False): + author: UserMetadata + branch: str + commit: str + commitMessage: str + commitTime: str + displayName: str + hash: str + uri: str + +@typing.type_check_only +class Config(typing_extensions.TypedDict, total=False): + env: _list[EnvironmentVariable] + runConfig: RunConfig + +@typing.type_check_only +class ContainerSource(typing_extensions.TypedDict, total=False): + image: str + +@typing.type_check_only +class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): + certState: typing_extensions.Literal[ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED", + ] + hostState: typing_extensions.Literal[ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE", + ] + issues: _list[Status] + liveMigrationSteps: _list[LiveMigrationStep] + ownershipState: typing_extensions.Literal[ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE", + ] + quickSetupUpdates: _list[DnsUpdates] + +@typing.type_check_only +class CustomDomainStatus(typing_extensions.TypedDict, total=False): + certState: typing_extensions.Literal[ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED", + ] + hostState: typing_extensions.Literal[ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE", + ] + issues: _list[Status] + ownershipState: typing_extensions.Literal[ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE", + ] + requiredDnsUpdates: _list[DnsUpdates] + +@typing.type_check_only +class DnsRecord(typing_extensions.TypedDict, total=False): + domainName: str + rdata: str + relevantState: _list[ + typing_extensions.Literal[ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE", + ] + ] + requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" + ] + +@typing.type_check_only +class DnsRecordSet(typing_extensions.TypedDict, total=False): + checkError: Status + domainName: str + records: _list[DnsRecord] + +@typing.type_check_only +class DnsUpdates(typing_extensions.TypedDict, total=False): + checkTime: str + desired: _list[DnsRecordSet] + discovered: _list[DnsRecordSet] + domainName: str + +@typing.type_check_only +class Domain(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + customDomainStatus: CustomDomainStatus + deleteTime: str + disabled: bool + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + purgeTime: str + reconciling: bool + serve: ServingBehavior + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] + uid: str + updateTime: str + +@typing.type_check_only +class DomainOperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + customDomainOperationMetadata: CustomDomainOperationMetadata + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EnvironmentVariable(typing_extensions.TypedDict, total=False): + availability: _list[ + typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] + ] + secret: str + value: str + variable: str + +@typing.type_check_only +class Error(typing_extensions.TypedDict, total=False): + cloudResource: str + error: Status + errorSource: typing_extensions.Literal[ + "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" + ] + +@typing.type_check_only +class ListBackendsResponse(typing_extensions.TypedDict, total=False): + backends: _list[Backend] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListBuildsResponse(typing_extensions.TypedDict, total=False): + builds: _list[Build] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListDomainsResponse(typing_extensions.TypedDict, total=False): + domains: _list[Domain] + 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] + +@typing.type_check_only +class ListRolloutsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rollouts: _list[Rollout] + unreachable: _list[str] + +@typing.type_check_only +class LiveMigrationStep(typing_extensions.TypedDict, total=False): + dnsUpdates: _list[DnsUpdates] + issues: _list[Status] + relevantDomainStates: _list[ + typing_extensions.Literal[ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE", + ] + ] + stepState: typing_extensions.Literal[ + "STEP_STATE_UNSPECIFIED", + "PREPARING", + "PENDING", + "INCOMPLETE", + "PROCESSING", + "COMPLETE", + ] + +@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 ManagedResource(typing_extensions.TypedDict, total=False): + runService: RunService + +@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 Redirect(typing_extensions.TypedDict, total=False): + status: str + uri: str + +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + build: str + createTime: str + deleteTime: str + displayName: str + error: Status + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "QUEUED", + "PENDING_BUILD", + "PROGRESSING", + "PAUSED", + "SUCCEEDED", + "FAILED", + "CANCELLED", + ] + uid: str + updateTime: str + +@typing.type_check_only +class RolloutPolicy(typing_extensions.TypedDict, total=False): + codebaseBranch: str + disabled: bool + disabledTime: str + +@typing.type_check_only +class RunConfig(typing_extensions.TypedDict, total=False): + concurrency: int + cpu: float + maxInstances: int + memoryMib: int + minInstances: int + +@typing.type_check_only +class RunService(typing_extensions.TypedDict, total=False): + service: str + +@typing.type_check_only +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 + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class Traffic(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + current: TrafficSet + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + rolloutPolicy: RolloutPolicy + target: TrafficSet + uid: str + updateTime: str + +@typing.type_check_only +class TrafficSet(typing_extensions.TypedDict, total=False): + splits: _list[TrafficSplit] + +@typing.type_check_only +class TrafficSplit(typing_extensions.TypedDict, total=False): + build: str + percent: int + +@typing.type_check_only +class UserMetadata(typing_extensions.TypedDict, total=False): + displayName: str + email: str + imageUri: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/__init__.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi new file mode 100644 index 00000000..425134a9 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi @@ -0,0 +1,378 @@ +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 FirebaseDataConnectResource(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 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 ServicesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConnectorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Connector = ..., + connectorId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + allowMissing: bool = ..., + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def executeMutation( + self, + *, + name: str, + body: ExecuteMutationRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteMutationResponseHttpRequest: ... + def executeQuery( + self, + *, + name: str, + body: ExecuteQueryRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteQueryResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ConnectorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConnectorsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConnectorsResponseHttpRequest, + previous_response: ListConnectorsResponse, + ) -> ListConnectorsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Connector = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class SchemasResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Schema = ..., + requestId: str = ..., + schemaId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + allowMissing: bool = ..., + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSchemasResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSchemasResponseHttpRequest, + previous_response: ListSchemasResponse, + ) -> ListSchemasResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Schema = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Service = ..., + requestId: str = ..., + serviceId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + allowMissing: bool = ..., + etag: str = ..., + force: bool = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def executeGraphql( + self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any + ) -> GraphqlResponseHttpRequest: ... + def executeGraphqlRead( + self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any + ) -> GraphqlResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ServiceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListServicesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListServicesResponseHttpRequest, + previous_response: ListServicesResponse, + ) -> ListServicesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Service = ..., + allowMissing: bool = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def connectors(self) -> ConnectorsResource: ... + def schemas(self) -> SchemasResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + def services(self) -> ServicesResource: ... + + 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 ConnectorHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Connector: ... + +@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 ExecuteMutationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteMutationResponse: ... + +@typing.type_check_only +class ExecuteQueryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteQueryResponse: ... + +@typing.type_check_only +class GraphqlResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GraphqlResponse: ... + +@typing.type_check_only +class ListConnectorsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConnectorsResponse: ... + +@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 ListSchemasResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSchemasResponse: ... + +@typing.type_check_only +class ListServicesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListServicesResponse: ... + +@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 SchemaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Schema: ... + +@typing.type_check_only +class ServiceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Service: ... diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi new file mode 100644 index 00000000..57ea91c5 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi @@ -0,0 +1,218 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CloudSqlInstance(typing_extensions.TypedDict, total=False): + instance: str + +@typing.type_check_only +class Connector(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + source: Source + uid: str + updateTime: str + +@typing.type_check_only +class Datasource(typing_extensions.TypedDict, total=False): + postgresql: PostgreSql + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ExecuteMutationRequest(typing_extensions.TypedDict, total=False): + operationName: str + variables: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteMutationResponse(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + errors: _list[GraphqlError] + +@typing.type_check_only +class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): + operationName: str + variables: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteQueryResponse(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + errors: _list[GraphqlError] + +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + content: str + path: str + +@typing.type_check_only +class GraphqlError(typing_extensions.TypedDict, total=False): + extensions: GraphqlErrorExtensions + locations: _list[SourceLocation] + message: str + path: _list[typing.Any] + +@typing.type_check_only +class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS", + ] + debugDetails: str + file: str + resource: str + +@typing.type_check_only +class GraphqlRequest(typing_extensions.TypedDict, total=False): + extensions: GraphqlRequestExtensions + operationName: str + query: str + variables: dict[str, typing.Any] + +@typing.type_check_only +class GraphqlRequestExtensions(typing_extensions.TypedDict, total=False): + impersonate: Impersonation + +@typing.type_check_only +class GraphqlResponse(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + errors: _list[GraphqlError] + +@typing.type_check_only +class Impersonation(typing_extensions.TypedDict, total=False): + authClaims: dict[str, typing.Any] + includeDebugDetails: bool + unauthenticated: bool + +@typing.type_check_only +class ListConnectorsResponse(typing_extensions.TypedDict, total=False): + connectors: _list[Connector] + 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] + +@typing.type_check_only +class ListSchemasResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + schemas: _list[Schema] + unreachable: _list[str] + +@typing.type_check_only +class ListServicesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + services: _list[Service] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class 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 PostgreSql(typing_extensions.TypedDict, total=False): + cloudSql: CloudSqlInstance + database: str + schemaMigration: typing_extensions.Literal[ + "SQL_SCHEMA_MIGRATION_UNSPECIFIED", "MIGRATE_COMPATIBLE" + ] + schemaValidation: typing_extensions.Literal[ + "SQL_SCHEMA_VALIDATION_UNSPECIFIED", "NONE", "STRICT", "COMPATIBLE" + ] + unlinked: bool + +@typing.type_check_only +class Schema(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + datasources: _list[Datasource] + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + source: Source + uid: str + updateTime: str + +@typing.type_check_only +class Service(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + uid: str + updateTime: str + +@typing.type_check_only +class Source(typing_extensions.TypedDict, total=False): + files: _list[File] + +@typing.type_check_only +class SourceLocation(typing_extensions.TypedDict, total=False): + column: int + line: int + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi index 0a971de9..425134a9 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi @@ -235,6 +235,7 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi index dc7e92a3..57ea91c5 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi @@ -65,7 +65,28 @@ class GraphqlError(typing_extensions.TypedDict, total=False): @typing.type_check_only class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS", + ] + debugDetails: str file: str + resource: str @typing.type_check_only class GraphqlRequest(typing_extensions.TypedDict, total=False): @@ -86,6 +107,7 @@ class GraphqlResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Impersonation(typing_extensions.TypedDict, total=False): authClaims: dict[str, typing.Any] + includeDebugDetails: bool unauthenticated: bool @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index 1b70845d..32ab1a0f 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -10,9 +10,82 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ApiAuth(typing_extensions.TypedDict, total=False): + apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig( + typing_extensions.TypedDict, total=False +): + apiKeySecretVersion: str + apiKeyString: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total=False): + apiKeyConfig: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig + authType: typing_extensions.Literal[ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "API_KEY_AUTH", + "HTTP_BASIC_AUTH", + "GOOGLE_SERVICE_ACCOUNT_AUTH", + "OAUTH", + "OIDC_AUTH", + ] + googleServiceAccountConfig: ( + GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig + ) + httpBasicAuthConfig: GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig + oauthConfig: GoogleCloudAiplatformV1beta1AuthConfigOauthConfig + oidcConfig: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig( + typing_extensions.TypedDict, total=False +): + apiKeySecret: str + apiKeyString: str + httpElementLocation: typing_extensions.Literal[ + "HTTP_IN_UNSPECIFIED", + "HTTP_IN_QUERY", + "HTTP_IN_HEADER", + "HTTP_IN_PATH", + "HTTP_IN_BODY", + "HTTP_IN_COOKIE", + ] + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig( + typing_extensions.TypedDict, total=False +): + credentialSecret: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig( + typing_extensions.TypedDict, total=False +): + accessToken: str + serviceAccount: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig( + typing_extensions.TypedDict, total=False +): + idToken: str + serviceAccount: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Blob(typing_extensions.TypedDict, total=False): data: str + displayName: str mimeType: str @typing.type_check_only @@ -32,11 +105,17 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F "PROHIBITED_CONTENT", "SPII", "MALFORMED_FUNCTION_CALL", + "IMAGE_SAFETY", + "IMAGE_PROHIBITED_CONTENT", + "IMAGE_RECITATION", + "IMAGE_OTHER", + "UNEXPECTED_TOOL_CALL", ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int logprobsResult: GoogleCloudAiplatformV1beta1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] + urlContextMetadata: GoogleCloudAiplatformV1beta1UrlContextMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=False): @@ -85,6 +164,7 @@ class GoogleCloudAiplatformV1beta1CountTokensRequest( class GoogleCloudAiplatformV1beta1CountTokensResponse( typing_extensions.TypedDict, total=False ): + promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @@ -95,6 +175,11 @@ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( dynamicThreshold: float mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecutableCode( typing_extensions.TypedDict, total=False @@ -102,8 +187,33 @@ class GoogleCloudAiplatformV1beta1ExecutableCode( code: str language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total=False): + apiAuth: GoogleCloudAiplatformV1beta1ApiAuth + apiSpec: typing_extensions.Literal[ + "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" + ] + authConfig: GoogleCloudAiplatformV1beta1AuthConfig + elasticSearchParams: GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams + endpoint: str + simpleSearchParams: GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( + typing_extensions.TypedDict, total=False +): + index: str + numHits: int + searchTemplate: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1FileData(typing_extensions.TypedDict, total=False): + displayName: str fileUri: str mimeType: str @@ -112,6 +222,7 @@ class GoogleCloudAiplatformV1beta1FunctionCall( typing_extensions.TypedDict, total=False ): args: dict[str, typing.Any] + id: str name: str @typing.type_check_only @@ -128,12 +239,15 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration( description: str name: str parameters: GoogleCloudAiplatformV1beta1Schema + parametersJsonSchema: typing.Any response: GoogleCloudAiplatformV1beta1Schema + responseJsonSchema: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionResponse( typing_extensions.TypedDict, total=False ): + id: str name: str response: dict[str, typing.Any] @@ -155,8 +269,10 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] + createTime: str modelVersion: str promptFeedback: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback + responseId: str usageMetadata: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata @typing.type_check_only @@ -169,6 +285,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( "OTHER", "BLOCKLIST", "PROHIBITED_CONTENT", + "IMAGE_SAFETY", ] blockReasonMessage: str safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @@ -177,10 +294,19 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( typing_extensions.TypedDict, total=False ): + cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] cachedContentTokenCount: int candidatesTokenCount: int + candidatesTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] promptTokenCount: int + promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + thoughtsTokenCount: int + toolUsePromptTokenCount: int + toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfig( @@ -188,6 +314,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( ): audioTimestamp: bool candidateCount: int + enableAffectiveDialog: bool frequencyPenalty: float logprobs: int maxOutputTokens: int @@ -197,7 +324,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( "MEDIA_RESOLUTION_MEDIUM", "MEDIA_RESOLUTION_HIGH", ] + modelConfig: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig presencePenalty: float + responseJsonSchema: typing.Any responseLogprobs: bool responseMimeType: str responseModalities: _list[ @@ -209,9 +338,21 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( speechConfig: GoogleCloudAiplatformV1beta1SpeechConfig stopSequences: _list[str] temperature: float + thinkingConfig: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig topK: float topP: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( + typing_extensions.TypedDict, total=False +): + featureSelectionPreference: typing_extensions.Literal[ + "FEATURE_SELECTION_PREFERENCE_UNSPECIFIED", + "PRIORITIZE_QUALITY", + "BALANCED", + "PRIORITIZE_COST", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( typing_extensions.TypedDict, total=False @@ -235,6 +376,13 @@ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode ): modelName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( + typing_extensions.TypedDict, total=False +): + includeThoughts: bool + thinkingBudget: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( typing_extensions.TypedDict, total=False @@ -252,6 +400,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunk( class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( typing_extensions.TypedDict, total=False ): + ragChunk: GoogleCloudAiplatformV1beta1RagChunk text: str title: str uri: str @@ -260,6 +409,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( class GoogleCloudAiplatformV1beta1GroundingChunkWeb( typing_extensions.TypedDict, total=False ): + domain: str title: str uri: str @@ -303,6 +453,15 @@ class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates( ): candidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ModalityTokenCount( + typing_extensions.TypedDict, total=False +): + modality: typing_extensions.Literal[ + "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" + ] + tokenCount: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False): codeExecutionResult: GoogleCloudAiplatformV1beta1CodeExecutionResult @@ -313,6 +472,7 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) inlineData: GoogleCloudAiplatformV1beta1Blob text: str thought: bool + thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata @typing.type_check_only @@ -321,6 +481,18 @@ class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( ): voiceName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagChunk(typing_extensions.TypedDict, total=False): + pageSpan: GoogleCloudAiplatformV1beta1RagChunkPageSpan + text: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagChunkPageSpan( + typing_extensions.TypedDict, total=False +): + firstPage: int + lastPage: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfig( typing_extensions.TypedDict, total=False @@ -366,6 +538,7 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService( @typing.type_check_only class GoogleCloudAiplatformV1beta1Retrieval(typing_extensions.TypedDict, total=False): disableAttribution: bool + externalApi: GoogleCloudAiplatformV1beta1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1beta1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore @@ -394,6 +567,18 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + ] + overwrittenThreshold: typing_extensions.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -419,6 +604,10 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -434,8 +623,10 @@ class GoogleCloudAiplatformV1beta1SafetySetting( @typing.type_check_only class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): + additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any + defs: dict[str, typing.Any] description: str enum: _list[str] example: typing.Any @@ -453,10 +644,18 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals pattern: str properties: dict[str, typing.Any] propertyOrdering: _list[str] + ref: str required: _list[str] title: str type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STRING", "NUMBER", "INTEGER", "BOOLEAN", "ARRAY", "OBJECT" + "TYPE_UNSPECIFIED", + "STRING", + "NUMBER", + "INTEGER", + "BOOLEAN", + "ARRAY", + "OBJECT", + "NULL", ] @typing.type_check_only @@ -477,21 +676,33 @@ class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=Fal class GoogleCloudAiplatformV1beta1SpeechConfig( typing_extensions.TypedDict, total=False ): + languageCode: str voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1beta1ToolCodeExecution + computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse + enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch functionDeclarations: _list[GoogleCloudAiplatformV1beta1FunctionDeclaration] googleSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval retrieval: GoogleCloudAiplatformV1beta1Retrieval + urlContext: GoogleCloudAiplatformV1beta1UrlContext @typing.type_check_only 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 @@ -502,11 +713,42 @@ class GoogleCloudAiplatformV1beta1ToolGoogleSearch( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlContext( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlContextMetadata( + typing_extensions.TypedDict, total=False +): + urlMetadata: _list[GoogleCloudAiplatformV1beta1UrlMetadata] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UrlMetadata(typing_extensions.TypedDict, total=False): + retrievedUrl: str + urlRetrievalStatus: typing_extensions.Literal[ + "URL_RETRIEVAL_STATUS_UNSPECIFIED", + "URL_RETRIEVAL_STATUS_SUCCESS", + "URL_RETRIEVAL_STATUS_ERROR", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexAISearch( typing_extensions.TypedDict, total=False ): + dataStoreSpecs: _list[GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec] datastore: str + engine: str + filter: str + maxResults: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec( + typing_extensions.TypedDict, total=False +): + dataStore: str + filter: str @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexRagStore( @@ -516,6 +758,7 @@ class GoogleCloudAiplatformV1beta1VertexRagStore( ragResources: _list[GoogleCloudAiplatformV1beta1VertexRagStoreRagResource] ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig similarityTopK: int + storeContext: bool vectorDistanceThreshold: float @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index 60ae295e..5ea203a7 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -305,6 +305,47 @@ class FirestoreResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class UserCredsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleFirestoreAdminV1UserCreds = ..., + userCredsId: str = ..., + **kwargs: typing.Any, + ) -> GoogleFirestoreAdminV1UserCredsHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def disable( + self, + *, + name: str, + body: GoogleFirestoreAdminV1DisableUserCredsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleFirestoreAdminV1UserCredsHttpRequest: ... + def enable( + self, + *, + name: str, + body: GoogleFirestoreAdminV1EnableUserCredsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleFirestoreAdminV1UserCredsHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleFirestoreAdminV1UserCredsHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleFirestoreAdminV1ListUserCredsResponseHttpRequest: ... + def resetPassword( + self, + *, + name: str, + body: GoogleFirestoreAdminV1ResetUserPasswordRequest = ..., + **kwargs: typing.Any, + ) -> GoogleFirestoreAdminV1UserCredsHttpRequest: ... + def bulkDeleteDocuments( self, *, @@ -312,6 +353,13 @@ class FirestoreResource(googleapiclient.discovery.Resource): body: GoogleFirestoreAdminV1BulkDeleteDocumentsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def clone( + self, + *, + parent: str, + body: GoogleFirestoreAdminV1CloneDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, @@ -362,6 +410,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): def collectionGroups(self) -> CollectionGroupsResource: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... + def userCreds(self) -> UserCredsResource: ... @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): @@ -384,6 +433,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -551,6 +601,24 @@ class GoogleFirestoreAdminV1ListIndexesResponseHttpRequest( num_retries: int = 0, ) -> GoogleFirestoreAdminV1ListIndexesResponse: ... +@typing.type_check_only +class GoogleFirestoreAdminV1ListUserCredsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleFirestoreAdminV1ListUserCredsResponse: ... + +@typing.type_check_only +class GoogleFirestoreAdminV1UserCredsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleFirestoreAdminV1UserCreds: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 37b22e2e..f763370b 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -263,6 +263,35 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest( collectionIds: _list[str] namespaceIds: _list[str] +@typing.type_check_only +class GoogleFirestoreAdminV1CloneDatabaseMetadata( + typing_extensions.TypedDict, total=False +): + database: str + endTime: str + operationState: typing_extensions.Literal[ + "OPERATION_STATE_UNSPECIFIED", + "INITIALIZING", + "PROCESSING", + "CANCELLING", + "FINALIZING", + "SUCCESSFUL", + "FAILED", + "CANCELLED", + ] + pitrSnapshot: GoogleFirestoreAdminV1PitrSnapshot + progressPercentage: GoogleFirestoreAdminV1Progress + startTime: str + +@typing.type_check_only +class GoogleFirestoreAdminV1CloneDatabaseRequest( + typing_extensions.TypedDict, total=False +): + databaseId: str + encryptionConfig: GoogleFirestoreAdminV1EncryptionConfig + pitrSnapshot: GoogleFirestoreAdminV1PitrSnapshot + tags: dict[str, typing.Any] + @typing.type_check_only class GoogleFirestoreAdminV1CmekConfig(typing_extensions.TypedDict, total=False): activeKeyVersion: _list[str] @@ -297,6 +326,9 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): "OPTIMISTIC_WITH_ENTITY_GROUPS", ] createTime: str + databaseEdition: typing_extensions.Literal[ + "DATABASE_EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE" + ] deleteProtectionState: typing_extensions.Literal[ "DELETE_PROTECTION_STATE_UNSPECIFIED", "DELETE_PROTECTION_DISABLED", @@ -305,6 +337,7 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): deleteTime: str earliestVersionTime: str etag: str + freeTier: bool keyPrefix: str locationId: str name: str @@ -315,6 +348,7 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): ] previousId: str sourceInfo: GoogleFirestoreAdminV1SourceInfo + tags: dict[str, typing.Any] type: typing_extensions.Literal[ "DATABASE_TYPE_UNSPECIFIED", "FIRESTORE_NATIVE", "DATASTORE_MODE" ] @@ -327,6 +361,16 @@ class GoogleFirestoreAdminV1DeleteDatabaseMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1DisableUserCredsRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleFirestoreAdminV1EnableUserCredsRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleFirestoreAdminV1EncryptionConfig(typing_extensions.TypedDict, total=False): customerManagedEncryption: GoogleFirestoreAdminV1CustomerManagedEncryptionOptions @@ -439,8 +483,14 @@ class GoogleFirestoreAdminV1ImportDocumentsRequest( @typing.type_check_only class GoogleFirestoreAdminV1Index(typing_extensions.TypedDict, total=False): - apiScope: typing_extensions.Literal["ANY_API", "DATASTORE_MODE_API"] + apiScope: typing_extensions.Literal[ + "ANY_API", "DATASTORE_MODE_API", "MONGODB_COMPATIBLE_API" + ] + density: typing_extensions.Literal[ + "DENSITY_UNSPECIFIED", "SPARSE_ALL", "SPARSE_ANY", "DENSE" + ] fields: _list[GoogleFirestoreAdminV1IndexField] + multikey: bool name: str queryScope: typing_extensions.Literal[ "QUERY_SCOPE_UNSPECIFIED", @@ -448,6 +498,7 @@ class GoogleFirestoreAdminV1Index(typing_extensions.TypedDict, total=False): "COLLECTION_GROUP", "COLLECTION_RECURSIVE", ] + shardCount: int state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR" ] @@ -525,16 +576,37 @@ class GoogleFirestoreAdminV1ListIndexesResponse( indexes: _list[GoogleFirestoreAdminV1Index] nextPageToken: str +@typing.type_check_only +class GoogleFirestoreAdminV1ListUserCredsResponse( + typing_extensions.TypedDict, total=False +): + userCreds: _list[GoogleFirestoreAdminV1UserCreds] + @typing.type_check_only class GoogleFirestoreAdminV1LocationMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): + database: str + databaseUid: str + snapshotTime: str + @typing.type_check_only class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): completedWork: str estimatedWork: str +@typing.type_check_only +class GoogleFirestoreAdminV1ResetUserPasswordRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleFirestoreAdminV1ResourceIdentity(typing_extensions.TypedDict, total=False): + principal: str + @typing.type_check_only class GoogleFirestoreAdminV1RestoreDatabaseMetadata( typing_extensions.TypedDict, total=False @@ -562,6 +634,7 @@ class GoogleFirestoreAdminV1RestoreDatabaseRequest( backup: str databaseId: str encryptionConfig: GoogleFirestoreAdminV1EncryptionConfig + tags: dict[str, typing.Any] @typing.type_check_only class GoogleFirestoreAdminV1SourceEncryptionOptions( @@ -594,6 +667,15 @@ class GoogleFirestoreAdminV1UpdateDatabaseMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1UserCreds(typing_extensions.TypedDict, total=False): + createTime: str + name: str + resourceIdentity: GoogleFirestoreAdminV1ResourceIdentity + securePassword: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + updateTime: str + @typing.type_check_only class GoogleFirestoreAdminV1VectorConfig(typing_extensions.TypedDict, total=False): dimension: int diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index e7bcf26b..a4916dee 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -231,6 +231,26 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( snapshotTime: str startTime: str +@typing.type_check_only +class GoogleFirestoreAdminV1CloneDatabaseMetadata( + typing_extensions.TypedDict, total=False +): + database: str + endTime: str + operationState: typing_extensions.Literal[ + "OPERATION_STATE_UNSPECIFIED", + "INITIALIZING", + "PROCESSING", + "CANCELLING", + "FINALIZING", + "SUCCESSFUL", + "FAILED", + "CANCELLED", + ] + pitrSnapshot: GoogleFirestoreAdminV1PitrSnapshot + progressPercentage: GoogleFirestoreAdminV1Progress + startTime: str + @typing.type_check_only class GoogleFirestoreAdminV1CreateDatabaseMetadata( typing_extensions.TypedDict, total=False @@ -241,6 +261,12 @@ class GoogleFirestoreAdminV1DeleteDatabaseMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): + database: str + databaseUid: str + snapshotTime: str + @typing.type_check_only class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): completedWork: str diff --git a/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi index 2456071f..d378a598 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi @@ -29,6 +29,26 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( snapshotTime: str startTime: str +@typing.type_check_only +class GoogleFirestoreAdminV1CloneDatabaseMetadata( + typing_extensions.TypedDict, total=False +): + database: str + endTime: str + operationState: typing_extensions.Literal[ + "OPERATION_STATE_UNSPECIFIED", + "INITIALIZING", + "PROCESSING", + "CANCELLING", + "FINALIZING", + "SUCCESSFUL", + "FAILED", + "CANCELLED", + ] + pitrSnapshot: GoogleFirestoreAdminV1PitrSnapshot + progressPercentage: GoogleFirestoreAdminV1Progress + startTime: str + @typing.type_check_only class GoogleFirestoreAdminV1CreateDatabaseMetadata( typing_extensions.TypedDict, total=False @@ -39,6 +59,12 @@ class GoogleFirestoreAdminV1DeleteDatabaseMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): + database: str + databaseUid: str + snapshotTime: str + @typing.type_check_only class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): completedWork: str diff --git a/googleapiclient-stubs/_apis/forms/v1/resources.pyi b/googleapiclient-stubs/_apis/forms/v1/resources.pyi index 0eba4ad0..e65bcf17 100644 --- a/googleapiclient-stubs/_apis/forms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/forms/v1/resources.pyi @@ -67,9 +67,16 @@ class FormsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> BatchUpdateFormResponseHttpRequest: ... def create( - self, *, body: Form = ..., **kwargs: typing.Any + self, *, body: Form = ..., unpublished: bool = ..., **kwargs: typing.Any ) -> FormHttpRequest: ... def get(self, *, formId: str, **kwargs: typing.Any) -> FormHttpRequest: ... + def setPublishSettings( + self, + *, + formId: str, + body: SetPublishSettingsRequest = ..., + **kwargs: typing.Any, + ) -> SetPublishSettingsResponseHttpRequest: ... def responses(self) -> ResponsesResource: ... def watches(self) -> WatchesResource: ... @@ -135,6 +142,14 @@ class ListWatchesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListWatchesResponse: ... +@typing.type_check_only +class SetPublishSettingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SetPublishSettingsResponse: ... + @typing.type_check_only class WatchHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/forms/v1/schemas.pyi b/googleapiclient-stubs/_apis/forms/v1/schemas.pyi index c58732b1..81b278f3 100644 --- a/googleapiclient-stubs/_apis/forms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/forms/v1/schemas.pyi @@ -116,6 +116,7 @@ class Form(typing_extensions.TypedDict, total=False): info: Info items: _list[Item] linkedSheetId: str + publishSettings: PublishSettings responderUri: str revisionId: str settings: FormSettings @@ -132,6 +133,12 @@ class FormResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class FormSettings(typing_extensions.TypedDict, total=False): + emailCollectionType: typing_extensions.Literal[ + "EMAIL_COLLECTION_TYPE_UNSPECIFIED", + "DO_NOT_COLLECT", + "VERIFIED", + "RESPONDER_INPUT", + ] quizSettings: QuizSettings @typing.type_check_only @@ -220,6 +227,15 @@ class Option(typing_extensions.TypedDict, total=False): @typing.type_check_only class PageBreakItem(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class PublishSettings(typing_extensions.TypedDict, total=False): + publishState: PublishState + +@typing.type_check_only +class PublishState(typing_extensions.TypedDict, total=False): + isAcceptingResponses: bool + isPublished: bool + @typing.type_check_only class Question(typing_extensions.TypedDict, total=False): choiceQuestion: ChoiceQuestion @@ -283,6 +299,16 @@ class ScaleQuestion(typing_extensions.TypedDict, total=False): low: int lowLabel: str +@typing.type_check_only +class SetPublishSettingsRequest(typing_extensions.TypedDict, total=False): + publishSettings: PublishSettings + updateMask: str + +@typing.type_check_only +class SetPublishSettingsResponse(typing_extensions.TypedDict, total=False): + formId: str + publishSettings: PublishSettings + @typing.type_check_only class TextAnswer(typing_extensions.TypedDict, total=False): value: str diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi index 43d95441..c2fc418a 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi @@ -17,6 +17,73 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BackupChannelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BackupPlanBindingsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackupPlanBindingHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackupPlanBindingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackupPlanBindingsResponseHttpRequest, + previous_response: ListBackupPlanBindingsResponse, + ) -> ListBackupPlanBindingsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: BackupChannel = ..., + backupChannelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackupChannelHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackupChannelsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackupChannelsResponseHttpRequest, + previous_response: ListBackupChannelsResponse, + ) -> ListBackupChannelsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BackupChannel = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def backupPlanBindings(self) -> BackupPlanBindingsResource: ... + @typing.type_check_only class BackupPlansResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -100,6 +167,7 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListBackupsResponseHttpRequest: ... def list_next( @@ -221,6 +289,68 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class RestoreChannelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RestorePlanBindingsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RestorePlanBindingHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRestorePlanBindingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRestorePlanBindingsResponseHttpRequest, + previous_response: ListRestorePlanBindingsResponse, + ) -> ListRestorePlanBindingsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: RestoreChannel = ..., + restoreChannelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RestoreChannelHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRestoreChannelsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRestoreChannelsResponseHttpRequest, + previous_response: ListRestoreChannelsResponse, + ) -> ListRestoreChannelsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: RestoreChannel = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def restorePlanBindings(self) -> RestorePlanBindingsResource: ... + @typing.type_check_only class RestorePlansResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -404,6 +534,7 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -414,8 +545,10 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def backupChannels(self) -> BackupChannelsResource: ... def backupPlans(self) -> BackupPlansResource: ... def operations(self) -> OperationsResource: ... + def restoreChannels(self) -> RestoreChannelsResource: ... def restorePlans(self) -> RestorePlansResource: ... def locations(self) -> LocationsResource: ... @@ -442,6 +575,14 @@ class BackupHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Backup: ... +@typing.type_check_only +class BackupChannelHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackupChannel: ... + @typing.type_check_only class BackupPlanHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -450,6 +591,14 @@ class BackupPlanHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackupPlan: ... +@typing.type_check_only +class BackupPlanBindingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackupPlanBinding: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -484,6 +633,22 @@ class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleLongrunningOperation: ... +@typing.type_check_only +class ListBackupChannelsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackupChannelsResponse: ... + +@typing.type_check_only +class ListBackupPlanBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackupPlanBindingsResponse: ... + @typing.type_check_only class ListBackupPlansResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -508,6 +673,22 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListRestoreChannelsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRestoreChannelsResponse: ... + +@typing.type_check_only +class ListRestorePlanBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRestorePlanBindingsResponse: ... + @typing.type_check_only class ListRestorePlansResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -564,6 +745,14 @@ class RestoreHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Restore: ... +@typing.type_check_only +class RestoreChannelHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RestoreChannel: ... + @typing.type_check_only class RestorePlanHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -572,6 +761,14 @@ class RestorePlanHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RestorePlan: ... +@typing.type_check_only +class RestorePlanBindingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RestorePlanBinding: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index 8bb012e5..cbc4c3b3 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -38,7 +38,10 @@ class Backup(typing_extensions.TypedDict, total=False): resourceCount: int retainDays: int retainExpireTime: str + satisfiesPzi: bool + satisfiesPzs: bool selectedApplications: NamespacedNames + selectedNamespaceLabels: ResourceLabels selectedNamespaces: Namespaces sizeBytes: str state: typing_extensions.Literal[ @@ -54,6 +57,18 @@ class Backup(typing_extensions.TypedDict, total=False): updateTime: str volumeCount: int +@typing.type_check_only +class BackupChannel(typing_extensions.TypedDict, total=False): + createTime: str + description: str + destinationProject: str + destinationProjectId: str + etag: str + labels: dict[str, typing.Any] + name: str + uid: str + updateTime: str + @typing.type_check_only class BackupConfig(typing_extensions.TypedDict, total=False): allNamespaces: bool @@ -62,10 +77,21 @@ class BackupConfig(typing_extensions.TypedDict, total=False): includeVolumeData: bool permissiveMode: bool selectedApplications: NamespacedNames + selectedNamespaceLabels: ResourceLabels + selectedNamespaces: Namespaces + +@typing.type_check_only +class BackupConfigDetails(typing_extensions.TypedDict, total=False): + allNamespaces: bool + encryptionKey: EncryptionKey + includeSecrets: bool + includeVolumeData: bool + selectedApplications: NamespacedNames selectedNamespaces: Namespaces @typing.type_check_only class BackupPlan(typing_extensions.TypedDict, total=False): + backupChannel: str backupConfig: BackupConfig backupSchedule: Schedule cluster: str @@ -74,6 +100,7 @@ class BackupPlan(typing_extensions.TypedDict, total=False): description: str etag: str labels: dict[str, typing.Any] + lastSuccessfulBackupTime: str name: str protectedPodCount: int retentionPolicy: RetentionPolicy @@ -92,6 +119,36 @@ class BackupPlan(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class BackupPlanBinding(typing_extensions.TypedDict, total=False): + backupPlan: str + backupPlanDetails: BackupPlanDetails + cluster: str + createTime: str + etag: str + name: str + uid: str + updateTime: str + +@typing.type_check_only +class BackupPlanDetails(typing_extensions.TypedDict, total=False): + backupConfigDetails: BackupConfigDetails + lastSuccessfulBackup: str + lastSuccessfulBackupTime: str + nextScheduledBackupTime: str + protectedPodCount: int + retentionPolicyDetails: RetentionPolicyDetails + rpoRiskLevel: int + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CLUSTER_PENDING", + "PROVISIONING", + "READY", + "FAILED", + "DEACTIVATED", + "DELETING", + ] + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -199,6 +256,23 @@ class GroupKindDependency(typing_extensions.TypedDict, total=False): requiring: GroupKind satisfying: GroupKind +@typing.type_check_only +class Label(typing_extensions.TypedDict, total=False): + key: str + value: str + +@typing.type_check_only +class ListBackupChannelsResponse(typing_extensions.TypedDict, total=False): + backupChannels: _list[BackupChannel] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListBackupPlanBindingsResponse(typing_extensions.TypedDict, total=False): + backupPlanBindings: _list[BackupPlanBinding] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListBackupPlansResponse(typing_extensions.TypedDict, total=False): backupPlans: _list[BackupPlan] @@ -209,12 +283,25 @@ class ListBackupPlansResponse(typing_extensions.TypedDict, total=False): class ListBackupsResponse(typing_extensions.TypedDict, total=False): backups: _list[Backup] 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 ListRestoreChannelsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + restoreChannels: _list[RestoreChannel] + unreachable: _list[str] + +@typing.type_check_only +class ListRestorePlanBindingsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + restorePlanBindings: _list[RestorePlanBinding] + unreachable: _list[str] + @typing.type_check_only class ListRestorePlansResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -281,6 +368,10 @@ class ResourceFilter(typing_extensions.TypedDict, total=False): jsonPath: str namespaces: _list[str] +@typing.type_check_only +class ResourceLabels(typing_extensions.TypedDict, total=False): + resourceLabels: _list[Label] + @typing.type_check_only class ResourceSelector(typing_extensions.TypedDict, total=False): groupKind: GroupKind @@ -318,6 +409,18 @@ class Restore(typing_extensions.TypedDict, total=False): volumeDataRestorePolicyOverrides: _list[VolumeDataRestorePolicyOverride] volumesRestoredCount: int +@typing.type_check_only +class RestoreChannel(typing_extensions.TypedDict, total=False): + createTime: str + description: str + destinationProject: str + destinationProjectId: str + etag: str + labels: dict[str, typing.Any] + name: str + uid: str + updateTime: str + @typing.type_check_only class RestoreConfig(typing_extensions.TypedDict, total=False): allNamespaces: bool @@ -363,6 +466,7 @@ class RestorePlan(typing_extensions.TypedDict, total=False): etag: str labels: dict[str, typing.Any] name: str + restoreChannel: str restoreConfig: RestoreConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CLUSTER_PENDING", "READY", "FAILED", "DELETING" @@ -371,12 +475,27 @@ class RestorePlan(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class RestorePlanBinding(typing_extensions.TypedDict, total=False): + backupPlan: str + createTime: str + etag: str + name: str + restorePlan: str + uid: str + updateTime: str + @typing.type_check_only class RetentionPolicy(typing_extensions.TypedDict, total=False): backupDeleteLockDays: int backupRetainDays: int locked: bool +@typing.type_check_only +class RetentionPolicyDetails(typing_extensions.TypedDict, total=False): + backupDeleteLockDays: int + backupRetainDays: int + @typing.type_check_only class RpoConfig(typing_extensions.TypedDict, total=False): exclusionWindows: _list[ExclusionWindow] @@ -442,6 +561,8 @@ class VolumeBackup(typing_extensions.TypedDict, total=False): "VOLUME_BACKUP_FORMAT_UNSPECIFIED", "GCE_PERSISTENT_DISK" ] name: str + satisfiesPzi: bool + satisfiesPzs: bool sourcePvc: NamespacedName state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -451,6 +572,7 @@ class VolumeBackup(typing_extensions.TypedDict, total=False): "SUCCEEDED", "FAILED", "DELETING", + "CLEANED_UP", ] stateMessage: str storageBytes: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi index e4592d60..a527f9f1 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi @@ -515,6 +515,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi index 48f7536f..76951616 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi @@ -134,12 +134,14 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): dataplanev2: DataplaneV2FeatureSpec fleetobservability: FleetObservabilityFeatureSpec multiclusteringress: MultiClusterIngressFeatureSpec + rbacrolebindingactuation: RBACRoleBindingActuationFeatureSpec @typing.type_check_only class CommonFeatureState(typing_extensions.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState + rbacrolebindingactuation: RBACRoleBindingActuationFeatureState state: FeatureState @typing.type_check_only @@ -160,6 +162,7 @@ class ComplianceStandard(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -248,6 +251,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -1057,6 +1074,15 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): updateTime: str user: str +@typing.type_check_only +class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): + allowedCustomRoles: _list[str] + +@typing.type_check_only +class RBACRoleBindingActuationFeatureState( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal[ @@ -1076,6 +1102,7 @@ class ResourceOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class Role(typing_extensions.TypedDict, total=False): + customRole: str predefinedRole: typing_extensions.Literal[ "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" ] @@ -1128,6 +1155,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -1150,10 +1178,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index d19678ee..1450ea9b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -553,6 +553,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index 9a3d2c24..9cbdd8b7 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -4,16 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class AnthosObservabilityFeatureSpec(typing_extensions.TypedDict, total=False): - defaultMembershipSpec: AnthosObservabilityMembershipSpec - -@typing.type_check_only -class AnthosObservabilityMembershipSpec(typing_extensions.TypedDict, total=False): - doNotOptimizeMetrics: bool - enableStackdriverOnApplications: bool - version: str - @typing.type_check_only class AppDevExperienceFeatureSpec(typing_extensions.TypedDict, total=False): ... @@ -163,7 +153,6 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class CommonFeatureSpec(typing_extensions.TypedDict, total=False): - anthosobservability: AnthosObservabilityFeatureSpec appdevexperience: AppDevExperienceFeatureSpec cloudauditlogging: CloudAuditLoggingFeatureSpec clusterupgrade: ClusterUpgradeFleetSpec @@ -171,7 +160,9 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): fleetobservability: FleetObservabilityFeatureSpec multiclusteringress: MultiClusterIngressFeatureSpec namespaceactuation: NamespaceActuationFeatureSpec + rbacrolebindingactuation: RBACRoleBindingActuationFeatureSpec workloadcertificate: FeatureSpec + workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only class CommonFeatureState(typing_extensions.TypedDict, total=False): @@ -179,8 +170,10 @@ class CommonFeatureState(typing_extensions.TypedDict, total=False): clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState namespaceactuation: NamespaceActuationFeatureState + rbacrolebindingactuation: RBACRoleBindingActuationFeatureState servicemesh: ServiceMeshFeatureState state: FeatureState + workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): @@ -215,6 +208,7 @@ class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -303,6 +297,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -900,7 +908,6 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): - anthosobservability: AnthosObservabilityMembershipSpec cloudbuild: CloudBuildMembershipSpec configmanagement: ConfigManagementMembershipSpec fleetobservability: FleetObservabilityMembershipSpec @@ -923,6 +930,7 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): policycontroller: PolicyControllerMembershipState servicemesh: ServiceMeshMembershipState state: FeatureState + workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only class MembershipSpec(typing_extensions.TypedDict, total=False): @@ -1173,6 +1181,15 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): updateTime: str user: str +@typing.type_check_only +class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): + allowedCustomRoles: _list[str] + +@typing.type_check_only +class RBACRoleBindingActuationFeatureState( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal[ @@ -1192,6 +1209,7 @@ class ResourceOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class Role(typing_extensions.TypedDict, total=False): + customRole: str predefinedRole: typing_extensions.Literal[ "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" ] @@ -1259,6 +1277,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -1281,10 +1300,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str @@ -1323,9 +1348,62 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): "DEGRADED", ] +@typing.type_check_only +class ServiceMeshFeatureCondition(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", + "VPCSC_GA_SUPPORTED", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", + "CONFIG_APPLY_INTERNAL_ERROR", + "CONFIG_VALIDATION_ERROR", + "CONFIG_VALIDATION_WARNING", + "QUOTA_EXCEEDED_BACKEND_SERVICES", + "QUOTA_EXCEEDED_HEALTH_CHECKS", + "QUOTA_EXCEEDED_HTTP_ROUTES", + "QUOTA_EXCEEDED_TCP_ROUTES", + "QUOTA_EXCEEDED_TLS_ROUTES", + "QUOTA_EXCEEDED_TRAFFIC_POLICIES", + "QUOTA_EXCEEDED_ENDPOINT_POLICIES", + "QUOTA_EXCEEDED_GATEWAYS", + "QUOTA_EXCEEDED_MESHES", + "QUOTA_EXCEEDED_SERVER_TLS_POLICIES", + "QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", + "QUOTA_EXCEEDED_SERVICE_LB_POLICIES", + "QUOTA_EXCEEDED_HTTP_FILTERS", + "QUOTA_EXCEEDED_TCP_FILTERS", + "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", + "MODERNIZATION_SCHEDULED", + "MODERNIZATION_IN_PROGRESS", + "MODERNIZATION_COMPLETED", + "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", + ] + details: str + documentationLink: str + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" + ] + @typing.type_check_only class ServiceMeshFeatureState(typing_extensions.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] + conditions: _list[ServiceMeshFeatureCondition] @typing.type_check_only class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): @@ -1406,3 +1484,37 @@ class ValidationResult(typing_extensions.TypedDict, total=False): "CROSS_PROJECT_PERMISSION", "FLEET_ALLOWED_FOR_PROJECT_GUARDRAIL", ] + +@typing.type_check_only +class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): + scopeTenancyPool: str + +@typing.type_check_only +class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): + namespaceStateDetails: dict[str, typing.Any] + namespaceStates: dict[str, typing.Any] + scopeTenancyWorkloadIdentityPool: str + workloadIdentityPool: str + workloadIdentityPoolStateDetails: dict[str, typing.Any] + +@typing.type_check_only +class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): + description: str + +@typing.type_check_only +class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" + ] + description: str + +@typing.type_check_only +class WorkloadIdentityWorkloadIdentityPoolStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", + "WORKLOAD_IDENTITY_POOL_STATE_OK", + "WORKLOAD_IDENTITY_POOL_STATE_ERROR", + ] + description: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi index e4592d60..a527f9f1 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi @@ -515,6 +515,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 6cbf26c2..5327d576 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -4,16 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class AnthosObservabilityFeatureSpec(typing_extensions.TypedDict, total=False): - defaultMembershipSpec: AnthosObservabilityMembershipSpec - -@typing.type_check_only -class AnthosObservabilityMembershipSpec(typing_extensions.TypedDict, total=False): - doNotOptimizeMetrics: bool - enableStackdriverOnApplications: bool - version: str - @typing.type_check_only class AppDevExperienceFeatureSpec(typing_extensions.TypedDict, total=False): ... @@ -139,18 +129,19 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class CommonFeatureSpec(typing_extensions.TypedDict, total=False): - anthosobservability: AnthosObservabilityFeatureSpec appdevexperience: AppDevExperienceFeatureSpec clusterupgrade: ClusterUpgradeFleetSpec dataplanev2: DataplaneV2FeatureSpec fleetobservability: FleetObservabilityFeatureSpec multiclusteringress: MultiClusterIngressFeatureSpec + rbacrolebindingactuation: RBACRoleBindingActuationFeatureSpec @typing.type_check_only class CommonFeatureState(typing_extensions.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState + rbacrolebindingactuation: RBACRoleBindingActuationFeatureState state: FeatureState @typing.type_check_only @@ -186,6 +177,7 @@ class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -274,6 +266,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -849,7 +855,6 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): - anthosobservability: AnthosObservabilityMembershipSpec cloudbuild: MembershipSpec configmanagement: ConfigManagementMembershipSpec fleetobservability: FleetObservabilityMembershipSpec @@ -1103,6 +1108,15 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): updateTime: str user: str +@typing.type_check_only +class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): + allowedCustomRoles: _list[str] + +@typing.type_check_only +class RBACRoleBindingActuationFeatureState( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal[ @@ -1122,6 +1136,7 @@ class ResourceOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class Role(typing_extensions.TypedDict, total=False): + customRole: str predefinedRole: typing_extensions.Literal[ "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" ] @@ -1174,6 +1189,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -1196,10 +1212,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi index f0b56bc0..5d9f58ec 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi @@ -151,6 +151,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi index 0aac1977..d14a3e98 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi @@ -98,6 +98,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi index aff4c593..9e417cda 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi @@ -74,6 +74,7 @@ class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -162,6 +163,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -349,6 +364,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceSpec origin: Origin policycontroller: PolicyControllerSpec + rbacrolebindingactuation: RBACRoleBindingActuationSpec servicemesh: ServiceMeshSpec workloadcertificate: WorkloadCertificateSpec @@ -360,6 +376,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceState metering: MeteringState policycontroller: PolicyControllerState + rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State @@ -669,6 +686,23 @@ class PolicyControllerToleration(typing_extensions.TypedDict, total=False): operator: str value: str +@typing.type_check_only +class RBACRoleBindingActuationRBACRoleBindingState( + typing_extensions.TypedDict, total=False +): + description: str + state: typing_extensions.Literal[ + "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" + ] + updateTime: str + +@typing.type_check_only +class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): + rbacrolebindingStates: dict[str, typing.Any] + @typing.type_check_only class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): args: dict[str, typing.Any] @@ -694,6 +728,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -716,10 +751,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi index 0aac1977..d14a3e98 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi @@ -98,6 +98,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi index aff4c593..9e417cda 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi @@ -74,6 +74,7 @@ class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -162,6 +163,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -349,6 +364,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceSpec origin: Origin policycontroller: PolicyControllerSpec + rbacrolebindingactuation: RBACRoleBindingActuationSpec servicemesh: ServiceMeshSpec workloadcertificate: WorkloadCertificateSpec @@ -360,6 +376,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceState metering: MeteringState policycontroller: PolicyControllerState + rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State @@ -669,6 +686,23 @@ class PolicyControllerToleration(typing_extensions.TypedDict, total=False): operator: str value: str +@typing.type_check_only +class RBACRoleBindingActuationRBACRoleBindingState( + typing_extensions.TypedDict, total=False +): + description: str + state: typing_extensions.Literal[ + "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" + ] + updateTime: str + +@typing.type_check_only +class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): + rbacrolebindingStates: dict[str, typing.Any] + @typing.type_check_only class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): args: dict[str, typing.Any] @@ -694,6 +728,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -716,10 +751,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi index 0aac1977..d14a3e98 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi @@ -98,6 +98,7 @@ class GKEHubResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi index aff4c593..9e417cda 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi @@ -74,6 +74,7 @@ class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): + deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig metricsGcpServiceAccountEmail: str @@ -162,6 +163,20 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False rootReconciler: str syncer: str +@typing.type_check_only +class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): + containerName: str + cpuLimit: str + cpuRequest: str + memoryLimit: str + memoryRequest: str + +@typing.type_check_only +class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): + containers: _list[ConfigManagementContainerOverride] + deploymentName: str + deploymentNamespace: str + @typing.type_check_only class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind @@ -349,6 +364,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceSpec origin: Origin policycontroller: PolicyControllerSpec + rbacrolebindingactuation: RBACRoleBindingActuationSpec servicemesh: ServiceMeshSpec workloadcertificate: WorkloadCertificateSpec @@ -360,6 +376,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): identityservice: IdentityServiceState metering: MeteringState policycontroller: PolicyControllerState + rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State @@ -669,6 +686,23 @@ class PolicyControllerToleration(typing_extensions.TypedDict, total=False): operator: str value: str +@typing.type_check_only +class RBACRoleBindingActuationRBACRoleBindingState( + typing_extensions.TypedDict, total=False +): + description: str + state: typing_extensions.Literal[ + "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" + ] + updateTime: str + +@typing.type_check_only +class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): + rbacrolebindingStates: dict[str, typing.Any] + @typing.type_check_only class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): args: dict[str, typing.Any] @@ -694,6 +728,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", @@ -716,10 +751,16 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "QUOTA_EXCEEDED_HTTP_FILTERS", "QUOTA_EXCEEDED_TCP_FILTERS", "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", "MODERNIZATION_SCHEDULED", "MODERNIZATION_IN_PROGRESS", "MODERNIZATION_COMPLETED", "MODERNIZATION_ABORTED", + "MODERNIZATION_WILL_BE_SCHEDULED", ] details: str documentationLink: str diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi index cf250289..8d14d06d 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi @@ -510,6 +510,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): name: str, allowMissing: bool = ..., etag: str = ..., + ignoreErrors: bool = ..., validateOnly: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -766,6 +767,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi index 9997895a..155264b2 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi @@ -178,6 +178,7 @@ class BareMetalCluster(typing_extensions.TypedDict, total=False): fleet: Fleet loadBalancer: BareMetalLoadBalancerConfig localName: str + localNamespace: str maintenanceConfig: BareMetalMaintenanceConfig maintenanceStatus: BareMetalMaintenanceStatus name: str @@ -434,6 +435,7 @@ class EnrollBareMetalClusterRequest(typing_extensions.TypedDict, total=False): adminClusterMembership: str bareMetalClusterId: str localName: str + localNamespace: str @typing.type_check_only class EnrollBareMetalNodePoolRequest(typing_extensions.TypedDict, total=False): @@ -727,6 +729,7 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): controlPlaneNode: VmwareAdminControlPlaneNodeConfig createTime: str description: str + enableAdvancedCluster: bool endpoint: str etag: str fleet: Fleet @@ -738,6 +741,7 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): onPremVersion: str platformConfig: VmwarePlatformConfig preparedSecrets: VmwareAdminPreparedSecretsConfig + privateRegistryConfig: VmwareAdminPrivateRegistryConfig reconciling: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -804,6 +808,11 @@ class VmwareAdminNetworkConfig(typing_extensions.TypedDict, total=False): class VmwareAdminPreparedSecretsConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class VmwareAdminPrivateRegistryConfig(typing_extensions.TypedDict, total=False): + address: str + caCert: str + @typing.type_check_only class VmwareAdminSeesawConfig(typing_extensions.TypedDict, total=False): enableHa: bool @@ -858,6 +867,7 @@ class VmwareCluster(typing_extensions.TypedDict, total=False): deleteTime: str description: str disableBundledIngress: bool + enableAdvancedCluster: bool enableControlPlaneV2: bool endpoint: str etag: str diff --git a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index 1cce5790..cb931bd0 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -382,6 +382,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, dicomWebPath: str, + viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... @@ -411,6 +412,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, dicomWebPath: str, + viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def frames(self) -> FramesResource: ... @@ -657,6 +659,15 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): profile: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def bulk_export( + self, + *, + name: str, + outputFormat: str = ..., + x_since: str = ..., + x_type: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def capabilities( self, *, name: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... @@ -743,6 +754,15 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete_fhir_operation( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def get_fhir_operation_status( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def applyAdminConsents( self, *, @@ -757,6 +777,16 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: ApplyConsentsRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def bulk_export_group( + self, + *, + name: str, + organizeOutputBy: str = ..., + outputFormat: str = ..., + x_since: str = ..., + x_type: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def create( self, *, @@ -849,6 +879,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... def fhir(self) -> FhirResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class Hl7V2StoresResource(googleapiclient.discovery.Resource): @@ -1118,6 +1149,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index 1ec21f24..9dfa23d0 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -120,6 +120,10 @@ class BlobStorageSettings(typing_extensions.TypedDict, total=False): "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] +@typing.type_check_only +class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): + uriPrefix: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -226,6 +230,8 @@ class CryptoHashConfig(typing_extensions.TypedDict, total=False): class Dataset(typing_extensions.TypedDict, total=False): encryptionSpec: EncryptionSpec name: str + satisfiesPzi: bool + satisfiesPzs: bool timeZone: str @typing.type_check_only @@ -444,6 +450,7 @@ class FhirNotificationConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class FhirStore(typing_extensions.TypedDict, total=False): + bulkExportGcsDestination: BulkExportGcsDestination complexDataTypeReferenceParsing: typing_extensions.Literal[ "COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -458,7 +465,9 @@ class FhirStore(typing_extensions.TypedDict, total=False): notificationConfigs: _list[FhirNotificationConfig] streamConfigs: _list[StreamConfig] validationConfig: ValidationConfig - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4"] + version: typing_extensions.Literal[ + "VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5" + ] @typing.type_check_only class FhirStoreMetric(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index a0d8b2c3..d13c98b5 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -21,77 +21,6 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only class AnnotationStoresResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: Annotation = ..., - **kwargs: typing.Any, - ) -> AnnotationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> AnnotationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - view: typing_extensions.Literal[ - "ANNOTATION_VIEW_UNSPECIFIED", - "ANNOTATION_VIEW_BASIC", - "ANNOTATION_VIEW_FULL", - ] = ..., - **kwargs: typing.Any, - ) -> ListAnnotationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListAnnotationsResponseHttpRequest, - previous_response: ListAnnotationsResponse, - ) -> ListAnnotationsResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: Annotation = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> AnnotationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: AnnotationStore = ..., - annotationStoreId: str = ..., - **kwargs: typing.Any, - ) -> AnnotationStoreHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def evaluate( - self, - *, - name: str, - body: EvaluateAnnotationStoreRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def export( - self, - *, - name: str, - body: ExportAnnotationsRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> AnnotationStoreHttpRequest: ... def getIamPolicy( self, *, @@ -99,35 +28,6 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... - def import_( - self, - *, - name: str, - body: ImportAnnotationsRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListAnnotationStoresResponseHttpRequest: ... - def list_next( - self, - previous_request: ListAnnotationStoresResponseHttpRequest, - previous_response: ListAnnotationStoresResponse, - ) -> ListAnnotationStoresResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: AnnotationStore = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> AnnotationStoreHttpRequest: ... def setIamPolicy( self, *, @@ -142,7 +42,6 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... - def annotations(self) -> AnnotationsResource: ... @typing.type_check_only class ConsentStoresResource(googleapiclient.discovery.Resource): @@ -519,6 +418,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, dicomWebPath: str, + viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... @@ -548,6 +448,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, dicomWebPath: str, + viewport: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def bulkdata(self) -> BulkdataResource: ... @@ -840,6 +741,15 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): profile: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def bulk_export( + self, + *, + name: str, + outputFormat: str = ..., + x_since: str = ..., + x_type: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def capabilities( self, *, name: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... @@ -926,6 +836,15 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete_fhir_operation( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def get_fhir_operation_status( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def applyAdminConsents( self, *, @@ -940,6 +859,16 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): body: ApplyConsentsRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def bulk_export_group( + self, + *, + name: str, + organizeOutputBy: str = ..., + outputFormat: str = ..., + x_since: str = ..., + x_type: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def configureSearch( self, *, @@ -1053,6 +982,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... def fhir(self) -> FhirResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class Hl7V2StoresResource(googleapiclient.discovery.Resource): @@ -1338,6 +1268,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1375,22 +1306,6 @@ class AnalyzeEntitiesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AnalyzeEntitiesResponse: ... -@typing.type_check_only -class AnnotationHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> Annotation: ... - -@typing.type_check_only -class AnnotationStoreHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> AnnotationStore: ... - @typing.type_check_only class ArchiveUserDataMappingResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1543,22 +1458,6 @@ class IngestMessageResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> IngestMessageResponse: ... -@typing.type_check_only -class ListAnnotationStoresResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListAnnotationStoresResponse: ... - -@typing.type_check_only -class ListAnnotationsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListAnnotationsResponse: ... - @typing.type_check_only class ListAttributeDefinitionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi index 9b3662a9..2cc50904 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi @@ -51,29 +51,6 @@ class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): fhirBundle: str relationships: _list[EntityMentionRelationship] -@typing.type_check_only -class Annotation(typing_extensions.TypedDict, total=False): - annotationSource: AnnotationSource - customData: dict[str, typing.Any] - imageAnnotation: ImageAnnotation - name: str - resourceAnnotation: ResourceAnnotation - textAnnotation: SensitiveTextAnnotation - -@typing.type_check_only -class AnnotationConfig(typing_extensions.TypedDict, total=False): - annotationStoreName: str - storeQuote: bool - -@typing.type_check_only -class AnnotationSource(typing_extensions.TypedDict, total=False): - cloudHealthcareSource: CloudHealthcareSource - -@typing.type_check_only -class AnnotationStore(typing_extensions.TypedDict, total=False): - labels: dict[str, typing.Any] - name: str - @typing.type_check_only class ApplyAdminConsentsErrorDetail(typing_extensions.TypedDict, total=False): consentErrors: _list[ConsentErrors] @@ -160,9 +137,8 @@ class BlobStorageSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BoundingPoly(typing_extensions.TypedDict, total=False): - label: str - vertices: _list[Vertex] +class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): + uriPrefix: str @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -197,10 +173,6 @@ class CleanTextField(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CleanTextTag(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CloudHealthcareSource(typing_extensions.TypedDict, total=False): - name: str - @typing.type_check_only class ConfigureSearchRequest(typing_extensions.TypedDict, total=False): canonicalUrls: _list[str] @@ -297,6 +269,8 @@ class CryptoHashField(typing_extensions.TypedDict, total=False): ... class Dataset(typing_extensions.TypedDict, total=False): encryptionSpec: EncryptionSpec name: str + satisfiesPzi: bool + satisfiesPzs: bool timeZone: str @typing.type_check_only @@ -314,7 +288,6 @@ class DeidentifiedStoreDestination(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeidentifyConfig(typing_extensions.TypedDict, total=False): - annotation: AnnotationConfig dicom: DicomConfig dicomTagConfig: DicomTagConfig fhir: FhirConfig @@ -355,10 +328,6 @@ class DeidentifySummary(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class DeleteTag(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class Detail(typing_extensions.TypedDict, total=False): - findings: _list[Finding] - @typing.type_check_only class DicomConfig(typing_extensions.TypedDict, total=False): filterProfile: typing_extensions.Literal[ @@ -435,17 +404,6 @@ class EntityMentionRelationship(typing_extensions.TypedDict, total=False): objectId: str subjectId: str -@typing.type_check_only -class EvaluateAnnotationStoreRequest(typing_extensions.TypedDict, total=False): - bigqueryDestination: GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination - evalInfoTypeMapping: dict[str, typing.Any] - goldenInfoTypeMapping: dict[str, typing.Any] - goldenStore: str - infoTypeConfig: InfoTypeConfig - -@typing.type_check_only -class EvaluateAnnotationStoreResponse(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class EvaluateUserConsentsRequest(typing_extensions.TypedDict, total=False): consentList: ConsentList @@ -499,14 +457,6 @@ class ExplainDataAccessResponse(typing_extensions.TypedDict, total=False): consentScopes: _list[ExplainDataAccessConsentScope] warning: str -@typing.type_check_only -class ExportAnnotationsRequest(typing_extensions.TypedDict, total=False): - bigqueryDestination: GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination - gcsDestination: GoogleCloudHealthcareV1beta1AnnotationGcsDestination - -@typing.type_check_only -class ExportAnnotationsResponse(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class ExportDicomDataRequest(typing_extensions.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1beta1DicomBigQueryDestination @@ -582,6 +532,7 @@ class FhirOutput(typing_extensions.TypedDict, total=False): @typing.type_check_only class FhirStore(typing_extensions.TypedDict, total=False): + bulkExportGcsDestination: BulkExportGcsDestination complexDataTypeReferenceParsing: typing_extensions.Literal[ "COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", "DISABLED", "ENABLED" ] @@ -598,7 +549,9 @@ class FhirStore(typing_extensions.TypedDict, total=False): searchConfig: SearchConfig streamConfigs: _list[StreamConfig] validationConfig: ValidationConfig - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4"] + version: typing_extensions.Literal[ + "VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5" + ] @typing.type_check_only class FhirStoreMetric(typing_extensions.TypedDict, total=False): @@ -626,17 +579,6 @@ class FieldMetadata(typing_extensions.TypedDict, total=False): ] paths: _list[str] -@typing.type_check_only -class FilterList(typing_extensions.TypedDict, total=False): - infoTypes: _list[str] - -@typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): - end: str - infoType: str - quote: str - start: str - @typing.type_check_only class GcsDestination(typing_extensions.TypedDict, total=False): contentStructure: typing_extensions.Literal[ @@ -656,29 +598,6 @@ class GcsDestination(typing_extensions.TypedDict, total=False): class GcsSource(typing_extensions.TypedDict, total=False): uri: str -@typing.type_check_only -class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination( - typing_extensions.TypedDict, total=False -): - force: bool - schemaType: typing_extensions.Literal["SCHEMA_TYPE_UNSPECIFIED", "SIMPLE"] - tableUri: str - writeDisposition: typing_extensions.Literal[ - "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" - ] - -@typing.type_check_only -class GoogleCloudHealthcareV1beta1AnnotationGcsDestination( - typing_extensions.TypedDict, total=False -): - uriPrefix: str - -@typing.type_check_only -class GoogleCloudHealthcareV1beta1AnnotationGcsSource( - typing_extensions.TypedDict, total=False -): - uri: str - @typing.type_check_only class GoogleCloudHealthcareV1beta1ConsentGcsDestination( typing_extensions.TypedDict, total=False @@ -846,11 +765,6 @@ class Image(typing_extensions.TypedDict, total=False): gcsUri: str rawBytes: str -@typing.type_check_only -class ImageAnnotation(typing_extensions.TypedDict, total=False): - boundingPolys: _list[BoundingPoly] - frameIndex: int - @typing.type_check_only class ImageConfig(typing_extensions.TypedDict, total=False): additionalInfoTypes: _list[str] @@ -863,13 +777,6 @@ class ImageConfig(typing_extensions.TypedDict, total=False): "REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS", ] -@typing.type_check_only -class ImportAnnotationsRequest(typing_extensions.TypedDict, total=False): - gcsSource: GoogleCloudHealthcareV1beta1AnnotationGcsSource - -@typing.type_check_only -class ImportAnnotationsResponse(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class ImportDicomDataRequest(typing_extensions.TypedDict, total=False): blobStorageSettings: BlobStorageSettings @@ -908,12 +815,6 @@ class ImportResourcesRequest(typing_extensions.TypedDict, total=False): ] gcsSource: GoogleCloudHealthcareV1beta1FhirGcsSource -@typing.type_check_only -class InfoTypeConfig(typing_extensions.TypedDict, total=False): - evaluateList: FilterList - ignoreList: FilterList - strictMatching: bool - @typing.type_check_only class InfoTypeTransformation(typing_extensions.TypedDict, total=False): characterMaskConfig: CharacterMaskConfig @@ -950,16 +851,6 @@ class KmsWrappedCryptoKey(typing_extensions.TypedDict, total=False): class LinkedEntity(typing_extensions.TypedDict, total=False): entityId: str -@typing.type_check_only -class ListAnnotationStoresResponse(typing_extensions.TypedDict, total=False): - annotationStores: _list[AnnotationStore] - nextPageToken: str - -@typing.type_check_only -class ListAnnotationsResponse(typing_extensions.TypedDict, total=False): - annotations: _list[Annotation] - nextPageToken: str - @typing.type_check_only class ListAttributeDefinitionsResponse(typing_extensions.TypedDict, total=False): attributeDefinitions: _list[AttributeDefinition] @@ -1150,10 +1041,6 @@ class ReplaceWithInfoTypeConfig(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ResetTag(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class ResourceAnnotation(typing_extensions.TypedDict, total=False): - label: str - @typing.type_check_only class Resources(typing_extensions.TypedDict, total=False): resources: _list[str] @@ -1268,10 +1155,6 @@ class Segment(typing_extensions.TypedDict, total=False): segmentId: str setId: str -@typing.type_check_only -class SensitiveTextAnnotation(typing_extensions.TypedDict, total=False): - details: dict[str, typing.Any] - @typing.type_check_only class SeriesMetrics(typing_extensions.TypedDict, total=False): blobStorageSizeBytes: str @@ -1394,8 +1277,3 @@ class ValidationConfig(typing_extensions.TypedDict, total=False): class VersionSource(typing_extensions.TypedDict, total=False): mshField: str value: str - -@typing.type_check_only -class Vertex(typing_extensions.TypedDict, total=False): - x: float - y: float diff --git a/googleapiclient-stubs/_apis/iam/v1/resources.pyi b/googleapiclient-stubs/_apis/iam/v1/resources.pyi index 43d2f6b9..5d366c92 100644 --- a/googleapiclient-stubs/_apis/iam/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/resources.pyi @@ -386,6 +386,89 @@ class IamResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + def addAttestationRule( + self, + *, + resource: str, + body: AddAttestationRuleRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: WorkloadIdentityPoolManagedIdentity = ..., + workloadIdentityPoolManagedIdentityId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkloadIdentityPoolManagedIdentityHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ( + ListWorkloadIdentityPoolManagedIdentitiesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: ListWorkloadIdentityPoolManagedIdentitiesResponseHttpRequest, + previous_response: ListWorkloadIdentityPoolManagedIdentitiesResponse, + ) -> ( + ListWorkloadIdentityPoolManagedIdentitiesResponseHttpRequest + | None + ): ... + def listAttestationRules( + self, + *, + resource: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAttestationRulesResponseHttpRequest: ... + def listAttestationRules_next( + self, + previous_request: ListAttestationRulesResponseHttpRequest, + previous_response: ListAttestationRulesResponse, + ) -> ListAttestationRulesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: WorkloadIdentityPoolManagedIdentity = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def removeAttestationRule( + self, + *, + resource: str, + body: RemoveAttestationRuleRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setAttestationRules( + self, + *, + resource: str, + body: SetAttestationRulesRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteWorkloadIdentityPoolManagedIdentityRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def operations(self) -> OperationsResource: ... def workloadSources(self) -> WorkloadSourcesResource: ... @@ -395,6 +478,51 @@ class IamResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: WorkloadIdentityPoolNamespace = ..., + workloadIdentityPoolNamespaceId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkloadIdentityPoolNamespaceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListWorkloadIdentityPoolNamespacesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListWorkloadIdentityPoolNamespacesResponseHttpRequest, + previous_response: ListWorkloadIdentityPoolNamespacesResponse, + ) -> ( + ListWorkloadIdentityPoolNamespacesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: WorkloadIdentityPoolNamespace = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteWorkloadIdentityPoolNamespaceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def managedIdentities(self) -> ManagedIdentitiesResource: ... def operations(self) -> OperationsResource: ... @@ -524,6 +652,13 @@ class IamResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> WorkloadIdentityPoolHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -546,6 +681,20 @@ class IamResource(googleapiclient.discovery.Resource): updateMask: str = ..., **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 undelete( self, *, @@ -815,6 +964,14 @@ class LintPolicyResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LintPolicyResponse: ... +@typing.type_check_only +class ListAttestationRulesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAttestationRulesResponse: ... + @typing.type_check_only class ListOauthClientCredentialsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -881,6 +1038,26 @@ class ListWorkforcePoolsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListWorkforcePoolsResponse: ... +@typing.type_check_only +class ListWorkloadIdentityPoolManagedIdentitiesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkloadIdentityPoolManagedIdentitiesResponse: ... + +@typing.type_check_only +class ListWorkloadIdentityPoolNamespacesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkloadIdentityPoolNamespacesResponse: ... + @typing.type_check_only class ListWorkloadIdentityPoolProviderKeysResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1053,6 +1230,22 @@ class WorkloadIdentityPoolHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> WorkloadIdentityPool: ... +@typing.type_check_only +class WorkloadIdentityPoolManagedIdentityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkloadIdentityPoolManagedIdentity: ... + +@typing.type_check_only +class WorkloadIdentityPoolNamespaceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkloadIdentityPoolNamespace: ... + @typing.type_check_only class WorkloadIdentityPoolProviderHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index 94c5a273..39d22871 100644 --- a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi @@ -9,10 +9,18 @@ class AccessRestrictions(typing_extensions.TypedDict, total=False): allowedServices: _list[ServiceConfig] disableProgrammaticSignin: bool +@typing.type_check_only +class AddAttestationRuleRequest(typing_extensions.TypedDict, total=False): + attestationRule: AttestationRule + @typing.type_check_only class AdminAuditData(typing_extensions.TypedDict, total=False): permissionDelta: PermissionDelta +@typing.type_check_only +class AttestationRule(typing_extensions.TypedDict, total=False): + googleCloudResource: str + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -120,7 +128,7 @@ class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client( typing_extensions.TypedDict, total=False ): attributesType: typing_extensions.Literal[ - "ATTRIBUTES_TYPE_UNSPECIFIED", "AZURE_AD_GROUPS_MAIL" + "ATTRIBUTES_TYPE_UNSPECIFIED", "AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID" ] clientId: str clientSecret: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret @@ -178,6 +186,28 @@ class GoogleIamAdminV1WorkforcePoolProviderSaml( ): idpMetadataXml: str +@typing.type_check_only +class InlineCertificateIssuanceConfig(typing_extensions.TypedDict, total=False): + caPools: dict[str, typing.Any] + keyAlgorithm: typing_extensions.Literal[ + "KEY_ALGORITHM_UNSPECIFIED", + "RSA_2048", + "RSA_3072", + "RSA_4096", + "ECDSA_P256", + "ECDSA_P384", + ] + lifetime: str + rotationWindowPercentage: int + +@typing.type_check_only +class InlineTrustConfig(typing_extensions.TypedDict, total=False): + additionalTrustBundles: dict[str, typing.Any] + +@typing.type_check_only +class IntermediateCA(typing_extensions.TypedDict, total=False): + pemCertificate: str + @typing.type_check_only class KeyData(typing_extensions.TypedDict, total=False): format: typing_extensions.Literal["KEY_FORMAT_UNSPECIFIED", "RSA_X509_PEM"] @@ -208,6 +238,11 @@ class LintResult(typing_extensions.TypedDict, total=False): ] validationUnitName: str +@typing.type_check_only +class ListAttestationRulesResponse(typing_extensions.TypedDict, total=False): + attestationRules: _list[AttestationRule] + nextPageToken: str + @typing.type_check_only class ListOauthClientCredentialsResponse(typing_extensions.TypedDict, total=False): oauthClientCredentials: _list[OauthClientCredential] @@ -246,6 +281,20 @@ class ListWorkforcePoolsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str workforcePools: _list[WorkforcePool] +@typing.type_check_only +class ListWorkloadIdentityPoolManagedIdentitiesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + workloadIdentityPoolManagedIdentities: _list[WorkloadIdentityPoolManagedIdentity] + +@typing.type_check_only +class ListWorkloadIdentityPoolNamespacesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + workloadIdentityPoolNamespaces: _list[WorkloadIdentityPoolNamespace] + @typing.type_check_only class ListWorkloadIdentityPoolProviderKeysResponse( typing_extensions.TypedDict, total=False @@ -316,6 +365,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class OwnerService(typing_extensions.TypedDict, total=False): + principalSubject: str + @typing.type_check_only class PatchServiceAccountRequest(typing_extensions.TypedDict, total=False): serviceAccount: ServiceAccount @@ -388,6 +441,10 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class RemoveAttestationRuleRequest(typing_extensions.TypedDict, total=False): + attestationRule: AttestationRule + @typing.type_check_only class Role(typing_extensions.TypedDict, total=False): deleted: bool @@ -448,6 +505,10 @@ class ServiceAccountKey(typing_extensions.TypedDict, total=False): class ServiceConfig(typing_extensions.TypedDict, total=False): domain: str +@typing.type_check_only +class SetAttestationRulesRequest(typing_extensions.TypedDict, total=False): + attestationRules: _list[AttestationRule] + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -485,6 +546,15 @@ class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class TrustAnchor(typing_extensions.TypedDict, total=False): + pemCertificate: str + +@typing.type_check_only +class TrustStore(typing_extensions.TypedDict, total=False): + intermediateCas: _list[IntermediateCA] + trustAnchors: _list[TrustAnchor] + @typing.type_check_only class UndeleteOauthClientRequest(typing_extensions.TypedDict, total=False): ... @@ -515,6 +585,16 @@ class UndeleteWorkforcePoolRequest(typing_extensions.TypedDict, total=False): .. @typing.type_check_only class UndeleteWorkforcePoolSubjectRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UndeleteWorkloadIdentityPoolManagedIdentityRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class UndeleteWorkloadIdentityPoolNamespaceRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class UndeleteWorkloadIdentityPoolProviderKeyRequest( typing_extensions.TypedDict, total=False @@ -549,6 +629,7 @@ class WorkforcePoolProvider(typing_extensions.TypedDict, total=False): attributeCondition: str attributeMapping: dict[str, typing.Any] description: str + detailedAuditLogging: bool disabled: bool displayName: str expireTime: str @@ -574,9 +655,31 @@ class WorkloadIdentityPool(typing_extensions.TypedDict, total=False): disabled: bool displayName: str expireTime: str + inlineCertificateIssuanceConfig: InlineCertificateIssuanceConfig + inlineTrustConfig: InlineTrustConfig + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "FEDERATION_ONLY", "TRUST_DOMAIN" + ] + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + +@typing.type_check_only +class WorkloadIdentityPoolManagedIdentity(typing_extensions.TypedDict, total=False): + description: str + disabled: bool + expireTime: str name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] +@typing.type_check_only +class WorkloadIdentityPoolNamespace(typing_extensions.TypedDict, total=False): + description: str + disabled: bool + expireTime: str + name: str + ownerService: OwnerService + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + @typing.type_check_only class WorkloadIdentityPoolOperationMetadata( typing_extensions.TypedDict, total=False @@ -595,6 +698,7 @@ class WorkloadIdentityPoolProvider(typing_extensions.TypedDict, total=False): oidc: Oidc saml: Saml state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + x509: X509 @typing.type_check_only class WorkloadIdentityPoolProviderKey(typing_extensions.TypedDict, total=False): @@ -603,3 +707,7 @@ class WorkloadIdentityPoolProviderKey(typing_extensions.TypedDict, total=False): name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] use: typing_extensions.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] + +@typing.type_check_only +class X509(typing_extensions.TypedDict, total=False): + trustStore: TrustStore diff --git a/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi b/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi index 48ffec41..7736fe70 100644 --- a/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi @@ -13,8 +13,28 @@ _list = list @typing.type_check_only class IAMCredentialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class WorkforcePoolsResource(googleapiclient.discovery.Resource): + def getAllowedLocations( + self, *, name: str, **kwargs: typing.Any + ) -> WorkforcePoolAllowedLocationsHttpRequest: ... + + def workforcePools(self) -> WorkforcePoolsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class WorkloadIdentityPoolsResource(googleapiclient.discovery.Resource): + def getAllowedLocations( + self, *, name: str, **kwargs: typing.Any + ) -> WorkloadIdentityPoolAllowedLocationsHttpRequest: ... + + def workloadIdentityPools(self) -> WorkloadIdentityPoolsResource: ... + @typing.type_check_only class ServiceAccountsResource(googleapiclient.discovery.Resource): def generateAccessToken( @@ -41,6 +61,7 @@ class IAMCredentialsResource(googleapiclient.discovery.Resource): self, *, name: str, body: SignJwtRequest = ..., **kwargs: typing.Any ) -> SignJwtResponseHttpRequest: ... + def locations(self) -> LocationsResource: ... def serviceAccounts(self) -> ServiceAccountsResource: ... def new_batch_http_request( @@ -55,6 +76,7 @@ class IAMCredentialsResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def locations(self) -> LocationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -96,3 +118,19 @@ class SignJwtResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> SignJwtResponse: ... + +@typing.type_check_only +class WorkforcePoolAllowedLocationsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkforcePoolAllowedLocations: ... + +@typing.type_check_only +class WorkloadIdentityPoolAllowedLocationsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkloadIdentityPoolAllowedLocations: ... diff --git a/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi b/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi index 0b989f55..ea1d9dcd 100644 --- a/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi @@ -20,6 +20,7 @@ class GenerateIdTokenRequest(typing_extensions.TypedDict, total=False): audience: str delegates: _list[str] includeEmail: bool + organizationNumberIncluded: bool @typing.type_check_only class GenerateIdTokenResponse(typing_extensions.TypedDict, total=False): @@ -49,3 +50,13 @@ class SignJwtRequest(typing_extensions.TypedDict, total=False): class SignJwtResponse(typing_extensions.TypedDict, total=False): keyId: str signedJwt: str + +@typing.type_check_only +class WorkforcePoolAllowedLocations(typing_extensions.TypedDict, total=False): + encodedLocations: str + locations: _list[str] + +@typing.type_check_only +class WorkloadIdentityPoolAllowedLocations(typing_extensions.TypedDict, total=False): + encodedLocations: str + locations: _list[str] diff --git a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi index ab7ab707..1cda92e0 100644 --- a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi @@ -176,6 +176,7 @@ class ResetIdentityAwareProxyClientSecretRequest( class Resource(typing_extensions.TypedDict, total=False): expectedNextState: dict[str, typing.Any] labels: dict[str, typing.Any] + locations: _list[str] name: str nextStateOfTags: NextStateOfTags service: str diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi index bb2b64f0..63129528 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi @@ -202,6 +202,7 @@ class GoogleCloudIdentitytoolkitV1GetOobCodeRequest( iOSAppStoreId: str iOSBundleId: str idToken: str + linkDomain: str newEmail: str recaptchaVersion: typing_extensions.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi index 3cca0085..c3c7b265 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi @@ -73,8 +73,10 @@ class GoogleCloudIdentitytoolkitAdminV2Config(typing_extensions.TypedDict, total autodeleteAnonymousUsers: bool blockingFunctions: GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig client: GoogleCloudIdentitytoolkitAdminV2ClientConfig + defaultHostingSite: str emailPrivacyConfig: GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig mfa: GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig + mobileLinksConfig: GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig monitoring: GoogleCloudIdentitytoolkitAdminV2MonitoringConfig multiTenant: GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig name: str @@ -268,6 +270,14 @@ class GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse( nextPageToken: str tenants: _list[GoogleCloudIdentitytoolkitAdminV2Tenant] +@typing.type_check_only +class GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig( + typing_extensions.TypedDict, total=False +): + domain: typing_extensions.Literal[ + "DOMAIN_UNSPECIFIED", "FIREBASE_DYNAMIC_LINK_DOMAIN", "HOSTING_DOMAIN" + ] + @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2MonitoringConfig( typing_extensions.TypedDict, total=False @@ -507,6 +517,7 @@ class GoogleCloudIdentitytoolkitAdminV2Tenant(typing_extensions.TypedDict, total hashConfig: GoogleCloudIdentitytoolkitAdminV2HashConfig inheritance: GoogleCloudIdentitytoolkitAdminV2Inheritance mfaConfig: GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig + mobileLinksConfig: GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig monitoring: GoogleCloudIdentitytoolkitAdminV2MonitoringConfig name: str passwordPolicyConfig: GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig diff --git a/googleapiclient-stubs/_apis/ids/v1/resources.pyi b/googleapiclient-stubs/_apis/ids/v1/resources.pyi index 8774b7fd..53a953f7 100644 --- a/googleapiclient-stubs/_apis/ids/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/resources.pyi @@ -34,13 +34,6 @@ class IDSResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> EndpointHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> PolicyHttpRequest: ... def list( self, *, @@ -65,20 +58,6 @@ class IDSResource(googleapiclient.discovery.Resource): updateMask: str = ..., **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: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -117,6 +96,7 @@ class IDSResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -201,19 +181,3 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): 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 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/ids/v1/schemas.pyi b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi index 3695eef1..e1893fa7 100644 --- a/googleapiclient-stubs/_apis/ids/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi @@ -4,24 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): - auditLogConfigs: _list[AuditLogConfig] - service: str - -@typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): - exemptedMembers: _list[str] - logType: typing_extensions.Literal[ - "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" - ] - -@typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): - condition: Expr - members: _list[str] - role: str - @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -49,13 +31,6 @@ class Endpoint(typing_extensions.TypedDict, total=False): trafficLogs: bool updateTime: str -@typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): - description: str - expression: str - location: str - title: str - @typing.type_check_only class ListEndpointsResponse(typing_extensions.TypedDict, total=False): endpoints: _list[Endpoint] @@ -98,28 +73,8 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): 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 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] diff --git a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi index ecd19610..94701cb2 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi @@ -151,6 +151,13 @@ class IntegrationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ClientsResource(googleapiclient.discovery.Resource): + def changeConfig( + self, + *, + parent: str, + body: GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponseHttpRequest: ... def deprovision( self, *, @@ -165,6 +172,13 @@ class IntegrationsResource(googleapiclient.discovery.Resource): body: GoogleCloudIntegrationsV1alphaProvisionClientRequest = ..., **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... + def provisionClientPostProcessor( + self, + *, + parent: str, + body: GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponseHttpRequest: ... def replace( self, *, @@ -186,6 +200,13 @@ class IntegrationsResource(googleapiclient.discovery.Resource): body: GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest = ..., **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... + def toggleHttp( + self, + *, + parent: str, + body: GoogleCloudIntegrationsV1alphaToggleHttpRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... @typing.type_check_only class CloudFunctionsResource(googleapiclient.discovery.Resource): @@ -199,6 +220,75 @@ 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 @@ -430,26 +520,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): GoogleCloudIntegrationsV1alphaListTestCasesResponseHttpRequest | None ): ... - def listExecutions( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - truncateParams: bool = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponseHttpRequest: ... - def listExecutions_next( - self, - previous_request: GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponseHttpRequest, - previous_response: GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse, - ) -> ( - GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponseHttpRequest - | None - ): ... def patch( self, *, @@ -630,6 +700,27 @@ class IntegrationsResource(googleapiclient.discovery.Resource): body: GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponseHttpRequest: ... + def search( + self, + *, + parent: str, + enableNaturalLanguageQueryUnderstanding: bool = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseHttpRequest + ): ... + def search_next( + self, + previous_request: GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseHttpRequest, + previous_response: GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse, + ) -> ( + GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseHttpRequest + | None + ): ... def test( self, *, @@ -1213,10 +1304,12 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + enableNaturalLanguageQueryUnderstanding: bool = ..., filter: str = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + query: str = ..., readMask: str = ..., **kwargs: typing.Any, ) -> ( @@ -1278,6 +1371,7 @@ 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: ... @@ -1305,6 +1399,16 @@ 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 @@ -1335,6 +1439,16 @@ class GoogleCloudIntegrationsV1alphaCertificateHttpRequest( num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaCertificate: ... +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse: ... + @typing.type_check_only class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadataHttpRequest( googleapiclient.http.HttpRequest @@ -1475,6 +1589,26 @@ 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 @@ -1555,6 +1689,16 @@ 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 @@ -1676,24 +1820,24 @@ class GoogleCloudIntegrationsV1alphaListTemplatesResponseHttpRequest( ) -> GoogleCloudIntegrationsV1alphaListTemplatesResponse: ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponseHttpRequest( +class GoogleCloudIntegrationsV1alphaListTestCasesResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse: ... + ) -> GoogleCloudIntegrationsV1alphaListTestCasesResponse: ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaListTestCasesResponseHttpRequest( +class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaListTestCasesResponse: ... + ) -> GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse: ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponseHttpRequest( @@ -1735,6 +1879,16 @@ class GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse: ... +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse: ... + @typing.type_check_only class GoogleCloudIntegrationsV1alphaSearchTemplatesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi index e17555a4..4d7a5814 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi @@ -1047,6 +1047,7 @@ class EnterpriseCrmEventbusProtoTaskAlertConfig( class EnterpriseCrmEventbusProtoTaskExecutionDetails( typing_extensions.TypedDict, total=False ): + skippedOnFailure: bool taskAttemptStats: _list[ EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats ] @@ -1850,6 +1851,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False description: str destinationConfigs: _list[GoogleCloudConnectorsV1DestinationConfig] envoyImageLocation: str + euaOauthAuthConfig: GoogleCloudConnectorsV1AuthConfig eventingConfig: GoogleCloudConnectorsV1EventingConfig eventingEnablementType: typing_extensions.Literal[ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", @@ -1857,6 +1859,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False "ONLY_EVENTING", ] eventingRuntimeData: GoogleCloudConnectorsV1EventingRuntimeData + fallbackOnAdminCredentials: bool host: str imageLocation: str isTrustedTester: bool @@ -1874,6 +1877,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False ] suspended: bool tlsServiceDirectory: str + trafficShapingConfigs: _list[GoogleCloudConnectorsV1TrafficShapingConfig] updateTime: str @typing.type_check_only @@ -1939,17 +1943,24 @@ class GoogleCloudConnectorsV1EncryptionKey(typing_extensions.TypedDict, total=Fa "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" ] +@typing.type_check_only +class GoogleCloudConnectorsV1EnrichmentConfig(typing_extensions.TypedDict, total=False): + appendAcl: bool + @typing.type_check_only class GoogleCloudConnectorsV1EventingConfig(typing_extensions.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] authConfig: GoogleCloudConnectorsV1AuthConfig deadLetterConfig: GoogleCloudConnectorsV1EventingConfigDeadLetterConfig + enrichmentConfig: GoogleCloudConnectorsV1EnrichmentConfig enrichmentEnabled: bool eventsListenerIngressEndpoint: str listenerAuthConfig: GoogleCloudConnectorsV1AuthConfig + privateConnectivityAllowlistedProjects: _list[str] privateConnectivityEnabled: bool proxyDestinationConfig: GoogleCloudConnectorsV1DestinationConfig registrationDestinationConfig: GoogleCloudConnectorsV1DestinationConfig + sslConfig: GoogleCloudConnectorsV1SslConfig @typing.type_check_only class GoogleCloudConnectorsV1EventingConfigDeadLetterConfig( @@ -2039,6 +2050,13 @@ class GoogleCloudConnectorsV1SslConfig(typing_extensions.TypedDict, total=False) type: typing_extensions.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] useSsl: bool +@typing.type_check_only +class GoogleCloudConnectorsV1TrafficShapingConfig( + typing_extensions.TypedDict, total=False +): + duration: str + quotaLimit: str + @typing.type_check_only class GoogleCloudIntegrationsV1alphaAccessToken( typing_extensions.TypedDict, total=False @@ -2049,6 +2067,17 @@ 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 @@ -2175,6 +2204,19 @@ class GoogleCloudIntegrationsV1alphaCertificate( validEndTime: str validStartTime: str +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest( + typing_extensions.TypedDict, total=False +): + customerConfig: GoogleCloudIntegrationsV1alphaCustomerConfig + updateMask: str + +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse( + typing_extensions.TypedDict, total=False +): + customerConfig: GoogleCloudIntegrationsV1alphaCustomerConfig + @typing.type_check_only class GoogleCloudIntegrationsV1alphaClientCertificate( typing_extensions.TypedDict, total=False @@ -2198,8 +2240,11 @@ class GoogleCloudIntegrationsV1alphaClientConfig( ] cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig createTime: str + customerConfig: GoogleCloudIntegrationsV1alphaCustomerConfig description: str + enableHttpCall: bool enableInternalIp: bool + enableManagedAiFeatures: bool enableVariableMasking: bool id: str isGmek: bool @@ -2276,6 +2321,9 @@ class GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest( ): functionName: str functionRegion: str + gcfApiVersion: typing_extensions.Literal[ + "GCF_API_VERSION_UNSPECIFIED", "API_VERSION_V1", "API_VERSION_V2" + ] projectId: str @typing.type_check_only @@ -2313,6 +2361,16 @@ class GoogleCloudIntegrationsV1alphaCredential( serviceAccountCredentials: GoogleCloudIntegrationsV1alphaServiceAccountCredentials usernameAndPassword: GoogleCloudIntegrationsV1alphaUsernameAndPassword +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaCustomerConfig( + typing_extensions.TypedDict, total=False +): + cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig + enableHttpCall: bool + enableManagedAiFeatures: bool + enableVariableMasking: bool + runAsServiceAccount: str + @typing.type_check_only class GoogleCloudIntegrationsV1alphaDeprovisionClientRequest( typing_extensions.TypedDict, total=False @@ -2407,6 +2465,7 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( executionId: str outputParameters: dict[str, typing.Any] parameterEntries: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] + parameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest( @@ -2440,6 +2499,7 @@ class GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecution(typing_extensions.TypedDict, total=False): + cloudKmsKey: str cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str directSubExecutions: _list[GoogleCloudIntegrationsV1alphaExecution] @@ -2542,6 +2602,34 @@ 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 @@ -2578,7 +2666,6 @@ class GoogleCloudIntegrationsV1alphaImportTemplateRequest( typing_extensions.TypedDict, total=False ): integration: str - integrationRegion: str subIntegrations: dict[str, typing.Any] @typing.type_check_only @@ -2690,6 +2777,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( class GoogleCloudIntegrationsV1alphaIntegrationVersion( typing_extensions.TypedDict, total=False ): + cloudKmsKey: str cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str createdFromTemplate: str @@ -2772,6 +2860,13 @@ 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 @@ -2858,13 +2953,6 @@ class GoogleCloudIntegrationsV1alphaListTemplatesResponse( nextPageToken: str templates: _list[GoogleCloudIntegrationsV1alphaTemplate] -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse( - typing_extensions.TypedDict, total=False -): - executions: _list[GoogleCloudIntegrationsV1alphaExecution] - nextPageToken: str - @typing.type_check_only class GoogleCloudIntegrationsV1alphaListTestCasesResponse( typing_extensions.TypedDict, total=False @@ -3029,12 +3117,31 @@ class GoogleCloudIntegrationsV1alphaProjectProperties( ] provisionedRegions: _list[str] +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest( + typing_extensions.TypedDict, total=False +): + workflows: _list[ + typing_extensions.Literal[ + "SAMPLE_INTEGRATIONS_UNSPECIFIED", + "SAMPLE_WORKFLOW_ECOM_PROCESSING", + "EXECUTE_CONNECTOR_TOOL_WORKFLOW", + ] + ] + +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudIntegrationsV1alphaProvisionClientRequest( typing_extensions.TypedDict, total=False ): cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig createSampleWorkflows: bool + enableHttpCall: bool + enableManagedAiFeatures: bool provisionGmek: bool runAsServiceAccount: str skipCpProvision: bool @@ -3060,7 +3167,14 @@ class GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest( class GoogleCloudIntegrationsV1alphaReplayExecutionRequest( typing_extensions.TypedDict, total=False ): + modifiedParameters: dict[str, typing.Any] + replayMode: typing_extensions.Literal[ + "REPLAY_MODE_UNSPECIFIED", + "REPLAY_MODE_FROM_BEGINNING", + "REPLAY_MODE_POINT_OF_FAILURE", + ] replayReason: str + updateMask: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaReplayExecutionResponse( @@ -3115,6 +3229,30 @@ class GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse( ): executionInfoIds: _list[str] +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse( + typing_extensions.TypedDict, total=False +): + integrations: _list[ + GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult + ] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult( + typing_extensions.TypedDict, total=False +): + createTime: str + creator: str + description: str + id: str + name: str + region: str + status: typing_extensions.Literal[ + "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" + ] + version: str + @typing.type_check_only class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse( typing_extensions.TypedDict, total=False @@ -3423,6 +3561,12 @@ class GoogleCloudIntegrationsV1alphaTestTaskConfig( taskConfig: GoogleCloudIntegrationsV1alphaTaskConfig taskNumber: str +@typing.type_check_only +class GoogleCloudIntegrationsV1alphaToggleHttpRequest( + typing_extensions.TypedDict, total=False +): + enableHttpCall: bool + @typing.type_check_only class GoogleCloudIntegrationsV1alphaTriggerConfig( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi index d0384735..1d13148c 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi @@ -105,6 +105,9 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] attestation: GoogleCloudKmsV1KeyOperationAttestation createTime: str @@ -177,6 +180,9 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( "HMAC_SHA512", "HMAC_SHA224", "EXTERNAL_SYMMETRIC_ENCRYPTION", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", ] protectionLevel: typing_extensions.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" diff --git a/googleapiclient-stubs/_apis/language/v1/schemas.pyi b/googleapiclient-stubs/_apis/language/v1/schemas.pyi index 5aded579..2e6ce2e2 100644 --- a/googleapiclient-stubs/_apis/language/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1/schemas.pyi @@ -115,6 +115,8 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_CPU_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -166,6 +168,9 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -439,6 +444,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", + "NVIDIA_B200", + "NVIDIA_GB200", "NVIDIA_TESLA_K80", "NVIDIA_L4", "NVIDIA_TESLA_P100", @@ -446,6 +453,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_TESLA_T4", "NVIDIA_TESLA_V100", "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -485,6 +494,9 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -754,6 +766,9 @@ class RamMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -886,6 +901,8 @@ class RamMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_RAM_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -1240,6 +1257,8 @@ class XPSImageModelServingSpecModelThroughputEstimation( "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", diff --git a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi index 8375d7ee..807f2e4c 100644 --- a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi @@ -115,6 +115,8 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_CPU_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -166,6 +168,9 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -443,6 +448,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", + "NVIDIA_B200", + "NVIDIA_GB200", "NVIDIA_TESLA_K80", "NVIDIA_L4", "NVIDIA_TESLA_P100", @@ -450,6 +457,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_TESLA_T4", "NVIDIA_TESLA_V100", "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -489,6 +498,9 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -758,6 +770,9 @@ class RamMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -890,6 +905,8 @@ class RamMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_RAM_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -1244,6 +1261,8 @@ class XPSImageModelServingSpecModelThroughputEstimation( "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", diff --git a/googleapiclient-stubs/_apis/language/v2/schemas.pyi b/googleapiclient-stubs/_apis/language/v2/schemas.pyi index 18a04716..d57bf387 100644 --- a/googleapiclient-stubs/_apis/language/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v2/schemas.pyi @@ -81,6 +81,8 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_CPU_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -132,6 +134,9 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -316,6 +321,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", + "NVIDIA_B200", + "NVIDIA_GB200", "NVIDIA_TESLA_K80", "NVIDIA_L4", "NVIDIA_TESLA_P100", @@ -323,6 +330,8 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_TESLA_T4", "NVIDIA_TESLA_V100", "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", ] machineSpec: typing_extensions.Literal[ "UNKNOWN_MACHINE_SPEC", @@ -362,6 +371,9 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -553,6 +565,9 @@ class RamMetric(typing_extensions.TypedDict, total=False): "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", + "A4_HIGHGPU_8G", + "A4X_HIGHGPU_4G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -685,6 +700,8 @@ class RamMetric(typing_extensions.TypedDict, total=False): "UNKNOWN_RAM_TYPE", "A2", "A3", + "A4", + "A4X", "C2", "C2D", "CUSTOM", @@ -1032,6 +1049,8 @@ class XPSImageModelServingSpecModelThroughputEstimation( "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", diff --git a/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi b/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi index 557a6ff0..3e8a0c51 100644 --- a/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi @@ -61,6 +61,7 @@ class CloudLifeSciencesResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/logging/v2/resources.pyi b/googleapiclient-stubs/_apis/logging/v2/resources.pyi index 32e0dff1..121e5927 100644 --- a/googleapiclient-stubs/_apis/logging/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/resources.pyi @@ -289,6 +289,7 @@ class LoggingResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -773,6 +774,7 @@ class LoggingResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1066,6 +1068,7 @@ class LoggingResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1443,6 +1446,7 @@ class LoggingResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1893,6 +1897,7 @@ class LoggingResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi index 04fa908c..418a2448 100644 --- a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi @@ -5,16 +5,28 @@ import typing_extensions _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): - auditLogConfigs: _list[AuditLogConfig] - service: str +class AppHub(typing_extensions.TypedDict, total=False): + application: AppHubApplication + service: AppHubService + workload: AppHubWorkload @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" - ] +class AppHubApplication(typing_extensions.TypedDict, total=False): + container: str + id: str + location: str + +@typing.type_check_only +class AppHubService(typing_extensions.TypedDict, total=False): + criticalityType: str + environmentType: str + id: str + +@typing.type_check_only +class AppHubWorkload(typing_extensions.TypedDict, total=False): + criticalityType: str + environmentType: str + id: str @typing.type_check_only class BigQueryDataset(typing_extensions.TypedDict, total=False): @@ -336,6 +348,8 @@ class LogBucket(typing_extensions.TypedDict, total=False): @typing.type_check_only class LogEntry(typing_extensions.TypedDict, total=False): + apphub: AppHub + apphubDestination: AppHub errorGroups: _list[LogErrorGroup] httpRequest: HttpRequest insertId: str @@ -571,7 +585,6 @@ class OpsAnalyticsQuery(typing_extensions.TypedDict, total=False): @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): - auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int diff --git a/googleapiclient-stubs/_apis/looker/v1/resources.pyi b/googleapiclient-stubs/_apis/looker/v1/resources.pyi index 465c83a3..06a16059 100644 --- a/googleapiclient-stubs/_apis/looker/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/resources.pyi @@ -21,27 +21,33 @@ class LookerResource(googleapiclient.discovery.Resource): class InstancesResource(googleapiclient.discovery.Resource): @typing.type_check_only class BackupsResource(googleapiclient.discovery.Resource): - def getIamPolicy( + def create( self, *, - resource: str, - options_requestedPolicyVersion: int = ..., + parent: str, + body: InstanceBackup = ..., **kwargs: typing.Any, - ) -> PolicyHttpRequest: ... - def setIamPolicy( + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> InstanceBackupHttpRequest: ... + def list( self, *, - resource: str, - body: SetIamPolicyRequest = ..., + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, - ) -> PolicyHttpRequest: ... - def testIamPermissions( + ) -> ListInstanceBackupsResponseHttpRequest: ... + def list_next( self, - *, - resource: str, - body: TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> TestIamPermissionsResponseHttpRequest: ... + previous_request: ListInstanceBackupsResponseHttpRequest, + previous_response: ListInstanceBackupsResponse, + ) -> ListInstanceBackupsResponseHttpRequest | None: ... def create( self, @@ -64,13 +70,6 @@ class LookerResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> InstanceHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> PolicyHttpRequest: ... def import_( self, *, @@ -106,20 +105,13 @@ class LookerResource(googleapiclient.discovery.Resource): body: RestartInstanceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> PolicyHttpRequest: ... - def testIamPermissions( + def restore( self, *, - resource: str, - body: TestIamPermissionsRequest = ..., + name: str, + body: RestoreInstanceRequest = ..., **kwargs: typing.Any, - ) -> TestIamPermissionsResponseHttpRequest: ... + ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... @typing.type_check_only @@ -159,6 +151,7 @@ class LookerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -205,57 +198,57 @@ class InstanceHttpRequest(googleapiclient.http.HttpRequest): ) -> Instance: ... @typing.type_check_only -class ListInstancesResponseHttpRequest(googleapiclient.http.HttpRequest): +class InstanceBackupHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> ListInstancesResponse: ... + ) -> InstanceBackup: ... @typing.type_check_only -class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): +class ListInstanceBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> ListLocationsResponse: ... + ) -> ListInstanceBackupsResponse: ... @typing.type_check_only -class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): +class ListInstancesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> ListOperationsResponse: ... + ) -> ListInstancesResponse: ... @typing.type_check_only -class LocationHttpRequest(googleapiclient.http.HttpRequest): +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Location: ... + ) -> ListLocationsResponse: ... @typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Operation: ... + ) -> ListOperationsResponse: ... @typing.type_check_only -class PolicyHttpRequest(googleapiclient.http.HttpRequest): +class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> Policy: ... + ) -> Location: ... @typing.type_check_only -class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): +class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> TestIamPermissionsResponse: ... + ) -> Operation: ... diff --git a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi index 0a985e9d..500dcd8e 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -8,24 +8,6 @@ _list = list class AdminSettings(typing_extensions.TypedDict, total=False): allowedEmailDomains: _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 CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -91,13 +73,6 @@ class ExportMetadataEncryptionKey(typing_extensions.TypedDict, total=False): cmek: str version: str -@typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): - description: str - expression: str - location: str - title: str - @typing.type_check_only class ImportInstanceRequest(typing_extensions.TypedDict, total=False): gcsUri: str @@ -133,12 +108,17 @@ class Instance(typing_extensions.TypedDict, total=False): "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL", + "LOOKER_CORE_TRIAL_STANDARD", + "LOOKER_CORE_TRIAL_ENTERPRISE", + "LOOKER_CORE_TRIAL_EMBED", ] privateIpEnabled: bool pscConfig: PscConfig pscEnabled: bool publicIpEnabled: bool reservedRange: str + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", @@ -153,6 +133,22 @@ class Instance(typing_extensions.TypedDict, total=False): updateTime: str userMetadata: UserMetadata +@typing.type_check_only +class InstanceBackup(typing_extensions.TypedDict, total=False): + createTime: str + encryptionConfig: EncryptionConfig + expireTime: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED" + ] + +@typing.type_check_only +class ListInstanceBackupsResponse(typing_extensions.TypedDict, total=False): + instanceBackups: _list[InstanceBackup] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListInstancesResponse(typing_extensions.TypedDict, total=False): instances: _list[Instance] @@ -219,13 +215,6 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): 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 PscConfig(typing_extensions.TypedDict, total=False): allowedVpcs: _list[str] @@ -235,33 +224,25 @@ class PscConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): + backup: str + @typing.type_check_only class ServiceAttachment(typing_extensions.TypedDict, total=False): connectionStatus: typing_extensions.Literal[ "UNKNOWN", "ACCEPTED", "PENDING", "REJECTED", "NEEDS_ATTENTION", "CLOSED" ] localFqdn: str + localFqdns: _list[str] targetServiceAttachmentUri: 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 TimeOfDay(typing_extensions.TypedDict, total=False): hours: int diff --git a/googleapiclient-stubs/_apis/managedkafka/__init__.pyi b/googleapiclient-stubs/_apis/managedkafka/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/__init__.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/managedkafka/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi new file mode 100644 index 00000000..f2d3b05e --- /dev/null +++ b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi @@ -0,0 +1,968 @@ +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 ManagedKafkaResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ClustersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AclsResource(googleapiclient.discovery.Resource): + def addAclEntry( + self, *, acl: str, body: AclEntry = ..., **kwargs: typing.Any + ) -> AddAclEntryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: Acl = ..., + aclId: str = ..., + **kwargs: typing.Any, + ) -> AclHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AclHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAclsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAclsResponseHttpRequest, + previous_response: ListAclsResponse, + ) -> ListAclsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Acl = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AclHttpRequest: ... + def removeAclEntry( + self, *, acl: str, body: AclEntry = ..., **kwargs: typing.Any + ) -> RemoveAclEntryResponseHttpRequest: ... + + @typing.type_check_only + class ConsumerGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ConsumerGroupHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConsumerGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConsumerGroupsResponseHttpRequest, + previous_response: ListConsumerGroupsResponse, + ) -> ListConsumerGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ConsumerGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ConsumerGroupHttpRequest: ... + + @typing.type_check_only + class TopicsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Topic = ..., + topicId: str = ..., + **kwargs: typing.Any, + ) -> TopicHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TopicHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListTopicsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTopicsResponseHttpRequest, + previous_response: ListTopicsResponse, + ) -> ListTopicsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Topic = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> TopicHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Cluster = ..., + clusterId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ClusterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListClustersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListClustersResponseHttpRequest, + previous_response: ListClustersResponse, + ) -> ListClustersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Cluster = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def acls(self) -> AclsResource: ... + def consumerGroups(self) -> ConsumerGroupsResource: ... + def topics(self) -> TopicsResource: ... + + @typing.type_check_only + class ConnectClustersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConnectorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Connector = ..., + connectorId: str = ..., + **kwargs: typing.Any, + ) -> ConnectorHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ConnectorHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConnectorsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConnectorsResponseHttpRequest, + previous_response: ListConnectorsResponse, + ) -> ListConnectorsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Connector = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ConnectorHttpRequest: ... + def pause( + self, + *, + name: str, + body: PauseConnectorRequest = ..., + **kwargs: typing.Any, + ) -> PauseConnectorResponseHttpRequest: ... + def restart( + self, + *, + name: str, + body: RestartConnectorRequest = ..., + **kwargs: typing.Any, + ) -> RestartConnectorResponseHttpRequest: ... + def resume( + self, + *, + name: str, + body: ResumeConnectorRequest = ..., + **kwargs: typing.Any, + ) -> ResumeConnectorResponseHttpRequest: ... + def stop( + self, + *, + name: str, + body: StopConnectorRequest = ..., + **kwargs: typing.Any, + ) -> StopConnectorResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: ConnectCluster = ..., + connectClusterId: 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 + ) -> ConnectClusterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConnectClustersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConnectClustersResponseHttpRequest, + previous_response: ListConnectClustersResponse, + ) -> ListConnectClustersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ConnectCluster = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def connectors(self) -> ConnectorsResource: ... + + @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 SchemaRegistriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CompatibilityResource(googleapiclient.discovery.Resource): + def checkCompatibility( + self, + *, + name: str, + body: CheckCompatibilityRequest = ..., + **kwargs: typing.Any, + ) -> CheckCompatibilityResponseHttpRequest: ... + + @typing.type_check_only + class ConfigResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaConfigHttpRequest: ... + def get( + self, + *, + name: str, + defaultToGlobal: bool = ..., + **kwargs: typing.Any, + ) -> SchemaConfigHttpRequest: ... + def update( + self, + *, + name: str, + body: UpdateSchemaConfigRequest = ..., + **kwargs: typing.Any, + ) -> SchemaConfigHttpRequest: ... + + @typing.type_check_only + class ContextsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CompatibilityResource(googleapiclient.discovery.Resource): + def checkCompatibility( + self, + *, + name: str, + body: CheckCompatibilityRequest = ..., + **kwargs: typing.Any, + ) -> CheckCompatibilityResponseHttpRequest: ... + + @typing.type_check_only + class ConfigResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaConfigHttpRequest: ... + def get( + self, + *, + name: str, + defaultToGlobal: bool = ..., + **kwargs: typing.Any, + ) -> SchemaConfigHttpRequest: ... + def update( + self, + *, + name: str, + body: UpdateSchemaConfigRequest = ..., + **kwargs: typing.Any, + ) -> SchemaConfigHttpRequest: ... + + @typing.type_check_only + class ModeResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaModeHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaModeHttpRequest: ... + def update( + self, + *, + name: str, + body: UpdateSchemaModeRequest = ..., + **kwargs: typing.Any, + ) -> SchemaModeHttpRequest: ... + + @typing.type_check_only + class SchemasResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SubjectsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + deleted: bool = ..., + subject: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + + @typing.type_check_only + class TypesResource(googleapiclient.discovery.Resource): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + deleted: bool = ..., + subject: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + + def get( + self, *, name: str, subject: str = ..., **kwargs: typing.Any + ) -> SchemaHttpRequest: ... + def getSchema( + self, *, name: str, subject: str = ..., **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def subjects(self) -> SubjectsResource: ... + def types(self) -> TypesResource: ... + def versions(self) -> VersionsResource: ... + + @typing.type_check_only + class SubjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ReferencedbyResource( + googleapiclient.discovery.Resource + ): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + def create( + self, + *, + parent: str, + body: CreateVersionRequest = ..., + **kwargs: typing.Any, + ) -> CreateVersionResponseHttpRequest: ... + def delete( + self, + *, + name: str, + permanent: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def get( + self, + *, + name: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> SchemaVersionHttpRequest: ... + def getSchema( + self, + *, + name: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def list( + self, + *, + parent: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def referencedby(self) -> ReferencedbyResource: ... + + def delete( + self, + *, + name: str, + permanent: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def list( + self, + *, + parent: str, + deleted: bool = ..., + subjectPrefix: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def lookupVersion( + self, + *, + parent: str, + body: LookupVersionRequest = ..., + **kwargs: typing.Any, + ) -> SchemaVersionHttpRequest: ... + def versions(self) -> VersionsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ContextHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def compatibility(self) -> CompatibilityResource: ... + def config(self) -> ConfigResource: ... + def mode(self) -> ModeResource: ... + def schemas(self) -> SchemasResource: ... + def subjects(self) -> SubjectsResource: ... + + @typing.type_check_only + class ModeResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaModeHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaModeHttpRequest: ... + def update( + self, + *, + name: str, + body: UpdateSchemaModeRequest = ..., + **kwargs: typing.Any, + ) -> SchemaModeHttpRequest: ... + + @typing.type_check_only + class SchemasResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SubjectsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + deleted: bool = ..., + subject: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + + @typing.type_check_only + class TypesResource(googleapiclient.discovery.Resource): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + deleted: bool = ..., + subject: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + + def get( + self, *, name: str, subject: str = ..., **kwargs: typing.Any + ) -> SchemaHttpRequest: ... + def getSchema( + self, *, name: str, subject: str = ..., **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def subjects(self) -> SubjectsResource: ... + def types(self) -> TypesResource: ... + def versions(self) -> VersionsResource: ... + + @typing.type_check_only + class SubjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ReferencedbyResource(googleapiclient.discovery.Resource): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + def create( + self, + *, + parent: str, + body: CreateVersionRequest = ..., + **kwargs: typing.Any, + ) -> CreateVersionResponseHttpRequest: ... + def delete( + self, + *, + name: str, + permanent: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def get( + self, + *, + name: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> SchemaVersionHttpRequest: ... + def getSchema( + self, + *, + name: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def list( + self, + *, + parent: str, + deleted: bool = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def referencedby(self) -> ReferencedbyResource: ... + + def delete( + self, *, name: str, permanent: bool = ..., **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def list( + self, + *, + parent: str, + deleted: bool = ..., + subjectPrefix: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def lookupVersion( + self, + *, + parent: str, + body: LookupVersionRequest = ..., + **kwargs: typing.Any, + ) -> SchemaVersionHttpRequest: ... + def versions(self) -> VersionsResource: ... + + def create( + self, + *, + parent: str, + body: CreateSchemaRegistryRequest = ..., + **kwargs: typing.Any, + ) -> SchemaRegistryHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SchemaRegistryHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> ListSchemaRegistriesResponseHttpRequest: ... + def compatibility(self) -> CompatibilityResource: ... + def config(self) -> ConfigResource: ... + def contexts(self) -> ContextsResource: ... + def mode(self) -> ModeResource: ... + def schemas(self) -> SchemasResource: ... + def subjects(self) -> SubjectsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def clusters(self) -> ClustersResource: ... + def connectClusters(self) -> ConnectClustersResource: ... + def operations(self) -> OperationsResource: ... + def schemaRegistries(self) -> SchemaRegistriesResource: ... + + 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 AclHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Acl: ... + +@typing.type_check_only +class AddAclEntryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AddAclEntryResponse: ... + +@typing.type_check_only +class CheckCompatibilityResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckCompatibilityResponse: ... + +@typing.type_check_only +class ClusterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Cluster: ... + +@typing.type_check_only +class ConnectClusterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConnectCluster: ... + +@typing.type_check_only +class ConnectorHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Connector: ... + +@typing.type_check_only +class ConsumerGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ConsumerGroup: ... + +@typing.type_check_only +class ContextHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Context: ... + +@typing.type_check_only +class CreateVersionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreateVersionResponse: ... + +@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 HttpBodyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HttpBody: ... + +@typing.type_check_only +class ListAclsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAclsResponse: ... + +@typing.type_check_only +class ListClustersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListClustersResponse: ... + +@typing.type_check_only +class ListConnectClustersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConnectClustersResponse: ... + +@typing.type_check_only +class ListConnectorsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConnectorsResponse: ... + +@typing.type_check_only +class ListConsumerGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConsumerGroupsResponse: ... + +@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 ListSchemaRegistriesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSchemaRegistriesResponse: ... + +@typing.type_check_only +class ListTopicsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTopicsResponse: ... + +@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 PauseConnectorResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PauseConnectorResponse: ... + +@typing.type_check_only +class RemoveAclEntryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemoveAclEntryResponse: ... + +@typing.type_check_only +class RestartConnectorResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RestartConnectorResponse: ... + +@typing.type_check_only +class ResumeConnectorResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ResumeConnectorResponse: ... + +@typing.type_check_only +class SchemaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Schema: ... + +@typing.type_check_only +class SchemaConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SchemaConfig: ... + +@typing.type_check_only +class SchemaModeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SchemaMode: ... + +@typing.type_check_only +class SchemaRegistryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SchemaRegistry: ... + +@typing.type_check_only +class SchemaVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SchemaVersion: ... + +@typing.type_check_only +class StopConnectorResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StopConnectorResponse: ... + +@typing.type_check_only +class TopicHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Topic: ... diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi new file mode 100644 index 00000000..38855f6d --- /dev/null +++ b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi @@ -0,0 +1,384 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AccessConfig(typing_extensions.TypedDict, total=False): + networkConfigs: _list[NetworkConfig] + +@typing.type_check_only +class Acl(typing_extensions.TypedDict, total=False): + aclEntries: _list[AclEntry] + etag: str + name: str + patternType: str + resourceName: str + resourceType: str + +@typing.type_check_only +class AclEntry(typing_extensions.TypedDict, total=False): + host: str + operation: str + permissionType: str + principal: str + +@typing.type_check_only +class AddAclEntryResponse(typing_extensions.TypedDict, total=False): + acl: Acl + aclCreated: bool + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CapacityConfig(typing_extensions.TypedDict, total=False): + memoryBytes: str + vcpuCount: str + +@typing.type_check_only +class CertificateAuthorityServiceConfig(typing_extensions.TypedDict, total=False): + caPool: str + +@typing.type_check_only +class CheckCompatibilityRequest(typing_extensions.TypedDict, total=False): + references: _list[SchemaReference] + schema: str + schemaType: typing_extensions.Literal[ + "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" + ] + verbose: bool + +@typing.type_check_only +class CheckCompatibilityResponse(typing_extensions.TypedDict, total=False): + is_compatible: bool + messages: _list[str] + +@typing.type_check_only +class Cluster(typing_extensions.TypedDict, total=False): + capacityConfig: CapacityConfig + createTime: str + gcpConfig: GcpConfig + labels: dict[str, typing.Any] + name: str + rebalanceConfig: RebalanceConfig + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" + ] + tlsConfig: TlsConfig + updateTime: str + +@typing.type_check_only +class ConnectAccessConfig(typing_extensions.TypedDict, total=False): + networkConfigs: _list[ConnectNetworkConfig] + +@typing.type_check_only +class ConnectCluster(typing_extensions.TypedDict, total=False): + capacityConfig: CapacityConfig + config: dict[str, typing.Any] + createTime: str + gcpConfig: ConnectGcpConfig + kafkaCluster: str + labels: dict[str, typing.Any] + name: str + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" + ] + updateTime: str + +@typing.type_check_only +class ConnectGcpConfig(typing_extensions.TypedDict, total=False): + accessConfig: ConnectAccessConfig + secretPaths: _list[str] + +@typing.type_check_only +class ConnectNetworkConfig(typing_extensions.TypedDict, total=False): + additionalSubnets: _list[str] + dnsDomainNames: _list[str] + primarySubnet: str + +@typing.type_check_only +class Connector(typing_extensions.TypedDict, total=False): + configs: dict[str, typing.Any] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "UNASSIGNED", + "RUNNING", + "PAUSED", + "FAILED", + "RESTARTING", + "STOPPED", + ] + taskRestartPolicy: TaskRetryPolicy + +@typing.type_check_only +class ConsumerGroup(typing_extensions.TypedDict, total=False): + name: str + topics: dict[str, typing.Any] + +@typing.type_check_only +class ConsumerPartitionMetadata(typing_extensions.TypedDict, total=False): + metadata: str + offset: str + +@typing.type_check_only +class ConsumerTopicMetadata(typing_extensions.TypedDict, total=False): + partitions: dict[str, typing.Any] + +@typing.type_check_only +class Context(typing_extensions.TypedDict, total=False): + name: str + subjects: _list[str] + +@typing.type_check_only +class CreateSchemaRegistryRequest(typing_extensions.TypedDict, total=False): + schemaRegistry: SchemaRegistry + schemaRegistryId: str + +@typing.type_check_only +class CreateVersionRequest(typing_extensions.TypedDict, total=False): + id: int + normalize: bool + references: _list[SchemaReference] + schema: str + schemaType: typing_extensions.Literal[ + "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" + ] + version: int + +@typing.type_check_only +class CreateVersionResponse(typing_extensions.TypedDict, total=False): + id: int + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GcpConfig(typing_extensions.TypedDict, total=False): + accessConfig: AccessConfig + kmsKey: str + +@typing.type_check_only +class HttpBody(typing_extensions.TypedDict, total=False): + contentType: str + data: str + extensions: _list[dict[str, typing.Any]] + +@typing.type_check_only +class ListAclsResponse(typing_extensions.TypedDict, total=False): + acls: _list[Acl] + nextPageToken: str + +@typing.type_check_only +class ListClustersResponse(typing_extensions.TypedDict, total=False): + clusters: _list[Cluster] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListConnectClustersResponse(typing_extensions.TypedDict, total=False): + connectClusters: _list[ConnectCluster] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListConnectorsResponse(typing_extensions.TypedDict, total=False): + connectors: _list[Connector] + nextPageToken: str + +@typing.type_check_only +class ListConsumerGroupsResponse(typing_extensions.TypedDict, total=False): + consumerGroups: _list[ConsumerGroup] + 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 ListSchemaRegistriesResponse(typing_extensions.TypedDict, total=False): + schemaRegistries: _list[SchemaRegistry] + +@typing.type_check_only +class ListTopicsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + topics: _list[Topic] + +@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 LookupVersionRequest(typing_extensions.TypedDict, total=False): + deleted: bool + normalize: bool + references: _list[SchemaReference] + schema: str + schemaType: typing_extensions.Literal[ + "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" + ] + +@typing.type_check_only +class NetworkConfig(typing_extensions.TypedDict, total=False): + subnet: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class PauseConnectorRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class PauseConnectorResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RebalanceConfig(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "NO_REBALANCE", "AUTO_REBALANCE_ON_SCALE_UP" + ] + +@typing.type_check_only +class RemoveAclEntryResponse(typing_extensions.TypedDict, total=False): + acl: Acl + aclDeleted: bool + +@typing.type_check_only +class RestartConnectorRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RestartConnectorResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ResumeConnectorRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ResumeConnectorResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Schema(typing_extensions.TypedDict, total=False): + references: _list[SchemaReference] + schema: str + schemaType: typing_extensions.Literal[ + "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" + ] + +@typing.type_check_only +class SchemaConfig(typing_extensions.TypedDict, total=False): + alias: str + compatibility: typing_extensions.Literal[ + "NONE", + "BACKWARD", + "BACKWARD_TRANSITIVE", + "FORWARD", + "FORWARD_TRANSITIVE", + "FULL", + "FULL_TRANSITIVE", + ] + normalize: bool + +@typing.type_check_only +class SchemaMode(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] + +@typing.type_check_only +class SchemaReference(typing_extensions.TypedDict, total=False): + name: str + subject: str + version: int + +@typing.type_check_only +class SchemaRegistry(typing_extensions.TypedDict, total=False): + contexts: _list[str] + name: str + +@typing.type_check_only +class SchemaVersion(typing_extensions.TypedDict, total=False): + id: int + references: _list[SchemaReference] + schema: str + schemaType: typing_extensions.Literal[ + "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" + ] + subject: str + version: int + +@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 StopConnectorRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class StopConnectorResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class TaskRetryPolicy(typing_extensions.TypedDict, total=False): + maximumBackoff: str + minimumBackoff: str + +@typing.type_check_only +class TlsConfig(typing_extensions.TypedDict, total=False): + sslPrincipalMappingRules: str + trustConfig: TrustConfig + +@typing.type_check_only +class Topic(typing_extensions.TypedDict, total=False): + configs: dict[str, typing.Any] + name: str + partitionCount: int + replicationFactor: int + +@typing.type_check_only +class TrustConfig(typing_extensions.TypedDict, total=False): + casConfigs: _list[CertificateAuthorityServiceConfig] + +@typing.type_check_only +class UpdateSchemaConfigRequest(typing_extensions.TypedDict, total=False): + compatibility: typing_extensions.Literal[ + "NONE", + "BACKWARD", + "BACKWARD_TRANSITIVE", + "FORWARD", + "FORWARD_TRANSITIVE", + "FULL", + "FULL_TRANSITIVE", + ] + normalize: bool + +@typing.type_check_only +class UpdateSchemaModeRequest(typing_extensions.TypedDict, total=False): + mode: typing_extensions.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] diff --git a/googleapiclient-stubs/_apis/meet/v2/schemas.pyi b/googleapiclient-stubs/_apis/meet/v2/schemas.pyi index e28f1f40..28106bb3 100644 --- a/googleapiclient-stubs/_apis/meet/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/meet/v2/schemas.pyi @@ -12,6 +12,12 @@ class ActiveConference(typing_extensions.TypedDict, total=False): class AnonymousUser(typing_extensions.TypedDict, total=False): displayName: str +@typing.type_check_only +class ArtifactConfig(typing_extensions.TypedDict, total=False): + recordingConfig: RecordingConfig + smartNotesConfig: SmartNotesConfig + transcriptionConfig: TranscriptionConfig + @typing.type_check_only class ConferenceRecord(typing_extensions.TypedDict, total=False): endTime: str @@ -67,6 +73,21 @@ class ListTranscriptsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str transcripts: _list[Transcript] +@typing.type_check_only +class ModerationRestrictions(typing_extensions.TypedDict, total=False): + chatRestriction: typing_extensions.Literal[ + "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" + ] + defaultJoinAsViewerType: typing_extensions.Literal[ + "DEFAULT_JOIN_AS_VIEWER_TYPE_UNSPECIFIED", "ON", "OFF" + ] + presentRestriction: typing_extensions.Literal[ + "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" + ] + reactionRestriction: typing_extensions.Literal[ + "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" + ] + @typing.type_check_only class Participant(typing_extensions.TypedDict, total=False): anonymousUser: AnonymousUser @@ -96,11 +117,23 @@ class Recording(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED" ] +@typing.type_check_only +class RecordingConfig(typing_extensions.TypedDict, total=False): + autoRecordingGeneration: typing_extensions.Literal[ + "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" + ] + @typing.type_check_only class SignedinUser(typing_extensions.TypedDict, total=False): displayName: str user: str +@typing.type_check_only +class SmartNotesConfig(typing_extensions.TypedDict, total=False): + autoSmartNotesGeneration: typing_extensions.Literal[ + "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" + ] + @typing.type_check_only class Space(typing_extensions.TypedDict, total=False): activeConference: ActiveConference @@ -114,9 +147,17 @@ class SpaceConfig(typing_extensions.TypedDict, total=False): accessType: typing_extensions.Literal[ "ACCESS_TYPE_UNSPECIFIED", "OPEN", "TRUSTED", "RESTRICTED" ] + artifactConfig: ArtifactConfig + attendanceReportGenerationType: typing_extensions.Literal[ + "ATTENDANCE_REPORT_GENERATION_TYPE_UNSPECIFIED", + "GENERATE_REPORT", + "DO_NOT_GENERATE", + ] entryPointAccess: typing_extensions.Literal[ "ENTRY_POINT_ACCESS_UNSPECIFIED", "ALL", "CREATOR_APP_ONLY" ] + moderation: typing_extensions.Literal["MODERATION_UNSPECIFIED", "OFF", "ON"] + moderationRestrictions: ModerationRestrictions @typing.type_check_only class Transcript(typing_extensions.TypedDict, total=False): @@ -136,3 +177,9 @@ class TranscriptEntry(typing_extensions.TypedDict, total=False): participant: str startTime: str text: str + +@typing.type_check_only +class TranscriptionConfig(typing_extensions.TypedDict, total=False): + autoTranscriptionGeneration: typing_extensions.Literal[ + "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" + ] diff --git a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi index 0e47b9a7..788d7b7c 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi @@ -122,6 +122,7 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi index 8d919116..dbea2dbe 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi @@ -9,30 +9,9 @@ class ApplyParametersRequest(typing_extensions.TypedDict, total=False): applyAll: bool nodeIds: _list[str] -@typing.type_check_only -class AssetLocation(typing_extensions.TypedDict, total=False): - ccfeRmsPath: str - expected: IsolationExpectations - extraParameters: _list[ExtraParameter] - locationData: _list[LocationData] - parentAsset: _list[CloudAsset] - -@typing.type_check_only -class BlobstoreLocation(typing_extensions.TypedDict, total=False): - policyId: _list[str] - @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CloudAsset(typing_extensions.TypedDict, total=False): - assetName: str - assetType: str - -@typing.type_check_only -class CloudAssetComposition(typing_extensions.TypedDict, total=False): - childAsset: _list[CloudAsset] - @typing.type_check_only class DailyCycle(typing_extensions.TypedDict, total=False): duration: str @@ -50,17 +29,9 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): startDate: Date time: TimeOfDay -@typing.type_check_only -class DirectLocationAssignment(typing_extensions.TypedDict, total=False): - location: _list[LocationAssignment] - @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class ExtraParameter(typing_extensions.TypedDict, total=False): - regionalMigDistributionPolicy: RegionalMigDistributionPolicy - @typing.type_check_only class GoogleCloudMemcacheV1LocationMetadata(typing_extensions.TypedDict, total=False): availableZones: dict[str, typing.Any] @@ -98,6 +69,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -230,41 +202,6 @@ class InstanceMessage(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] message: str -@typing.type_check_only -class IsolationExpectations(typing_extensions.TypedDict, total=False): - requirementOverride: RequirementOverride - ziOrgPolicy: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - ziRegionPolicy: typing_extensions.Literal[ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED", - ] - ziRegionState: typing_extensions.Literal[ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED", - ] - zoneIsolation: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zoneSeparation: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsOrgPolicy: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsRegionState: typing_extensions.Literal[ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED", - ] - @typing.type_check_only class ListInstancesResponse(typing_extensions.TypedDict, total=False): instances: _list[Instance] @@ -289,30 +226,6 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str -@typing.type_check_only -class LocationAssignment(typing_extensions.TypedDict, total=False): - location: str - locationType: typing_extensions.Literal[ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER", - ] - -@typing.type_check_only -class LocationData(typing_extensions.TypedDict, total=False): - blobstoreLocation: BlobstoreLocation - childAssetLocation: CloudAssetComposition - directLocation: DirectLocationAssignment - gcpProjectProxy: TenantProjectProxy - placerLocation: PlacerLocation - spannerLocation: SpannerLocation - @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): availableZones: dict[str, typing.Any] @@ -381,24 +294,6 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str -@typing.type_check_only -class PlacerLocation(typing_extensions.TypedDict, total=False): - placerConfig: str - -@typing.type_check_only -class RegionalMigDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: int - zones: _list[ZoneConfiguration] - -@typing.type_check_only -class RequirementOverride(typing_extensions.TypedDict, total=False): - ziOverride: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zsOverride: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - @typing.type_check_only class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): rescheduleType: typing_extensions.Literal[ @@ -424,21 +319,12 @@ class Schedule(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay -@typing.type_check_only -class SpannerLocation(typing_extensions.TypedDict, total=False): - backupName: _list[str] - dbName: _list[str] - @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class TenantProjectProxy(typing_extensions.TypedDict, total=False): - projectNumbers: _list[str] - @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): hours: int @@ -478,9 +364,5 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay -@typing.type_check_only -class ZoneConfiguration(typing_extensions.TypedDict, total=False): - zone: str - @typing.type_check_only class ZoneMetadata(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi index c70d2c91..b86a34ed 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi @@ -129,6 +129,7 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi index 2849a40c..fa6e46db 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi @@ -14,30 +14,9 @@ class ApplySoftwareUpdateRequest(typing_extensions.TypedDict, total=False): applyAll: bool nodeIds: _list[str] -@typing.type_check_only -class AssetLocation(typing_extensions.TypedDict, total=False): - ccfeRmsPath: str - expected: IsolationExpectations - extraParameters: _list[ExtraParameter] - locationData: _list[LocationData] - parentAsset: _list[CloudAsset] - -@typing.type_check_only -class BlobstoreLocation(typing_extensions.TypedDict, total=False): - policyId: _list[str] - @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CloudAsset(typing_extensions.TypedDict, total=False): - assetName: str - assetType: str - -@typing.type_check_only -class CloudAssetComposition(typing_extensions.TypedDict, total=False): - childAsset: _list[CloudAsset] - @typing.type_check_only class DailyCycle(typing_extensions.TypedDict, total=False): duration: str @@ -55,17 +34,9 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): startDate: Date time: TimeOfDay -@typing.type_check_only -class DirectLocationAssignment(typing_extensions.TypedDict, total=False): - location: _list[LocationAssignment] - @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class ExtraParameter(typing_extensions.TypedDict, total=False): - regionalMigDistributionPolicy: RegionalMigDistributionPolicy - @typing.type_check_only class GoogleCloudMemcacheV1beta2LocationMetadata( typing_extensions.TypedDict, total=False @@ -111,6 +82,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -244,41 +216,6 @@ class InstanceMessage(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] message: str -@typing.type_check_only -class IsolationExpectations(typing_extensions.TypedDict, total=False): - requirementOverride: RequirementOverride - ziOrgPolicy: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - ziRegionPolicy: typing_extensions.Literal[ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED", - ] - ziRegionState: typing_extensions.Literal[ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED", - ] - zoneIsolation: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zoneSeparation: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsOrgPolicy: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - zsRegionState: typing_extensions.Literal[ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED", - ] - @typing.type_check_only class ListInstancesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -303,30 +240,6 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str -@typing.type_check_only -class LocationAssignment(typing_extensions.TypedDict, total=False): - location: str - locationType: typing_extensions.Literal[ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER", - ] - -@typing.type_check_only -class LocationData(typing_extensions.TypedDict, total=False): - blobstoreLocation: BlobstoreLocation - childAssetLocation: CloudAssetComposition - directLocation: DirectLocationAssignment - gcpProjectProxy: TenantProjectProxy - placerLocation: PlacerLocation - spannerLocation: SpannerLocation - @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): availableZones: dict[str, typing.Any] @@ -396,24 +309,6 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str -@typing.type_check_only -class PlacerLocation(typing_extensions.TypedDict, total=False): - placerConfig: str - -@typing.type_check_only -class RegionalMigDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: int - zones: _list[ZoneConfiguration] - -@typing.type_check_only -class RequirementOverride(typing_extensions.TypedDict, total=False): - ziOverride: typing_extensions.Literal[ - "ZI_UNSPECIFIED", "ZI_UNKNOWN", "ZI_NOT_REQUIRED", "ZI_PREFERRED", "ZI_REQUIRED" - ] - zsOverride: typing_extensions.Literal[ - "ZS_UNSPECIFIED", "ZS_UNKNOWN", "ZS_NOT_REQUIRED", "ZS_REQUIRED" - ] - @typing.type_check_only class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): rescheduleType: typing_extensions.Literal[ @@ -439,21 +334,12 @@ class Schedule(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay -@typing.type_check_only -class SpannerLocation(typing_extensions.TypedDict, total=False): - backupName: _list[str] - dbName: _list[str] - @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class TenantProjectProxy(typing_extensions.TypedDict, total=False): - projectNumbers: _list[str] - @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): hours: int @@ -493,9 +379,5 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): duration: str startTime: TimeOfDay -@typing.type_check_only -class ZoneConfiguration(typing_extensions.TypedDict, total=False): - zone: str - @typing.type_check_only class ZoneMetadata(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi index 320d24fd..032c20d6 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi @@ -29,6 +29,20 @@ class MerchantResource(googleapiclient.discovery.Resource): **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( @@ -57,6 +71,19 @@ class MerchantResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> BusinessInfoHttpRequest: ... + @typing.type_check_only + class DeveloperRegistrationResource(googleapiclient.discovery.Resource): + 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( @@ -71,6 +98,29 @@ class MerchantResource(googleapiclient.discovery.Resource): **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( @@ -117,8 +167,83 @@ class MerchantResource(googleapiclient.discovery.Resource): 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: ... @@ -135,9 +260,41 @@ class MerchantResource(googleapiclient.discovery.Resource): previous_request: ListOnlineReturnPoliciesResponseHttpRequest, previous_response: ListOnlineReturnPoliciesResponse, ) -> ListOnlineReturnPoliciesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: OnlineReturnPolicy = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OnlineReturnPolicyHttpRequest: ... @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, *, @@ -166,6 +323,7 @@ class MerchantResource(googleapiclient.discovery.Resource): previous_request: ListProgramsResponseHttpRequest, previous_response: ListProgramsResponse, ) -> ListProgramsResponseHttpRequest | None: ... + def checkoutSettings(self) -> CheckoutSettingsResource: ... @typing.type_check_only class RegionsResource(googleapiclient.discovery.Resource): @@ -203,6 +361,73 @@ class MerchantResource(googleapiclient.discovery.Resource): **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( @@ -264,6 +489,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 list( self, *, @@ -299,14 +527,20 @@ class MerchantResource(googleapiclient.discovery.Resource): **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, @@ -322,7 +556,7 @@ class MerchantResource(googleapiclient.discovery.Resource): account: str = ..., regionCode: str = ..., **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... + ) -> AcceptTermsOfServiceResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> TermsOfServiceHttpRequest: ... @@ -351,6 +585,14 @@ class MerchantResource(googleapiclient.discovery.Resource): 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( @@ -359,6 +601,22 @@ class AccountHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -367,6 +625,14 @@ class AutofeedSettingsHttpRequest(googleapiclient.http.HttpRequest): 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 BusinessIdentityHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -383,6 +649,22 @@ class BusinessInfoHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -399,6 +681,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): 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 HomepageHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -407,6 +697,22 @@ class HomepageHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -415,6 +721,22 @@ class ListAccountIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -423,6 +745,22 @@ class ListAccountsResponseHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -463,6 +801,14 @@ class ListUsersResponseHttpRequest(googleapiclient.http.HttpRequest): 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( @@ -487,6 +833,14 @@ class RegionHttpRequest(googleapiclient.http.HttpRequest): 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( diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi index 2f7a7d5f..b4ffedc0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi @@ -4,6 +4,17 @@ 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 @@ -34,11 +45,42 @@ class AccountIssue(typing_extensions.TypedDict, total=False): ] 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 @@ -47,12 +89,39 @@ class Address(typing_extensions.TypedDict, total=False): 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 BusinessDayConfig(typing_extensions.TypedDict, total=False): businessDays: _list[ @@ -95,6 +164,9 @@ class BusinessInfo(typing_extensions.TypedDict, total=False): "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 @@ -104,6 +176,41 @@ class CarrierRate(typing_extensions.TypedDict, total=False): 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 @@ -112,6 +219,7 @@ class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): account: Account service: _list[AddAccountService] + user: _list[AddUser] users: _list[CreateUserRequest] @typing.type_check_only @@ -156,6 +264,11 @@ class DeliveryTime(typing_extensions.TypedDict, total=False): 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): ... @@ -177,10 +290,30 @@ 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 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] @@ -203,6 +336,10 @@ class IdentityAttribute(typing_extensions.TypedDict, total=False): "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 @@ -226,6 +363,7 @@ class ImpactedDestination(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -234,16 +372,96 @@ class ImpactedDestination(typing_extensions.TypedDict, total=False): "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 @@ -274,6 +492,9 @@ 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] @@ -291,6 +512,27 @@ class LoyaltyProgramTiers(typing_extensions.TypedDict, total=False): 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 @@ -304,6 +546,12 @@ class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): 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" @@ -320,6 +568,13 @@ class PhoneNumber(typing_extensions.TypedDict, total=False): 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 @@ -377,6 +632,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -390,12 +646,16 @@ 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] @@ -406,6 +666,11 @@ class Program(typing_extensions.TypedDict, total=False): ] 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] @@ -424,6 +689,20 @@ class Region(typing_extensions.TypedDict, total=False): 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 @@ -453,10 +732,11 @@ class Row(typing_extensions.TypedDict, total=False): @typing.type_check_only class SeasonalOverride(typing_extensions.TypedDict, total=False): - begin: Date - end: Date + endDate: Date label: str - policy: Policy + returnDays: int + returnUntilDate: Date + startDate: Date @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): @@ -550,11 +830,23 @@ class TransitTimeValue(typing_extensions.TypedDict, total=False): @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 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", "ADMIN", "PERFORMANCE_REPORTING" + "ACCESS_RIGHT_UNSPECIFIED", + "STANDARD", + "READ_ONLY", + "ADMIN", + "PERFORMANCE_REPORTING", ] ] name: str diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi index 1473dcc4..88d94f2e 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi @@ -76,6 +76,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -89,6 +90,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi index c2df69a0..6db6b400 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi @@ -31,6 +31,25 @@ class DataSourceReference(typing_extensions.TypedDict, total=False): 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): ... @@ -114,6 +133,7 @@ class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): contentLanguage: str countries: _list[str] defaultRule: DefaultRule + destinations: _list[Destination] feedLabel: str @typing.type_check_only @@ -134,6 +154,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -150,6 +171,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi index 202b9018..b080cf58 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi @@ -66,6 +66,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -79,6 +80,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi new file mode 100644 index 00000000..c8f68107 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/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_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi new file mode 100644 index 00000000..079c5c67 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi @@ -0,0 +1,286 @@ +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", + ] + 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/lfp_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi index 4ce48e10..3c3f55eb 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi @@ -21,6 +21,12 @@ class MerchantResource(googleapiclient.discovery.Resource): 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( @@ -54,6 +60,7 @@ class MerchantResource(googleapiclient.discovery.Resource): ) -> ListLfpStoresResponseHttpRequest | None: ... def lfpInventories(self) -> LfpInventoriesResource: ... + def lfpMerchantStates(self) -> LfpMerchantStatesResource: ... def lfpSales(self) -> LfpSalesResource: ... def lfpStores(self) -> LfpStoresResource: ... @@ -87,6 +94,14 @@ class LfpInventoryHttpRequest(googleapiclient.http.HttpRequest): 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( diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi index fb53215e..fb463157 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi @@ -4,9 +4,46 @@ 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 @@ -24,6 +61,14 @@ class LfpInventory(typing_extensions.TypedDict, total=False): 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 @@ -57,6 +102,16 @@ class LfpStore(typing_extensions.TypedDict, total=False): 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] @@ -85,6 +140,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -98,6 +154,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi index 519b89e5..08e121d9 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi @@ -40,6 +40,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -53,6 +54,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi new file mode 100644 index 00000000..5cd612d5 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/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_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi new file mode 100644 index 00000000..4a7f941e --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/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 + gtin: 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/products_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi index 845dc212..8b94a08b 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi @@ -28,6 +28,15 @@ class MerchantResource(googleapiclient.discovery.Resource): 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): diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi index a97bc549..6f1cfe9f 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi @@ -42,6 +42,7 @@ class Attributes(typing_extensions.TypedDict, total=False): gender: str googleProductCategory: str gtin: _list[str] + gtins: _list[str] identifierExists: bool imageLink: str includedDestinations: _list[str] @@ -56,6 +57,7 @@ class Attributes(typing_extensions.TypedDict, total=False): material: str maxEnergyEfficiencyClass: str maxHandlingTime: str + maximumRetailPrice: Price minEnergyEfficiencyClass: str minHandlingTime: str mobileLink: str @@ -100,6 +102,12 @@ class Attributes(typing_extensions.TypedDict, total=False): unitPricingMeasure: UnitPricingMeasure virtualModelLink: str +@typing.type_check_only +class AutomatedDiscounts(typing_extensions.TypedDict, total=False): + gadPrice: Price + priorPrice: Price + priorPriceProgressive: Price + @typing.type_check_only class Certification(typing_extensions.TypedDict, total=False): certificationAuthority: str @@ -142,6 +150,7 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -191,6 +200,7 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -232,6 +242,7 @@ class Price(typing_extensions.TypedDict, total=False): @typing.type_check_only class Product(typing_extensions.TypedDict, total=False): attributes: Attributes + automatedDiscounts: AutomatedDiscounts channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] contentLanguage: str customAttributes: _list[CustomAttribute] @@ -260,6 +271,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -304,6 +316,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi index 80a29587..25c18ee5 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi @@ -94,6 +94,7 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -142,6 +143,7 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -182,6 +184,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -195,6 +198,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi index 966c7bb4..7369d720 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi @@ -34,6 +34,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -47,6 +48,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi index 179facec..42aeff90 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi @@ -144,6 +144,7 @@ class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False) "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -248,6 +249,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -294,6 +296,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi index c940865d..fcc896be 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi @@ -71,6 +71,7 @@ class MerchantReviewDestinationStatus(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -99,6 +100,7 @@ class MerchantReviewItemLevelIssue(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -136,6 +138,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -164,7 +167,9 @@ class ProductReviewAttributes(typing_extensions.TypedDict, total=False): cons: _list[str] content: str gtins: _list[str] + isIncentivizedReview: bool isSpam: bool + isVerifiedPurchase: bool maxRating: str minRating: str mpns: _list[str] @@ -202,6 +207,7 @@ class ProductReviewDestinationStatus(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -230,6 +236,7 @@ class ProductReviewItemLevelIssue(typing_extensions.TypedDict, total=False): "FREE_LISTINGS", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", @@ -254,6 +261,7 @@ 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 diff --git a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi index 0977271e..04f81f42 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi @@ -392,6 +392,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi index fc5a2189..b1c97aa6 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi @@ -162,6 +162,7 @@ class Federation(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str + tags: dict[str, typing.Any] uid: str updateTime: str version: str @@ -269,6 +270,9 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): ] hourOfDay: int +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class MetadataExport(typing_extensions.TypedDict, total=False): databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @@ -332,6 +336,8 @@ class MoveTableToDatabaseResponse(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class MultiRegionMetadata(typing_extensions.TypedDict, total=False): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): @@ -454,6 +460,7 @@ class Service(typing_extensions.TypedDict, total=False): "MIGRATING", ] stateMessage: str + tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str @@ -475,6 +482,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class TelemetryConfig(typing_extensions.TypedDict, total=False): logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi index 5b3ea7c3..ffdef1f1 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi @@ -420,6 +420,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi index b9ec6f96..1b988bb7 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi @@ -150,6 +150,7 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class EncryptionConfig(typing_extensions.TypedDict, total=False): kmsKey: str + kmsKeys: _list[str] @typing.type_check_only class ErrorDetails(typing_extensions.TypedDict, total=False): @@ -179,6 +180,7 @@ class Federation(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str + tags: dict[str, typing.Any] uid: str updateTime: str version: str @@ -290,6 +292,9 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): ] hourOfDay: int +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class MetadataExport(typing_extensions.TypedDict, total=False): databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @@ -359,6 +364,8 @@ class MultiRegionConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiRegionMetadata(typing_extensions.TypedDict, total=False): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): @@ -496,6 +503,7 @@ class Service(typing_extensions.TypedDict, total=False): "MIGRATING", ] stateMessage: str + tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str @@ -517,6 +525,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class TelemetryConfig(typing_extensions.TypedDict, total=False): logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi index 5b3ea7c3..ffdef1f1 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi @@ -420,6 +420,7 @@ class DataprocMetastoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi index b9ec6f96..1b988bb7 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi @@ -150,6 +150,7 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class EncryptionConfig(typing_extensions.TypedDict, total=False): kmsKey: str + kmsKeys: _list[str] @typing.type_check_only class ErrorDetails(typing_extensions.TypedDict, total=False): @@ -179,6 +180,7 @@ class Federation(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str + tags: dict[str, typing.Any] uid: str updateTime: str version: str @@ -290,6 +292,9 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): ] hourOfDay: int +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class MetadataExport(typing_extensions.TypedDict, total=False): databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @@ -359,6 +364,8 @@ class MultiRegionConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiRegionMetadata(typing_extensions.TypedDict, total=False): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): @@ -496,6 +503,7 @@ class Service(typing_extensions.TypedDict, total=False): "MIGRATING", ] stateMessage: str + tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str @@ -517,6 +525,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class TelemetryConfig(typing_extensions.TypedDict, total=False): logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] diff --git a/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi index 7677f9f3..04bd81e6 100644 --- a/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi @@ -44,6 +44,8 @@ class GoogleCloudMetastoreV1MultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): @@ -117,6 +119,8 @@ class GoogleCloudMetastoreV1alphaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1alphaOperationMetadata( @@ -192,6 +196,8 @@ class GoogleCloudMetastoreV1betaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1betaOperationMetadata( diff --git a/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi index 36d4e8d1..c33fbe1e 100644 --- a/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi @@ -44,6 +44,8 @@ class GoogleCloudMetastoreV1MultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): @@ -117,6 +119,8 @@ class GoogleCloudMetastoreV1alphaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1alphaOperationMetadata( @@ -192,6 +196,8 @@ class GoogleCloudMetastoreV1betaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1betaOperationMetadata( diff --git a/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi index 6b8daba6..27afac94 100644 --- a/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi @@ -44,6 +44,8 @@ class GoogleCloudMetastoreV1MultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): @@ -117,6 +119,8 @@ class GoogleCloudMetastoreV1alphaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1alphaOperationMetadata( @@ -192,6 +196,8 @@ class GoogleCloudMetastoreV1betaMultiRegionMetadata( typing_extensions.TypedDict, total=False ): constituentRegions: _list[str] + continent: str + witnessRegion: str @typing.type_check_only class GoogleCloudMetastoreV1betaOperationMetadata( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi index 0d81b6de..36440e0d 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi @@ -48,7 +48,12 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): *, name: str, view: typing_extensions.Literal[ - "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL" + "ASSET_VIEW_UNSPECIFIED", + "ASSET_VIEW_BASIC", + "ASSET_VIEW_FULL", + "ASSET_VIEW_STANDARD", + "ASSET_VIEW_UI", + "ASSET_VIEW_LABELS", ] = ..., **kwargs: typing.Any, ) -> AssetHttpRequest: ... @@ -60,8 +65,14 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + showHidden: bool = ..., view: typing_extensions.Literal[ - "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL" + "ASSET_VIEW_UNSPECIFIED", + "ASSET_VIEW_BASIC", + "ASSET_VIEW_FULL", + "ASSET_VIEW_STANDARD", + "ASSET_VIEW_UI", + "ASSET_VIEW_LABELS", ] = ..., **kwargs: typing.Any, ) -> ListAssetsResponseHttpRequest: ... @@ -565,6 +576,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi index 10ccb454..2c71eba0 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi @@ -14,6 +14,7 @@ class AddAssetsToGroupRequest(typing_extensions.TypedDict, total=False): class AggregateAssetsValuesRequest(typing_extensions.TypedDict, total=False): aggregations: _list[Aggregation] filter: str + showHidden: bool @typing.type_check_only class AggregateAssetsValuesResponse(typing_extensions.TypedDict, total=False): @@ -77,6 +78,9 @@ class Asset(typing_extensions.TypedDict, total=False): createTime: str databaseDeploymentDetails: DatabaseDeploymentDetails databaseDetails: DatabaseDetails + hidden: bool + hideReason: str + hideTime: str insightList: InsightList labels: dict[str, typing.Any] machineDetails: MachineDetails @@ -123,6 +127,9 @@ class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): location: str machineTypeLabel: str +@typing.type_check_only +class AwsRds(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -137,6 +144,7 @@ class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchDeleteAssetsRequest(typing_extensions.TypedDict, total=False): allowMissing: bool + cascadingRules: _list[CascadingRule] names: _list[str] @typing.type_check_only @@ -159,6 +167,13 @@ class BiosDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CascadeLogicalDBsRule(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CascadingRule(typing_extensions.TypedDict, total=False): + cascadeLogicalDbs: CascadeLogicalDBsRule + @typing.type_check_only class ComputeEngineMigrationTarget(typing_extensions.TypedDict, total=False): shape: ComputeEngineShapeDescriptor @@ -238,6 +253,7 @@ class DailyResourceUsageAggregationStats(typing_extensions.TypedDict, total=Fals @typing.type_check_only class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): aggregatedStats: DatabaseDeploymentDetailsAggregatedStats + awsRds: AwsRds edition: str generatedId: str manualUniqueId: str @@ -373,6 +389,12 @@ class DiskPartition(typing_extensions.TypedDict, total=False): type: str uuid: str +@typing.type_check_only +class DiskPartitionDetails(typing_extensions.TypedDict, total=False): + freeSpaceBytes: str + partitions: DiskPartitionList + totalCapacityBytes: str + @typing.type_check_only class DiskPartitionList(typing_extensions.TypedDict, total=False): entries: _list[DiskPartition] @@ -697,6 +719,7 @@ class MachineDetails(typing_extensions.TypedDict, total=False): architecture: MachineArchitectureDetails coreCount: int createTime: str + diskPartitions: DiskPartitionDetails disks: MachineDiskDetails guestOs: GuestOsDetails machineName: str diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi index 21266a71..01b4704a 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi @@ -610,6 +610,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi index dd6c1c59..969f3e82 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi @@ -83,6 +83,7 @@ class Asset(typing_extensions.TypedDict, total=False): hideTime: str insightList: InsightList labels: dict[str, typing.Any] + machineDetails: MachineDetails name: str performanceData: AssetPerformanceData sources: _list[str] @@ -104,6 +105,7 @@ class AssetFrame(typing_extensions.TypedDict, total=False): databaseDeploymentDetails: DatabaseDeploymentDetails databaseDetails: DatabaseDetails labels: dict[str, typing.Any] + machineDetails: MachineDetails performanceSamples: _list[PerformanceSample] reportTime: str traceToken: str @@ -171,6 +173,9 @@ class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): location: str machineTypeLabel: str +@typing.type_check_only +class AwsRds(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -404,6 +409,7 @@ class DailyResourceUsageAggregationStats(typing_extensions.TypedDict, total=Fals @typing.type_check_only class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): aggregatedStats: DatabaseDeploymentDetailsAggregatedStats + awsRds: AwsRds edition: str generatedId: str manualUniqueId: str @@ -585,6 +591,7 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): heartbeatTime: str labels: dict[str, typing.Any] name: str + recommendedVersions: _list[DiscoveryClientDiscoveryClientRecommendedVersion] serviceAccount: str signalsEndpoint: str source: str @@ -595,6 +602,13 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): updateTime: str version: str +@typing.type_check_only +class DiscoveryClientDiscoveryClientRecommendedVersion( + typing_extensions.TypedDict, total=False +): + uri: str + version: str + @typing.type_check_only class DiskEntry(typing_extensions.TypedDict, total=False): diskLabel: str @@ -605,7 +619,6 @@ class DiskEntry(typing_extensions.TypedDict, total=False): status: str totalCapacityBytes: str totalFreeBytes: str - vmwareConfig: VmwareDiskConfig @typing.type_check_only class DiskEntryList(typing_extensions.TypedDict, total=False): @@ -621,6 +634,12 @@ class DiskPartition(typing_extensions.TypedDict, total=False): type: str uuid: str +@typing.type_check_only +class DiskPartitionDetails(typing_extensions.TypedDict, total=False): + freeSpaceBytes: str + partitions: DiskPartitionList + totalCapacityBytes: str + @typing.type_check_only class DiskPartitionList(typing_extensions.TypedDict, total=False): entries: _list[DiskPartition] @@ -976,6 +995,56 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class MachineArchitectureDetails(typing_extensions.TypedDict, total=False): + bios: BiosDetails + cpuArchitecture: str + cpuName: str + cpuSocketCount: int + firmwareType: typing_extensions.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] + hyperthreading: typing_extensions.Literal[ + "CPU_HYPER_THREADING_UNSPECIFIED", "DISABLED", "ENABLED" + ] + vendor: str + +@typing.type_check_only +class MachineDetails(typing_extensions.TypedDict, total=False): + architecture: MachineArchitectureDetails + coreCount: int + createTime: str + diskPartitions: DiskPartitionDetails + disks: MachineDiskDetails + guestOs: GuestOsDetails + machineName: str + memoryMb: int + network: MachineNetworkDetails + platform: PlatformDetails + powerState: typing_extensions.Literal[ + "POWER_STATE_UNSPECIFIED", + "PENDING", + "ACTIVE", + "SUSPENDING", + "SUSPENDED", + "DELETING", + "DELETED", + ] + uuid: str + +@typing.type_check_only +class MachineDiskDetails(typing_extensions.TypedDict, total=False): + disks: DiskEntryList + rawScanResult: str + totalCapacityBytes: str + totalFreeBytes: str + +@typing.type_check_only +class MachineNetworkDetails(typing_extensions.TypedDict, total=False): + defaultGateway: str + networkAdapters: NetworkAdapterList + primaryIpAddress: str + primaryMacAddress: str + publicIpAddress: str + @typing.type_check_only class MachinePreferences(typing_extensions.TypedDict, total=False): allowedMachineSeries: _list[MachineSeries] @@ -1649,6 +1718,7 @@ class VirtualMachineArchitectureDetails(typing_extensions.TypedDict, total=False class VirtualMachineDetails(typing_extensions.TypedDict, total=False): coreCount: int createTime: str + diskPartitions: DiskPartitionDetails guestOs: GuestOsDetails memoryMb: int osFamily: typing_extensions.Literal[ @@ -1735,23 +1805,6 @@ class VirtualMachinePreferencesSizingOptimizationCustomParameters( memoryUsagePercentage: int storageMultiplier: float -@typing.type_check_only -class VmwareDiskConfig(typing_extensions.TypedDict, total=False): - backingType: typing_extensions.Literal[ - "BACKING_TYPE_UNSPECIFIED", - "BACKING_TYPE_FLAT_V1", - "BACKING_TYPE_FLAT_V2", - "BACKING_TYPE_PMEM", - "BACKING_TYPE_RDM_V1", - "BACKING_TYPE_RDM_V2", - "BACKING_TYPE_SESPARSE", - "BACKING_TYPE_SESPARSE_V1", - "BACKING_TYPE_SESPARSE_V2", - ] - rdmCompatibilityMode: str - shared: bool - vmdkDiskMode: str - @typing.type_check_only class VmwareEngineMigrationTarget(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index bb0f5fea..30770c62 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -220,6 +220,8 @@ class EventAnnotation(typing_extensions.TypedDict, total=False): "CLOUD_ALERTING_ALERT", "SERVICE_HEALTH_INCIDENT", "SAP_BACKINT", + "SAP_AVAILABILITY", + "SAP_OPERATIONS", ] filter: str resourceNames: _list[str] @@ -319,6 +321,7 @@ class MetricsScope(typing_extensions.TypedDict, total=False): @typing.type_check_only class MonitoredProject(typing_extensions.TypedDict, total=False): createTime: str + isTombstoned: bool name: str @typing.type_check_only @@ -437,6 +440,7 @@ class RowLayout(typing_extensions.TypedDict, total=False): @typing.type_check_only class Scorecard(typing_extensions.TypedDict, total=False): blankView: Empty + breakdowns: _list[Breakdown] dimensions: _list[Dimension] gaugeView: GaugeView measures: _list[Measure] @@ -450,7 +454,10 @@ class SectionHeader(typing_extensions.TypedDict, total=False): subtitle: str @typing.type_check_only -class SingleViewGroup(typing_extensions.TypedDict, total=False): ... +class SingleViewGroup(typing_extensions.TypedDict, total=False): + displayType: typing_extensions.Literal[ + "DISPLAY_TYPE_UNSPECIFIED", "DROPDOWN", "TAB" + ] @typing.type_check_only class SourceContext(typing_extensions.TypedDict, total=False): @@ -495,6 +502,12 @@ class TableDataSet(typing_extensions.TypedDict, total=False): class TableDisplayOptions(typing_extensions.TypedDict, total=False): shownColumns: _list[str] +@typing.type_check_only +class TemplateVariableCondition(typing_extensions.TypedDict, total=False): + comparator: typing_extensions.Literal["COMPARATOR_UNSPECIFIED", "REGEX_FULL_MATCH"] + templateVariable: str + templateVariableValue: str + @typing.type_check_only class Text(typing_extensions.TypedDict, total=False): content: str @@ -593,6 +606,17 @@ class TimeSeriesTable(typing_extensions.TypedDict, total=False): "METRIC_VISUALIZATION_UNSPECIFIED", "NUMBER", "BAR" ] +@typing.type_check_only +class Treemap(typing_extensions.TypedDict, total=False): + dataSets: _list[TreemapDataSet] + treemapHierarchy: _list[str] + +@typing.type_check_only +class TreemapDataSet(typing_extensions.TypedDict, total=False): + breakdowns: _list[Breakdown] + measures: _list[Measure] + timeSeriesQuery: TimeSeriesQuery + @typing.type_check_only class Type(typing_extensions.TypedDict, total=False): edition: str @@ -605,6 +629,10 @@ class Type(typing_extensions.TypedDict, total=False): "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" ] +@typing.type_check_only +class VisibilityCondition(typing_extensions.TypedDict, total=False): + templateVariableCondition: TemplateVariableCondition + @typing.type_check_only class Widget(typing_extensions.TypedDict, total=False): alertChart: AlertChart @@ -621,6 +649,8 @@ class Widget(typing_extensions.TypedDict, total=False): text: Text timeSeriesTable: TimeSeriesTable title: str + treemap: Treemap + visibilityCondition: VisibilityCondition xyChart: XyChart @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi index 6f41f4bf..85da2078 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi @@ -209,6 +209,7 @@ class CreateTimeSeriesSummary(typing_extensions.TypedDict, total=False): @typing.type_check_only class Criteria(typing_extensions.TypedDict, total=False): + filter: str policies: _list[str] @typing.type_check_only @@ -497,6 +498,7 @@ class ListTimeSeriesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str timeSeries: _list[TimeSeries] unit: str + unreachable: _list[str] @typing.type_check_only class ListUptimeCheckConfigsResponse(typing_extensions.TypedDict, total=False): @@ -991,10 +993,12 @@ class UptimeCheckConfig(typing_extensions.TypedDict, total=False): "CHECKER_TYPE_UNSPECIFIED", "STATIC_IP_CHECKERS", "VPC_CHECKERS" ] contentMatchers: _list[ContentMatcher] + disabled: bool displayName: str httpCheck: HttpCheck internalCheckers: _list[InternalChecker] isInternal: bool + logCheckFailures: bool monitoredResource: MonitoredResource name: str period: str diff --git a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi index 3b6d19aa..b63f845e 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi @@ -318,6 +318,46 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): @typing.type_check_only class VolumesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class QuotaRulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: QuotaRule = ..., + quotaRuleId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> QuotaRuleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListQuotaRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListQuotaRulesResponseHttpRequest, + previous_response: ListQuotaRulesResponse, + ) -> ListQuotaRulesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: QuotaRule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ReplicationsResource(googleapiclient.discovery.Resource): def create( @@ -477,6 +517,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): body: RevertVolumeRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def quotaRules(self) -> QuotaRulesResource: ... def replications(self) -> ReplicationsResource: ... def snapshots(self) -> SnapshotsResource: ... @@ -487,6 +528,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -625,6 +667,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListQuotaRulesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListQuotaRulesResponse: ... + @typing.type_check_only class ListReplicationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -673,6 +723,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class QuotaRuleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QuotaRule: ... + @typing.type_check_only class ReplicationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index 2b3f3827..6e989f71 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -40,10 +40,12 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): + backupRegion: str backupType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] chainStorageBytes: str createTime: str description: str + enforcedRetentionEndTime: str labels: dict[str, typing.Any] name: str satisfiesPzi: bool @@ -59,6 +61,7 @@ class Backup(typing_extensions.TypedDict, total=False): "ERROR", "UPDATING", ] + volumeRegion: str volumeUsageBytes: str @typing.type_check_only @@ -83,12 +86,28 @@ class BackupPolicy(typing_extensions.TypedDict, total=False): ] weeklyBackupLimit: int +@typing.type_check_only +class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): + backupMinimumEnforcedRetentionDays: int + dailyBackupImmutable: bool + manualBackupImmutable: bool + monthlyBackupImmutable: bool + weeklyBackupImmutable: bool + @typing.type_check_only class BackupVault(typing_extensions.TypedDict, total=False): + backupRegion: str + backupRetentionPolicy: BackupRetentionPolicy + backupVaultType: typing_extensions.Literal[ + "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" + ] createTime: str description: str + destinationBackupVault: str labels: dict[str, typing.Any] name: str + sourceBackupVault: str + sourceRegion: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] @@ -137,6 +156,9 @@ class HybridPeeringDetails(typing_extensions.TypedDict, total=False): command: str commandExpiryTime: str passphrase: str + peerClusterName: str + peerSvmName: str + peerVolumeName: str subnetIp: str @typing.type_check_only @@ -215,6 +237,12 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + quotaRules: _list[QuotaRule] + unreachable: _list[str] + @typing.type_check_only class ListReplicationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -249,6 +277,14 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + hasVcp: bool + supportedFlexPerformance: _list[ + typing_extensions.Literal[ + "FLEX_PERFORMANCE_UNSPECIFIED", + "FLEX_PERFORMANCE_DEFAULT", + "FLEX_PERFORMANCE_CUSTOM", + ] + ] supportedServiceLevels: _list[ typing_extensions.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" @@ -290,6 +326,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class QuotaRule(typing_extensions.TypedDict, total=False): + createTime: str + description: str + diskLimitMib: int + labels: dict[str, typing.Any] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "UPDATING", "DELETING", "READY", "ERROR" + ] + stateDetails: str + target: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "INDIVIDUAL_USER_QUOTA", + "INDIVIDUAL_GROUP_QUOTA", + "DEFAULT_USER_QUOTA", + "DEFAULT_GROUP_QUOTA", + ] + @typing.type_check_only class Replication(typing_extensions.TypedDict, total=False): clusterLocation: str @@ -406,11 +462,14 @@ class StoragePool(typing_extensions.TypedDict, total=False): allowAutoTiering: bool capacityGib: str createTime: str + customPerformanceEnabled: bool description: str + enableHotTierAutoResize: bool encryptionType: typing_extensions.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] globalAccessAllowed: bool + hotTierSizeGib: str kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool @@ -434,6 +493,8 @@ class StoragePool(typing_extensions.TypedDict, total=False): "ERROR", ] stateDetails: str + totalIops: str + totalThroughputMibps: str volumeCapacityGib: str volumeCount: int zone: str @@ -447,6 +508,7 @@ class SyncReplicationRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class TieringPolicy(typing_extensions.TypedDict, total=False): coolingThresholdDays: int + hotTierBypassModeEnabled: bool tierAction: typing_extensions.Literal[ "TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED" ] diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi index 3b6d19aa..c793b05b 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi @@ -318,6 +318,46 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): @typing.type_check_only class VolumesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class QuotaRulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: QuotaRule = ..., + quotaRuleId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> QuotaRuleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListQuotaRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListQuotaRulesResponseHttpRequest, + previous_response: ListQuotaRulesResponse, + ) -> ListQuotaRulesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: QuotaRule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ReplicationsResource(googleapiclient.discovery.Resource): def create( @@ -470,6 +510,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, *, @@ -477,6 +524,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): body: RevertVolumeRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def quotaRules(self) -> QuotaRulesResource: ... def replications(self) -> ReplicationsResource: ... def snapshots(self) -> SnapshotsResource: ... @@ -487,6 +535,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -625,6 +674,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListQuotaRulesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListQuotaRulesResponse: ... + @typing.type_check_only class ListReplicationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -673,6 +730,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class QuotaRuleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QuotaRule: ... + @typing.type_check_only class ReplicationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index 2b3f3827..0cc77945 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -40,10 +40,12 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): + backupRegion: str backupType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] chainStorageBytes: str createTime: str description: str + enforcedRetentionEndTime: str labels: dict[str, typing.Any] name: str satisfiesPzi: bool @@ -59,6 +61,7 @@ class Backup(typing_extensions.TypedDict, total=False): "ERROR", "UPDATING", ] + volumeRegion: str volumeUsageBytes: str @typing.type_check_only @@ -83,12 +86,28 @@ class BackupPolicy(typing_extensions.TypedDict, total=False): ] weeklyBackupLimit: int +@typing.type_check_only +class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): + backupMinimumEnforcedRetentionDays: int + dailyBackupImmutable: bool + manualBackupImmutable: bool + monthlyBackupImmutable: bool + weeklyBackupImmutable: bool + @typing.type_check_only class BackupVault(typing_extensions.TypedDict, total=False): + backupRegion: str + backupRetentionPolicy: BackupRetentionPolicy + backupVaultType: typing_extensions.Literal[ + "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" + ] createTime: str description: str + destinationBackupVault: str labels: dict[str, typing.Any] name: str + sourceBackupVault: str + sourceRegion: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] @@ -137,18 +156,32 @@ class HybridPeeringDetails(typing_extensions.TypedDict, total=False): command: str commandExpiryTime: str passphrase: str + peerClusterName: str + peerSvmName: str + peerVolumeName: str subnetIp: str @typing.type_check_only 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): @@ -215,6 +248,12 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + quotaRules: _list[QuotaRule] + unreachable: _list[str] + @typing.type_check_only class ListReplicationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -249,6 +288,14 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + hasVcp: bool + supportedFlexPerformance: _list[ + typing_extensions.Literal[ + "FLEX_PERFORMANCE_UNSPECIFIED", + "FLEX_PERFORMANCE_DEFAULT", + "FLEX_PERFORMANCE_CUSTOM", + ] + ] supportedServiceLevels: _list[ typing_extensions.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" @@ -290,6 +337,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class QuotaRule(typing_extensions.TypedDict, total=False): + createTime: str + description: str + diskLimitMib: int + labels: dict[str, typing.Any] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "UPDATING", "DELETING", "READY", "ERROR" + ] + stateDetails: str + target: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "INDIVIDUAL_USER_QUOTA", + "INDIVIDUAL_GROUP_QUOTA", + "DEFAULT_USER_QUOTA", + "DEFAULT_GROUP_QUOTA", + ] + @typing.type_check_only class Replication(typing_extensions.TypedDict, total=False): clusterLocation: str @@ -300,8 +367,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", @@ -311,6 +383,7 @@ class Replication(typing_extensions.TypedDict, total=False): "TRANSFERRING", "BASELINE_TRANSFERRING", "ABORTED", + "EXTERNALLY_MANAGED", ] name: str replicationSchedule: typing_extensions.Literal[ @@ -329,10 +402,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 @@ -406,11 +487,14 @@ class StoragePool(typing_extensions.TypedDict, total=False): allowAutoTiering: bool capacityGib: str createTime: str + customPerformanceEnabled: bool description: str + enableHotTierAutoResize: bool encryptionType: typing_extensions.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] globalAccessAllowed: bool + hotTierSizeGib: str kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool @@ -434,6 +518,8 @@ class StoragePool(typing_extensions.TypedDict, total=False): "ERROR", ] stateDetails: str + totalIops: str + totalThroughputMibps: str volumeCapacityGib: str volumeCount: int zone: str @@ -447,6 +533,7 @@ class SyncReplicationRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class TieringPolicy(typing_extensions.TypedDict, total=False): coolingThresholdDays: int + hotTierBypassModeEnabled: bool tierAction: typing_extensions.Literal[ "TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED" ] @@ -462,6 +549,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[ diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi index bae8507f..3fe71b56 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi @@ -122,6 +122,13 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): body: AcceptHubSpokeRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def acceptSpokeUpdate( + self, + *, + name: str, + body: AcceptSpokeUpdateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, @@ -210,6 +217,13 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): body: RejectHubSpokeRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def rejectSpokeUpdate( + self, + *, + name: str, + body: RejectSpokeUpdateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -301,6 +315,13 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> InternalRangeHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -325,6 +346,20 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + 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): @@ -692,6 +727,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi index b0148b39..61cc18f9 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi @@ -13,6 +13,23 @@ class AcceptHubSpokeRequest(typing_extensions.TypedDict, total=False): class AcceptHubSpokeResponse(typing_extensions.TypedDict, total=False): spoke: Spoke +@typing.type_check_only +class AcceptSpokeUpdateRequest(typing_extensions.TypedDict, total=False): + requestId: str + spokeEtag: str + spokeUri: str + +@typing.type_check_only +class AllocationOptions(typing_extensions.TypedDict, total=False): + allocationStrategy: typing_extensions.Literal[ + "ALLOCATION_STRATEGY_UNSPECIFIED", + "RANDOM", + "FIRST_AVAILABLE", + "RANDOM_FIRST_N_AVAILABLE", + "FIRST_SMALLEST_FITTING", + ] + firstAvailableRangesLookupSize: int + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -98,7 +115,9 @@ class Expr(typing_extensions.TypedDict, total=False): class Filter(typing_extensions.TypedDict, total=False): destRange: str ipProtocol: str - protocolVersion: typing_extensions.Literal["PROTOCOL_VERSION_UNSPECIFIED", "IPV4"] + protocolVersion: typing_extensions.Literal[ + "PROTOCOL_VERSION_UNSPECIFIED", "IPV4", "IPV6" + ] srcRange: str @typing.type_check_only @@ -149,6 +168,7 @@ class Group(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] uid: str updateTime: str @@ -177,6 +197,7 @@ class Hub(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] uniqueId: str updateTime: str @@ -193,8 +214,11 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): @typing.type_check_only class InternalRange(typing_extensions.TypedDict, total=False): + allocationOptions: AllocationOptions createTime: str description: str + excludeCidrRanges: _list[str] + immutable: bool ipCidrRange: str labels: dict[str, typing.Any] migration: Migration @@ -232,6 +256,8 @@ class LinkedProducerVpcNetwork(typing_extensions.TypedDict, total=False): network: str peering: str producerNetwork: str + proposedExcludeExportRanges: _list[str] + proposedIncludeExportRanges: _list[str] serviceConsumerVpcSpoke: str @typing.type_check_only @@ -246,6 +272,8 @@ class LinkedVpcNetwork(typing_extensions.TypedDict, total=False): excludeExportRanges: _list[str] includeExportRanges: _list[str] producerVpcSpokes: _list[str] + proposedExcludeExportRanges: _list[str] + proposedIncludeExportRanges: _list[str] uri: str @typing.type_check_only @@ -353,6 +381,7 @@ class LocationMetadata(typing_extensions.TypedDict, total=False): "LOCATION_FEATURE_UNSPECIFIED", "SITE_TO_CLOUD_SPOKES", "SITE_TO_SITE_SPOKES", + "GATEWAY_SPOKES", ] ] @@ -373,6 +402,11 @@ class NextHopRouterApplianceInstance(typing_extensions.TypedDict, total=False): uri: str vpcNetwork: str +@typing.type_check_only +class NextHopSpoke(typing_extensions.TypedDict, total=False): + siteToSiteDataTransfer: bool + uri: str + @typing.type_check_only class NextHopVPNTunnel(typing_extensions.TypedDict, total=False): siteToSiteDataTransfer: bool @@ -513,6 +547,13 @@ class RejectHubSpokeRequest(typing_extensions.TypedDict, total=False): class RejectHubSpokeResponse(typing_extensions.TypedDict, total=False): spoke: Spoke +@typing.type_check_only +class RejectSpokeUpdateRequest(typing_extensions.TypedDict, total=False): + details: str + requestId: str + spokeEtag: str + spokeUri: str + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): createTime: str @@ -523,6 +564,7 @@ class Route(typing_extensions.TypedDict, total=False): name: str nextHopInterconnectAttachment: NextHopInterconnectAttachment nextHopRouterApplianceInstance: NextHopRouterApplianceInstance + nextHopSpoke: NextHopSpoke nextHopVpcNetwork: NextHopVpcNetwork nextHopVpnTunnel: NextHopVPNTunnel priority: str @@ -537,6 +579,7 @@ class Route(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] type: typing_extensions.Literal[ "ROUTE_TYPE_UNSPECIFIED", @@ -563,6 +606,7 @@ class RouteTable(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] uid: str updateTime: str @@ -638,6 +682,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): class Spoke(typing_extensions.TypedDict, total=False): createTime: str description: str + etag: str + fieldPathsPendingUpdate: _list[str] group: str hub: str labels: dict[str, typing.Any] @@ -666,6 +712,7 @@ class Spoke(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] uniqueId: str updateTime: str @@ -683,6 +730,7 @@ class SpokeStateCount(typing_extensions.TypedDict, total=False): "UPDATING", "INACTIVE", "OBSOLETE", + "FAILED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi index 3b8be619..e5474af5 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi @@ -247,6 +247,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi index e231390f..0523d702 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi @@ -4,6 +4,17 @@ import typing_extensions _list = list +@typing.type_check_only +class AllocationOptions(typing_extensions.TypedDict, total=False): + allocationStrategy: typing_extensions.Literal[ + "ALLOCATION_STRATEGY_UNSPECIFIED", + "RANDOM", + "FIRST_AVAILABLE", + "RANDOM_FIRST_N_AVAILABLE", + "FIRST_SMALLEST_FITTING", + ] + firstAvailableRangesLookupSize: int + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -64,15 +75,17 @@ class Hub(typing_extensions.TypedDict, total=False): name: str spokes: _list[str] state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED" ] uniqueId: str updateTime: str @typing.type_check_only class InternalRange(typing_extensions.TypedDict, total=False): + allocationOptions: AllocationOptions createTime: str description: str + excludeCidrRanges: _list[str] immutable: bool ipCidrRange: str labels: dict[str, typing.Any] @@ -172,7 +185,7 @@ class Spoke(typing_extensions.TypedDict, total=False): linkedVpnTunnels: _list[str] name: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED" ] uniqueId: str updateTime: str diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi index 8d34e6f1..e35bac37 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi @@ -13,6 +13,62 @@ _list = list @typing.type_check_only class NetworkManagementResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -120,6 +176,98 @@ 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( @@ -167,6 +315,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -178,6 +327,9 @@ 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: ... @@ -194,6 +346,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -228,6 +381,32 @@ 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( @@ -244,6 +423,14 @@ 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( @@ -252,6 +439,30 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> 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): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkMonitoringProvider: ... + +@typing.type_check_only +class NetworkPathHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> NetworkPath: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -283,3 +494,11 @@ 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 70b8b33e..296a0ca2 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -36,6 +36,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "FIREWALL_CONFIG_NOT_FOUND", "ROUTE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", + "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", "SOURCE_REDIS_CLUSTER_UNSUPPORTED", "SOURCE_REDIS_INSTANCE_UNSUPPORTED", @@ -43,6 +44,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "NON_ROUTABLE_IP_ADDRESS", "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", + "NO_SERVERLESS_IP_RANGES", ] ipAddress: str projectsMissingPermission: _list[str] @@ -93,6 +95,7 @@ class CloudFunctionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class CloudRunRevisionEndpoint(typing_extensions.TypedDict, total=False): + serviceUri: str uri: str @typing.type_check_only @@ -131,6 +134,14 @@ class ConnectivityTest(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeliverInfo(typing_extensions.TypedDict, total=False): + googleServiceType: typing_extensions.Literal[ + "GOOGLE_SERVICE_TYPE_UNSPECIFIED", + "IAP", + "GFE_PROXY_OR_HEALTH_CHECK_PROBER", + "CLOUD_DNS", + "PRIVATE_GOOGLE_ACCESS", + "SERVERLESS_VPC_ACCESS", + ] ipAddress: str pscGoogleApiTarget: str resourceUri: str @@ -156,6 +167,14 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "REDIS_CLUSTER", ] +@typing.type_check_only +class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): + networkUri: str + region: str + selectedIpAddress: str + selectedIpRange: str + subnetworkUri: str + @typing.type_check_only class DropInfo(typing_extensions.TypedDict, total=False): cause: typing_extensions.Literal[ @@ -174,6 +193,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", + "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", "PRIVATE_TRAFFIC_TO_INTERNET", @@ -184,6 +204,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "FORWARDING_RULE_MISMATCH", "FORWARDING_RULE_NO_INSTANCES", "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", + "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", @@ -243,6 +264,14 @@ class DropInfo(typing_extensions.TypedDict, total=False): "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", "NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", "PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", + "PSC_PORT_MAPPING_PORT_MISMATCH", + "PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", + "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", + "TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", + "NO_MATCHING_NAT64_GATEWAY", + "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", + "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", + "CLOUD_NAT_PROTOCOL_UNSUPPORTED", ] destinationIp: str region: str @@ -334,6 +363,7 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): ] networkUri: str policy: str + policyPriority: int policyUri: str priority: int targetServiceAccounts: _list[str] @@ -355,6 +385,7 @@ class ForwardInfo(typing_extensions.TypedDict, total=False): "ANOTHER_PROJECT", "NCC_HUB", "ROUTER_APPLIANCE", + "SECURE_WEB_PROXY_GATEWAY", ] @typing.type_check_only @@ -389,9 +420,20 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): "GOOGLE_API", "GOOGLE_API_PSC", "GOOGLE_API_VPC_SC", + "SERVERLESS_VPC_ACCESS", ] 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 + @typing.type_check_only class InstanceInfo(typing_extensions.TypedDict, total=False): displayName: str @@ -401,7 +443,9 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): networkTags: _list[str] networkUri: str pscNetworkAttachmentUri: str + running: bool serviceAccount: str + status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str @typing.type_check_only @@ -424,6 +468,21 @@ 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 @@ -435,6 +494,11 @@ 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 @@ -489,6 +553,33 @@ 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 @@ -519,6 +610,59 @@ 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 @@ -550,8 +694,10 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): "PROBING_ABORT_CAUSE_UNSPECIFIED", "PERMISSION_DENIED", "NO_SOURCE_LOCATION" ] destinationEgressLocation: EdgeLocation + edgeResponses: _list[SingleEdgeResponse] endpointInfo: EndpointInfo error: Status + probedAllDevices: bool probingLatency: LatencyDistribution result: typing_extensions.Literal[ "PROBING_RESULT_UNSPECIFIED", @@ -564,6 +710,19 @@ 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 @@ -636,6 +795,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): "NEXT_HOP_ILB", "NEXT_HOP_ROUTER_APPLIANCE", "NEXT_HOP_NCC_HUB", + "SECURE_WEB_PROXY_GATEWAY", ] nextHopUri: str originatingRouteDisplayName: str @@ -661,6 +821,10 @@ class RouteInfo(typing_extensions.TypedDict, total=False): srcPortRanges: _list[str] uri: str +@typing.type_check_only +class ServerlessExternalConnectionInfo(typing_extensions.TypedDict, total=False): + selectedIpAddress: str + @typing.type_check_only class ServerlessNegInfo(typing_extensions.TypedDict, total=False): negUri: str @@ -670,6 +834,21 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class SingleEdgeResponse(typing_extensions.TypedDict, total=False): + destinationEgressLocation: EdgeLocation + destinationRouter: str + probingLatency: LatencyDistribution + result: typing_extensions.Literal[ + "PROBING_RESULT_UNSPECIFIED", + "REACHABLE", + "UNREACHABLE", + "REACHABILITY_INCONSISTENT", + "UNDETERMINED", + ] + sentProbeCount: int + successfulProbeCount: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -686,6 +865,7 @@ class Step(typing_extensions.TypedDict, total=False): cloudSqlInstance: CloudSQLInstanceInfo deliver: DeliverInfo description: str + directVpcEgressConnection: DirectVpcEgressConnectionInfo drop: DropInfo endpoint: EndpointInfo firewall: FirewallInfo @@ -703,6 +883,7 @@ class Step(typing_extensions.TypedDict, total=False): redisCluster: RedisClusterInfo redisInstance: RedisInstanceInfo route: RouteInfo + serverlessExternalConnection: ServerlessExternalConnectionInfo serverlessNeg: ServerlessNegInfo state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -732,6 +913,8 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_VPN_GATEWAY", "ARRIVE_AT_VPN_TUNNEL", "ARRIVE_AT_VPC_CONNECTOR", + "DIRECT_VPC_EGRESS_CONNECTION", + "SERVERLESS_EXTERNAL_CONNECTION", "NAT", "PROXY_CONNECTION", "DELIVER", @@ -825,3 +1008,29 @@ 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 8d34e6f1..663d0df1 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi @@ -13,6 +13,107 @@ _list = list @typing.type_check_only class NetworkManagementResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class GlobalResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class 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: ... + + def operations(self) -> OperationsResource: ... + + @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: ... + 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 global_(self) -> GlobalResource: ... + def vpcFlowLogsConfigs(self) -> VpcFlowLogsConfigsResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -159,6 +260,20 @@ 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 get( self, *, name: str, **kwargs: typing.Any @@ -167,6 +282,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -194,6 +310,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -268,6 +385,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class QueryOrgVpcFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryOrgVpcFlowLogsConfigsResponse: ... + @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 9dd30004..6c0548dc 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -36,6 +36,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "FIREWALL_CONFIG_NOT_FOUND", "ROUTE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", + "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", "SOURCE_REDIS_CLUSTER_UNSUPPORTED", "SOURCE_REDIS_INSTANCE_UNSUPPORTED", @@ -43,6 +44,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "NON_ROUTABLE_IP_ADDRESS", "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", + "NO_SERVERLESS_IP_RANGES", ] ipAddress: str projectsMissingPermission: _list[str] @@ -93,6 +95,7 @@ class CloudFunctionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class CloudRunRevisionEndpoint(typing_extensions.TypedDict, total=False): + serviceUri: str uri: str @typing.type_check_only @@ -131,6 +134,14 @@ class ConnectivityTest(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeliverInfo(typing_extensions.TypedDict, total=False): + googleServiceType: typing_extensions.Literal[ + "GOOGLE_SERVICE_TYPE_UNSPECIFIED", + "IAP", + "GFE_PROXY_OR_HEALTH_CHECK_PROBER", + "CLOUD_DNS", + "PRIVATE_GOOGLE_ACCESS", + "SERVERLESS_VPC_ACCESS", + ] ipAddress: str pscGoogleApiTarget: str resourceUri: str @@ -156,6 +167,14 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "REDIS_CLUSTER", ] +@typing.type_check_only +class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): + networkUri: str + region: str + selectedIpAddress: str + selectedIpRange: str + subnetworkUri: str + @typing.type_check_only class DropInfo(typing_extensions.TypedDict, total=False): cause: typing_extensions.Literal[ @@ -174,6 +193,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", + "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", "PRIVATE_TRAFFIC_TO_INTERNET", @@ -184,6 +204,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "FORWARDING_RULE_MISMATCH", "FORWARDING_RULE_NO_INSTANCES", "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", + "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", @@ -243,6 +264,14 @@ class DropInfo(typing_extensions.TypedDict, total=False): "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", "NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", "PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", + "PSC_PORT_MAPPING_PORT_MISMATCH", + "PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", + "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", + "TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", + "NO_MATCHING_NAT64_GATEWAY", + "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", + "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", + "CLOUD_NAT_PROTOCOL_UNSUPPORTED", ] destinationIp: str region: str @@ -335,6 +364,7 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): ] networkUri: str policy: str + policyPriority: int policyUri: str priority: int targetServiceAccounts: _list[str] @@ -356,6 +386,7 @@ class ForwardInfo(typing_extensions.TypedDict, total=False): "ANOTHER_PROJECT", "NCC_HUB", "ROUTER_APPLIANCE", + "SECURE_WEB_PROXY_GATEWAY", ] @typing.type_check_only @@ -390,6 +421,7 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): "GOOGLE_API", "GOOGLE_API_PSC", "GOOGLE_API_VPC_SC", + "SERVERLESS_VPC_ACCESS", ] sourceIp: str @@ -402,7 +434,9 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): networkTags: _list[str] networkUri: str pscNetworkAttachmentUri: str + running: bool serviceAccount: str + status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str @typing.type_check_only @@ -551,8 +585,10 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): "PROBING_ABORT_CAUSE_UNSPECIFIED", "PERMISSION_DENIED", "NO_SOURCE_LOCATION" ] destinationEgressLocation: EdgeLocation + edgeResponses: _list[SingleEdgeResponse] endpointInfo: EndpointInfo error: Status + probedAllDevices: bool probingLatency: LatencyDistribution result: typing_extensions.Literal[ "PROBING_RESULT_UNSPECIFIED", @@ -579,6 +615,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 @@ -637,6 +679,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): "NEXT_HOP_ILB", "NEXT_HOP_ROUTER_APPLIANCE", "NEXT_HOP_NCC_HUB", + "SECURE_WEB_PROXY_GATEWAY", ] nextHopUri: str originatingRouteDisplayName: str @@ -662,6 +705,10 @@ class RouteInfo(typing_extensions.TypedDict, total=False): srcPortRanges: _list[str] uri: str +@typing.type_check_only +class ServerlessExternalConnectionInfo(typing_extensions.TypedDict, total=False): + selectedIpAddress: str + @typing.type_check_only class ServerlessNegInfo(typing_extensions.TypedDict, total=False): negUri: str @@ -671,6 +718,21 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class SingleEdgeResponse(typing_extensions.TypedDict, total=False): + destinationEgressLocation: EdgeLocation + destinationRouter: str + probingLatency: LatencyDistribution + result: typing_extensions.Literal[ + "PROBING_RESULT_UNSPECIFIED", + "REACHABLE", + "UNREACHABLE", + "REACHABILITY_INCONSISTENT", + "UNDETERMINED", + ] + sentProbeCount: int + successfulProbeCount: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -687,6 +749,7 @@ class Step(typing_extensions.TypedDict, total=False): cloudSqlInstance: CloudSQLInstanceInfo deliver: DeliverInfo description: str + directVpcEgressConnection: DirectVpcEgressConnectionInfo drop: DropInfo endpoint: EndpointInfo firewall: FirewallInfo @@ -704,6 +767,7 @@ class Step(typing_extensions.TypedDict, total=False): redisCluster: RedisClusterInfo redisInstance: RedisInstanceInfo route: RouteInfo + serverlessExternalConnection: ServerlessExternalConnectionInfo serverlessNeg: ServerlessNegInfo state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -733,6 +797,8 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_VPN_GATEWAY", "ARRIVE_AT_VPN_TUNNEL", "ARRIVE_AT_VPC_CONNECTOR", + "DIRECT_VPC_EGRESS_CONNECTION", + "SERVERLESS_EXTERNAL_CONNECTION", "NAT", "PROXY_CONNECTION", "DELIVER", @@ -782,6 +848,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 @@ -795,7 +866,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", diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi index 6b246956..1a0b55b0 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi @@ -54,6 +54,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListAddressGroupsResponseHttpRequest: ... def list_next( @@ -295,6 +296,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListAddressGroupsResponseHttpRequest: ... def list_next( @@ -468,6 +470,46 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class BackendAuthenticationConfigsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: BackendAuthenticationConfig = ..., + backendAuthenticationConfigId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackendAuthenticationConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackendAuthenticationConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackendAuthenticationConfigsResponseHttpRequest, + previous_response: ListBackendAuthenticationConfigsResponse, + ) -> ListBackendAuthenticationConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BackendAuthenticationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ClientTlsPoliciesResource(googleapiclient.discovery.Resource): def create( @@ -648,6 +690,350 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def rules(self) -> RulesResource: ... + @typing.type_check_only + class InterceptDeploymentGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: InterceptDeploymentGroup = ..., + interceptDeploymentGroupId: 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 + ) -> InterceptDeploymentGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInterceptDeploymentGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInterceptDeploymentGroupsResponseHttpRequest, + previous_response: ListInterceptDeploymentGroupsResponse, + ) -> ListInterceptDeploymentGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InterceptDeploymentGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class InterceptDeploymentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: InterceptDeployment = ..., + interceptDeploymentId: 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 + ) -> InterceptDeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInterceptDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInterceptDeploymentsResponseHttpRequest, + previous_response: ListInterceptDeploymentsResponse, + ) -> ListInterceptDeploymentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InterceptDeployment = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class InterceptEndpointGroupAssociationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: InterceptEndpointGroupAssociation = ..., + interceptEndpointGroupAssociationId: 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 + ) -> InterceptEndpointGroupAssociationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInterceptEndpointGroupAssociationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInterceptEndpointGroupAssociationsResponseHttpRequest, + previous_response: ListInterceptEndpointGroupAssociationsResponse, + ) -> ( + ListInterceptEndpointGroupAssociationsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: InterceptEndpointGroupAssociation = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class InterceptEndpointGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: InterceptEndpointGroup = ..., + interceptEndpointGroupId: 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 + ) -> InterceptEndpointGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListInterceptEndpointGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListInterceptEndpointGroupsResponseHttpRequest, + previous_response: ListInterceptEndpointGroupsResponse, + ) -> ListInterceptEndpointGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: InterceptEndpointGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class MirroringDeploymentGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: MirroringDeploymentGroup = ..., + mirroringDeploymentGroupId: 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 + ) -> MirroringDeploymentGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMirroringDeploymentGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMirroringDeploymentGroupsResponseHttpRequest, + previous_response: ListMirroringDeploymentGroupsResponse, + ) -> ListMirroringDeploymentGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: MirroringDeploymentGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class MirroringDeploymentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: MirroringDeployment = ..., + mirroringDeploymentId: 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 + ) -> MirroringDeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMirroringDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMirroringDeploymentsResponseHttpRequest, + previous_response: ListMirroringDeploymentsResponse, + ) -> ListMirroringDeploymentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: MirroringDeployment = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class MirroringEndpointGroupAssociationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: MirroringEndpointGroupAssociation = ..., + mirroringEndpointGroupAssociationId: 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 + ) -> MirroringEndpointGroupAssociationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMirroringEndpointGroupAssociationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMirroringEndpointGroupAssociationsResponseHttpRequest, + previous_response: ListMirroringEndpointGroupAssociationsResponse, + ) -> ( + ListMirroringEndpointGroupAssociationsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: MirroringEndpointGroupAssociation = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class MirroringEndpointGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: MirroringEndpointGroup = ..., + mirroringEndpointGroupId: 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 + ) -> MirroringEndpointGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMirroringEndpointGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMirroringEndpointGroupsResponseHttpRequest, + previous_response: ListMirroringEndpointGroupsResponse, + ) -> ListMirroringEndpointGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: MirroringEndpointGroup = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -707,6 +1093,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListServerTlsPoliciesResponseHttpRequest: ... def list_next( @@ -820,6 +1207,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -833,11 +1221,30 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def addressGroups(self) -> AddressGroupsResource: ... def authorizationPolicies(self) -> AuthorizationPoliciesResource: ... def authzPolicies(self) -> AuthzPoliciesResource: ... + def backendAuthenticationConfigs( + self, + ) -> BackendAuthenticationConfigsResource: ... def clientTlsPolicies(self) -> ClientTlsPoliciesResource: ... def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... + def interceptDeploymentGroups( + self, + ) -> InterceptDeploymentGroupsResource: ... + def interceptDeployments(self) -> InterceptDeploymentsResource: ... + def interceptEndpointGroupAssociations( + self, + ) -> InterceptEndpointGroupAssociationsResource: ... + def interceptEndpointGroups(self) -> InterceptEndpointGroupsResource: ... + def mirroringDeploymentGroups( + self, + ) -> MirroringDeploymentGroupsResource: ... + def mirroringDeployments(self) -> MirroringDeploymentsResource: ... + def mirroringEndpointGroupAssociations( + self, + ) -> MirroringEndpointGroupAssociationsResource: ... + def mirroringEndpointGroups(self) -> MirroringEndpointGroupsResource: ... def operations(self) -> OperationsResource: ... def serverTlsPolicies(self) -> ServerTlsPoliciesResource: ... def tlsInspectionPolicies(self) -> TlsInspectionPoliciesResource: ... @@ -884,6 +1291,14 @@ class AuthzPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AuthzPolicy: ... +@typing.type_check_only +class BackendAuthenticationConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackendAuthenticationConfig: ... + @typing.type_check_only class ClientTlsPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -950,6 +1365,38 @@ class GoogleIamV1TestIamPermissionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleIamV1TestIamPermissionsResponse: ... +@typing.type_check_only +class InterceptDeploymentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterceptDeployment: ... + +@typing.type_check_only +class InterceptDeploymentGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterceptDeploymentGroup: ... + +@typing.type_check_only +class InterceptEndpointGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterceptEndpointGroup: ... + +@typing.type_check_only +class InterceptEndpointGroupAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InterceptEndpointGroupAssociation: ... + @typing.type_check_only class ListAddressGroupReferencesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -982,6 +1429,16 @@ class ListAuthzPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAuthzPoliciesResponse: ... +@typing.type_check_only +class ListBackendAuthenticationConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackendAuthenticationConfigsResponse: ... + @typing.type_check_only class ListClientTlsPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1026,6 +1483,42 @@ class ListGatewaySecurityPolicyRulesResponseHttpRequest( num_retries: int = 0, ) -> ListGatewaySecurityPolicyRulesResponse: ... +@typing.type_check_only +class ListInterceptDeploymentGroupsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInterceptDeploymentGroupsResponse: ... + +@typing.type_check_only +class ListInterceptDeploymentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInterceptDeploymentsResponse: ... + +@typing.type_check_only +class ListInterceptEndpointGroupAssociationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInterceptEndpointGroupAssociationsResponse: ... + +@typing.type_check_only +class ListInterceptEndpointGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInterceptEndpointGroupsResponse: ... + @typing.type_check_only class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1034,6 +1527,42 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListMirroringDeploymentGroupsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMirroringDeploymentGroupsResponse: ... + +@typing.type_check_only +class ListMirroringDeploymentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMirroringDeploymentsResponse: ... + +@typing.type_check_only +class ListMirroringEndpointGroupAssociationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMirroringEndpointGroupAssociationsResponse: ... + +@typing.type_check_only +class ListMirroringEndpointGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMirroringEndpointGroupsResponse: ... + @typing.type_check_only class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1090,6 +1619,38 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... +@typing.type_check_only +class MirroringDeploymentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MirroringDeployment: ... + +@typing.type_check_only +class MirroringDeploymentGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MirroringDeploymentGroup: ... + +@typing.type_check_only +class MirroringEndpointGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MirroringEndpointGroup: ... + +@typing.type_check_only +class MirroringEndpointGroupAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MirroringEndpointGroupAssociation: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index d8884205..520f75d5 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -24,6 +24,15 @@ class AddressGroup(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] updateTime: str +@typing.type_check_only +class AntivirusOverride(typing_extensions.TypedDict, total=False): + action: typing_extensions.Literal[ + "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" + ] + protocol: typing_extensions.Literal[ + "PROTOCOL_UNSPECIFIED", "SMTP", "SMB", "POP3", "IMAP", "HTTP2", "HTTP", "FTP" + ] + @typing.type_check_only class AuthorizationPolicy(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] @@ -68,7 +77,7 @@ class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): - principals: _list[AuthzPolicyAuthzRuleStringMatch] + ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only @@ -76,6 +85,11 @@ class AuthzPolicyAuthzRuleHeaderMatch(typing_extensions.TypedDict, total=False): name: str value: AuthzPolicyAuthzRuleStringMatch +@typing.type_check_only +class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): + length: int + prefix: str + @typing.type_check_only class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch @@ -135,6 +149,20 @@ class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): ] resources: _list[str] +@typing.type_check_only +class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): + clientCertificate: str + createTime: str + description: str + etag: str + labels: dict[str, typing.Any] + name: str + trustConfig: str + updateTime: str + wellKnownRoots: typing_extensions.Literal[ + "WELL_KNOWN_ROOTS_UNSPECIFIED", "NONE", "PUBLIC_ROOTS" + ] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -193,6 +221,8 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" ] @@ -297,6 +327,136 @@ class HttpHeaderMatch(typing_extensions.TypedDict, total=False): headerName: str regexMatch: str +@typing.type_check_only +class InterceptDeployment(typing_extensions.TypedDict, total=False): + createTime: str + description: str + forwardingRule: str + interceptDeploymentGroup: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): + connectedEndpointGroups: _list[InterceptDeploymentGroupConnectedEndpointGroup] + createTime: str + description: str + labels: dict[str, typing.Any] + locations: _list[InterceptLocation] + name: str + nestedDeployments: _list[InterceptDeploymentGroupDeployment] + network: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" + ] + updateTime: str + +@typing.type_check_only +class InterceptDeploymentGroupConnectedEndpointGroup( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + +@typing.type_check_only +class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): + associations: _list[InterceptEndpointGroupAssociationDetails] + connectedDeploymentGroup: InterceptEndpointGroupConnectedDeploymentGroup + createTime: str + description: str + interceptDeploymentGroup: str + labels: dict[str, typing.Any] + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CLOSED", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False): + createTime: str + interceptEndpointGroup: str + labels: dict[str, typing.Any] + locations: _list[InterceptLocation] + locationsDetails: _list[InterceptEndpointGroupAssociationLocationDetails] + name: str + network: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "CLOSED", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class InterceptEndpointGroupAssociationDetails( + typing_extensions.TypedDict, total=False +): + name: str + network: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "CLOSED", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + +@typing.type_check_only +class InterceptEndpointGroupAssociationLocationDetails( + typing_extensions.TypedDict, total=False +): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + +@typing.type_check_only +class InterceptEndpointGroupConnectedDeploymentGroup( + typing_extensions.TypedDict, total=False +): + locations: _list[InterceptLocation] + name: str + +@typing.type_check_only +class InterceptLocation(typing_extensions.TypedDict, total=False): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + @typing.type_check_only class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=False): addressGroupReferences: _list[ @@ -316,6 +476,7 @@ class ListAddressGroupReferencesResponseAddressGroupReference( class ListAddressGroupsResponse(typing_extensions.TypedDict, total=False): addressGroups: _list[AddressGroup] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListAuthorizationPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -328,6 +489,14 @@ class ListAuthzPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListBackendAuthenticationConfigsResponse( + typing_extensions.TypedDict, total=False +): + backendAuthenticationConfigs: _list[BackendAuthenticationConfig] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListClientTlsPoliciesResponse(typing_extensions.TypedDict, total=False): clientTlsPolicies: _list[ClientTlsPolicy] @@ -359,11 +528,57 @@ class ListGatewaySecurityPolicyRulesResponse(typing_extensions.TypedDict, total= nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListInterceptDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): + interceptDeploymentGroups: _list[InterceptDeploymentGroup] + nextPageToken: str + +@typing.type_check_only +class ListInterceptDeploymentsResponse(typing_extensions.TypedDict, total=False): + interceptDeployments: _list[InterceptDeployment] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListInterceptEndpointGroupAssociationsResponse( + typing_extensions.TypedDict, total=False +): + interceptEndpointGroupAssociations: _list[InterceptEndpointGroupAssociation] + nextPageToken: str + +@typing.type_check_only +class ListInterceptEndpointGroupsResponse(typing_extensions.TypedDict, total=False): + interceptEndpointGroups: _list[InterceptEndpointGroup] + nextPageToken: str + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListMirroringDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): + mirroringDeploymentGroups: _list[MirroringDeploymentGroup] + nextPageToken: str + +@typing.type_check_only +class ListMirroringDeploymentsResponse(typing_extensions.TypedDict, total=False): + mirroringDeployments: _list[MirroringDeployment] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListMirroringEndpointGroupAssociationsResponse( + typing_extensions.TypedDict, total=False +): + mirroringEndpointGroupAssociations: _list[MirroringEndpointGroupAssociation] + nextPageToken: str + +@typing.type_check_only +class ListMirroringEndpointGroupsResponse(typing_extensions.TypedDict, total=False): + mirroringEndpointGroups: _list[MirroringEndpointGroup] + nextPageToken: str + @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -383,6 +598,7 @@ class ListSecurityProfilesResponse(typing_extensions.TypedDict, total=False): class ListServerTlsPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serverTlsPolicies: _list[ServerTlsPolicy] + unreachable: _list[str] @typing.type_check_only class ListTlsInspectionPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -414,6 +630,136 @@ class MTLSPolicy(typing_extensions.TypedDict, total=False): ] clientValidationTrustConfig: str +@typing.type_check_only +class MirroringDeployment(typing_extensions.TypedDict, total=False): + createTime: str + description: str + forwardingRule: str + labels: dict[str, typing.Any] + mirroringDeploymentGroup: str + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): + connectedEndpointGroups: _list[MirroringDeploymentGroupConnectedEndpointGroup] + createTime: str + description: str + labels: dict[str, typing.Any] + locations: _list[MirroringLocation] + name: str + nestedDeployments: _list[MirroringDeploymentGroupDeployment] + network: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" + ] + updateTime: str + +@typing.type_check_only +class MirroringDeploymentGroupConnectedEndpointGroup( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + +@typing.type_check_only +class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): + associations: _list[MirroringEndpointGroupAssociationDetails] + connectedDeploymentGroups: _list[MirroringEndpointGroupConnectedDeploymentGroup] + createTime: str + description: str + labels: dict[str, typing.Any] + mirroringDeploymentGroup: str + name: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CLOSED", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False): + createTime: str + labels: dict[str, typing.Any] + locations: _list[MirroringLocation] + locationsDetails: _list[MirroringEndpointGroupAssociationLocationDetails] + mirroringEndpointGroup: str + name: str + network: str + reconciling: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "CLOSED", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + updateTime: str + +@typing.type_check_only +class MirroringEndpointGroupAssociationDetails( + typing_extensions.TypedDict, total=False +): + name: str + network: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "CLOSED", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + +@typing.type_check_only +class MirroringEndpointGroupAssociationLocationDetails( + typing_extensions.TypedDict, total=False +): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + +@typing.type_check_only +class MirroringEndpointGroupConnectedDeploymentGroup( + typing_extensions.TypedDict, total=False +): + locations: _list[MirroringLocation] + name: str + +@typing.type_check_only +class MirroringLocation(typing_extensions.TypedDict, total=False): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -465,6 +811,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): createTime: str customInterceptProfile: str customMirroringProfile: str + dataPathId: str description: str etag: str labels: dict[str, typing.Any] @@ -520,6 +867,7 @@ class ThreatOverride(typing_extensions.TypedDict, total=False): @typing.type_check_only class ThreatPreventionProfile(typing_extensions.TypedDict, total=False): + antivirusOverrides: _list[AntivirusOverride] severityOverrides: _list[SeverityOverride] threatOverrides: _list[ThreatOverride] diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index cf094e87..103a2a15 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -54,6 +54,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListAddressGroupsResponseHttpRequest: ... def list_next( @@ -295,6 +296,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListAddressGroupsResponseHttpRequest: ... def list_next( @@ -468,6 +470,46 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class BackendAuthenticationConfigsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: BackendAuthenticationConfig = ..., + backendAuthenticationConfigId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BackendAuthenticationConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackendAuthenticationConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBackendAuthenticationConfigsResponseHttpRequest, + previous_response: ListBackendAuthenticationConfigsResponse, + ) -> ListBackendAuthenticationConfigsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: BackendAuthenticationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ClientTlsPoliciesResource(googleapiclient.discovery.Resource): def create( @@ -1022,6 +1064,72 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class SacAttachmentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SACAttachment = ..., + requestId: str = ..., + sacAttachmentId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SACAttachmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSACAttachmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSACAttachmentsResponseHttpRequest, + previous_response: ListSACAttachmentsResponse, + ) -> ListSACAttachmentsResponseHttpRequest | None: ... + + @typing.type_check_only + class SacRealmsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SACRealm = ..., + requestId: str = ..., + sacRealmId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SACRealmHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSACRealmsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSACRealmsResponseHttpRequest, + previous_response: ListSACRealmsResponse, + ) -> ListSACRealmsResponseHttpRequest | None: ... + @typing.type_check_only class ServerTlsPoliciesResource(googleapiclient.discovery.Resource): def create( @@ -1051,6 +1159,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListServerTlsPoliciesResponseHttpRequest: ... def list_next( @@ -1164,6 +1273,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -1177,6 +1287,9 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def addressGroups(self) -> AddressGroupsResource: ... def authorizationPolicies(self) -> AuthorizationPoliciesResource: ... def authzPolicies(self) -> AuthzPoliciesResource: ... + def backendAuthenticationConfigs( + self, + ) -> BackendAuthenticationConfigsResource: ... def clientTlsPolicies(self) -> ClientTlsPoliciesResource: ... def firewallEndpointAssociations( self, @@ -1199,6 +1312,8 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): ) -> MirroringEndpointGroupAssociationsResource: ... def mirroringEndpointGroups(self) -> MirroringEndpointGroupsResource: ... def operations(self) -> OperationsResource: ... + def sacAttachments(self) -> SacAttachmentsResource: ... + def sacRealms(self) -> SacRealmsResource: ... def serverTlsPolicies(self) -> ServerTlsPoliciesResource: ... def tlsInspectionPolicies(self) -> TlsInspectionPoliciesResource: ... def urlLists(self) -> UrlListsResource: ... @@ -1244,6 +1359,14 @@ class AuthzPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AuthzPolicy: ... +@typing.type_check_only +class BackendAuthenticationConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BackendAuthenticationConfig: ... + @typing.type_check_only class ClientTlsPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1374,6 +1497,16 @@ class ListAuthzPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAuthzPoliciesResponse: ... +@typing.type_check_only +class ListBackendAuthenticationConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackendAuthenticationConfigsResponse: ... + @typing.type_check_only class ListClientTlsPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1506,6 +1639,22 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListSACAttachmentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSACAttachmentsResponse: ... + +@typing.type_check_only +class ListSACRealmsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSACRealmsResponse: ... + @typing.type_check_only class ListSecurityProfileGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1594,6 +1743,22 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class SACAttachmentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SACAttachment: ... + +@typing.type_check_only +class SACRealmHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SACRealm: ... + @typing.type_check_only class SecurityProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi index 5fdb29d1..bcfc274b 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi @@ -24,6 +24,15 @@ class AddressGroup(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] updateTime: str +@typing.type_check_only +class AntivirusOverride(typing_extensions.TypedDict, total=False): + action: typing_extensions.Literal[ + "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" + ] + protocol: typing_extensions.Literal[ + "PROTOCOL_UNSPECIFIED", "SMTP", "SMB", "POP3", "IMAP", "HTTP2", "HTTP", "FTP" + ] + @typing.type_check_only class AuthorizationPolicy(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] @@ -68,7 +77,7 @@ class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): - principals: _list[AuthzPolicyAuthzRuleStringMatch] + ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only @@ -76,6 +85,11 @@ class AuthzPolicyAuthzRuleHeaderMatch(typing_extensions.TypedDict, total=False): name: str value: AuthzPolicyAuthzRuleStringMatch +@typing.type_check_only +class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): + length: int + prefix: str + @typing.type_check_only class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch @@ -135,6 +149,20 @@ class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): ] resources: _list[str] +@typing.type_check_only +class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): + clientCertificate: str + createTime: str + description: str + etag: str + labels: dict[str, typing.Any] + name: str + trustConfig: str + updateTime: str + wellKnownRoots: typing_extensions.Literal[ + "WELL_KNOWN_ROOTS_UNSPECIFIED", "NONE", "PUBLIC_ROOTS" + ] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -193,6 +221,8 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" ] @@ -322,7 +352,9 @@ class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] + locations: _list[InterceptLocation] name: str + nestedDeployments: _list[InterceptDeploymentGroupDeployment] network: str reconciling: bool state: typing_extensions.Literal[ @@ -336,9 +368,22 @@ class InterceptDeploymentGroupConnectedEndpointGroup( ): name: str +@typing.type_check_only +class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + @typing.type_check_only class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): associations: _list[InterceptEndpointGroupAssociationDetails] + connectedDeploymentGroup: InterceptEndpointGroupConnectedDeploymentGroup createTime: str description: str interceptDeploymentGroup: str @@ -361,6 +406,7 @@ class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False createTime: str interceptEndpointGroup: str labels: dict[str, typing.Any] + locations: _list[InterceptLocation] locationsDetails: _list[InterceptEndpointGroupAssociationLocationDetails] name: str network: str @@ -399,6 +445,18 @@ class InterceptEndpointGroupAssociationLocationDetails( location: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] +@typing.type_check_only +class InterceptEndpointGroupConnectedDeploymentGroup( + typing_extensions.TypedDict, total=False +): + locations: _list[InterceptLocation] + name: str + +@typing.type_check_only +class InterceptLocation(typing_extensions.TypedDict, total=False): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + @typing.type_check_only class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=False): addressGroupReferences: _list[ @@ -418,6 +476,7 @@ class ListAddressGroupReferencesResponseAddressGroupReference( class ListAddressGroupsResponse(typing_extensions.TypedDict, total=False): addressGroups: _list[AddressGroup] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListAuthorizationPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -430,6 +489,14 @@ class ListAuthzPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListBackendAuthenticationConfigsResponse( + typing_extensions.TypedDict, total=False +): + backendAuthenticationConfigs: _list[BackendAuthenticationConfig] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListClientTlsPoliciesResponse(typing_extensions.TypedDict, total=False): clientTlsPolicies: _list[ClientTlsPolicy] @@ -517,6 +584,18 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListSACAttachmentsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + sacAttachments: _list[SACAttachment] + unreachable: _list[str] + +@typing.type_check_only +class ListSACRealmsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + sacRealms: _list[SACRealm] + unreachable: _list[str] + @typing.type_check_only class ListSecurityProfileGroupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -531,6 +610,7 @@ class ListSecurityProfilesResponse(typing_extensions.TypedDict, total=False): class ListServerTlsPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serverTlsPolicies: _list[ServerTlsPolicy] + unreachable: _list[str] @typing.type_check_only class ListTlsInspectionPoliciesResponse(typing_extensions.TypedDict, total=False): @@ -565,6 +645,7 @@ class MTLSPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MirroringDeployment(typing_extensions.TypedDict, total=False): createTime: str + description: str forwardingRule: str labels: dict[str, typing.Any] mirroringDeploymentGroup: str @@ -584,8 +665,11 @@ class MirroringDeployment(typing_extensions.TypedDict, total=False): class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): connectedEndpointGroups: _list[MirroringDeploymentGroupConnectedEndpointGroup] createTime: str + description: str labels: dict[str, typing.Any] + locations: _list[MirroringLocation] name: str + nestedDeployments: _list[MirroringDeploymentGroupDeployment] network: str reconciling: bool state: typing_extensions.Literal[ @@ -599,9 +683,24 @@ class MirroringDeploymentGroupConnectedEndpointGroup( ): name: str +@typing.type_check_only +class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + @typing.type_check_only class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): + associations: _list[MirroringEndpointGroupAssociationDetails] + connectedDeploymentGroups: _list[MirroringEndpointGroupConnectedDeploymentGroup] createTime: str + description: str labels: dict[str, typing.Any] mirroringDeploymentGroup: str name: str @@ -621,6 +720,7 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] + locations: _list[MirroringLocation] locationsDetails: _list[MirroringEndpointGroupAssociationLocationDetails] mirroringEndpointGroup: str name: str @@ -637,6 +737,22 @@ class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False ] updateTime: str +@typing.type_check_only +class MirroringEndpointGroupAssociationDetails( + typing_extensions.TypedDict, total=False +): + name: str + network: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "DELETING", + "CLOSED", + "OUT_OF_SYNC", + "DELETE_FAILED", + ] + @typing.type_check_only class MirroringEndpointGroupAssociationLocationDetails( typing_extensions.TypedDict, total=False @@ -644,6 +760,18 @@ class MirroringEndpointGroupAssociationLocationDetails( location: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] +@typing.type_check_only +class MirroringEndpointGroupConnectedDeploymentGroup( + typing_extensions.TypedDict, total=False +): + locations: _list[MirroringLocation] + name: str + +@typing.type_check_only +class MirroringLocation(typing_extensions.TypedDict, total=False): + location: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -672,6 +800,66 @@ class Rule(typing_extensions.TypedDict, total=False): destinations: _list[Destination] sources: _list[Source] +@typing.type_check_only +class SACAttachment(typing_extensions.TypedDict, total=False): + country: str + createTime: str + labels: dict[str, typing.Any] + name: str + nccGateway: str + sacRealm: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING_PARTNER_ATTACHMENT", + "PARTNER_ATTACHED", + "PARTNER_DETACHED", + ] + symantecOptions: SACAttachmentSACAttachmentSymantecOptions + timeZone: str + updateTime: str + +@typing.type_check_only +class SACAttachmentSACAttachmentSymantecOptions( + typing_extensions.TypedDict, total=False +): + symantecLocationName: str + symantecSite: str + +@typing.type_check_only +class SACRealm(typing_extensions.TypedDict, total=False): + createTime: str + labels: dict[str, typing.Any] + name: str + pairingKey: SACRealmPairingKey + securityService: typing_extensions.Literal[ + "SECURITY_SERVICE_UNSPECIFIED", "PALO_ALTO_PRISMA_ACCESS", "SYMANTEC_CLOUD_SWG" + ] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING_PARTNER_ATTACHMENT", + "PARTNER_ATTACHED", + "PARTNER_DETACHED", + "KEY_EXPIRED", + ] + symantecOptions: SACRealmSACRealmSymantecOptions + updateTime: str + +@typing.type_check_only +class SACRealmPairingKey(typing_extensions.TypedDict, total=False): + expireTime: str + key: str + +@typing.type_check_only +class SACRealmSACRealmSymantecOptions(typing_extensions.TypedDict, total=False): + availableSymantecSites: _list[str] + secretPath: str + symantecConnectionState: typing_extensions.Literal[ + "SYMANTEC_CONNECTION_STATE_UNSPECIFIED", + "SUCCEEDED", + "READ_SECRET_FAILED", + "REQUEST_TO_SYMANTEC_FAILED", + ] + @typing.type_check_only class SecurityProfile(typing_extensions.TypedDict, total=False): createTime: str @@ -695,6 +883,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): createTime: str customInterceptProfile: str customMirroringProfile: str + dataPathId: str description: str etag: str labels: dict[str, typing.Any] @@ -750,6 +939,7 @@ class ThreatOverride(typing_extensions.TypedDict, total=False): @typing.type_check_only class ThreatPreventionProfile(typing_extensions.TypedDict, total=False): + antivirusOverrides: _list[AntivirusOverride] severityOverrides: _list[SeverityOverride] threatOverrides: _list[ThreatOverride] diff --git a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi index 731bbbd4..7e54d143 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi @@ -153,6 +153,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListEndpointPoliciesResponseHttpRequest: ... def list_next( @@ -249,6 +250,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListGrpcRoutesResponseHttpRequest: ... def list_next( @@ -287,6 +289,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListHttpRoutesResponseHttpRequest: ... def list_next( @@ -428,6 +431,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListMeshesResponseHttpRequest: ... def list_next( @@ -504,6 +508,14 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_request: ListServiceBindingsResponseHttpRequest, previous_response: ListServiceBindingsResponse, ) -> ListServiceBindingsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ServiceBinding = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ServiceLbPoliciesResource(googleapiclient.discovery.Resource): @@ -565,6 +577,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListTcpRoutesResponseHttpRequest: ... def list_next( @@ -603,6 +616,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListTlsRoutesResponseHttpRequest: ... def list_next( @@ -703,6 +717,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index 6c376dfd..4624de5d 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -413,11 +413,13 @@ class ListAuthzExtensionsResponse(typing_extensions.TypedDict, total=False): class ListEndpointPoliciesResponse(typing_extensions.TypedDict, total=False): endpointPolicies: _list[EndpointPolicy] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListGatewayRouteViewsResponse(typing_extensions.TypedDict, total=False): gatewayRouteViews: _list[GatewayRouteView] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListGatewaysResponse(typing_extensions.TypedDict, total=False): @@ -429,11 +431,13 @@ class ListGatewaysResponse(typing_extensions.TypedDict, total=False): class ListGrpcRoutesResponse(typing_extensions.TypedDict, total=False): grpcRoutes: _list[GrpcRoute] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListHttpRoutesResponse(typing_extensions.TypedDict, total=False): httpRoutes: _list[HttpRoute] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): @@ -456,11 +460,13 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListMeshRouteViewsResponse(typing_extensions.TypedDict, total=False): meshRouteViews: _list[MeshRouteView] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListMeshesResponse(typing_extensions.TypedDict, total=False): meshes: _list[Mesh] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): @@ -471,30 +477,36 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serviceBindings: _list[ServiceBinding] + unreachable: _list[str] @typing.type_check_only class ListServiceLbPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serviceLbPolicies: _list[ServiceLbPolicy] + unreachable: _list[str] @typing.type_check_only class ListTcpRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str tcpRoutes: _list[TcpRoute] + unreachable: _list[str] @typing.type_check_only class ListTlsRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str tlsRoutes: _list[TlsRoute] + unreachable: _list[str] @typing.type_check_only class ListWasmPluginVersionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str + unreachable: _list[str] wasmPluginVersions: _list[WasmPluginVersion] @typing.type_check_only class ListWasmPluginsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str + unreachable: _list[str] wasmPlugins: _list[WasmPlugin] @typing.type_check_only @@ -586,6 +598,7 @@ class ServiceLbPolicy(typing_extensions.TypedDict, total=False): createTime: str description: str failoverConfig: ServiceLbPolicyFailoverConfig + isolationConfig: ServiceLbPolicyIsolationConfig labels: dict[str, typing.Any] loadBalancingAlgorithm: typing_extensions.Literal[ "LOAD_BALANCING_ALGORITHM_UNSPECIFIED", @@ -605,6 +618,15 @@ class ServiceLbPolicyAutoCapacityDrain(typing_extensions.TypedDict, total=False) class ServiceLbPolicyFailoverConfig(typing_extensions.TypedDict, total=False): failoverHealthThreshold: int +@typing.type_check_only +class ServiceLbPolicyIsolationConfig(typing_extensions.TypedDict, total=False): + isolationGranularity: typing_extensions.Literal[ + "ISOLATION_GRANULARITY_UNSPECIFIED", "REGION" + ] + isolationMode: typing_extensions.Literal[ + "ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT" + ] + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi index 2ea92ca6..a11e4fc1 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi @@ -81,6 +81,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListEndpointPoliciesResponseHttpRequest: ... def list_next( @@ -177,6 +178,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListGrpcRoutesResponseHttpRequest: ... def list_next( @@ -215,6 +217,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListHttpRoutesResponseHttpRequest: ... def list_next( @@ -231,6 +234,48 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class LbEdgeExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LbEdgeExtension = ..., + lbEdgeExtensionId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LbEdgeExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLbEdgeExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLbEdgeExtensionsResponseHttpRequest, + previous_response: ListLbEdgeExtensionsResponse, + ) -> ListLbEdgeExtensionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LbEdgeExtension = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class LbRouteExtensionsResource(googleapiclient.discovery.Resource): def create( @@ -356,6 +401,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListMeshesResponseHttpRequest: ... def list_next( @@ -432,6 +478,14 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_request: ListServiceBindingsResponseHttpRequest, previous_response: ListServiceBindingsResponse, ) -> ListServiceBindingsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ServiceBinding = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ServiceLbPoliciesResource(googleapiclient.discovery.Resource): @@ -493,6 +547,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListTcpRoutesResponseHttpRequest: ... def list_next( @@ -531,6 +586,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListTlsRoutesResponseHttpRequest: ... def list_next( @@ -631,6 +687,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -646,6 +703,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): def gateways(self) -> GatewaysResource: ... def grpcRoutes(self) -> GrpcRoutesResource: ... def httpRoutes(self) -> HttpRoutesResource: ... + def lbEdgeExtensions(self) -> LbEdgeExtensionsResource: ... def lbRouteExtensions(self) -> LbRouteExtensionsResource: ... def lbTrafficExtensions(self) -> LbTrafficExtensionsResource: ... def meshes(self) -> MeshesResource: ... @@ -728,6 +786,14 @@ class HttpRouteHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HttpRoute: ... +@typing.type_check_only +class LbEdgeExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LbEdgeExtension: ... + @typing.type_check_only class LbRouteExtensionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -792,6 +858,14 @@ class ListHttpRoutesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListHttpRoutesResponse: ... +@typing.type_check_only +class ListLbEdgeExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLbEdgeExtensionsResponse: ... + @typing.type_check_only class ListLbRouteExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index d57e5b32..013bb3c4 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -41,6 +41,7 @@ class EndpointPolicy(typing_extensions.TypedDict, total=False): endpointMatcher: EndpointMatcher labels: dict[str, typing.Any] name: str + securityPolicy: str serverTlsPolicy: str trafficPortSelector: TrafficPortSelector type: typing_extensions.Literal[ @@ -56,11 +57,22 @@ class ExtensionChain(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExtensionChainExtension(typing_extensions.TypedDict, total=False): + allowDynamicForwarding: bool authority: str failOpen: bool forwardHeaders: _list[str] metadata: dict[str, typing.Any] name: str + requestBodySendMode: typing_extensions.Literal[ + "BODY_SEND_MODE_UNSPECIFIED", + "BODY_SEND_MODE_STREAMED", + "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", + ] + responseBodySendMode: typing_extensions.Literal[ + "BODY_SEND_MODE_UNSPECIFIED", + "BODY_SEND_MODE_STREAMED", + "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", + ] service: str supportedEvents: _list[ typing_extensions.Literal[ @@ -336,6 +348,19 @@ class HttpRouteURLRewrite(typing_extensions.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str +@typing.type_check_only +class LbEdgeExtension(typing_extensions.TypedDict, total=False): + createTime: str + description: str + extensionChains: _list[ExtensionChain] + forwardingRules: _list[str] + labels: dict[str, typing.Any] + loadBalancingScheme: typing_extensions.Literal[ + "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" + ] + name: str + updateTime: str + @typing.type_check_only class LbRouteExtension(typing_extensions.TypedDict, total=False): createTime: str @@ -374,11 +399,13 @@ class ListAuthzExtensionsResponse(typing_extensions.TypedDict, total=False): class ListEndpointPoliciesResponse(typing_extensions.TypedDict, total=False): endpointPolicies: _list[EndpointPolicy] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListGatewayRouteViewsResponse(typing_extensions.TypedDict, total=False): gatewayRouteViews: _list[GatewayRouteView] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListGatewaysResponse(typing_extensions.TypedDict, total=False): @@ -390,11 +417,19 @@ class ListGatewaysResponse(typing_extensions.TypedDict, total=False): class ListGrpcRoutesResponse(typing_extensions.TypedDict, total=False): grpcRoutes: _list[GrpcRoute] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListHttpRoutesResponse(typing_extensions.TypedDict, total=False): httpRoutes: _list[HttpRoute] nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListLbEdgeExtensionsResponse(typing_extensions.TypedDict, total=False): + lbEdgeExtensions: _list[LbEdgeExtension] + nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): @@ -417,11 +452,13 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListMeshRouteViewsResponse(typing_extensions.TypedDict, total=False): meshRouteViews: _list[MeshRouteView] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListMeshesResponse(typing_extensions.TypedDict, total=False): meshes: _list[Mesh] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): @@ -432,30 +469,36 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serviceBindings: _list[ServiceBinding] + unreachable: _list[str] @typing.type_check_only class ListServiceLbPoliciesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str serviceLbPolicies: _list[ServiceLbPolicy] + unreachable: _list[str] @typing.type_check_only class ListTcpRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str tcpRoutes: _list[TcpRoute] + unreachable: _list[str] @typing.type_check_only class ListTlsRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str tlsRoutes: _list[TlsRoute] + unreachable: _list[str] @typing.type_check_only class ListWasmPluginVersionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str + unreachable: _list[str] wasmPluginVersions: _list[WasmPluginVersion] @typing.type_check_only class ListWasmPluginsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str + unreachable: _list[str] wasmPlugins: _list[WasmPlugin] @typing.type_check_only @@ -552,6 +595,7 @@ class ServiceLbPolicy(typing_extensions.TypedDict, total=False): createTime: str description: str failoverConfig: ServiceLbPolicyFailoverConfig + isolationConfig: ServiceLbPolicyIsolationConfig labels: dict[str, typing.Any] loadBalancingAlgorithm: typing_extensions.Literal[ "LOAD_BALANCING_ALGORITHM_UNSPECIFIED", @@ -571,6 +615,15 @@ class ServiceLbPolicyAutoCapacityDrain(typing_extensions.TypedDict, total=False) class ServiceLbPolicyFailoverConfig(typing_extensions.TypedDict, total=False): failoverHealthThreshold: int +@typing.type_check_only +class ServiceLbPolicyIsolationConfig(typing_extensions.TypedDict, total=False): + isolationGranularity: typing_extensions.Literal[ + "ISOLATION_GRANULARITY_UNSPECIFIED", "REGION" + ] + isolationMode: typing_extensions.Literal[ + "ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT" + ] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi index 098f925e..179f4444 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi @@ -469,6 +469,7 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi index be86c481..4e51c968 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi @@ -193,6 +193,7 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi index 9a3408f8..cfc7c899 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi @@ -54,10 +54,17 @@ class CheckInstanceUpgradabilityResponse(typing_extensions.TypedDict, total=Fals upgradeVersion: str upgradeable: bool +@typing.type_check_only +class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): + confidentialInstanceType: typing_extensions.Literal[ + "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV" + ] + @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): availableImages: _list[ImageRelease] defaultValues: DefaultValues + disableWorkbenchLegacyCreation: bool supportedValues: SupportedValues @typing.type_check_only @@ -125,6 +132,7 @@ class GPUDriverConfig(typing_extensions.TypedDict, total=False): class GceSetup(typing_extensions.TypedDict, total=False): acceleratorConfigs: _list[AcceleratorConfig] bootDisk: BootDisk + confidentialInstanceConfig: ConfidentialInstanceConfig containerImage: ContainerImage dataDisks: _list[DataDisk] disablePublicIp: bool @@ -134,6 +142,7 @@ class GceSetup(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] minCpuPlatform: str networkInterfaces: _list[NetworkInterface] + reservationAffinity: ReservationAffinity serviceAccounts: _list[ServiceAccount] shieldedInstanceConfig: ShieldedInstanceConfig tags: _list[str] @@ -149,6 +158,7 @@ class Instance(typing_extensions.TypedDict, total=False): createTime: str creator: str disableProxyAccess: bool + enableDeletionProtection: bool enableThirdPartyIdentity: bool gceSetup: GceSetup healthInfo: dict[str, typing.Any] @@ -244,6 +254,17 @@ class ReportInstanceInfoSystemRequest(typing_extensions.TypedDict, total=False): event: Event vmId: str +@typing.type_check_only +class ReservationAffinity(typing_extensions.TypedDict, total=False): + consumeReservationType: typing_extensions.Literal[ + "RESERVATION_UNSPECIFIED", + "RESERVATION_NONE", + "RESERVATION_ANY", + "RESERVATION_SPECIFIC", + ] + key: str + values: _list[str] + @typing.type_check_only class ResetInstanceRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/observability/__init__.pyi b/googleapiclient-stubs/_apis/observability/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/observability/v1/__init__.pyi b/googleapiclient-stubs/_apis/observability/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/observability/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/observability/v1/resources.pyi b/googleapiclient-stubs/_apis/observability/v1/resources.pyi new file mode 100644 index 00000000..5db77040 --- /dev/null +++ b/googleapiclient-stubs/_apis/observability/v1/resources.pyi @@ -0,0 +1,147 @@ +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 CloudObservabilityResource(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 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 ScopesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ScopeHttpRequest: ... + def patch( + self, + *, + name: str, + body: Scope = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ScopeHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + def scopes(self) -> ScopesResource: ... + + 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 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 ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOperationsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + +@typing.type_check_only +class ScopeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Scope: ... diff --git a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi new file mode 100644 index 00000000..f23499ea --- /dev/null +++ b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi @@ -0,0 +1,59 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@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 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 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 Scope(typing_extensions.TypedDict, total=False): + logScope: str + name: str + updateTime: str + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index 85d6ad1c..f2afb72e 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -49,6 +49,12 @@ class AttestationOccurrence(typing_extensions.TypedDict, total=False): serializedPayload: str signatures: _list[Signature] +@typing.type_check_only +class BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class BinarySourceInfo(typing_extensions.TypedDict, total=False): binaryVersion: PackageVersion @@ -230,6 +236,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str + files: _list[File] lastScanTime: str sbomStatus: SBOMStatus @@ -247,6 +254,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + digest: dict[str, typing.Any] + name: str + @typing.type_check_only class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] @@ -254,6 +266,7 @@ class FileHashes(typing_extensions.TypedDict, total=False): @typing.type_check_only class FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: LayerDetails @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): @@ -273,9 +286,24 @@ class GitSourceContext(typing_extensions.TypedDict, total=False): revisionId: str url: str +@typing.type_check_only +class GrafeasV1BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: GrafeasV1LayerDetails + +@typing.type_check_only +class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[GrafeasV1BaseImage] + chainId: str + command: str + diffId: str + index: int @typing.type_check_only class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( @@ -390,6 +418,14 @@ class Layer(typing_extensions.TypedDict, total=False): arguments: str directive: str +@typing.type_check_only +class LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[BaseImage] + chainId: str + command: str + diffId: str + index: int + @typing.type_check_only class License(typing_extensions.TypedDict, total=False): comments: str @@ -462,6 +498,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] name: str noteName: str @@ -469,6 +506,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): remediation: str resourceUri: str sbomReference: SBOMReferenceOccurrence + secret: SecretOccurrence updateTime: str upgrade: UpgradeOccurrence vulnerability: VulnerabilityOccurrence @@ -490,6 +528,7 @@ class PackageData(typing_extensions.TypedDict, total=False): dependencyChain: _list[LanguagePackageDependency] fileLocation: _list[FileLocation] hashDigest: str + layerDetails: LayerDetails licenses: _list[str] maintainer: Maintainer os: str @@ -630,6 +669,28 @@ class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): mimeType: str referrerId: str +@typing.type_check_only +class SecretLocation(typing_extensions.TypedDict, total=False): + fileLocation: GrafeasV1FileLocation + +@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", + ] + 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 Signature(typing_extensions.TypedDict, total=False): publicKeyId: str diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index 109f94ec..d75c7e1c 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -48,6 +48,12 @@ class AttestationOccurrence(typing_extensions.TypedDict, total=False): serializedPayload: str signatures: _list[Signature] +@typing.type_check_only +class BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class BinarySourceInfo(typing_extensions.TypedDict, total=False): binaryVersion: PackageVersion @@ -229,6 +235,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str + files: _list[File] lastScanTime: str sbomStatus: SBOMStatus @@ -246,6 +253,11 @@ class EnvelopeSignature(typing_extensions.TypedDict, total=False): keyid: str sig: str +@typing.type_check_only +class File(typing_extensions.TypedDict, total=False): + digest: dict[str, typing.Any] + name: str + @typing.type_check_only class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] @@ -253,6 +265,7 @@ class FileHashes(typing_extensions.TypedDict, total=False): @typing.type_check_only class FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: LayerDetails @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): @@ -272,9 +285,24 @@ class GitSourceContext(typing_extensions.TypedDict, total=False): revisionId: str url: str +@typing.type_check_only +class GrafeasV1BaseImage(typing_extensions.TypedDict, total=False): + layerCount: int + name: str + repository: str + @typing.type_check_only class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): filePath: str + layerDetails: GrafeasV1LayerDetails + +@typing.type_check_only +class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[GrafeasV1BaseImage] + chainId: str + command: str + diffId: str + index: int @typing.type_check_only class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( @@ -389,6 +417,14 @@ class Layer(typing_extensions.TypedDict, total=False): arguments: str directive: str +@typing.type_check_only +class LayerDetails(typing_extensions.TypedDict, total=False): + baseImages: _list[BaseImage] + chainId: str + command: str + diffId: str + index: int + @typing.type_check_only class License(typing_extensions.TypedDict, total=False): comments: str @@ -461,6 +497,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", + "SECRET", ] name: str noteName: str @@ -468,6 +505,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): remediation: str resourceUri: str sbomReference: SBOMReferenceOccurrence + secret: SecretOccurrence updateTime: str upgrade: UpgradeOccurrence vulnerability: VulnerabilityOccurrence @@ -489,6 +527,7 @@ class PackageData(typing_extensions.TypedDict, total=False): dependencyChain: _list[LanguagePackageDependency] fileLocation: _list[FileLocation] hashDigest: str + layerDetails: LayerDetails licenses: _list[str] maintainer: Maintainer os: str @@ -629,6 +668,28 @@ class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): mimeType: str referrerId: str +@typing.type_check_only +class SecretLocation(typing_extensions.TypedDict, total=False): + fileLocation: GrafeasV1FileLocation + +@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", + ] + 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 Signature(typing_extensions.TypedDict, total=False): publicKeyId: str diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi index 8fa4b535..ef8ecced 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi @@ -92,6 +92,13 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): previous_request: ListAutonomousDatabasesResponseHttpRequest, previous_response: ListAutonomousDatabasesResponse, ) -> ListAutonomousDatabasesResponseHttpRequest | None: ... + def restart( + self, + *, + name: str, + body: RestartAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def restore( self, *, @@ -99,6 +106,27 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): body: RestoreAutonomousDatabaseRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def start( + self, + *, + name: str, + body: StartAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def stop( + self, + *, + name: str, + body: StopAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def switchover( + self, + *, + name: str, + body: SwitchoverAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class AutonomousDbVersionsResource(googleapiclient.discovery.Resource): @@ -263,6 +291,7 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -310,6 +339,7 @@ class OracleDatabaseResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi index d151323e..409fb4b2 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi @@ -16,12 +16,15 @@ class AutonomousDatabase(typing_extensions.TypedDict, total=False): cidr: str createTime: str database: str + disasterRecoverySupportedLocations: _list[str] displayName: str entitlementId: str labels: dict[str, typing.Any] name: str network: str + peerAutonomousDatabases: _list[str] properties: AutonomousDatabaseProperties + sourceConfig: SourceConfig @typing.type_check_only class AutonomousDatabaseApex(typing_extensions.TypedDict, total=False): @@ -101,6 +104,7 @@ class AutonomousDatabaseConnectionUrls(typing_extensions.TypedDict, total=False) class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): actualUsedDataStorageSizeTb: float allocatedStorageSizeTb: float + allowlistedIps: _list[str] apexDetails: AutonomousDatabaseApex arePrimaryAllowlistedIpsUsed: bool autonomousContainerDatabaseId: str @@ -112,6 +116,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): connectionUrls: AutonomousDatabaseConnectionUrls cpuCoreCount: int customerContacts: _list[CustomerContact] + dataGuardRoleChangedTime: str dataSafeState: typing_extensions.Literal[ "DATA_SAFE_STATE_UNSPECIFIED", "REGISTERING", @@ -138,6 +143,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): dbWorkload: typing_extensions.Literal[ "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" ] + disasterRecoveryRoleChangedTime: str failedDataRecoveryDuration: str isAutoScalingEnabled: bool isLocalDataGuardEnabled: bool @@ -294,9 +300,13 @@ class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=Fa additionalStorageCount: int availableStorageSizeGb: int computeCount: int + computeModel: typing_extensions.Literal[ + "COMPUTE_MODEL_UNSPECIFIED", "COMPUTE_MODEL_ECPU", "COMPUTE_MODEL_OCPU" + ] cpuCount: int customerContacts: _list[CustomerContact] dataStorageSizeTb: float + databaseServerType: str dbNodeStorageSizeGb: int dbServerVersion: str maintenanceWindow: MaintenanceWindow @@ -324,6 +334,7 @@ class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=Fa "MAINTENANCE_IN_PROGRESS", ] storageCount: int + storageServerType: str storageServerVersion: str totalStorageSizeGb: int @@ -344,6 +355,9 @@ class CloudVmCluster(typing_extensions.TypedDict, total=False): class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): clusterName: str compartmentId: str + computeModel: typing_extensions.Literal[ + "COMPUTE_MODEL_UNSPECIFIED", "COMPUTE_MODEL_ECPU", "COMPUTE_MODEL_OCPU" + ] cpuCoreCount: int dataStorageSizeTb: float dbNodeStorageSizeGb: int @@ -500,6 +514,7 @@ class Entitlement(typing_extensions.TypedDict, total=False): "ACCOUNT_NOT_ACTIVE", "ACTIVE", "ACCOUNT_SUSPENDED", + "NOT_APPROVED_IN_PRIVATE_MARKETPLACE", ] @typing.type_check_only @@ -662,6 +677,9 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class RestartAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class RestoreAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): restoreTime: str @@ -681,12 +699,27 @@ class ScheduledOperationDetails(typing_extensions.TypedDict, total=False): startTime: TimeOfDay stopTime: TimeOfDay +@typing.type_check_only +class SourceConfig(typing_extensions.TypedDict, total=False): + automaticBackupsReplicationEnabled: bool + autonomousDatabase: str + +@typing.type_check_only +class StartAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... + @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 StopAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class SwitchoverAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): + peerAutonomousDatabase: str + @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): hours: int diff --git a/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi b/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi index 3d3f5aa3..a8e3d191 100644 --- a/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi @@ -19,6 +19,7 @@ class GoogleCloudOrgpolicyV2Constraint(typing_extensions.TypedDict, total=False) ] description: str displayName: str + equivalentConstraint: str listConstraint: GoogleCloudOrgpolicyV2ConstraintListConstraint name: str supportsDryRun: bool diff --git a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi index 9a7aa6ee..c1f3ce0a 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi @@ -122,6 +122,18 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( ] rolloutUpdateTime: str +@typing.type_check_only +class GoogleCloudOsconfigV2__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 GoogleCloudOsconfigV2beta__OperationMetadata( typing_extensions.TypedDict, total=False @@ -265,6 +277,9 @@ class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False) nextPageToken: str vulnerabilityReports: _list[VulnerabilityReport] +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class MonthlySchedule(typing_extensions.TypedDict, total=False): monthDay: int @@ -700,6 +715,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): hours: int diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi index b6e186ed..9377fff2 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi @@ -80,6 +80,18 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( ] rolloutUpdateTime: str +@typing.type_check_only +class GoogleCloudOsconfigV2__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 GoogleCloudOsconfigV2beta__OperationMetadata( typing_extensions.TypedDict, total=False @@ -247,6 +259,9 @@ class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False) nextPageToken: str vulnerabilityReports: _list[VulnerabilityReport] +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class OSPolicy(typing_extensions.TypedDict, total=False): allowNoResourceGroupMatch: bool @@ -566,6 +581,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class VulnerabilityReport(typing_extensions.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi index 9f032f13..33cad8a7 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi @@ -128,6 +128,18 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( ] rolloutUpdateTime: str +@typing.type_check_only +class GoogleCloudOsconfigV2__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 GoogleCloudOsconfigV2beta__OperationMetadata( typing_extensions.TypedDict, total=False @@ -178,6 +190,9 @@ class LookupEffectiveGuestPolicyRequest(typing_extensions.TypedDict, total=False osShortName: str osVersion: str +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class MonthlySchedule(typing_extensions.TypedDict, total=False): monthDay: int @@ -447,6 +462,14 @@ class SoftwareRecipeStepRunScript(typing_extensions.TypedDict, total=False): ] script: str +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str + @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): hours: int diff --git a/googleapiclient-stubs/_apis/osconfig/v2/__init__.pyi b/googleapiclient-stubs/_apis/osconfig/v2/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/osconfig/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi new file mode 100644 index 00000000..916ec416 --- /dev/null +++ b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi @@ -0,0 +1,350 @@ +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 OSConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FoldersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class GlobalResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PolicyOrchestratorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + policyOrchestratorId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudOsconfigV2__PolicyOrchestratorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest, + previous_response: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse, + ) -> ( + GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def policyOrchestrators(self) -> PolicyOrchestratorsResource: ... + + @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: ... + + def global_(self) -> GlobalResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class GlobalResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PolicyOrchestratorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + policyOrchestratorId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudOsconfigV2__PolicyOrchestratorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest, + previous_response: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse, + ) -> ( + GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def policyOrchestrators(self) -> PolicyOrchestratorsResource: ... + + @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: ... + + def global_(self) -> GlobalResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class GlobalResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PolicyOrchestratorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + policyOrchestratorId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudOsconfigV2__PolicyOrchestratorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest, + previous_response: GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse, + ) -> ( + GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudOsconfigV2__PolicyOrchestrator = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def policyOrchestrators(self) -> PolicyOrchestratorsResource: ... + + @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: ... + + def global_(self) -> GlobalResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def folders(self) -> FoldersResource: ... + def organizations(self) -> OrganizationsResource: ... + def projects(self) -> ProjectsResource: ... + +@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 GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse: ... + +@typing.type_check_only +class GoogleCloudOsconfigV2__PolicyOrchestratorHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudOsconfigV2__PolicyOrchestrator: ... + +@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 OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... diff --git a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi new file mode 100644 index 00000000..17538191 --- /dev/null +++ b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi @@ -0,0 +1,386 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FixedOrPercent(typing_extensions.TypedDict, total=False): + fixed: int + percent: int + +@typing.type_check_only +class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( + typing_extensions.TypedDict, total=False +): + apiMethod: typing_extensions.Literal[ + "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" + ] + osPolicyAssignment: str + rolloutStartTime: str + rolloutState: typing_extensions.Literal[ + "ROLLOUT_STATE_UNSPECIFIED", + "IN_PROGRESS", + "CANCELLING", + "CANCELLED", + "SUCCEEDED", + ] + rolloutUpdateTime: str + +@typing.type_check_only +class GoogleCloudOsconfigV2_OrchestrationScope_LocationSelector( + typing_extensions.TypedDict, total=False +): + includedLocations: _list[str] + +@typing.type_check_only +class GoogleCloudOsconfigV2_OrchestrationScope_ResourceHierarchySelector( + typing_extensions.TypedDict, total=False +): + includedFolders: _list[str] + includedProjects: _list[str] + +@typing.type_check_only +class GoogleCloudOsconfigV2_OrchestrationScope_Selector( + typing_extensions.TypedDict, total=False +): + locationSelector: GoogleCloudOsconfigV2_OrchestrationScope_LocationSelector + resourceHierarchySelector: ( + GoogleCloudOsconfigV2_OrchestrationScope_ResourceHierarchySelector + ) + +@typing.type_check_only +class GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState( + typing_extensions.TypedDict, total=False +): + error: Status + failedActions: str + finishTime: str + iterationId: str + performedActions: str + progress: float + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED", "UNKNOWN" + ] + +@typing.type_check_only +class GoogleCloudOsconfigV2_PolicyOrchestrator_OrchestrationState( + typing_extensions.TypedDict, total=False +): + currentIterationState: GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState + previousIterationState: GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState + +@typing.type_check_only +class GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + policyOrchestrators: _list[GoogleCloudOsconfigV2__PolicyOrchestrator] + unreachable: _list[str] + +@typing.type_check_only +class GoogleCloudOsconfigV2__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 GoogleCloudOsconfigV2__OrchestratedResource( + typing_extensions.TypedDict, total=False +): + id: str + osPolicyAssignmentV1Payload: OSPolicyAssignment + +@typing.type_check_only +class GoogleCloudOsconfigV2__OrchestrationScope( + typing_extensions.TypedDict, total=False +): + selectors: _list[GoogleCloudOsconfigV2_OrchestrationScope_Selector] + +@typing.type_check_only +class GoogleCloudOsconfigV2__PolicyOrchestrator( + typing_extensions.TypedDict, total=False +): + action: str + createTime: str + description: str + etag: str + labels: dict[str, typing.Any] + name: str + orchestratedResource: GoogleCloudOsconfigV2__OrchestratedResource + orchestrationScope: GoogleCloudOsconfigV2__OrchestrationScope + orchestrationState: GoogleCloudOsconfigV2_PolicyOrchestrator_OrchestrationState + reconciling: bool + state: str + updateTime: str + +@typing.type_check_only +class GoogleCloudOsconfigV2beta__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 ListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class OSPolicy(typing_extensions.TypedDict, total=False): + allowNoResourceGroupMatch: bool + description: str + id: str + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] + resourceGroups: _list[OSPolicyResourceGroup] + +@typing.type_check_only +class OSPolicyAssignment(typing_extensions.TypedDict, total=False): + baseline: bool + deleted: bool + description: str + etag: str + instanceFilter: OSPolicyAssignmentInstanceFilter + name: str + osPolicies: _list[OSPolicy] + reconciling: bool + revisionCreateTime: str + revisionId: str + rollout: OSPolicyAssignmentRollout + rolloutState: typing_extensions.Literal[ + "ROLLOUT_STATE_UNSPECIFIED", + "IN_PROGRESS", + "CANCELLING", + "CANCELLED", + "SUCCEEDED", + ] + uid: str + +@typing.type_check_only +class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False): + all: bool + exclusionLabels: _list[OSPolicyAssignmentLabelSet] + inclusionLabels: _list[OSPolicyAssignmentLabelSet] + inventories: _list[OSPolicyAssignmentInstanceFilterInventory] + +@typing.type_check_only +class OSPolicyAssignmentInstanceFilterInventory( + typing_extensions.TypedDict, total=False +): + osShortName: str + osVersion: str + +@typing.type_check_only +class OSPolicyAssignmentLabelSet(typing_extensions.TypedDict, total=False): + labels: dict[str, typing.Any] + +@typing.type_check_only +class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): + apiMethod: typing_extensions.Literal[ + "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" + ] + osPolicyAssignment: str + rolloutStartTime: str + rolloutState: typing_extensions.Literal[ + "ROLLOUT_STATE_UNSPECIFIED", + "IN_PROGRESS", + "CANCELLING", + "CANCELLED", + "SUCCEEDED", + ] + rolloutUpdateTime: str + +@typing.type_check_only +class OSPolicyAssignmentRollout(typing_extensions.TypedDict, total=False): + disruptionBudget: FixedOrPercent + minWaitDuration: str + +@typing.type_check_only +class OSPolicyInventoryFilter(typing_extensions.TypedDict, total=False): + osShortName: str + osVersion: str + +@typing.type_check_only +class OSPolicyResource(typing_extensions.TypedDict, total=False): + exec: OSPolicyResourceExecResource + file: OSPolicyResourceFileResource + id: str + pkg: OSPolicyResourcePackageResource + repository: OSPolicyResourceRepositoryResource + +@typing.type_check_only +class OSPolicyResourceExecResource(typing_extensions.TypedDict, total=False): + enforce: OSPolicyResourceExecResourceExec + validate: OSPolicyResourceExecResourceExec + +@typing.type_check_only +class OSPolicyResourceExecResourceExec(typing_extensions.TypedDict, total=False): + args: _list[str] + file: OSPolicyResourceFile + interpreter: typing_extensions.Literal[ + "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" + ] + outputFilePath: str + script: str + +@typing.type_check_only +class OSPolicyResourceFile(typing_extensions.TypedDict, total=False): + allowInsecure: bool + gcs: OSPolicyResourceFileGcs + localPath: str + remote: OSPolicyResourceFileRemote + +@typing.type_check_only +class OSPolicyResourceFileGcs(typing_extensions.TypedDict, total=False): + bucket: str + generation: str + object: str + +@typing.type_check_only +class OSPolicyResourceFileRemote(typing_extensions.TypedDict, total=False): + sha256Checksum: str + uri: str + +@typing.type_check_only +class OSPolicyResourceFileResource(typing_extensions.TypedDict, total=False): + content: str + file: OSPolicyResourceFile + path: str + permissions: str + state: typing_extensions.Literal[ + "DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH" + ] + +@typing.type_check_only +class OSPolicyResourceGroup(typing_extensions.TypedDict, total=False): + inventoryFilters: _list[OSPolicyInventoryFilter] + resources: _list[OSPolicyResource] + +@typing.type_check_only +class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): + apt: OSPolicyResourcePackageResourceAPT + deb: OSPolicyResourcePackageResourceDeb + desiredState: typing_extensions.Literal[ + "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED" + ] + googet: OSPolicyResourcePackageResourceGooGet + msi: OSPolicyResourcePackageResourceMSI + rpm: OSPolicyResourcePackageResourceRPM + yum: OSPolicyResourcePackageResourceYUM + zypper: OSPolicyResourcePackageResourceZypper + +@typing.type_check_only +class OSPolicyResourcePackageResourceAPT(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class OSPolicyResourcePackageResourceDeb(typing_extensions.TypedDict, total=False): + pullDeps: bool + source: OSPolicyResourceFile + +@typing.type_check_only +class OSPolicyResourcePackageResourceGooGet(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class OSPolicyResourcePackageResourceMSI(typing_extensions.TypedDict, total=False): + properties: _list[str] + source: OSPolicyResourceFile + +@typing.type_check_only +class OSPolicyResourcePackageResourceRPM(typing_extensions.TypedDict, total=False): + pullDeps: bool + source: OSPolicyResourceFile + +@typing.type_check_only +class OSPolicyResourcePackageResourceYUM(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class OSPolicyResourcePackageResourceZypper(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class OSPolicyResourceRepositoryResource(typing_extensions.TypedDict, total=False): + apt: OSPolicyResourceRepositoryResourceAptRepository + goo: OSPolicyResourceRepositoryResourceGooRepository + yum: OSPolicyResourceRepositoryResourceYumRepository + zypper: OSPolicyResourceRepositoryResourceZypperRepository + +@typing.type_check_only +class OSPolicyResourceRepositoryResourceAptRepository( + typing_extensions.TypedDict, total=False +): + archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] + components: _list[str] + distribution: str + gpgKey: str + uri: str + +@typing.type_check_only +class OSPolicyResourceRepositoryResourceGooRepository( + typing_extensions.TypedDict, total=False +): + name: str + url: str + +@typing.type_check_only +class OSPolicyResourceRepositoryResourceYumRepository( + typing_extensions.TypedDict, total=False +): + baseUrl: str + displayName: str + gpgKeys: _list[str] + id: str + +@typing.type_check_only +class OSPolicyResourceRepositoryResourceZypperRepository( + typing_extensions.TypedDict, total=False +): + baseUrl: str + displayName: str + gpgKeys: _list[str] + id: 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 Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi index 02fd415e..57c86027 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi @@ -33,6 +33,18 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( ] rolloutUpdateTime: str +@typing.type_check_only +class GoogleCloudOsconfigV2__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 GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector( typing_extensions.TypedDict, total=False @@ -62,9 +74,9 @@ class GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState( error: Status failedActions: str finishTime: str + iterationId: str performedActions: str progress: float - rolloutResource: str startTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED", "UNKNOWN" @@ -132,6 +144,9 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class MessageSet(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class OSPolicy(typing_extensions.TypedDict, total=False): allowNoResourceGroupMatch: bool @@ -361,3 +376,11 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class StatusProto(typing_extensions.TypedDict, total=False): + canonicalCode: int + code: int + message: str + messageSet: MessageSet + space: str diff --git a/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi index d24b1b1e..2c3f4f5c 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1alpha/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: GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponseHttpRequest: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -46,6 +60,13 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... + def provisionPosixAccount( + self, + *, + name: str, + body: ProvisionPosixAccountRequest = ..., + **kwargs: typing.Any, + ) -> PosixAccountHttpRequest: ... def locations(self) -> LocationsResource: ... def zones(self) -> ZonesResource: ... @@ -110,6 +131,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... def users(self) -> UsersResource: ... @typing.type_check_only @@ -120,6 +142,16 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse: ... + @typing.type_check_only class ImportSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -136,6 +168,14 @@ class LoginProfileHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LoginProfile: ... +@typing.type_check_only +class PosixAccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PosixAccount: ... + @typing.type_check_only class SignSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi index f5f819f7..24cfd037 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi @@ -7,6 +7,21 @@ _list = list @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest( + typing_extensions.TypedDict, total=False +): + appEngineInstance: str + computeInstance: str + serviceAccount: str + sshPublicKey: str + +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse( + typing_extensions.TypedDict, total=False +): + signedSshPublicKey: str + @typing.type_check_only class ImportSshPublicKeyResponse(typing_extensions.TypedDict, total=False): details: str @@ -35,6 +50,10 @@ class PosixAccount(typing_extensions.TypedDict, total=False): uid: str username: str +@typing.type_check_only +class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): + regions: _list[str] + @typing.type_check_only class SecurityKey(typing_extensions.TypedDict, total=False): deviceNickname: str diff --git a/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi index c23084b9..96e55125 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1beta/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: GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponseHttpRequest: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -40,6 +54,13 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def provisionPosixAccount( + self, + *, + name: str, + body: ProvisionPosixAccountRequest = ..., + **kwargs: typing.Any, + ) -> PosixAccountHttpRequest: ... def locations(self) -> LocationsResource: ... def zones(self) -> ZonesResource: ... @@ -101,6 +122,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... def users(self) -> UsersResource: ... @typing.type_check_only @@ -111,6 +133,16 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse: ... + @typing.type_check_only class ImportSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -127,6 +159,14 @@ class LoginProfileHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LoginProfile: ... +@typing.type_check_only +class PosixAccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PosixAccount: ... + @typing.type_check_only class SignSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi index f5f819f7..13e0f04a 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi @@ -7,6 +7,21 @@ _list = list @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest( + typing_extensions.TypedDict, total=False +): + appEngineInstance: str + computeInstance: str + serviceAccount: str + sshPublicKey: str + +@typing.type_check_only +class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse( + typing_extensions.TypedDict, total=False +): + signedSshPublicKey: str + @typing.type_check_only class ImportSshPublicKeyResponse(typing_extensions.TypedDict, total=False): details: str @@ -35,6 +50,10 @@ class PosixAccount(typing_extensions.TypedDict, total=False): uid: str username: str +@typing.type_check_only +class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): + regions: _list[str] + @typing.type_check_only class SecurityKey(typing_extensions.TypedDict, total=False): deviceNickname: str diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi index cc007436..ab10f83f 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi @@ -110,6 +110,7 @@ class ParallelstoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi index 39d8d0e6..e447324c 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi @@ -18,6 +18,7 @@ class DestinationParallelstore(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExportDataRequest(typing_extensions.TypedDict, total=False): destinationGcsBucket: DestinationGcsBucket + metadataOptions: TransferMetadataOptions requestId: str serviceAccount: str sourceParallelstore: SourceParallelstore @@ -28,6 +29,7 @@ class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ImportDataRequest(typing_extensions.TypedDict, total=False): destinationParallelstore: DestinationParallelstore + metadataOptions: TransferMetadataOptions requestId: str serviceAccount: str sourceGcsBucket: SourceGcsBucket @@ -37,6 +39,7 @@ class Instance(typing_extensions.TypedDict, total=False): accessPoints: _list[str] capacityGib: str createTime: str + daosVersion: str deploymentType: typing_extensions.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT" ] @@ -111,6 +114,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@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 SourceGcsBucket(typing_extensions.TypedDict, total=False): uri: str @@ -124,3 +134,9 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class TransferMetadataOptions(typing_extensions.TypedDict, total=False): + gid: typing_extensions.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] + uid: typing_extensions.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] diff --git a/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi index 1b4389b5..5f63d1e0 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi @@ -106,6 +106,7 @@ class ParallelstoreResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi index 18372397..b61f049e 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi @@ -15,6 +15,7 @@ class DestinationParallelstore(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExportDataRequest(typing_extensions.TypedDict, total=False): destinationGcsBucket: DestinationGcsBucket + metadataOptions: TransferMetadataOptions requestId: str serviceAccount: str sourceParallelstore: SourceParallelstore @@ -25,6 +26,7 @@ class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ImportDataRequest(typing_extensions.TypedDict, total=False): destinationParallelstore: DestinationParallelstore + metadataOptions: TransferMetadataOptions requestId: str serviceAccount: str sourceGcsBucket: SourceGcsBucket @@ -34,6 +36,7 @@ class Instance(typing_extensions.TypedDict, total=False): accessPoints: _list[str] capacityGib: str createTime: str + daosVersion: str deploymentType: typing_extensions.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT" ] @@ -108,6 +111,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@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 SourceGcsBucket(typing_extensions.TypedDict, total=False): uri: str @@ -121,3 +131,9 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class TransferMetadataOptions(typing_extensions.TypedDict, total=False): + gid: typing_extensions.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] + uid: typing_extensions.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] diff --git a/googleapiclient-stubs/_apis/parametermanager/__init__.pyi b/googleapiclient-stubs/_apis/parametermanager/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/__init__.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/parametermanager/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi new file mode 100644 index 00000000..4eecabfe --- /dev/null +++ b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi @@ -0,0 +1,212 @@ +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 ParameterManagerResource(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 ParametersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ParameterVersion = ..., + parameterVersionId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> ParameterVersionHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "VIEW_UNSPECIFIED", "BASIC", "FULL" + ] = ..., + **kwargs: typing.Any, + ) -> ParameterVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListParameterVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListParameterVersionsResponseHttpRequest, + previous_response: ListParameterVersionsResponse, + ) -> ListParameterVersionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ParameterVersion = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ParameterVersionHttpRequest: ... + def render( + self, *, name: str, **kwargs: typing.Any + ) -> RenderParameterVersionResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Parameter = ..., + parameterId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> ParameterHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ParameterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListParametersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListParametersResponseHttpRequest, + previous_response: ListParametersResponse, + ) -> ListParametersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Parameter = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ParameterHttpRequest: ... + def versions(self) -> VersionsResource: ... + + 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 parameters(self) -> ParametersResource: ... + + 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 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 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 ListParameterVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListParameterVersionsResponse: ... + +@typing.type_check_only +class ListParametersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListParametersResponse: ... + +@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 ParameterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Parameter: ... + +@typing.type_check_only +class ParameterVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ParameterVersion: ... + +@typing.type_check_only +class RenderParameterVersionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RenderParameterVersionResponse: ... diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi new file mode 100644 index 00000000..6fb0efa7 --- /dev/null +++ b/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi @@ -0,0 +1,69 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ListLocationsResponse(typing_extensions.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class ListParameterVersionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + parameterVersions: _list[ParameterVersion] + unreachable: _list[str] + +@typing.type_check_only +class ListParametersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + parameters: _list[Parameter] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Parameter(typing_extensions.TypedDict, total=False): + createTime: str + format: typing_extensions.Literal[ + "PARAMETER_FORMAT_UNSPECIFIED", "UNFORMATTED", "YAML", "JSON" + ] + kmsKey: str + labels: dict[str, typing.Any] + name: str + policyMember: ResourcePolicyMember + updateTime: str + +@typing.type_check_only +class ParameterVersion(typing_extensions.TypedDict, total=False): + createTime: str + disabled: bool + kmsKeyVersion: str + name: str + payload: ParameterVersionPayload + updateTime: str + +@typing.type_check_only +class ParameterVersionPayload(typing_extensions.TypedDict, total=False): + data: str + +@typing.type_check_only +class RenderParameterVersionResponse(typing_extensions.TypedDict, total=False): + parameterVersion: str + payload: ParameterVersionPayload + renderedPayload: str + +@typing.type_check_only +class ResourcePolicyMember(typing_extensions.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi index 6a711705..cb9e1d40 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi @@ -114,6 +114,20 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): subscriptionId: str = ..., **kwargs: typing.Any, ) -> GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest: ... + def resume( + self, + *, + name: str, + body: GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponseHttpRequest: ... + def suspend( + self, + *, + name: str, + body: GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponseHttpRequest: ... def undoCancel( self, *, @@ -221,6 +235,16 @@ class GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponseHttpRequest num_retries: int = 0, ) -> GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse: ... +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse: ... + @typing.type_check_only class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest( googleapiclient.http.HttpRequest @@ -231,6 +255,16 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionHttpRequest( num_retries: int = 0, ) -> GoogleCloudPaymentsResellerSubscriptionV1Subscription: ... +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse: ... + @typing.type_check_only class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi index 8f36761d..c63383a0 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi @@ -133,6 +133,13 @@ class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse( ): userSession: GoogleCloudPaymentsResellerSubscriptionV1UserSession +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload( + typing_extensions.TypedDict, total=False +): + attachedToGoogleStructure: bool + partnerStructureId: str + @typing.type_check_only class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload( typing_extensions.TypedDict, total=False @@ -211,6 +218,7 @@ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload( typing_extensions.TypedDict, total=False ): + googleHomePayload: GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload googleOnePayload: GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload youtubePayload: GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload @@ -258,6 +266,17 @@ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetai recurrenceCount: int regionCode: str +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse( + typing_extensions.TypedDict, total=False +): + subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription + @typing.type_check_only class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod( typing_extensions.TypedDict, total=False @@ -404,9 +423,21 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetai "BILLING_CYCLE_SPEC_UNSPECIFIED", "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION", "BILLING_CYCLE_SPEC_START_IMMEDIATELY", + "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE", ] previousSubscriptionId: str +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse( + typing_extensions.TypedDict, total=False +): + subscription: GoogleCloudPaymentsResellerSubscriptionV1Subscription + @typing.type_check_only class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index 4a4613b3..6d21b61b 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -148,8 +148,7 @@ class GoogleMapsPlacesV1Circle(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleMapsPlacesV1ContentBlock(typing_extensions.TypedDict, total=False): content: GoogleTypeLocalizedText - references: GoogleMapsPlacesV1References - topic: str + referencedPlaces: _list[str] @typing.type_check_only class GoogleMapsPlacesV1ContextualContent(typing_extensions.TypedDict, total=False): @@ -222,6 +221,7 @@ class GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation( "EV_CONNECTOR_TYPE_TESLA", "EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T", "EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET", + "EV_CONNECTOR_TYPE_NACS", ] @typing.type_check_only @@ -277,7 +277,6 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): addressDescriptor: GoogleMapsPlacesV1AddressDescriptor adrFormatAddress: str allowsDogs: bool - areaSummary: GoogleMapsPlacesV1PlaceAreaSummary attributions: _list[GoogleMapsPlacesV1PlaceAttribution] businessStatus: typing_extensions.Literal[ "BUSINESS_STATUS_UNSPECIFIED", @@ -293,6 +292,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): dineIn: bool displayName: GoogleTypeLocalizedText editorialSummary: GoogleTypeLocalizedText + evChargeAmenitySummary: GoogleMapsPlacesV1PlaceEvChargeAmenitySummary evChargeOptions: GoogleMapsPlacesV1EVChargeOptions formattedAddress: str fuelOptions: GoogleMapsPlacesV1FuelOptions @@ -311,11 +311,13 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): menuForChildren: bool name: str nationalPhoneNumber: str + neighborhoodSummary: GoogleMapsPlacesV1PlaceNeighborhoodSummary outdoorSeating: bool parkingOptions: GoogleMapsPlacesV1PlaceParkingOptions paymentOptions: GoogleMapsPlacesV1PlacePaymentOptions photos: _list[GoogleMapsPlacesV1Photo] plusCode: GoogleMapsPlacesV1PlacePlusCode + postalAddress: GoogleTypePostalAddress priceLevel: typing_extensions.Literal[ "PRICE_LEVEL_UNSPECIFIED", "PRICE_LEVEL_FREE", @@ -333,6 +335,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): regularSecondaryOpeningHours: _list[GoogleMapsPlacesV1PlaceOpeningHours] reservable: bool restroom: bool + reviewSummary: GoogleMapsPlacesV1PlaceReviewSummary reviews: _list[GoogleMapsPlacesV1Review] servesBeer: bool servesBreakfast: bool @@ -347,6 +350,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): shortFormattedAddress: str subDestinations: _list[GoogleMapsPlacesV1PlaceSubDestination] takeout: bool + timeZone: GoogleTypeTimeZone types: _list[str] userRatingCount: int utcOffsetMinutes: int @@ -369,11 +373,6 @@ class GoogleMapsPlacesV1PlaceAddressComponent(typing_extensions.TypedDict, total shortText: str types: _list[str] -@typing.type_check_only -class GoogleMapsPlacesV1PlaceAreaSummary(typing_extensions.TypedDict, total=False): - contentBlocks: _list[GoogleMapsPlacesV1ContentBlock] - flagContentUri: str - @typing.type_check_only class GoogleMapsPlacesV1PlaceAttribution(typing_extensions.TypedDict, total=False): provider: str @@ -384,15 +383,24 @@ class GoogleMapsPlacesV1PlaceContainingPlace(typing_extensions.TypedDict, total= id: str name: str +@typing.type_check_only +class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary( + typing_extensions.TypedDict, total=False +): + coffee: GoogleMapsPlacesV1ContentBlock + disclosureText: GoogleTypeLocalizedText + flagContentUri: str + overview: GoogleMapsPlacesV1ContentBlock + restaurant: GoogleMapsPlacesV1ContentBlock + store: GoogleMapsPlacesV1ContentBlock + @typing.type_check_only class GoogleMapsPlacesV1PlaceGenerativeSummary( typing_extensions.TypedDict, total=False ): - description: GoogleTypeLocalizedText - descriptionFlagContentUri: str + disclosureText: GoogleTypeLocalizedText overview: GoogleTypeLocalizedText overviewFlagContentUri: str - references: GoogleMapsPlacesV1References @typing.type_check_only class GoogleMapsPlacesV1PlaceGoogleMapsLinks(typing_extensions.TypedDict, total=False): @@ -402,6 +410,15 @@ class GoogleMapsPlacesV1PlaceGoogleMapsLinks(typing_extensions.TypedDict, total= reviewsUri: str writeAReviewUri: str +@typing.type_check_only +class GoogleMapsPlacesV1PlaceNeighborhoodSummary( + typing_extensions.TypedDict, total=False +): + description: GoogleMapsPlacesV1ContentBlock + disclosureText: GoogleTypeLocalizedText + flagContentUri: str + overview: GoogleMapsPlacesV1ContentBlock + @typing.type_check_only class GoogleMapsPlacesV1PlaceOpeningHours(typing_extensions.TypedDict, total=False): nextCloseTime: str @@ -472,6 +489,13 @@ class GoogleMapsPlacesV1PlacePlusCode(typing_extensions.TypedDict, total=False): compoundCode: str globalCode: str +@typing.type_check_only +class GoogleMapsPlacesV1PlaceReviewSummary(typing_extensions.TypedDict, total=False): + disclosureText: GoogleTypeLocalizedText + flagContentUri: str + reviewsUri: str + text: GoogleTypeLocalizedText + @typing.type_check_only class GoogleMapsPlacesV1PlaceSubDestination(typing_extensions.TypedDict, total=False): id: str @@ -486,11 +510,6 @@ class GoogleMapsPlacesV1PriceRange(typing_extensions.TypedDict, total=False): endPrice: GoogleTypeMoney startPrice: GoogleTypeMoney -@typing.type_check_only -class GoogleMapsPlacesV1References(typing_extensions.TypedDict, total=False): - places: _list[str] - reviews: _list[GoogleMapsPlacesV1Review] - @typing.type_check_only class GoogleMapsPlacesV1Review(typing_extensions.TypedDict, total=False): authorAttribution: GoogleMapsPlacesV1AuthorAttribution @@ -610,6 +629,7 @@ class GoogleMapsPlacesV1SearchTextRequestEVOptions( "EV_CONNECTOR_TYPE_TESLA", "EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T", "EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET", + "EV_CONNECTOR_TYPE_NACS", ] ] minimumChargingRateKw: float @@ -662,3 +682,22 @@ class GoogleTypeMoney(typing_extensions.TypedDict, total=False): currencyCode: str nanos: int units: str + +@typing.type_check_only +class GoogleTypePostalAddress(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 GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi index 9fa78a3e..550e04a4 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi @@ -227,6 +227,27 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class LmkrateResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GooglePlayDeveloperReportingV1alpha1LmkRateMetricSetHttpRequest: ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest = ..., + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class SlowrenderingrateResource(googleapiclient.discovery.Resource): def get( @@ -296,6 +317,7 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): def crashrate(self) -> CrashrateResource: ... def errors(self) -> ErrorsResource: ... def excessivewakeuprate(self) -> ExcessivewakeuprateResource: ... + def lmkrate(self) -> LmkrateResource: ... def slowrenderingrate(self) -> SlowrenderingrateResource: ... def slowstartrate(self) -> SlowstartrateResource: ... def stuckbackgroundwakelockrate( @@ -368,6 +390,16 @@ class GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponseHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1LmkRateMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest @@ -410,6 +442,16 @@ class GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRespo GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse ): ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi index 39210c75..b6d32205 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi @@ -153,6 +153,13 @@ class GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse( anomalies: _list[GooglePlayDeveloperReportingV1alpha1Anomaly] nextPageToken: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet( + typing_extensions.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1MetricValue( typing_extensions.TypedDict, total=False @@ -261,6 +268,27 @@ class GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRespo nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest( + typing_extensions.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec + userCohort: typing_extensions.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi index aac60da7..3dbfcf46 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi @@ -227,6 +227,27 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class LmkrateResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GooglePlayDeveloperReportingV1beta1LmkRateMetricSetHttpRequest: ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest = ..., + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class SlowrenderingrateResource(googleapiclient.discovery.Resource): def get( @@ -298,6 +319,7 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): def crashrate(self) -> CrashrateResource: ... def errors(self) -> ErrorsResource: ... def excessivewakeuprate(self) -> ExcessivewakeuprateResource: ... + def lmkrate(self) -> LmkrateResource: ... def slowrenderingrate(self) -> SlowrenderingrateResource: ... def slowstartrate(self) -> SlowstartrateResource: ... def stuckbackgroundwakelockrate( @@ -370,6 +392,16 @@ class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponseHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1LmkRateMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1LmkRateMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest @@ -412,6 +444,16 @@ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRespon GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse ): ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi index e7079e5e..d0f1cd38 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi @@ -153,6 +153,13 @@ class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse( anomalies: _list[GooglePlayDeveloperReportingV1beta1Anomaly] nextPageToken: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1LmkRateMetricSet( + typing_extensions.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1MetricValue( typing_extensions.TypedDict, total=False @@ -261,6 +268,27 @@ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRespon nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest( + typing_extensions.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec + userCohort: typing_extensions.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi b/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi index 53a06689..d8ac2666 100644 --- a/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi @@ -32,6 +32,13 @@ class PlayIntegrityResource(googleapiclient.discovery.Resource): body: DecodeIntegrityTokenRequest = ..., **kwargs: typing.Any, ) -> DecodeIntegrityTokenResponseHttpRequest: ... + def decodePcIntegrityToken( + self, + *, + packageName: str, + body: DecodePcIntegrityTokenRequest = ..., + **kwargs: typing.Any, + ) -> DecodePcIntegrityTokenResponseHttpRequest: ... def new_batch_http_request( self, @@ -56,6 +63,14 @@ class DecodeIntegrityTokenResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DecodeIntegrityTokenResponse: ... +@typing.type_check_only +class DecodePcIntegrityTokenResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DecodePcIntegrityTokenResponse: ... + @typing.type_check_only class WriteDeviceRecallResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi index fdabb2b0..056e44bf 100644 --- a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi @@ -37,22 +37,6 @@ class AppAccessRiskVerdict(typing_extensions.TypedDict, total=False): "UNKNOWN_CONTROLLING", ] ] - otherApps: typing_extensions.Literal[ - "UNKNOWN", - "UNEVALUATED", - "NOT_INSTALLED", - "INSTALLED", - "CAPTURING", - "CONTROLLING", - ] - playOrSystemApps: typing_extensions.Literal[ - "UNKNOWN", - "UNEVALUATED", - "NOT_INSTALLED", - "INSTALLED", - "CAPTURING", - "CONTROLLING", - ] @typing.type_check_only class AppIntegrity(typing_extensions.TypedDict, total=False): @@ -71,6 +55,14 @@ class DecodeIntegrityTokenRequest(typing_extensions.TypedDict, total=False): class DecodeIntegrityTokenResponse(typing_extensions.TypedDict, total=False): tokenPayloadExternal: TokenPayloadExternal +@typing.type_check_only +class DecodePcIntegrityTokenRequest(typing_extensions.TypedDict, total=False): + integrityToken: str + +@typing.type_check_only +class DecodePcIntegrityTokenResponse(typing_extensions.TypedDict, total=False): + tokenPayloadExternal: PcTokenPayloadExternal + @typing.type_check_only class DeviceAttributes(typing_extensions.TypedDict, total=False): sdkVersion: int @@ -117,6 +109,25 @@ class EnvironmentDetails(typing_extensions.TypedDict, total=False): "POSSIBLE_RISK", ] +@typing.type_check_only +class PcDeviceIntegrity(typing_extensions.TypedDict, total=False): + deviceRecognitionVerdict: _list[ + typing_extensions.Literal[ + "DEVICE_RECOGNITION_VERDICT_UNSPECIFIED", "MEETS_PC_INTEGRITY" + ] + ] + +@typing.type_check_only +class PcRequestDetails(typing_extensions.TypedDict, total=False): + requestHash: str + requestPackageName: str + requestTime: str + +@typing.type_check_only +class PcTokenPayloadExternal(typing_extensions.TypedDict, total=False): + deviceIntegrity: PcDeviceIntegrity + requestDetails: PcRequestDetails + @typing.type_check_only class RecentDeviceActivity(typing_extensions.TypedDict, total=False): deviceActivityLevel: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi index 7c6f71f5..6dd58576 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi @@ -17,6 +17,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class FoldersResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -85,6 +95,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -116,6 +127,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -126,7 +147,56 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class OrgPolicyViolationsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponseHttpRequest, + previous_response: GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse, + ) -> ( + GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview = ..., + orgPolicyViolationsPreviewId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewHttpRequest + ): ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponseHttpRequest, + previous_response: GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse, + ) -> ( + GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponseHttpRequest + | None + ): ... def operations(self) -> OperationsResource: ... + def orgPolicyViolations(self) -> OrgPolicyViolationsResource: ... @typing.type_check_only class ReplaysResource(googleapiclient.discovery.Resource): @@ -184,6 +254,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -195,6 +266,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -263,6 +344,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -287,6 +369,26 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse: ... + +@typing.type_check_only +class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse: ... + @typing.type_check_only class GoogleCloudPolicysimulatorV1ListReplayResultsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -297,6 +399,16 @@ class GoogleCloudPolicysimulatorV1ListReplayResultsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudPolicysimulatorV1ListReplayResultsResponse: ... +@typing.type_check_only +class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview: ... + @typing.type_check_only class GoogleCloudPolicysimulatorV1ReplayHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi index 82cdd302..1cb4f473 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi @@ -162,69 +162,69 @@ class GoogleCloudPolicysimulatorV1ExplainedPolicy( ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ListReplayResultsResponse( +class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse( typing_extensions.TypedDict, total=False ): nextPageToken: str - replayResults: _list[GoogleCloudPolicysimulatorV1ReplayResult] + orgPolicyViolationsPreviews: _list[ + GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview + ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): - config: GoogleCloudPolicysimulatorV1ReplayConfig - name: str - resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" - ] +class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + orgPolicyViolations: _list[GoogleCloudPolicysimulatorV1OrgPolicyViolation] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayConfig( +class GoogleCloudPolicysimulatorV1ListReplayResultsResponse( typing_extensions.TypedDict, total=False ): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] - policyOverlay: dict[str, typing.Any] + nextPageToken: str + replayResults: _list[GoogleCloudPolicysimulatorV1ReplayResult] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayDiff(typing_extensions.TypedDict, total=False): - accessDiff: GoogleCloudPolicysimulatorV1AccessStateDiff +class GoogleCloudPolicysimulatorV1OrgPolicyOverlay( + typing_extensions.TypedDict, total=False +): + customConstraints: _list[ + GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay + ] + policies: _list[GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( +class GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay( typing_extensions.TypedDict, total=False ): - startTime: str + customConstraint: GoogleCloudOrgpolicyV2CustomConstraint + customConstraintParent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResult( +class GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay( typing_extensions.TypedDict, total=False ): - accessTuple: GoogleCloudPolicysimulatorV1AccessTuple - diff: GoogleCloudPolicysimulatorV1ReplayDiff - error: GoogleRpcStatus - lastSeenDate: GoogleTypeDate - name: str - parent: str + policy: GoogleCloudOrgpolicyV2Policy + policyParent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResultsSummary( +class GoogleCloudPolicysimulatorV1OrgPolicyViolation( typing_extensions.TypedDict, total=False ): - differenceCount: int - errorCount: int - logCount: int - newestDate: GoogleTypeDate - oldestDate: GoogleTypeDate - unchangedCount: int + customConstraint: GoogleCloudOrgpolicyV2CustomConstraint + error: GoogleRpcStatus + name: str + resource: GoogleCloudPolicysimulatorV1ResourceContext @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperationMetadata( +class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview( typing_extensions.TypedDict, total=False ): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str + createTime: str + customConstraints: _list[str] + name: str + overlay: GoogleCloudPolicysimulatorV1OrgPolicyOverlay + resourceCounts: GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts state: typing_extensions.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", @@ -232,76 +232,73 @@ class GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperation "PREVIEW_SUCCEEDED", "PREVIEW_FAILED", ] + violationsCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaGenerateOrgPolicyViolationsPreviewOperationMetadata( +class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts( typing_extensions.TypedDict, total=False ): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str + compliant: int + errors: int + noncompliant: int + scanned: int + unenforced: int + +@typing.type_check_only +class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): + config: GoogleCloudPolicysimulatorV1ReplayConfig + name: str + resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", + "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay( +class GoogleCloudPolicysimulatorV1ReplayConfig( typing_extensions.TypedDict, total=False ): - customConstraints: _list[ - GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay - ] - policies: _list[GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay] + logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] + policyOverlay: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudPolicysimulatorV1ReplayDiff(typing_extensions.TypedDict, total=False): + accessDiff: GoogleCloudPolicysimulatorV1AccessStateDiff @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay( +class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( typing_extensions.TypedDict, total=False ): - customConstraint: GoogleCloudOrgpolicyV2CustomConstraint - customConstraintParent: str + startTime: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay( +class GoogleCloudPolicysimulatorV1ReplayResult( typing_extensions.TypedDict, total=False ): - policy: GoogleCloudOrgpolicyV2Policy - policyParent: str + accessTuple: GoogleCloudPolicysimulatorV1AccessTuple + diff: GoogleCloudPolicysimulatorV1ReplayDiff + error: GoogleRpcStatus + lastSeenDate: GoogleTypeDate + name: str + parent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview( +class GoogleCloudPolicysimulatorV1ReplayResultsSummary( typing_extensions.TypedDict, total=False ): - createTime: str - customConstraints: _list[str] - name: str - overlay: GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay - resourceCounts: ( - GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts - ) - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - violationsCount: int + differenceCount: int + errorCount: int + logCount: int + newestDate: GoogleTypeDate + oldestDate: GoogleTypeDate + unchangedCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts( +class GoogleCloudPolicysimulatorV1ResourceContext( typing_extensions.TypedDict, total=False ): - compliant: int - errors: int - noncompliant: int - scanned: int - unenforced: int + ancestors: _list[str] + assetType: str + resource: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata( diff --git a/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi index a0736958..f6a301b8 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi @@ -17,6 +17,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class FoldersResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -51,56 +61,9 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - @typing.type_check_only - class ResultsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest - | None - ): ... - - def create( - self, - *, - parent: str, - body: GoogleCloudPolicysimulatorV1alphaReplay = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudPolicysimulatorV1alphaReplayHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplaysResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - | None - ): ... def operations(self) -> OperationsResource: ... - def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -132,6 +95,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -142,61 +115,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class OrgPolicyViolationsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponseHttpRequest - | None - ): ... - - def create( - self, - *, - parent: str, - body: GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview = ..., - orgPolicyViolationsPreviewId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def generate( - self, - *, - parent: str, - body: GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponseHttpRequest - | None - ): ... def operations(self) -> OperationsResource: ... - def orgPolicyViolations(self) -> OrgPolicyViolationsResource: ... @typing.type_check_only class ReplaysResource(googleapiclient.discovery.Resource): @@ -220,56 +139,9 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - @typing.type_check_only - class ResultsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest - | None - ): ... - - def create( - self, - *, - parent: str, - body: GoogleCloudPolicysimulatorV1alphaReplay = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudPolicysimulatorV1alphaReplayHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplaysResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - | None - ): ... def operations(self) -> OperationsResource: ... - def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -281,6 +153,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -315,56 +197,9 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - @typing.type_check_only - class ResultsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest - | None - ): ... - - def create( - self, - *, - parent: str, - body: GoogleCloudPolicysimulatorV1alphaReplay = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudPolicysimulatorV1alphaReplayHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest, - previous_response: GoogleCloudPolicysimulatorV1alphaListReplaysResponse, - ) -> ( - GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest - | None - ): ... def operations(self) -> OperationsResource: ... - def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -389,66 +224,6 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse: ... - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse: ... - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListReplayResultsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse: ... - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListReplaysResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaListReplaysResponse: ... - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview: ... - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplayHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudPolicysimulatorV1alphaReplay: ... - @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi index 1f1b40c2..bf2e868c 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi @@ -98,282 +98,6 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( oldestDate: GoogleTypeDate unchangedCount: int -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaAccessStateDiff( - typing_extensions.TypedDict, total=False -): - accessChange: typing_extensions.Literal[ - "ACCESS_CHANGE_TYPE_UNSPECIFIED", - "NO_CHANGE", - "UNKNOWN_CHANGE", - "ACCESS_REVOKED", - "ACCESS_GAINED", - "ACCESS_MAYBE_REVOKED", - "ACCESS_MAYBE_GAINED", - ] - baseline: GoogleCloudPolicysimulatorV1alphaExplainedAccess - simulated: GoogleCloudPolicysimulatorV1alphaExplainedAccess - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaAccessTuple( - typing_extensions.TypedDict, total=False -): - fullResourceName: str - permission: str - principal: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaBindingExplanation( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ - "ACCESS_STATE_UNSPECIFIED", - "GRANTED", - "NOT_GRANTED", - "UNKNOWN_CONDITIONAL", - "UNKNOWN_INFO_DENIED", - ] - condition: GoogleTypeExpr - memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] - role: str - rolePermission: typing_extensions.Literal[ - "ROLE_PERMISSION_UNSPECIFIED", - "ROLE_PERMISSION_INCLUDED", - "ROLE_PERMISSION_NOT_INCLUDED", - "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", - ] - rolePermissionRelevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaBindingExplanationAnnotatedMembership( - typing_extensions.TypedDict, total=False -): - membership: typing_extensions.Literal[ - "MEMBERSHIP_UNSPECIFIED", - "MEMBERSHIP_INCLUDED", - "MEMBERSHIP_NOT_INCLUDED", - "MEMBERSHIP_UNKNOWN_INFO_DENIED", - "MEMBERSHIP_UNKNOWN_UNSUPPORTED", - ] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False -): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaExplainedAccess( - typing_extensions.TypedDict, total=False -): - accessState: typing_extensions.Literal[ - "ACCESS_STATE_UNSPECIFIED", - "GRANTED", - "NOT_GRANTED", - "UNKNOWN_CONDITIONAL", - "UNKNOWN_INFO_DENIED", - ] - errors: _list[GoogleRpcStatus] - policies: _list[GoogleCloudPolicysimulatorV1alphaExplainedPolicy] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaExplainedPolicy( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ - "ACCESS_STATE_UNSPECIFIED", - "GRANTED", - "NOT_GRANTED", - "UNKNOWN_CONDITIONAL", - "UNKNOWN_INFO_DENIED", - ] - bindingExplanations: _list[GoogleCloudPolicysimulatorV1alphaBindingExplanation] - fullResourceName: str - policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaGenerateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False -): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - orgPolicyViolationsPreviews: _list[ - GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - orgPolicyViolations: _list[GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - replayResults: _list[GoogleCloudPolicysimulatorV1alphaReplayResult] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaListReplaysResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - replays: _list[GoogleCloudPolicysimulatorV1alphaReplay] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): - customConstraints: _list[ - GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay - ] - policies: _list[GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False -): - customConstraint: GoogleCloudOrgpolicyV2CustomConstraint - customConstraintParent: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False -): - policy: GoogleCloudOrgpolicyV2Policy - policyParent: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation( - typing_extensions.TypedDict, total=False -): - customConstraint: GoogleCloudOrgpolicyV2CustomConstraint - error: GoogleRpcStatus - name: str - resource: GoogleCloudPolicysimulatorV1alphaResourceContext - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False -): - createTime: str - customConstraints: _list[str] - name: str - overlay: GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay - resourceCounts: ( - GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts - ) - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - violationsCount: int - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False -): - compliant: int - errors: int - noncompliant: int - scanned: int - unenforced: int - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplay(typing_extensions.TypedDict, total=False): - config: GoogleCloudPolicysimulatorV1alphaReplayConfig - name: str - resultsSummary: GoogleCloudPolicysimulatorV1alphaReplayResultsSummary - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] - policyOverlay: dict[str, typing.Any] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplayDiff( - typing_extensions.TypedDict, total=False -): - accessDiff: GoogleCloudPolicysimulatorV1alphaAccessStateDiff - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplayResult( - typing_extensions.TypedDict, total=False -): - accessTuple: GoogleCloudPolicysimulatorV1alphaAccessTuple - diff: GoogleCloudPolicysimulatorV1alphaReplayDiff - error: GoogleRpcStatus - lastSeenDate: GoogleTypeDate - name: str - parent: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaReplayResultsSummary( - typing_extensions.TypedDict, total=False -): - differenceCount: int - errorCount: int - logCount: int - newestDate: GoogleTypeDate - oldestDate: GoogleTypeDate - unchangedCount: int - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaResourceContext( - typing_extensions.TypedDict, total=False -): - ancestors: _list[str] - assetType: str - resource: str - @typing.type_check_only class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi index 739c9e4f..0dc1bddf 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi @@ -17,6 +17,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class FoldersResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -99,6 +109,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -130,6 +141,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -266,6 +287,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... @@ -277,6 +299,16 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessPolicySimulationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class OrgPolicyViolationsPreviewsResource( googleapiclient.discovery.Resource @@ -359,6 +391,7 @@ class PolicySimulatorResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def results(self) -> ResultsResource: ... + def accessPolicySimulations(self) -> AccessPolicySimulationsResource: ... def orgPolicyViolationsPreviews( self, ) -> OrgPolicyViolationsPreviewsResource: ... diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi index 9336f93c..dfa9f5af 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi @@ -98,93 +98,6 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( oldestDate: GoogleTypeDate unchangedCount: int -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False -): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaGenerateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False -): - requestTime: str - resourcesFound: int - resourcesPending: int - resourcesScanned: int - startTime: str - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): - customConstraints: _list[ - GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay - ] - policies: _list[GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay] - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False -): - customConstraint: GoogleCloudOrgpolicyV2CustomConstraint - customConstraintParent: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False -): - policy: GoogleCloudOrgpolicyV2Policy - policyParent: str - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False -): - createTime: str - customConstraints: _list[str] - name: str - overlay: GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay - resourceCounts: ( - GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts - ) - state: typing_extensions.Literal[ - "PREVIEW_STATE_UNSPECIFIED", - "PREVIEW_PENDING", - "PREVIEW_RUNNING", - "PREVIEW_SUCCEEDED", - "PREVIEW_FAILED", - ] - violationsCount: int - -@typing.type_check_only -class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False -): - compliant: int - errors: int - noncompliant: int - scanned: int - unenforced: int - @typing.type_check_only class GoogleCloudPolicysimulatorV1betaAccessStateDiff( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/privateca/v1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi index 888422ca..7f15715f 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi @@ -382,6 +382,7 @@ class CertificateAuthorityServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi index 9eace21e..af4c3d82 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi @@ -20,6 +20,22 @@ class AllowedKeyType(typing_extensions.TypedDict, total=False): ellipticCurve: EcKeyType rsa: RsaKeyType +@typing.type_check_only +class AttributeTypeAndValue(typing_extensions.TypedDict, total=False): + objectId: ObjectId + type: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", + "COMMON_NAME", + "COUNTRY_CODE", + "ORGANIZATION", + "ORGANIZATIONAL_UNIT", + "LOCALITY", + "PROVINCE", + "STREET_ADDRESS", + "POSTAL_CODE", + ] + value: str + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -73,7 +89,10 @@ class Certificate(typing_extensions.TypedDict, total=False): pemCsr: str revocationDetails: RevocationDetails subjectMode: typing_extensions.Literal[ - "SUBJECT_REQUEST_MODE_UNSPECIFIED", "DEFAULT", "REFLECTED_SPIFFE" + "SUBJECT_REQUEST_MODE_UNSPECIFIED", + "DEFAULT", + "RDN_SEQUENCE", + "REFLECTED_SPIFFE", ] updateTime: str @@ -105,6 +124,7 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): tier: typing_extensions.Literal["TIER_UNSPECIFIED", "ENTERPRISE", "DEVOPS"] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SELF_SIGNED", "SUBORDINATE"] updateTime: str + userDefinedAccessUrls: UserDefinedAccessUrls @typing.type_check_only class CertificateConfig(typing_extensions.TypedDict, total=False): @@ -234,6 +254,7 @@ class IssuanceModes(typing_extensions.TypedDict, total=False): class IssuancePolicy(typing_extensions.TypedDict, total=False): allowedIssuanceModes: IssuanceModes allowedKeyTypes: _list[AllowedKeyType] + backdateDuration: str baselineValues: X509Parameters identityConstraints: CertificateIdentityConstraints maximumLifetime: str @@ -385,6 +406,10 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class RelativeDistinguishedName(typing_extensions.TypedDict, total=False): + attributes: _list[AttributeTypeAndValue] + @typing.type_check_only class RevocationDetails(typing_extensions.TypedDict, total=False): revocationState: typing_extensions.Literal[ @@ -456,6 +481,7 @@ class Subject(typing_extensions.TypedDict, total=False): organizationalUnit: str postalCode: str province: str + rdnSequence: _list[RelativeDistinguishedName] streetAddress: str @typing.type_check_only @@ -501,6 +527,11 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): class UndeleteCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class UserDefinedAccessUrls(typing_extensions.TypedDict, total=False): + aiaIssuingCertificateUrls: _list[str] + crlAccessUrls: _list[str] + @typing.type_check_only class X509Extension(typing_extensions.TypedDict, total=False): critical: bool diff --git a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi index 0e3978a1..6808adc4 100644 --- a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi @@ -131,6 +131,7 @@ class CertificateAuthorityServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi index 3555ace5..b6401ccb 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi @@ -189,6 +189,11 @@ class IngestionDataSourceSettings(typing_extensions.TypedDict, total=False): confluentCloud: ConfluentCloud platformLogsSettings: PlatformLogsSettings +@typing.type_check_only +class JavaScriptUDF(typing_extensions.TypedDict, total=False): + code: str + functionName: str + @typing.type_check_only class ListSchemaRevisionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -229,6 +234,12 @@ class MessageStoragePolicy(typing_extensions.TypedDict, total=False): allowedPersistenceRegions: _list[str] enforceInTransit: bool +@typing.type_check_only +class MessageTransform(typing_extensions.TypedDict, total=False): + disabled: bool + enabled: bool + javascriptUdf: JavaScriptUDF + @typing.type_check_only class ModifyAckDeadlineRequest(typing_extensions.TypedDict, total=False): ackDeadlineSeconds: int @@ -361,6 +372,7 @@ class Subscription(typing_extensions.TypedDict, total=False): filter: str labels: dict[str, typing.Any] messageRetentionDuration: str + messageTransforms: _list[MessageTransform] name: str pushConfig: PushConfig retainAckedMessages: bool @@ -391,6 +403,7 @@ class Topic(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] messageRetentionDuration: str messageStoragePolicy: MessageStoragePolicy + messageTransforms: _list[MessageTransform] name: str satisfiesPzs: bool schemaSettings: SchemaSettings diff --git a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi index 204ac2f0..29d32907 100644 --- a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi @@ -131,6 +131,7 @@ class RapidMigrationAssessmentResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi index 24584a1d..a29abcfa 100644 --- a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi @@ -18,6 +18,9 @@ class Entitlement(typing_extensions.TypedDict, total=False): class Reader(typing_extensions.TypedDict, total=False): createTime: str name: str + originatingPublicationId: str + ppid: str + publicationId: str @typing.type_check_only class ReaderEntitlements(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi b/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi index 8d9dde4d..a348a305 100644 --- a/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi @@ -212,7 +212,9 @@ class CreativeServingDecision(typing_extensions.TypedDict, total=False): ] detectedCategories: _list[str] detectedCategoriesTaxonomy: typing_extensions.Literal[ - "AD_CATEGORY_TAXONOMY_UNSPECIFIED", "IAB_CONTENT_1_0" + "AD_CATEGORY_TAXONOMY_UNSPECIFIED", + "GOOGLE_AD_CATEGORY_TAXONOMY", + "IAB_CONTENT_1_0", ] detectedClickThroughUrls: _list[str] detectedDomains: _list[str] diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi index 993306d4..32a73e0f 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi @@ -130,6 +130,13 @@ class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment( client: str version: str +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1Bot(typing_extensions.TypedDict, total=False): + botType: typing_extensions.Literal[ + "BOT_TYPE_UNSPECIFIED", "AI_AGENT", "CONTENT_SCRAPER", "SEARCH_INDEXER" + ] + name: str + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics( typing_extensions.TypedDict, total=False @@ -159,6 +166,7 @@ class GoogleCloudRecaptchaenterpriseV1Event(typing_extensions.TypedDict, total=F hashedAccountId: str headers: _list[str] ja3: str + ja4: str requestedUri: str siteKey: str token: str @@ -246,6 +254,9 @@ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment( cardTestingVerdict: ( GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict ) + riskReasons: _list[ + GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason + ] stolenInstrumentVerdict: ( GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict ) @@ -263,6 +274,19 @@ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdic ): risk: float +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason( + typing_extensions.TypedDict, total=False +): + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "HIGH_TRANSACTION_VELOCITY", + "EXCESSIVE_ENUMERATION_PATTERN", + "SHORT_IDENTITY_HISTORY", + "GEOLOCATION_DISCREPANCY", + "ASSOCIATED_WITH_FRAUD_CLUSTER", + ] + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict( typing_extensions.TypedDict, total=False @@ -449,6 +473,7 @@ class GoogleCloudRecaptchaenterpriseV1RiskAnalysis( ] ] score: float + verifiedBots: _list[GoogleCloudRecaptchaenterpriseV1Bot] @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ScoreDistribution( @@ -647,10 +672,28 @@ class GoogleCloudRecaptchaenterpriseV1WebKeySettings( challengeSecurityPreference: typing_extensions.Literal[ "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED", "USABILITY", "BALANCE", "SECURITY" ] + challengeSettings: GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings integrationType: typing_extensions.Literal[ - "INTEGRATION_TYPE_UNSPECIFIED", "SCORE", "CHECKBOX", "INVISIBLE" + "INTEGRATION_TYPE_UNSPECIFIED", + "SCORE", + "CHECKBOX", + "INVISIBLE", + "POLICY_BASED_CHALLENGE", ] +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings( + typing_extensions.TypedDict, total=False +): + scoreThreshold: float + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings( + typing_extensions.TypedDict, total=False +): + actionSettings: dict[str, typing.Any] + defaultSettings: GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings + @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi index 7fa10cd2..aa7c82b2 100644 --- a/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi @@ -136,6 +136,7 @@ class RecommenderResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -250,6 +251,7 @@ class RecommenderResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -401,6 +403,7 @@ class RecommenderResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -539,6 +542,7 @@ class RecommenderResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/redis/v1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1/resources.pyi index a60082c1..7a64b9c0 100644 --- a/googleapiclient-stubs/_apis/redis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/resources.pyi @@ -232,6 +232,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index 80d69665..1d6a0d84 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -69,6 +69,7 @@ class BackupClusterRequest(typing_extensions.TypedDict, total=False): class BackupCollection(typing_extensions.TypedDict, total=False): cluster: str clusterUid: str + createTime: str kmsKey: str name: str uid: str @@ -103,6 +104,7 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): + allowFewerZonesDeployment: bool asyncClusterEndpointsDeletionEnabled: bool authorizationMode: typing_extensions.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" @@ -128,6 +130,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL", ] + ondemandMaintenance: bool persistenceConfig: ClusterPersistenceConfig preciseSizeGb: float pscConfigs: _list[PscConfig] @@ -136,6 +139,7 @@ class Cluster(typing_extensions.TypedDict, total=False): redisConfigs: dict[str, typing.Any] replicaCount: int shardCount: int + simulateMaintenanceEvent: bool sizeGb: int state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" @@ -191,6 +195,21 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str +@typing.type_check_only +class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + 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 ConnectionDetail(typing_extensions.TypedDict, total=False): pscAutoConnection: PscAutoConnection @@ -212,6 +231,7 @@ class CustomMetadataData(typing_extensions.TypedDict, total=False): @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): + configBasedSignalData: ConfigBasedSignalData feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -219,6 +239,7 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): "OBSERVABILITY_DATA", "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", + "CONFIG_BASED_SIGNAL_DATA", ] observabilityMetricData: ObservabilityMetricData recommendationSignalData: DatabaseResourceRecommendationSignalData @@ -233,6 +254,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) description: str eventTime: str externalUri: str + location: str name: str provider: typing_extensions.Literal[ "PROVIDER_UNSPECIFIED", @@ -339,6 +361,22 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -384,6 +422,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "DELETED", "STATE_OTHER", ] + gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId instanceType: typing_extensions.Literal[ "INSTANCE_TYPE_UNSPECIFIED", @@ -395,6 +434,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", "SUB_RESOURCE_TYPE_READ_REPLICA", + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] location: str @@ -404,6 +444,15 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): product: Product resourceContainer: str resourceName: str + suspensionReason: typing_extensions.Literal[ + "SUSPENSION_REASON_UNSPECIFIED", + "WIPEOUT_HIDE_EVENT", + "WIPEOUT_PURGE_EVENT", + "BILLING_DISABLED", + "ABUSER_DETECTED", + "ENCRYPTION_KEY_INACCESSIBLE", + "REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE", + ] tagsSet: Tags updationTime: str userLabelSet: UserLabels @@ -503,6 +552,22 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", ] @typing.type_check_only @@ -538,7 +603,9 @@ class Entitlement(typing_extensions.TypedDict, total=False): entitlementState: typing_extensions.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] + type: typing_extensions.Literal[ + "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" + ] @typing.type_check_only class ExportBackupRequest(typing_extensions.TypedDict, total=False): @@ -558,6 +625,10 @@ class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): class FixedFrequencySchedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay +@typing.type_check_only +class GCBDRConfiguration(typing_extensions.TypedDict, total=False): + gcbdrManaged: bool + @typing.type_check_only class GcsBackupSource(typing_extensions.TypedDict, total=False): uris: _list[str] @@ -652,6 +723,7 @@ class Instance(typing_extensions.TypedDict, total=False): "SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE" ] ] + tags: dict[str, typing.Any] tier: typing_extensions.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] transitEncryptionMode: typing_extensions.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "SERVER_AUTHENTICATION", "DISABLED" @@ -665,6 +737,7 @@ class InstanceAuthString(typing_extensions.TypedDict, total=False): class InternalResourceMetadata(typing_extensions.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun + isDeletionProtectionEnabled: bool product: Product resourceId: DatabaseResourceId resourceName: str @@ -763,6 +836,8 @@ class ObservabilityMetricData(typing_extensions.TypedDict, total=False): "STORAGE_UTILIZATION", "STORAGE_USED_BYTES", "NODE_COUNT", + "MEMORY_USED_BYTES", + "PROCESSING_UNIT_COUNT", ] observationTime: str resourceName: str @@ -838,7 +913,10 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_EXADATA_ORACLE", + "ENGINE_ADB_SERVERLESS_ORACLE", ] + minorVersion: str type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", @@ -850,8 +928,10 @@ class Product(typing_extensions.TypedDict, total=False): "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_OTHER", ] version: str @@ -890,6 +970,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): ] forwardingRule: str network: str + port: int projectId: str pscConnectionId: str pscConnectionStatus: typing_extensions.Literal[ @@ -1001,6 +1082,13 @@ class TypedValue(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateInfo(typing_extensions.TypedDict, total=False): + targetNodeType: typing_extensions.Literal[ + "NODE_TYPE_UNSPECIFIED", + "REDIS_SHARED_CORE_NANO", + "REDIS_HIGHMEM_MEDIUM", + "REDIS_HIGHMEM_XLARGE", + "REDIS_STANDARD_SMALL", + ] targetReplicaCount: int targetShardCount: int diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi index a60082c1..7a64b9c0 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi @@ -232,6 +232,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index d0379df5..131bf943 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -69,6 +69,7 @@ class BackupClusterRequest(typing_extensions.TypedDict, total=False): class BackupCollection(typing_extensions.TypedDict, total=False): cluster: str clusterUid: str + createTime: str kmsKey: str name: str uid: str @@ -103,6 +104,7 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): + allowFewerZonesDeployment: bool asyncClusterEndpointsDeletionEnabled: bool authorizationMode: typing_extensions.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" @@ -128,6 +130,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL", ] + ondemandMaintenance: bool persistenceConfig: ClusterPersistenceConfig preciseSizeGb: float pscConfigs: _list[PscConfig] @@ -136,6 +139,7 @@ class Cluster(typing_extensions.TypedDict, total=False): redisConfigs: dict[str, typing.Any] replicaCount: int shardCount: int + simulateMaintenanceEvent: bool sizeGb: int state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" @@ -191,6 +195,21 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str +@typing.type_check_only +class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): + fullResourceName: str + lastRefreshTime: str + resourceId: DatabaseResourceId + 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 ConnectionDetail(typing_extensions.TypedDict, total=False): pscAutoConnection: PscAutoConnection @@ -212,6 +231,7 @@ class CustomMetadataData(typing_extensions.TypedDict, total=False): @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): + configBasedSignalData: ConfigBasedSignalData feedTimestamp: str feedType: typing_extensions.Literal[ "FEEDTYPE_UNSPECIFIED", @@ -219,6 +239,7 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): "OBSERVABILITY_DATA", "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", + "CONFIG_BASED_SIGNAL_DATA", ] observabilityMetricData: ObservabilityMetricData recommendationSignalData: DatabaseResourceRecommendationSignalData @@ -233,6 +254,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) description: str eventTime: str externalUri: str + location: str name: str provider: typing_extensions.Literal[ "PROVIDER_UNSPECIFIED", @@ -339,6 +361,22 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -384,6 +422,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "DELETED", "STATE_OTHER", ] + gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId instanceType: typing_extensions.Literal[ "INSTANCE_TYPE_UNSPECIFIED", @@ -395,6 +434,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", "SUB_RESOURCE_TYPE_READ_REPLICA", + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] location: str @@ -404,6 +444,15 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): product: Product resourceContainer: str resourceName: str + suspensionReason: typing_extensions.Literal[ + "SUSPENSION_REASON_UNSPECIFIED", + "WIPEOUT_HIDE_EVENT", + "WIPEOUT_PURGE_EVENT", + "BILLING_DISABLED", + "ABUSER_DETECTED", + "ENCRYPTION_KEY_INACCESSIBLE", + "REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE", + ] tagsSet: Tags updationTime: str userLabelSet: UserLabels @@ -503,6 +552,22 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", + "SIGNAL_TYPE_HOT_NODE", + "SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", + "SIGNAL_TYPE_RESOURCE_SUSPENDED", + "SIGNAL_TYPE_EXPENSIVE_COMMANDS", + "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY", + "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", ] @typing.type_check_only @@ -538,7 +603,9 @@ class Entitlement(typing_extensions.TypedDict, total=False): entitlementState: typing_extensions.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] + type: typing_extensions.Literal[ + "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" + ] @typing.type_check_only class ExportBackupRequest(typing_extensions.TypedDict, total=False): @@ -558,6 +625,10 @@ class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): class FixedFrequencySchedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay +@typing.type_check_only +class GCBDRConfiguration(typing_extensions.TypedDict, total=False): + gcbdrManaged: bool + @typing.type_check_only class GcsBackupSource(typing_extensions.TypedDict, total=False): uris: _list[str] @@ -652,6 +723,7 @@ class Instance(typing_extensions.TypedDict, total=False): "SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE" ] ] + tags: dict[str, typing.Any] tier: typing_extensions.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] transitEncryptionMode: typing_extensions.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "SERVER_AUTHENTICATION", "DISABLED" @@ -665,6 +737,7 @@ class InstanceAuthString(typing_extensions.TypedDict, total=False): class InternalResourceMetadata(typing_extensions.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun + isDeletionProtectionEnabled: bool product: Product resourceId: DatabaseResourceId resourceName: str @@ -763,6 +836,8 @@ class ObservabilityMetricData(typing_extensions.TypedDict, total=False): "STORAGE_UTILIZATION", "STORAGE_USED_BYTES", "NODE_COUNT", + "MEMORY_USED_BYTES", + "PROCESSING_UNIT_COUNT", ] observationTime: str resourceName: str @@ -838,7 +913,10 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", + "ENGINE_EXADATA_ORACLE", + "ENGINE_ADB_SERVERLESS_ORACLE", ] + minorVersion: str type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", @@ -850,8 +928,10 @@ class Product(typing_extensions.TypedDict, total=False): "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_ORACLE_ON_GCP", + "PRODUCT_TYPE_OTHER", ] version: str @@ -890,6 +970,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): ] forwardingRule: str network: str + port: int projectId: str pscConnectionId: str pscConnectionStatus: typing_extensions.Literal[ @@ -1001,6 +1082,13 @@ class TypedValue(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateInfo(typing_extensions.TypedDict, total=False): + targetNodeType: typing_extensions.Literal[ + "NODE_TYPE_UNSPECIFIED", + "REDIS_SHARED_CORE_NANO", + "REDIS_HIGHMEM_MEDIUM", + "REDIS_HIGHMEM_XLARGE", + "REDIS_STANDARD_SMALL", + ] targetReplicaCount: int targetShardCount: int diff --git a/googleapiclient-stubs/_apis/retail/v2/resources.pyi b/googleapiclient-stubs/_apis/retail/v2/resources.pyi index d0e142c6..b6321532 100644 --- a/googleapiclient-stubs/_apis/retail/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/resources.pyi @@ -451,6 +451,9 @@ class CloudRetailResource(googleapiclient.discovery.Resource): def getCompletionConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2CompletionConfigHttpRequest: ... + def getConversationalSearchCustomizationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRetailV2ConversationalSearchCustomizationConfigHttpRequest: ... def getDefaultBranch( self, *, catalog: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2GetDefaultBranchResponseHttpRequest: ... @@ -501,6 +504,14 @@ class CloudRetailResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2CompletionConfigHttpRequest: ... + def updateConversationalSearchCustomizationConfig( + self, + *, + catalog: str, + body: GoogleCloudRetailV2ConversationalSearchCustomizationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRetailV2ConversationalSearchCustomizationConfigHttpRequest: ... def updateGenerativeQuestion( self, *, @@ -649,6 +660,16 @@ class GoogleCloudRetailV2ControlHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleCloudRetailV2Control: ... +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchCustomizationConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2ConversationalSearchCustomizationConfig: ... + @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 d1985e79..713bfd81 100644 --- a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi @@ -321,6 +321,14 @@ class GoogleCloudRetailV2Control(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class GoogleCloudRetailV2ConversationalSearchCustomizationConfig( + typing_extensions.TypedDict, total=False +): + catalog: str + intentClassificationConfig: GoogleCloudRetailV2IntentClassificationConfig + retailerDisplayName: str + @typing.type_check_only class GoogleCloudRetailV2CreateModelMetadata(typing_extensions.TypedDict, total=False): model: str @@ -332,6 +340,10 @@ class GoogleCloudRetailV2CustomAttribute(typing_extensions.TypedDict, total=Fals searchable: bool text: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2DoubleList(typing_extensions.TypedDict, total=False): + values: _list[float] + @typing.type_check_only class GoogleCloudRetailV2ExperimentInfo(typing_extensions.TypedDict, total=False): experiment: str @@ -477,6 +489,43 @@ class GoogleCloudRetailV2ImportUserEventsResponse( errorsConfig: GoogleCloudRetailV2ImportErrorsConfig importSummary: GoogleCloudRetailV2UserEventImportSummary +@typing.type_check_only +class GoogleCloudRetailV2IntentClassificationConfig( + typing_extensions.TypedDict, total=False +): + blocklistKeywords: _list[str] + disabledIntentTypes: _list[str] + example: _list[GoogleCloudRetailV2IntentClassificationConfigExample] + inlineSource: GoogleCloudRetailV2IntentClassificationConfigInlineSource + modelPreamble: str + +@typing.type_check_only +class GoogleCloudRetailV2IntentClassificationConfigExample( + typing_extensions.TypedDict, total=False +): + classifiedPositive: bool + intentType: str + query: str + reason: str + +@typing.type_check_only +class GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent( + typing_extensions.TypedDict, total=False +): + intentType: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" + ] + query: str + +@typing.type_check_only +class GoogleCloudRetailV2IntentClassificationConfigInlineSource( + typing_extensions.TypedDict, total=False +): + inlineForceIntents: _list[ + GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent + ] + @typing.type_check_only class GoogleCloudRetailV2Interval(typing_extensions.TypedDict, total=False): exclusiveMaximum: float @@ -520,9 +569,6 @@ class GoogleCloudRetailV2ListServingConfigsResponse( @typing.type_check_only class GoogleCloudRetailV2LocalInventory(typing_extensions.TypedDict, total=False): attributes: dict[str, typing.Any] - availability: typing_extensions.Literal[ - "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" - ] fulfillmentTypes: _list[str] placeId: str priceInfo: GoogleCloudRetailV2PriceInfo @@ -969,19 +1015,23 @@ class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False) facetSpecs: _list[GoogleCloudRetailV2SearchRequestFacetSpec] filter: str labels: dict[str, typing.Any] + languageCode: str offset: int orderBy: str pageCategories: _list[str] pageSize: int pageToken: str personalizationSpec: GoogleCloudRetailV2SearchRequestPersonalizationSpec + placeId: str query: str queryExpansionSpec: GoogleCloudRetailV2SearchRequestQueryExpansionSpec + regionCode: str searchMode: typing_extensions.Literal[ "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2SearchRequestSpellCorrectionSpec tileNavigationSpec: GoogleCloudRetailV2SearchRequestTileNavigationSpec + userAttributes: dict[str, typing.Any] userInfo: GoogleCloudRetailV2UserInfo variantRollupKeys: _list[str] visitorId: str @@ -1161,6 +1211,7 @@ class GoogleCloudRetailV2SearchResponseSearchResult( id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] + modelScores: dict[str, typing.Any] personalLabels: _list[str] product: GoogleCloudRetailV2Product variantRollupValues: dict[str, typing.Any] @@ -1227,6 +1278,10 @@ class GoogleCloudRetailV2SetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2StringList(typing_extensions.TypedDict, total=False): + values: _list[str] + @typing.type_check_only class GoogleCloudRetailV2Tile(typing_extensions.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2ProductAttributeInterval @@ -1454,6 +1509,7 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( typing_extensions.TypedDict, total=False ): + dataSourceId: str primaryFeedId: str primaryFeedName: str diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi index fa4419a4..0d281002 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi @@ -365,6 +365,15 @@ class CloudRetailResource(googleapiclient.discovery.Resource): @typing.type_check_only class PlacementsResource(googleapiclient.discovery.Resource): + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2alphaConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudRetailV2alphaConversationalSearchResponseHttpRequest + ): ... def predict( self, *, @@ -394,6 +403,15 @@ class CloudRetailResource(googleapiclient.discovery.Resource): body: GoogleCloudRetailV2alphaAddControlRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2alphaServingConfigHttpRequest: ... + def conversationalSearch( + self, + *, + placement: str, + body: GoogleCloudRetailV2alphaConversationalSearchRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudRetailV2alphaConversationalSearchResponseHttpRequest + ): ... def create( self, *, @@ -534,6 +552,9 @@ class CloudRetailResource(googleapiclient.discovery.Resource): def getCompletionConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2alphaCompletionConfigHttpRequest: ... + def getConversationalSearchCustomizationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRetailV2alphaConversationalSearchCustomizationConfigHttpRequest: ... def getDefaultBranch( self, *, catalog: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2alphaGetDefaultBranchResponseHttpRequest: ... @@ -586,6 +607,14 @@ class CloudRetailResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2alphaCompletionConfigHttpRequest: ... + def updateConversationalSearchCustomizationConfig( + self, + *, + catalog: str, + body: GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRetailV2alphaConversationalSearchCustomizationConfigHttpRequest: ... def updateGenerativeQuestion( self, *, @@ -815,6 +844,26 @@ class GoogleCloudRetailV2alphaControlHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> GoogleCloudRetailV2alphaControl: ... +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig: ... + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2alphaConversationalSearchResponse: ... + @typing.type_check_only class GoogleCloudRetailV2alphaGenerativeQuestionConfigHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi index 083fb35c..9f27c538 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi @@ -643,6 +643,110 @@ class GoogleCloudRetailV2alphaControl(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig( + typing_extensions.TypedDict, total=False +): + catalog: str + intentClassificationConfig: GoogleCloudRetailV2alphaIntentClassificationConfig + retailerDisplayName: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchRequest( + typing_extensions.TypedDict, total=False +): + branch: str + conversationId: str + conversationalFilteringSpec: ( + GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec + ) + pageCategories: _list[str] + query: str + searchParams: GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams + userInfo: GoogleCloudRetailV2alphaUserInfo + userLabels: dict[str, typing.Any] + visitorId: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec( + typing_extensions.TypedDict, total=False +): + conversationalFilteringMode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "CONVERSATIONAL_FILTER_ONLY" + ] + enableConversationalFiltering: bool + userAnswer: GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams( + typing_extensions.TypedDict, total=False +): + boostSpec: GoogleCloudRetailV2alphaSearchRequestBoostSpec + canonicalFilter: str + filter: str + sortBy: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: ( + GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer + ) + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponse( + typing_extensions.TypedDict, total=False +): + conversationId: str + conversationalFilteringResult: GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult + refinedSearch: _list[ + GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch + ] + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter + followupQuestion: ( + GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion + ) + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion( + typing_extensions.TypedDict, total=False +): + followupQuestion: str + suggestedAnswers: _list[ + GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch( + typing_extensions.TypedDict, total=False +): + query: str + @typing.type_check_only class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata( typing_extensions.TypedDict, total=False @@ -663,6 +767,10 @@ class GoogleCloudRetailV2alphaCustomAttribute(typing_extensions.TypedDict, total searchable: bool text: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2alphaDoubleList(typing_extensions.TypedDict, total=False): + values: _list[float] + @typing.type_check_only class GoogleCloudRetailV2alphaEnrollSolutionMetadata( typing_extensions.TypedDict, total=False @@ -871,6 +979,43 @@ class GoogleCloudRetailV2alphaImportUserEventsResponse( errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig importSummary: GoogleCloudRetailV2alphaUserEventImportSummary +@typing.type_check_only +class GoogleCloudRetailV2alphaIntentClassificationConfig( + typing_extensions.TypedDict, total=False +): + blocklistKeywords: _list[str] + disabledIntentTypes: _list[str] + example: _list[GoogleCloudRetailV2alphaIntentClassificationConfigExample] + inlineSource: GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource + modelPreamble: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaIntentClassificationConfigExample( + typing_extensions.TypedDict, total=False +): + classifiedPositive: bool + intentType: str + query: str + reason: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent( + typing_extensions.TypedDict, total=False +): + intentType: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" + ] + query: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource( + typing_extensions.TypedDict, total=False +): + inlineForceIntents: _list[ + GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent + ] + @typing.type_check_only class GoogleCloudRetailV2alphaInterval(typing_extensions.TypedDict, total=False): exclusiveMaximum: float @@ -1003,6 +1148,7 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( typing_extensions.TypedDict, total=False ): + dataSourceId: str primaryFeedId: str primaryFeedName: str @@ -1010,6 +1156,7 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( class GoogleCloudRetailV2alphaMerchantCenterFeedFilter( typing_extensions.TypedDict, total=False ): + dataSourceId: str primaryFeedId: str primaryFeedName: str @@ -1535,17 +1682,21 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F ) dynamicFacetSpec: GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec entity: str + experimentId: str facetSpecs: _list[GoogleCloudRetailV2alphaSearchRequestFacetSpec] filter: str labels: dict[str, typing.Any] + languageCode: str offset: int orderBy: str pageCategories: _list[str] pageSize: int pageToken: str personalizationSpec: GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec + placeId: str query: str queryExpansionSpec: GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec + regionCode: str relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "LOWEST" ] @@ -1554,6 +1705,7 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F ] spellCorrectionSpec: GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec tileNavigationSpec: GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec + userAttributes: dict[str, typing.Any] userInfo: GoogleCloudRetailV2alphaUserInfo variantRollupKeys: _list[str] visitorId: str @@ -1733,6 +1885,7 @@ class GoogleCloudRetailV2alphaSearchResponseSearchResult( id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] + modelScores: dict[str, typing.Any] personalLabels: _list[str] product: GoogleCloudRetailV2alphaProduct variantRollupValues: dict[str, typing.Any] @@ -1801,6 +1954,10 @@ class GoogleCloudRetailV2alphaSetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2alphaStringList(typing_extensions.TypedDict, total=False): + values: _list[str] + @typing.type_check_only class GoogleCloudRetailV2alphaTile(typing_extensions.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2alphaProductAttributeInterval diff --git a/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi index 8f2c8213..1d2922ee 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi @@ -480,6 +480,9 @@ class CloudRetailResource(googleapiclient.discovery.Resource): def getCompletionConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2betaCompletionConfigHttpRequest: ... + def getConversationalSearchCustomizationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRetailV2betaConversationalSearchCustomizationConfigHttpRequest: ... def getDefaultBranch( self, *, catalog: str, **kwargs: typing.Any ) -> GoogleCloudRetailV2betaGetDefaultBranchResponseHttpRequest: ... @@ -532,6 +535,14 @@ class CloudRetailResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudRetailV2betaCompletionConfigHttpRequest: ... + def updateConversationalSearchCustomizationConfig( + self, + *, + catalog: str, + body: GoogleCloudRetailV2betaConversationalSearchCustomizationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRetailV2betaConversationalSearchCustomizationConfigHttpRequest: ... def updateGenerativeQuestion( self, *, @@ -715,6 +726,16 @@ class GoogleCloudRetailV2betaControlHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> GoogleCloudRetailV2betaControl: ... +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchCustomizationConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRetailV2betaConversationalSearchCustomizationConfig: ... + @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 bbbc1b08..51867d9b 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi @@ -430,6 +430,7 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( typing_extensions.TypedDict, total=False ): + dataSourceId: str primaryFeedId: str primaryFeedName: str @@ -939,6 +940,14 @@ class GoogleCloudRetailV2betaControl(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig( + typing_extensions.TypedDict, total=False +): + catalog: str + intentClassificationConfig: GoogleCloudRetailV2betaIntentClassificationConfig + retailerDisplayName: str + @typing.type_check_only class GoogleCloudRetailV2betaCreateModelMetadata( typing_extensions.TypedDict, total=False @@ -952,6 +961,10 @@ class GoogleCloudRetailV2betaCustomAttribute(typing_extensions.TypedDict, total= searchable: bool text: _list[str] +@typing.type_check_only +class GoogleCloudRetailV2betaDoubleList(typing_extensions.TypedDict, total=False): + values: _list[float] + @typing.type_check_only class GoogleCloudRetailV2betaExperimentInfo(typing_extensions.TypedDict, total=False): experiment: str @@ -1133,6 +1146,43 @@ class GoogleCloudRetailV2betaImportUserEventsResponse( errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig importSummary: GoogleCloudRetailV2betaUserEventImportSummary +@typing.type_check_only +class GoogleCloudRetailV2betaIntentClassificationConfig( + typing_extensions.TypedDict, total=False +): + blocklistKeywords: _list[str] + disabledIntentTypes: _list[str] + example: _list[GoogleCloudRetailV2betaIntentClassificationConfigExample] + inlineSource: GoogleCloudRetailV2betaIntentClassificationConfigInlineSource + modelPreamble: str + +@typing.type_check_only +class GoogleCloudRetailV2betaIntentClassificationConfigExample( + typing_extensions.TypedDict, total=False +): + classifiedPositive: bool + intentType: str + query: str + reason: str + +@typing.type_check_only +class GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent( + typing_extensions.TypedDict, total=False +): + intentType: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" + ] + query: str + +@typing.type_check_only +class GoogleCloudRetailV2betaIntentClassificationConfigInlineSource( + typing_extensions.TypedDict, total=False +): + inlineForceIntents: _list[ + GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent + ] + @typing.type_check_only class GoogleCloudRetailV2betaInterval(typing_extensions.TypedDict, total=False): exclusiveMaximum: float @@ -1184,9 +1234,6 @@ class GoogleCloudRetailV2betaListServingConfigsResponse( @typing.type_check_only class GoogleCloudRetailV2betaLocalInventory(typing_extensions.TypedDict, total=False): attributes: dict[str, typing.Any] - availability: typing_extensions.Literal[ - "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" - ] fulfillmentTypes: _list[str] placeId: str priceInfo: GoogleCloudRetailV2betaPriceInfo @@ -1195,6 +1242,7 @@ class GoogleCloudRetailV2betaLocalInventory(typing_extensions.TypedDict, total=F class GoogleCloudRetailV2betaMerchantCenterFeedFilter( typing_extensions.TypedDict, total=False ): + dataSourceId: str primaryFeedId: str primaryFeedName: str @@ -1679,19 +1727,23 @@ class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=Fa facetSpecs: _list[GoogleCloudRetailV2betaSearchRequestFacetSpec] filter: str labels: dict[str, typing.Any] + languageCode: str offset: int orderBy: str pageCategories: _list[str] pageSize: int pageToken: str personalizationSpec: GoogleCloudRetailV2betaSearchRequestPersonalizationSpec + placeId: str query: str queryExpansionSpec: GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec + regionCode: str searchMode: typing_extensions.Literal[ "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec tileNavigationSpec: GoogleCloudRetailV2betaSearchRequestTileNavigationSpec + userAttributes: dict[str, typing.Any] userInfo: GoogleCloudRetailV2betaUserInfo variantRollupKeys: _list[str] visitorId: str @@ -1871,6 +1923,7 @@ class GoogleCloudRetailV2betaSearchResponseSearchResult( id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] + modelScores: dict[str, typing.Any] personalLabels: _list[str] product: GoogleCloudRetailV2betaProduct variantRollupValues: dict[str, typing.Any] @@ -1939,6 +1992,10 @@ class GoogleCloudRetailV2betaSetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2betaStringList(typing_extensions.TypedDict, total=False): + values: _list[str] + @typing.type_check_only class GoogleCloudRetailV2betaTile(typing_extensions.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2betaProductAttributeInterval diff --git a/googleapiclient-stubs/_apis/run/v1/resources.pyi b/googleapiclient-stubs/_apis/run/v1/resources.pyi index 192f218c..c7a9b1e9 100644 --- a/googleapiclient-stubs/_apis/run/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1/resources.pyi @@ -255,6 +255,39 @@ class CloudRunResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ListTasksResponseHttpRequest: ... + @typing.type_check_only + class WorkerpoolsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: WorkerPool = ..., + dryRun: str = ..., + **kwargs: typing.Any, + ) -> WorkerPoolHttpRequest: ... + def delete( + self, *, name: str, dryRun: str = ..., **kwargs: typing.Any + ) -> StatusHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkerPoolHttpRequest: ... + def list( + self, + *, + parent: str, + labelSelector: str = ..., + limit: int = ..., + **kwargs: typing.Any, + ) -> ListWorkerPoolsResponseHttpRequest: ... + def replaceWorkerPool( + self, + *, + name: str, + body: WorkerPool = ..., + dryRun: str = ..., + **kwargs: typing.Any, + ) -> WorkerPoolHttpRequest: ... + def authorizeddomains(self) -> AuthorizeddomainsResource: ... def configurations(self) -> ConfigurationsResource: ... def domainmappings(self) -> DomainmappingsResource: ... @@ -264,6 +297,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def routes(self) -> RoutesResource: ... def services(self) -> ServicesResource: ... def tasks(self) -> TasksResource: ... + def workerpools(self) -> WorkerpoolsResource: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @@ -520,10 +554,35 @@ class CloudRunResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class WorkerpoolsResource(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 list( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -542,6 +601,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def revisions(self) -> RevisionsResource: ... def routes(self) -> RoutesResource: ... def services(self) -> ServicesResource: ... + def workerpools(self) -> WorkerpoolsResource: ... def authorizeddomains(self) -> AuthorizeddomainsResource: ... def locations(self) -> LocationsResource: ... @@ -699,6 +759,14 @@ class ListTasksResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListTasksResponse: ... +@typing.type_check_only +class ListWorkerPoolsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListWorkerPoolsResponse: ... + @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -754,3 +822,11 @@ class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> TestIamPermissionsResponse: ... + +@typing.type_check_only +class WorkerPoolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkerPool: ... diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index c93a10fe..a42ac1ac 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -259,6 +259,7 @@ class GoogleDevtoolsCloudbuildV1ArtifactObjects( @typing.type_check_only class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=False): + goModules: _list[GoogleDevtoolsCloudbuildV1GoModule] images: _list[str] mavenArtifacts: _list[GoogleDevtoolsCloudbuildV1MavenArtifact] npmPackages: _list[GoogleDevtoolsCloudbuildV1NpmPackage] @@ -272,6 +273,7 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): availableSecrets: GoogleDevtoolsCloudbuildV1Secrets buildTriggerId: str createTime: str + dependencies: _list[GoogleDevtoolsCloudbuildV1Dependency] failureInfo: GoogleDevtoolsCloudbuildV1FailureInfo finishTime: str gitConfig: GoogleDevtoolsCloudbuildV1GitConfig @@ -333,6 +335,7 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= ] diskSizeGb: str dynamicSubstitutions: bool + enableStructuredLogging: bool env: _list[str] logStreamingOption: typing_extensions.Literal[ "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" @@ -354,10 +357,11 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= "E2_MEDIUM", ] pool: GoogleDevtoolsCloudbuildV1PoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] ] substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[GoogleDevtoolsCloudbuildV1Volume] @@ -409,6 +413,11 @@ class GoogleDevtoolsCloudbuildV1ConnectedRepository( repository: str revision: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1Dependency(typing_extensions.TypedDict, total=False): + empty: bool + gitSource: GoogleDevtoolsCloudbuildV1GitSourceDependency + @typing.type_check_only class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig( typing_extensions.TypedDict, total=False @@ -444,9 +453,35 @@ class GoogleDevtoolsCloudbuildV1GitSource(typing_extensions.TypedDict, total=Fal revision: str url: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GitSourceDependency( + typing_extensions.TypedDict, total=False +): + depth: str + destPath: str + recurseSubmodules: bool + repository: GoogleDevtoolsCloudbuildV1GitSourceRepository + revision: str + +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GitSourceRepository( + typing_extensions.TypedDict, total=False +): + developerConnect: str + url: str + +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=False): + modulePath: str + moduleVersion: str + repositoryLocation: str + repositoryName: str + repositoryProjectId: str + sourcePath: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + type: typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] value: str @typing.type_check_only @@ -497,6 +532,7 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + goModules: _list[GoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[GoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[GoogleDevtoolsCloudbuildV1UploadedMavenArtifact] npmPackages: _list[GoogleDevtoolsCloudbuildV1UploadedNpmPackage] @@ -562,6 +598,14 @@ class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=Fals endTime: str startTime: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1UploadedGoModule( + typing_extensions.TypedDict, total=False +): + fileHashes: GoogleDevtoolsCloudbuildV1FileHashes + pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False @@ -634,6 +678,12 @@ class HTTPHeader(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class InstanceSplit(typing_extensions.TypedDict, total=False): + latestRevision: bool + percent: int + revisionName: str + @typing.type_check_only class Job(typing_extensions.TypedDict, total=False): apiVersion: str @@ -748,6 +798,14 @@ class ListTasksResponse(typing_extensions.TypedDict, total=False): metadata: ListMeta unreachable: _list[str] +@typing.type_check_only +class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): + apiVersion: str + items: _list[WorkerPool] + kind: str + metadata: ListMeta + unreachable: _list[str] + @typing.type_check_only class LocalObjectReference(typing_extensions.TypedDict, total=False): name: str @@ -980,11 +1038,13 @@ class Task(typing_extensions.TypedDict, total=False): class TaskAttemptResult(typing_extensions.TypedDict, total=False): exitCode: int status: GoogleRpcStatus + termSignal: int @typing.type_check_only class TaskSpec(typing_extensions.TypedDict, total=False): containers: _list[Container] maxRetries: int + nodeSelector: dict[str, typing.Any] serviceAccountName: str timeoutSeconds: str volumes: _list[Volume] @@ -1036,3 +1096,24 @@ class VolumeMount(typing_extensions.TypedDict, total=False): name: str readOnly: bool subPath: str + +@typing.type_check_only +class WorkerPool(typing_extensions.TypedDict, total=False): + apiVersion: str + kind: str + metadata: ObjectMeta + spec: WorkerPoolSpec + status: WorkerPoolStatus + +@typing.type_check_only +class WorkerPoolSpec(typing_extensions.TypedDict, total=False): + instanceSplits: _list[InstanceSplit] + template: RevisionTemplate + +@typing.type_check_only +class WorkerPoolStatus(typing_extensions.TypedDict, total=False): + conditions: _list[GoogleCloudRunV1Condition] + instanceSplits: _list[InstanceSplit] + latestCreatedRevisionName: str + latestReadyRevisionName: str + observedGeneration: int diff --git a/googleapiclient-stubs/_apis/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index 207fb674..b873589e 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -291,6 +291,104 @@ class CloudRunResource(googleapiclient.discovery.Resource): ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def revisions(self) -> RevisionsResource: ... + @typing.type_check_only + class WorkerPoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + etag: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRunV2RevisionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRunV2ListRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudRunV2ListRevisionsResponseHttpRequest, + previous_response: GoogleCloudRunV2ListRevisionsResponse, + ) -> GoogleCloudRunV2ListRevisionsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudRunV2WorkerPool = ..., + validateOnly: bool = ..., + workerPoolId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRunV2WorkerPoolHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRunV2ListWorkerPoolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudRunV2ListWorkerPoolsResponseHttpRequest, + previous_response: GoogleCloudRunV2ListWorkerPoolsResponse, + ) -> GoogleCloudRunV2ListWorkerPoolsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudRunV2WorkerPool = ..., + allowMissing: bool = ..., + forceNewRevision: bool = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def revisions(self) -> RevisionsResource: ... + def exportImage( self, *, @@ -311,6 +409,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... def services(self) -> ServicesResource: ... + def workerPools(self) -> WorkerPoolsResource: ... def locations(self) -> LocationsResource: ... @@ -404,6 +503,16 @@ class GoogleCloudRunV2ListTasksResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GoogleCloudRunV2ListTasksResponse: ... +@typing.type_check_only +class GoogleCloudRunV2ListWorkerPoolsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2ListWorkerPoolsResponse: ... + @typing.type_check_only class GoogleCloudRunV2MetadataHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -444,6 +553,14 @@ class GoogleCloudRunV2TaskHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleCloudRunV2Task: ... +@typing.type_check_only +class GoogleCloudRunV2WorkerPoolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2WorkerPool: ... + @typing.type_check_only class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 493b22f2..073ddddc 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -10,6 +10,23 @@ class GoogleCloudRunV2BinaryAuthorization(typing_extensions.TypedDict, total=Fal policy: str useDefault: bool +@typing.type_check_only +class GoogleCloudRunV2BuildConfig(typing_extensions.TypedDict, total=False): + baseImage: str + enableAutomaticUpdates: bool + environmentVariables: dict[str, typing.Any] + functionTarget: str + imageUri: str + name: str + serviceAccount: str + sourceLocation: str + workerPool: str + +@typing.type_check_only +class GoogleCloudRunV2BuildInfo(typing_extensions.TypedDict, total=False): + functionTarget: str + sourceLocation: str + @typing.type_check_only class GoogleCloudRunV2BuildpacksBuild(typing_extensions.TypedDict, total=False): baseImage: str @@ -57,6 +74,7 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): "IMMEDIATE_RETRY", "POSTPONED_RETRY", "INTERNAL", + "VPC_NETWORK_NOT_FOUND", ] revisionReason: typing_extensions.Literal[ "REVISION_REASON_UNDEFINED", @@ -88,6 +106,8 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRunV2Container(typing_extensions.TypedDict, total=False): args: _list[str] + baseImageUri: str + buildInfo: GoogleCloudRunV2BuildInfo command: _list[str] dependsOn: _list[str] env: _list[GoogleCloudRunV2EnvVar] @@ -137,6 +157,7 @@ class GoogleCloudRunV2Execution(typing_extensions.TypedDict, total=False): completionTime: str conditions: _list[GoogleCloudRunV2Condition] createTime: str + creator: str deleteTime: str etag: str expireTime: str @@ -239,6 +260,26 @@ class GoogleCloudRunV2ImageExportStatus(typing_extensions.TypedDict, total=False status: UtilStatusProto tag: str +@typing.type_check_only +class GoogleCloudRunV2InstanceSplit(typing_extensions.TypedDict, total=False): + percent: int + revision: str + type: typing_extensions.Literal[ + "INSTANCE_SPLIT_ALLOCATION_TYPE_UNSPECIFIED", + "INSTANCE_SPLIT_ALLOCATION_TYPE_LATEST", + "INSTANCE_SPLIT_ALLOCATION_TYPE_REVISION", + ] + +@typing.type_check_only +class GoogleCloudRunV2InstanceSplitStatus(typing_extensions.TypedDict, total=False): + percent: int + revision: str + type: typing_extensions.Literal[ + "INSTANCE_SPLIT_ALLOCATION_TYPE_UNSPECIFIED", + "INSTANCE_SPLIT_ALLOCATION_TYPE_LATEST", + "INSTANCE_SPLIT_ALLOCATION_TYPE_REVISION", + ] + @typing.type_check_only class GoogleCloudRunV2Job(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -302,10 +343,20 @@ class GoogleCloudRunV2ListTasksResponse(typing_extensions.TypedDict, total=False nextPageToken: str tasks: _list[GoogleCloudRunV2Task] +@typing.type_check_only +class GoogleCloudRunV2ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + workerPools: _list[GoogleCloudRunV2WorkerPool] + @typing.type_check_only class GoogleCloudRunV2Metadata(typing_extensions.TypedDict, total=False): metadata: str +@typing.type_check_only +class GoogleCloudRunV2MultiRegionSettings(typing_extensions.TypedDict, total=False): + multiRegionId: str + regions: _list[str] + @typing.type_check_only class GoogleCloudRunV2NFSVolumeSource(typing_extensions.TypedDict, total=False): path: str @@ -350,6 +401,7 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): conditions: _list[GoogleCloudRunV2Condition] containers: _list[GoogleCloudRunV2Container] createTime: str + creator: str deleteTime: str encryptionKey: str encryptionKeyRevocationAction: typing_extensions.Literal[ @@ -364,6 +416,7 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): ] expireTime: str generation: str + gpuZonalRedundancyDisabled: bool labels: dict[str, typing.Any] launchStage: typing_extensions.Literal[ "LAUNCH_STAGE_UNSPECIFIED", @@ -417,6 +470,7 @@ class GoogleCloudRunV2RevisionTemplate(typing_extensions.TypedDict, total=False) "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", ] + gpuZonalRedundancyDisabled: bool healthCheckDisabled: bool labels: dict[str, typing.Any] maxInstanceRequestConcurrency: int @@ -451,6 +505,7 @@ class GoogleCloudRunV2SecretVolumeSource(typing_extensions.TypedDict, total=Fals class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] binaryAuthorization: GoogleCloudRunV2BinaryAuthorization + buildConfig: GoogleCloudRunV2BuildConfig client: str clientVersion: str conditions: _list[GoogleCloudRunV2Condition] @@ -463,6 +518,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): etag: str expireTime: str generation: str + iapEnabled: bool ingress: typing_extensions.Literal[ "INGRESS_TRAFFIC_UNSPECIFIED", "INGRESS_TRAFFIC_ALL", @@ -485,6 +541,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): "GA", "DEPRECATED", ] + multiRegionSettings: GoogleCloudRunV2MultiRegionSettings name: str observedGeneration: str reconciling: bool @@ -492,6 +549,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): scaling: GoogleCloudRunV2ServiceScaling template: GoogleCloudRunV2RevisionTemplate terminalCondition: GoogleCloudRunV2Condition + threatDetectionEnabled: bool traffic: _list[GoogleCloudRunV2TrafficTarget] trafficStatuses: _list[GoogleCloudRunV2TrafficTargetStatus] uid: str @@ -556,6 +614,7 @@ class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): ] expireTime: str generation: str + gpuZonalRedundancyDisabled: bool index: int job: str labels: dict[str, typing.Any] @@ -563,6 +622,7 @@ class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): logUri: str maxRetries: int name: str + nodeSelector: GoogleCloudRunV2NodeSelector observedGeneration: str reconciling: bool retried: int @@ -580,6 +640,7 @@ class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): class GoogleCloudRunV2TaskAttemptResult(typing_extensions.TypedDict, total=False): exitCode: int status: GoogleRpcStatus + termSignal: int @typing.type_check_only class GoogleCloudRunV2TaskTemplate(typing_extensions.TypedDict, total=False): @@ -590,7 +651,9 @@ class GoogleCloudRunV2TaskTemplate(typing_extensions.TypedDict, total=False): "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", ] + gpuZonalRedundancyDisabled: bool maxRetries: int + nodeSelector: GoogleCloudRunV2NodeSelector serviceAccount: str timeout: str volumes: _list[GoogleCloudRunV2Volume] @@ -647,6 +710,70 @@ class GoogleCloudRunV2VpcAccess(typing_extensions.TypedDict, total=False): ] networkInterfaces: _list[GoogleCloudRunV2NetworkInterface] +@typing.type_check_only +class GoogleCloudRunV2WorkerPool(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + binaryAuthorization: GoogleCloudRunV2BinaryAuthorization + client: str + clientVersion: str + conditions: _list[GoogleCloudRunV2Condition] + createTime: str + creator: str + customAudiences: _list[str] + deleteTime: str + description: str + etag: str + expireTime: str + generation: str + instanceSplitStatuses: _list[GoogleCloudRunV2InstanceSplitStatus] + instanceSplits: _list[GoogleCloudRunV2InstanceSplit] + labels: dict[str, typing.Any] + lastModifier: str + latestCreatedRevision: str + latestReadyRevision: str + launchStage: typing_extensions.Literal[ + "LAUNCH_STAGE_UNSPECIFIED", + "UNIMPLEMENTED", + "PRELAUNCH", + "EARLY_ACCESS", + "ALPHA", + "BETA", + "GA", + "DEPRECATED", + ] + name: str + observedGeneration: str + reconciling: bool + satisfiesPzs: bool + scaling: GoogleCloudRunV2WorkerPoolScaling + template: GoogleCloudRunV2WorkerPoolRevisionTemplate + terminalCondition: GoogleCloudRunV2Condition + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudRunV2WorkerPoolRevisionTemplate( + typing_extensions.TypedDict, total=False +): + annotations: dict[str, typing.Any] + containers: _list[GoogleCloudRunV2Container] + encryptionKey: str + encryptionKeyRevocationAction: typing_extensions.Literal[ + "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" + ] + encryptionKeyShutdownDuration: str + labels: dict[str, typing.Any] + nodeSelector: GoogleCloudRunV2NodeSelector + revision: str + serviceAccount: str + serviceMesh: GoogleCloudRunV2ServiceMesh + volumes: _list[GoogleCloudRunV2Volume] + vpcAccess: GoogleCloudRunV2VpcAccess + +@typing.type_check_only +class GoogleCloudRunV2WorkerPoolScaling(typing_extensions.TypedDict, total=False): + manualInstanceCount: int + @typing.type_check_only class GoogleDevtoolsCloudbuildV1ApprovalConfig( typing_extensions.TypedDict, total=False @@ -673,6 +800,7 @@ class GoogleDevtoolsCloudbuildV1ArtifactObjects( @typing.type_check_only class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=False): + goModules: _list[GoogleDevtoolsCloudbuildV1GoModule] images: _list[str] mavenArtifacts: _list[GoogleDevtoolsCloudbuildV1MavenArtifact] npmPackages: _list[GoogleDevtoolsCloudbuildV1NpmPackage] @@ -686,6 +814,7 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): availableSecrets: GoogleDevtoolsCloudbuildV1Secrets buildTriggerId: str createTime: str + dependencies: _list[GoogleDevtoolsCloudbuildV1Dependency] failureInfo: GoogleDevtoolsCloudbuildV1FailureInfo finishTime: str gitConfig: GoogleDevtoolsCloudbuildV1GitConfig @@ -747,6 +876,7 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= ] diskSizeGb: str dynamicSubstitutions: bool + enableStructuredLogging: bool env: _list[str] logStreamingOption: typing_extensions.Literal[ "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" @@ -768,10 +898,11 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= "E2_MEDIUM", ] pool: GoogleDevtoolsCloudbuildV1PoolOption + pubsubTopic: str requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] ] substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[GoogleDevtoolsCloudbuildV1Volume] @@ -823,6 +954,11 @@ class GoogleDevtoolsCloudbuildV1ConnectedRepository( repository: str revision: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1Dependency(typing_extensions.TypedDict, total=False): + empty: bool + gitSource: GoogleDevtoolsCloudbuildV1GitSourceDependency + @typing.type_check_only class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig( typing_extensions.TypedDict, total=False @@ -858,9 +994,35 @@ class GoogleDevtoolsCloudbuildV1GitSource(typing_extensions.TypedDict, total=Fal revision: str url: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GitSourceDependency( + typing_extensions.TypedDict, total=False +): + depth: str + destPath: str + recurseSubmodules: bool + repository: GoogleDevtoolsCloudbuildV1GitSourceRepository + revision: str + +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GitSourceRepository( + typing_extensions.TypedDict, total=False +): + developerConnect: str + url: str + +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=False): + modulePath: str + moduleVersion: str + repositoryLocation: str + repositoryName: str + repositoryProjectId: str + sourcePath: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "MD5", "SHA512"] + type: typing_extensions.Literal["NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512"] value: str @typing.type_check_only @@ -911,6 +1073,7 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + goModules: _list[GoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[GoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[GoogleDevtoolsCloudbuildV1UploadedMavenArtifact] npmPackages: _list[GoogleDevtoolsCloudbuildV1UploadedNpmPackage] @@ -976,6 +1139,14 @@ class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=Fals endTime: str startTime: str +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1UploadedGoModule( + typing_extensions.TypedDict, total=False +): + fileHashes: GoogleDevtoolsCloudbuildV1FileHashes + pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/__init__.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/__init__.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi new file mode 100644 index 00000000..93553ddd --- /dev/null +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi @@ -0,0 +1,613 @@ +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 SaaSServiceManagementResource(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 ReleasesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Release = ..., + releaseId: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> ReleaseHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ReleaseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListReleasesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListReleasesResponseHttpRequest, + previous_response: ListReleasesResponse, + ) -> ListReleasesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Release = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> ReleaseHttpRequest: ... + + @typing.type_check_only + class RolloutKindsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: RolloutKind = ..., + requestId: str = ..., + rolloutKindId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> RolloutKindHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutKindHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutKindsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutKindsResponseHttpRequest, + previous_response: ListRolloutKindsResponse, + ) -> ListRolloutKindsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: RolloutKind = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> RolloutKindHttpRequest: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Rollout = ..., + requestId: str = ..., + rolloutId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> RolloutHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutsResponseHttpRequest, + previous_response: ListRolloutsResponse, + ) -> ListRolloutsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Rollout = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> RolloutHttpRequest: ... + + @typing.type_check_only + class SaasResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Saas = ..., + requestId: str = ..., + saasId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> SaasHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SaasHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSaasResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSaasResponseHttpRequest, + previous_response: ListSaasResponse, + ) -> ListSaasResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Saas = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> SaasHttpRequest: ... + + @typing.type_check_only + class TenantsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Tenant = ..., + requestId: str = ..., + tenantId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> TenantHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TenantHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListTenantsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTenantsResponseHttpRequest, + previous_response: ListTenantsResponse, + ) -> ListTenantsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Tenant = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> TenantHttpRequest: ... + + @typing.type_check_only + class UnitKindsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: UnitKind = ..., + requestId: str = ..., + unitKindId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitKindHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UnitKindHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUnitKindsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUnitKindsResponseHttpRequest, + previous_response: ListUnitKindsResponse, + ) -> ListUnitKindsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: UnitKind = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitKindHttpRequest: ... + + @typing.type_check_only + class UnitOperationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: UnitOperation = ..., + requestId: str = ..., + unitOperationId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UnitOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUnitOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUnitOperationsResponseHttpRequest, + previous_response: ListUnitOperationsResponse, + ) -> ListUnitOperationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: UnitOperation = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitOperationHttpRequest: ... + + @typing.type_check_only + class UnitsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Unit = ..., + requestId: str = ..., + unitId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UnitHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUnitsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUnitsResponseHttpRequest, + previous_response: ListUnitsResponse, + ) -> ListUnitsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Unit = ..., + requestId: str = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UnitHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudLocationLocationHttpRequest: ... + 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 releases(self) -> ReleasesResource: ... + def rolloutKinds(self) -> RolloutKindsResource: ... + def rollouts(self) -> RolloutsResource: ... + def saas(self) -> SaasResource: ... + def tenants(self) -> TenantsResource: ... + def unitKinds(self) -> UnitKindsResource: ... + def unitOperations(self) -> UnitOperationsResource: ... + def units(self) -> UnitsResource: ... + + 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 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 GoogleCloudLocationLocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudLocationLocation: ... + +@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 ListReleasesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListReleasesResponse: ... + +@typing.type_check_only +class ListRolloutKindsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutKindsResponse: ... + +@typing.type_check_only +class ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutsResponse: ... + +@typing.type_check_only +class ListSaasResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSaasResponse: ... + +@typing.type_check_only +class ListTenantsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTenantsResponse: ... + +@typing.type_check_only +class ListUnitKindsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUnitKindsResponse: ... + +@typing.type_check_only +class ListUnitOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUnitOperationsResponse: ... + +@typing.type_check_only +class ListUnitsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUnitsResponse: ... + +@typing.type_check_only +class ReleaseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Release: ... + +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutKindHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutKind: ... + +@typing.type_check_only +class SaasHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Saas: ... + +@typing.type_check_only +class TenantHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Tenant: ... + +@typing.type_check_only +class UnitHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Unit: ... + +@typing.type_check_only +class UnitKindHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UnitKind: ... + +@typing.type_check_only +class UnitOperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UnitOperation: ... diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi new file mode 100644 index 00000000..3dc3157f --- /dev/null +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -0,0 +1,389 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Aggregate(typing_extensions.TypedDict, total=False): + count: int + group: str + +@typing.type_check_only +class Blueprint(typing_extensions.TypedDict, total=False): + engine: str + package: str + version: str + +@typing.type_check_only +class Dependency(typing_extensions.TypedDict, total=False): + alias: str + unitKind: str + +@typing.type_check_only +class Deprovision(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ErrorBudget(typing_extensions.TypedDict, total=False): + allowedCount: int + allowedPercentage: int + +@typing.type_check_only +class FromMapping(typing_extensions.TypedDict, total=False): + dependency: str + outputVariable: str + +@typing.type_check_only +class GoogleCloudLocationLocation(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 ListLocationsResponse(typing_extensions.TypedDict, total=False): + locations: _list[GoogleCloudLocationLocation] + nextPageToken: str + +@typing.type_check_only +class ListReleasesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + releases: _list[Release] + unreachable: _list[str] + +@typing.type_check_only +class ListRolloutKindsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rolloutKinds: _list[RolloutKind] + unreachable: _list[str] + +@typing.type_check_only +class ListRolloutsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rollouts: _list[Rollout] + unreachable: _list[str] + +@typing.type_check_only +class ListSaasResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + saas: _list[Saas] + unreachable: _list[str] + +@typing.type_check_only +class ListTenantsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + tenants: _list[Tenant] + unreachable: _list[str] + +@typing.type_check_only +class ListUnitKindsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unitKinds: _list[UnitKind] + unreachable: _list[str] + +@typing.type_check_only +class ListUnitOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unitOperations: _list[UnitOperation] + unreachable: _list[str] + +@typing.type_check_only +class ListUnitsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + units: _list[Unit] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class MaintenanceSettings(typing_extensions.TypedDict, total=False): + pinnedUntilTime: str + +@typing.type_check_only +class Provision(typing_extensions.TypedDict, total=False): + inputVariables: _list[UnitVariable] + release: str + +@typing.type_check_only +class Release(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + blueprint: Blueprint + createTime: str + etag: str + inputVariableDefaults: _list[UnitVariable] + inputVariables: _list[UnitVariable] + labels: dict[str, typing.Any] + name: str + outputVariables: _list[UnitVariable] + releaseRequirements: ReleaseRequirements + uid: str + unitKind: str + updateTime: str + +@typing.type_check_only +class ReleaseRequirements(typing_extensions.TypedDict, total=False): + upgradeableFromReleases: _list[str] + +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + control: RolloutControl + createTime: str + endTime: str + etag: str + labels: dict[str, typing.Any] + name: str + parentRollout: str + release: str + rolloutKind: str + rolloutOrchestrationStrategy: str + rootRollout: str + startTime: str + state: typing_extensions.Literal[ + "ROLLOUT_STATE_UNSPECIFIED", + "ROLLOUT_STATE_RUNNING", + "ROLLOUT_STATE_PAUSED", + "ROLLOUT_STATE_SUCCEEDED", + "ROLLOUT_STATE_FAILED", + "ROLLOUT_STATE_CANCELLED", + "ROLLOUT_STATE_WAITING", + "ROLLOUT_STATE_CANCELLING", + "ROLLOUT_STATE_RESUMING", + "ROLLOUT_STATE_PAUSING", + ] + stateMessage: str + stateTransitionTime: str + stats: RolloutStats + uid: str + unitFilter: str + updateTime: str + +@typing.type_check_only +class RolloutControl(typing_extensions.TypedDict, total=False): + action: typing_extensions.Literal[ + "ROLLOUT_ACTION_UNSPECIFIED", + "ROLLOUT_ACTION_RUN", + "ROLLOUT_ACTION_PAUSE", + "ROLLOUT_ACTION_CANCEL", + ] + runParams: RunRolloutActionParams + +@typing.type_check_only +class RolloutKind(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + errorBudget: ErrorBudget + etag: str + labels: dict[str, typing.Any] + name: str + rolloutOrchestrationStrategy: str + uid: str + unitFilter: str + unitKind: str + updateTime: str + updateUnitKindStrategy: typing_extensions.Literal[ + "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED", + "UPDATE_UNIT_KIND_STRATEGY_ON_START", + "UPDATE_UNIT_KIND_STRATEGY_NEVER", + ] + +@typing.type_check_only +class RolloutStats(typing_extensions.TypedDict, total=False): + operationsByState: _list[Aggregate] + +@typing.type_check_only +class RunRolloutActionParams(typing_extensions.TypedDict, total=False): + retryFailedOperations: bool + +@typing.type_check_only +class Saas(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + etag: str + labels: dict[str, typing.Any] + locations: _list[Location] + name: str + uid: str + updateTime: str + +@typing.type_check_only +class Schedule(typing_extensions.TypedDict, total=False): + startTime: str + +@typing.type_check_only +class Tenant(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + consumerResource: str + createTime: str + etag: str + labels: dict[str, typing.Any] + name: str + saas: str + uid: str + updateTime: str + +@typing.type_check_only +class ToMapping(typing_extensions.TypedDict, total=False): + dependency: str + ignoreForLookup: bool + inputVariable: str + +@typing.type_check_only +class Unit(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + conditions: _list[UnitCondition] + createTime: str + dependencies: _list[UnitDependency] + dependents: _list[UnitDependency] + etag: str + inputVariables: _list[UnitVariable] + labels: dict[str, typing.Any] + maintenance: MaintenanceSettings + managementMode: typing_extensions.Literal[ + "MANAGEMENT_MODE_UNSPECIFIED", "MANAGEMENT_MODE_USER", "MANAGEMENT_MODE_SYSTEM" + ] + name: str + ongoingOperations: _list[str] + outputVariables: _list[UnitVariable] + pendingOperations: _list[str] + release: str + scheduledOperations: _list[str] + state: typing_extensions.Literal[ + "UNIT_STATE_UNSPECIFIED", + "UNIT_STATE_NOT_PROVISIONED", + "UNIT_STATE_PROVISIONING", + "UNIT_STATE_UPDATING", + "UNIT_STATE_DEPROVISIONING", + "UNIT_STATE_READY", + "UNIT_STATE_ERROR", + ] + systemCleanupAt: str + systemManagedState: typing_extensions.Literal[ + "SYSTEM_MANAGED_STATE_UNSPECIFIED", + "SYSTEM_MANAGED_STATE_ACTIVE", + "SYSTEM_MANAGED_STATE_INACTIVE", + "SYSTEM_MANAGED_STATE_DECOMMISSIONED", + ] + tenant: str + uid: str + unitKind: str + updateTime: str + +@typing.type_check_only +class UnitCondition(typing_extensions.TypedDict, total=False): + lastTransitionTime: str + message: str + reason: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" + ] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "TYPE_READY", + "TYPE_UPDATING", + "TYPE_PROVISIONED", + "TYPE_OPERATION_ERROR", + ] + +@typing.type_check_only +class UnitDependency(typing_extensions.TypedDict, total=False): + alias: str + unit: str + +@typing.type_check_only +class UnitKind(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + defaultRelease: str + dependencies: _list[Dependency] + etag: str + inputVariableMappings: _list[VariableMapping] + labels: dict[str, typing.Any] + name: str + outputVariableMappings: _list[VariableMapping] + saas: str + uid: str + updateTime: str + +@typing.type_check_only +class UnitOperation(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + cancel: bool + conditions: _list[UnitOperationCondition] + createTime: str + deprovision: Deprovision + engineState: str + errorCategory: typing_extensions.Literal[ + "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED", + "NOT_APPLICABLE", + "FATAL", + "RETRIABLE", + "IGNORABLE", + "STANDARD", + ] + etag: str + labels: dict[str, typing.Any] + name: str + parentUnitOperation: str + provision: Provision + rollout: str + schedule: Schedule + state: typing_extensions.Literal[ + "UNIT_OPERATION_STATE_UNKNOWN", + "UNIT_OPERATION_STATE_PENDING", + "UNIT_OPERATION_STATE_SCHEDULED", + "UNIT_OPERATION_STATE_RUNNING", + "UNIT_OPERATION_STATE_SUCCEEDED", + "UNIT_OPERATION_STATE_FAILED", + "UNIT_OPERATION_STATE_CANCELLED", + ] + uid: str + unit: str + updateTime: str + upgrade: Upgrade + +@typing.type_check_only +class UnitOperationCondition(typing_extensions.TypedDict, total=False): + lastTransitionTime: str + message: str + reason: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" + ] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "TYPE_SCHEDULED", + "TYPE_RUNNING", + "TYPE_SUCCEEDED", + "TYPE_CANCELLED", + ] + +@typing.type_check_only +class UnitVariable(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "INT", "BOOL"] + value: str + variable: str + +@typing.type_check_only +class Upgrade(typing_extensions.TypedDict, total=False): + inputVariables: _list[UnitVariable] + release: str + +AlternativeVariableMapping = typing_extensions.TypedDict( + "AlternativeVariableMapping", + { + "from": FromMapping, + "to": ToMapping, + "variable": str, + }, + total=False, +) + +@typing.type_check_only +class VariableMapping(AlternativeVariableMapping): ... diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi index b16f9bb3..cf3ce494 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi @@ -13,6 +13,38 @@ _list = list @typing.type_check_only class SafebrowsingResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class HashListResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + sizeConstraints_maxDatabaseEntries: int = ..., + sizeConstraints_maxUpdateEntries: int = ..., + version: str = ..., + **kwargs: typing.Any, + ) -> GoogleSecuritySafebrowsingV5HashListHttpRequest: ... + + @typing.type_check_only + class HashListsResource(googleapiclient.discovery.Resource): + def batchGet( + self, + *, + names: str | _list[str] = ..., + sizeConstraints_maxDatabaseEntries: int = ..., + sizeConstraints_maxUpdateEntries: int = ..., + version: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleSecuritySafebrowsingV5BatchGetHashListsResponseHttpRequest: ... + def list( + self, *, pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any + ) -> GoogleSecuritySafebrowsingV5ListHashListsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleSecuritySafebrowsingV5ListHashListsResponseHttpRequest, + previous_response: GoogleSecuritySafebrowsingV5ListHashListsResponse, + ) -> GoogleSecuritySafebrowsingV5ListHashListsResponseHttpRequest | None: ... + @typing.type_check_only class HashesResource(googleapiclient.discovery.Resource): def search( @@ -31,8 +63,38 @@ class SafebrowsingResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def hashList(self) -> HashListResource: ... + def hashLists(self) -> HashListsResource: ... def hashes(self) -> HashesResource: ... +@typing.type_check_only +class GoogleSecuritySafebrowsingV5BatchGetHashListsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleSecuritySafebrowsingV5BatchGetHashListsResponse: ... + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5HashListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleSecuritySafebrowsingV5HashList: ... + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5ListHashListsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleSecuritySafebrowsingV5ListHashListsResponse: ... + @typing.type_check_only class GoogleSecuritySafebrowsingV5SearchHashesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi index c5c5cba0..adf2dae7 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi @@ -4,6 +4,12 @@ import typing_extensions _list = list +@typing.type_check_only +class GoogleSecuritySafebrowsingV5BatchGetHashListsResponse( + typing_extensions.TypedDict, total=False +): + hashLists: _list[GoogleSecuritySafebrowsingV5HashList] + @typing.type_check_only class GoogleSecuritySafebrowsingV5FullHash(typing_extensions.TypedDict, total=False): fullHash: str @@ -26,6 +32,94 @@ class GoogleSecuritySafebrowsingV5FullHashFullHashDetail( "POTENTIALLY_HARMFUL_APPLICATION", ] +@typing.type_check_only +class GoogleSecuritySafebrowsingV5HashList(typing_extensions.TypedDict, total=False): + additionsEightBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit + additionsFourBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit + additionsSixteenBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit + additionsThirtyTwoBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit + compressedRemovals: GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit + metadata: GoogleSecuritySafebrowsingV5HashListMetadata + minimumWaitDuration: str + name: str + partialUpdate: bool + sha256Checksum: str + version: str + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5HashListMetadata( + typing_extensions.TypedDict, total=False +): + description: str + hashLength: typing_extensions.Literal[ + "HASH_LENGTH_UNSPECIFIED", + "FOUR_BYTES", + "EIGHT_BYTES", + "SIXTEEN_BYTES", + "THIRTY_TWO_BYTES", + ] + likelySafeTypes: _list[ + typing_extensions.Literal[ + "LIKELY_SAFE_TYPE_UNSPECIFIED", "GENERAL_BROWSING", "CSD", "DOWNLOAD" + ] + ] + threatTypes: _list[ + typing_extensions.Literal[ + "THREAT_TYPE_UNSPECIFIED", + "MALWARE", + "SOCIAL_ENGINEERING", + "UNWANTED_SOFTWARE", + "POTENTIALLY_HARMFUL_APPLICATION", + ] + ] + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5ListHashListsResponse( + typing_extensions.TypedDict, total=False +): + hashLists: _list[GoogleSecuritySafebrowsingV5HashList] + nextPageToken: str + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit( + typing_extensions.TypedDict, total=False +): + encodedData: str + entriesCount: int + firstValueHi: str + firstValueLo: str + riceParameter: int + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit( + typing_extensions.TypedDict, total=False +): + encodedData: str + entriesCount: int + firstValueFirstPart: str + firstValueFourthPart: str + firstValueSecondPart: str + firstValueThirdPart: str + riceParameter: int + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit( + typing_extensions.TypedDict, total=False +): + encodedData: str + entriesCount: int + firstValue: int + riceParameter: int + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit( + typing_extensions.TypedDict, total=False +): + encodedData: str + entriesCount: int + firstValue: str + riceParameter: int + @typing.type_check_only class GoogleSecuritySafebrowsingV5SearchHashesResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/script/v1/schemas.pyi b/googleapiclient-stubs/_apis/script/v1/schemas.pyi index c6b176e3..2a5b6797 100644 --- a/googleapiclient-stubs/_apis/script/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/script/v1/schemas.pyi @@ -40,10 +40,6 @@ class EntryPoint(typing_extensions.TypedDict, total=False): executionApi: GoogleAppsScriptTypeExecutionApiEntryPoint webApp: GoogleAppsScriptTypeWebAppEntryPoint -@typing.type_check_only -class ExecuteStreamResponse(typing_extensions.TypedDict, total=False): - result: ScriptExecutionResult - @typing.type_check_only class ExecutionError(typing_extensions.TypedDict, total=False): errorMessage: str @@ -176,10 +172,6 @@ class ListUserProcessesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str processes: _list[GoogleAppsScriptTypeProcess] -@typing.type_check_only -class ListValue(typing_extensions.TypedDict, total=False): - values: _list[Value] - @typing.type_check_only class ListVersionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -213,10 +205,6 @@ class Project(typing_extensions.TypedDict, total=False): title: str updateTime: str -@typing.type_check_only -class ScriptExecutionResult(typing_extensions.TypedDict, total=False): - returnValue: Value - @typing.type_check_only class ScriptStackTraceElement(typing_extensions.TypedDict, total=False): function: str @@ -228,26 +216,10 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class Struct(typing_extensions.TypedDict, total=False): - fields: dict[str, typing.Any] - @typing.type_check_only class UpdateDeploymentRequest(typing_extensions.TypedDict, total=False): deploymentConfig: DeploymentConfig -@typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): - boolValue: bool - bytesValue: str - dateValue: str - listValue: ListValue - nullValue: typing_extensions.Literal["NULL_VALUE"] - numberValue: float - protoValue: dict[str, typing.Any] - stringValue: str - structValue: Struct - @typing.type_check_only class Version(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi index 45933390..f4d8ca26 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi @@ -2397,6 +2397,18 @@ class GoogleAdsSearchads360V0Resources__CustomColumn( class GoogleAdsSearchads360V0Resources__Customer( typing_extensions.TypedDict, total=False ): + accountLevel: typing_extensions.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "CLIENT_ACCOUNT_FACEBOOK", + "CLIENT_ACCOUNT_GOOGLE_ADS", + "CLIENT_ACCOUNT_MICROSOFT", + "CLIENT_ACCOUNT_YAHOO_JAPAN", + "CLIENT_ACCOUNT_ENGINE_TRACK", + "MANAGER", + "SUB_MANAGER", + "ASSOCIATE_MANAGER", + ] accountStatus: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "SUSPENDED", "REMOVED", "DRAFT" ] @@ -2412,6 +2424,8 @@ class GoogleAdsSearchads360V0Resources__Customer( "SEARCH_ADS_360", "YAHOO_JAPAN", ] + associateManagerDescriptiveName: str + associateManagerId: str autoTaggingEnabled: bool conversionTrackingSetting: ( GoogleAdsSearchads360V0Resources__ConversionTrackingSetting @@ -2427,10 +2441,14 @@ class GoogleAdsSearchads360V0Resources__Customer( id: str lastModifiedTime: str manager: bool + managerDescriptiveName: str + managerId: str resourceName: str status: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "CANCELED", "SUSPENDED", "CLOSED" ] + subManagerDescriptiveName: str + subManagerId: str timeZone: str trackingUrlTemplate: str diff --git a/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi b/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi index cdef2dd6..d26d01e0 100644 --- a/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi @@ -140,6 +140,11 @@ class Item(typing_extensions.TypedDict, total=False): issues: _list[RichResultsIssue] name: str +@typing.type_check_only +class Metadata(typing_extensions.TypedDict, total=False): + firstIncompleteDate: str + firstIncompleteHour: str + @typing.type_check_only class MobileFriendlyIssue(typing_extensions.TypedDict, total=False): rule: typing_extensions.Literal[ @@ -211,11 +216,13 @@ class SearchAnalyticsQueryRequest(typing_extensions.TypedDict, total=False): aggregationType: typing_extensions.Literal[ "AUTO", "BY_PROPERTY", "BY_PAGE", "BY_NEWS_SHOWCASE_PANEL" ] - dataState: typing_extensions.Literal["DATA_STATE_UNSPECIFIED", "FINAL", "ALL"] + dataState: typing_extensions.Literal[ + "DATA_STATE_UNSPECIFIED", "FINAL", "ALL", "HOURLY_ALL" + ] dimensionFilterGroups: _list[ApiDimensionFilterGroup] dimensions: _list[ typing_extensions.Literal[ - "DATE", "QUERY", "PAGE", "COUNTRY", "DEVICE", "SEARCH_APPEARANCE" + "DATE", "QUERY", "PAGE", "COUNTRY", "DEVICE", "SEARCH_APPEARANCE", "HOUR" ] ] endDate: str @@ -231,6 +238,7 @@ class SearchAnalyticsQueryRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class SearchAnalyticsQueryResponse(typing_extensions.TypedDict, total=False): + metadata: Metadata responseAggregationType: typing_extensions.Literal[ "AUTO", "BY_PROPERTY", "BY_PAGE", "BY_NEWS_SHOWCASE_PANEL" ] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi index 5d6f5d67..fc09058d 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi @@ -136,6 +136,7 @@ class SecretManagerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi index 762c3402..57b33188 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi @@ -137,6 +137,7 @@ class Secret(typing_extensions.TypedDict, total=False): name: str replication: Replication rotation: Rotation + tags: dict[str, typing.Any] topics: _list[Topic] ttl: str versionAliases: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi index ec44a80c..c90b1bbe 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi @@ -24,6 +24,7 @@ class SecretManagerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi index f9b327cc..7453db4a 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi @@ -100,6 +100,7 @@ class Secret(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str replication: Replication + tags: dict[str, typing.Any] @typing.type_check_only class SecretPayload(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi index 5d6f5d67..fc09058d 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi @@ -136,6 +136,7 @@ class SecretManagerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi index 762c3402..57b33188 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi @@ -137,6 +137,7 @@ class Secret(typing_extensions.TypedDict, total=False): name: str replication: Replication rotation: Rotation + tags: dict[str, typing.Any] topics: _list[Topic] ttl: str versionAliases: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index 5091d3bf..c1370c6c 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -32,6 +32,26 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AffectedResources(typing_extensions.TypedDict, total=False): + count: str + +@typing.type_check_only +class AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -190,6 +210,10 @@ class BatchCreateResourceValueConfigsRequest(typing_extensions.TypedDict, total= class BatchCreateResourceValueConfigsResponse(typing_extensions.TypedDict, total=False): resourceValueConfigs: _list[GoogleCloudSecuritycenterV1ResourceValueConfig] +@typing.type_check_only +class BigQueryDestination(typing_extensions.TypedDict, total=False): + dataset: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -202,6 +226,10 @@ class BulkMuteFindingsRequest(typing_extensions.TypedDict, total=False): muteAnnotation: str muteState: typing_extensions.Literal["MUTE_STATE_UNSPECIFIED", "MUTED", "UNDEFINED"] +@typing.type_check_only +class Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: AdaptiveProtection @@ -238,22 +266,6 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str -@typing.type_check_only -class ComplianceSnapshot(typing_extensions.TypedDict, total=False): - category: str - cloudProvider: typing_extensions.Literal[ - "CLOUD_PROVIDER_UNSPECIFIED", - "GOOGLE_CLOUD_PLATFORM", - "AMAZON_WEB_SERVICES", - "MICROSOFT_AZURE", - ] - complianceStandard: str - complianceVersion: str - count: str - leafContainerResource: str - name: str - snapshotTime: str - @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -357,6 +369,11 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[Reference] + @typing.type_check_only class DataAccessEvent(typing_extensions.TypedDict, total=False): eventId: str @@ -394,6 +411,16 @@ class Database(typing_extensions.TypedDict, total=False): userName: str version: str +@typing.type_check_only +class Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Detection(typing_extensions.TypedDict, total=False): binary: str @@ -471,6 +498,14 @@ class Exfiltration(typing_extensions.TypedDict, total=False): targets: _list[ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): + bigQueryDestination: BigQueryDestination + exportStartTime: str + +@typing.type_check_only +class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -483,19 +518,29 @@ class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath hashedSize: str + operations: _list[FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class FileOperation(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class Finding(typing_extensions.TypedDict, total=False): access: Access + affectedResources: AffectedResources + aiModel: AiModel application: Application attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str category: str + chokepoint: Chokepoint cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection @@ -525,10 +570,13 @@ class Finding(typing_extensions.TypedDict, total=False): "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] indicator: Indicator + ipRules: IpRules + job: Job kernelRootkit: KernelRootkit kubernetes: Kubernetes loadBalancers: _list[LoadBalancer] @@ -540,6 +588,7 @@ class Finding(typing_extensions.TypedDict, total=False): muteInitiator: str muteUpdateTime: str name: str + networks: _list[Network] nextSteps: str notebook: Notebook orgPolicies: _list[OrgPolicy] @@ -555,6 +604,7 @@ class Finding(typing_extensions.TypedDict, total=False): sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination + vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only @@ -881,6 +931,28 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AffectedResources( + typing_extensions.TypedDict, total=False +): + count: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -1007,6 +1079,10 @@ class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection @@ -1138,6 +1214,11 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[GoogleCloudSecuritycenterV2Reference] + @typing.type_check_only class GoogleCloudSecuritycenterV2DataAccessEvent( typing_extensions.TypedDict, total=False @@ -1181,6 +1262,16 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal userName: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): binary: str @@ -1243,19 +1334,31 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath hashedSize: str + operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2FileOperation( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access + affectedResources: GoogleCloudSecuritycenterV2AffectedResources + aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str category: str + chokepoint: GoogleCloudSecuritycenterV2Chokepoint cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection @@ -1287,10 +1390,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] indicator: GoogleCloudSecuritycenterV2Indicator + ipRules: GoogleCloudSecuritycenterV2IpRules + job: GoogleCloudSecuritycenterV2Job kernelRootkit: GoogleCloudSecuritycenterV2KernelRootkit kubernetes: GoogleCloudSecuritycenterV2Kubernetes loadBalancers: _list[GoogleCloudSecuritycenterV2LoadBalancer] @@ -1302,6 +1408,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals muteInitiator: str muteUpdateTime: str name: str + networks: _list[GoogleCloudSecuritycenterV2Network] nextSteps: str notebook: GoogleCloudSecuritycenterV2Notebook orgPolicies: _list[GoogleCloudSecuritycenterV2OrgPolicy] @@ -1317,6 +1424,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination + vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only @@ -1334,7 +1442,9 @@ class GoogleCloudSecuritycenterV2GroupMembership( ): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -1350,6 +1460,20 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[GoogleCloudSecuritycenterV2PortRange] + protocol: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): + allowed: GoogleCloudSecuritycenterV2Allowed + denied: GoogleCloudSecuritycenterV2Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): createTime: str @@ -1384,6 +1508,7 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= "DATA", "IDENTITY_AND_ACCESS", "VULNERABILITY", + "THREAT", ] @typing.type_check_only @@ -1481,6 +1606,15 @@ class GoogleCloudSecuritycenterV2IssueSecurityContextContext( type: str values: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2KernelRootkit( typing_extensions.TypedDict, total=False @@ -1549,11 +1683,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1561,7 +1714,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1569,52 +1727,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -1637,11 +1842,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1649,7 +1873,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1657,52 +1886,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -1723,6 +1999,10 @@ class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=Fal dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute +@typing.type_check_only +class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): name: str @@ -1766,6 +2046,11 @@ class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=Fals packageType: str packageVersion: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] @@ -1781,6 +2066,11 @@ class GoogleCloudSecuritycenterV2PolicyDriftDetails( expectedValue: str field: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): args: _list[str] @@ -1793,6 +2083,7 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals parentPid: str pid: str script: GoogleCloudSecuritycenterV2File + userId: str @typing.type_check_only class GoogleCloudSecuritycenterV2ProcessSignature( @@ -1975,13 +2266,21 @@ class GoogleCloudSecuritycenterV2ToxicCombination( attackExposureScore: float relatedFindings: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[GoogleCloudSecuritycenterV2Dataset] + pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] + @typing.type_check_only class GoogleCloudSecuritycenterV2Vulnerability( typing_extensions.TypedDict, total=False ): cve: GoogleCloudSecuritycenterV2Cve + cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package offendingPackage: GoogleCloudSecuritycenterV2Package + providerRiskScore: str + reachable: bool securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only @@ -2026,7 +2325,9 @@ class GroupFindingsResponse(typing_extensions.TypedDict, total=False): class GroupMembership(typing_extensions.TypedDict, total=False): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -2051,6 +2352,29 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[PortRange] + protocol: str + +@typing.type_check_only +class IpRules(typing_extensions.TypedDict, total=False): + allowed: Allowed + denied: Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + +@typing.type_check_only +class Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class KernelRootkit(typing_extensions.TypedDict, total=False): name: str @@ -2233,11 +2557,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -2245,7 +2588,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -2253,52 +2601,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -2321,11 +2716,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -2333,7 +2747,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -2341,52 +2760,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -2396,6 +2862,10 @@ class MuteInfo(typing_extensions.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute +@typing.type_check_only +class Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Node(typing_extensions.TypedDict, total=False): name: str @@ -2459,6 +2929,11 @@ class PathNodeAssociatedFinding(typing_extensions.TypedDict, total=False): findingCategory: str name: str +@typing.type_check_only +class Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class Pod(typing_extensions.TypedDict, total=False): containers: _list[Container] @@ -2479,6 +2954,11 @@ class PolicyDriftDetails(typing_extensions.TypedDict, total=False): expectedValue: str field: str +@typing.type_check_only +class PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class Position(typing_extensions.TypedDict, total=False): columnNumber: int @@ -2496,6 +2976,7 @@ class Process(typing_extensions.TypedDict, total=False): parentPid: str pid: str script: File + userId: str @typing.type_check_only class ProcessSignature(typing_extensions.TypedDict, total=False): @@ -2754,11 +3235,19 @@ class ValuedResource(typing_extensions.TypedDict, total=False): ] resourceValueConfigsUsed: _list[ResourceValueConfigMetadata] +@typing.type_check_only +class VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[Dataset] + pipelines: _list[Pipeline] + @typing.type_check_only class Vulnerability(typing_extensions.TypedDict, total=False): cve: Cve + cwes: _list[Cwe] fixedPackage: Package offendingPackage: Package + providerRiskScore: str + reachable: bool securityBulletin: SecurityBulletin @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index ef88ac43..fec86a3f 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -32,6 +32,26 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AffectedResources(typing_extensions.TypedDict, total=False): + count: str + +@typing.type_check_only +class AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -145,6 +165,10 @@ class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): profile: str storagePool: str +@typing.type_check_only +class BigQueryDestination(typing_extensions.TypedDict, total=False): + dataset: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -154,6 +178,10 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: AdaptiveProtection @@ -190,22 +218,6 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str -@typing.type_check_only -class ComplianceSnapshot(typing_extensions.TypedDict, total=False): - category: str - cloudProvider: typing_extensions.Literal[ - "CLOUD_PROVIDER_UNSPECIFIED", - "GOOGLE_CLOUD_PLATFORM", - "AMAZON_WEB_SERVICES", - "MICROSOFT_AZURE", - ] - complianceStandard: str - complianceVersion: str - count: str - leafContainerResource: str - name: str - snapshotTime: str - @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): destinationIp: str @@ -293,6 +305,11 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[Reference] + @typing.type_check_only class DataAccessEvent(typing_extensions.TypedDict, total=False): eventId: str @@ -330,6 +347,16 @@ class Database(typing_extensions.TypedDict, total=False): userName: str version: str +@typing.type_check_only +class Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Detection(typing_extensions.TypedDict, total=False): binary: str @@ -368,6 +395,14 @@ class Exfiltration(typing_extensions.TypedDict, total=False): targets: _list[ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): + bigQueryDestination: BigQueryDestination + exportStartTime: str + +@typing.type_check_only +class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -380,19 +415,29 @@ class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath hashedSize: str + operations: _list[FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class FileOperation(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class Finding(typing_extensions.TypedDict, total=False): access: Access + affectedResources: AffectedResources + aiModel: AiModel application: Application attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str category: str + chokepoint: Chokepoint cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection @@ -422,10 +467,13 @@ class Finding(typing_extensions.TypedDict, total=False): "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] indicator: Indicator + ipRules: IpRules + job: Job kernelRootkit: KernelRootkit kubernetes: Kubernetes loadBalancers: _list[LoadBalancer] @@ -437,6 +485,7 @@ class Finding(typing_extensions.TypedDict, total=False): muteInitiator: str muteUpdateTime: str name: str + networks: _list[Network] nextSteps: str notebook: Notebook orgPolicies: _list[OrgPolicy] @@ -452,6 +501,7 @@ class Finding(typing_extensions.TypedDict, total=False): sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination + vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only @@ -798,6 +848,28 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AffectedResources( + typing_extensions.TypedDict, total=False +): + count: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -924,6 +996,10 @@ class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection @@ -1055,6 +1131,11 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[GoogleCloudSecuritycenterV2Reference] + @typing.type_check_only class GoogleCloudSecuritycenterV2DataAccessEvent( typing_extensions.TypedDict, total=False @@ -1098,6 +1179,16 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal userName: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): binary: str @@ -1160,19 +1251,31 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath hashedSize: str + operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2FileOperation( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access + affectedResources: GoogleCloudSecuritycenterV2AffectedResources + aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str category: str + chokepoint: GoogleCloudSecuritycenterV2Chokepoint cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection @@ -1204,10 +1307,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] indicator: GoogleCloudSecuritycenterV2Indicator + ipRules: GoogleCloudSecuritycenterV2IpRules + job: GoogleCloudSecuritycenterV2Job kernelRootkit: GoogleCloudSecuritycenterV2KernelRootkit kubernetes: GoogleCloudSecuritycenterV2Kubernetes loadBalancers: _list[GoogleCloudSecuritycenterV2LoadBalancer] @@ -1219,6 +1325,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals muteInitiator: str muteUpdateTime: str name: str + networks: _list[GoogleCloudSecuritycenterV2Network] nextSteps: str notebook: GoogleCloudSecuritycenterV2Notebook orgPolicies: _list[GoogleCloudSecuritycenterV2OrgPolicy] @@ -1234,6 +1341,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination + vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only @@ -1251,7 +1359,9 @@ class GoogleCloudSecuritycenterV2GroupMembership( ): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -1267,6 +1377,20 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[GoogleCloudSecuritycenterV2PortRange] + protocol: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): + allowed: GoogleCloudSecuritycenterV2Allowed + denied: GoogleCloudSecuritycenterV2Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): createTime: str @@ -1301,6 +1425,7 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= "DATA", "IDENTITY_AND_ACCESS", "VULNERABILITY", + "THREAT", ] @typing.type_check_only @@ -1398,6 +1523,15 @@ class GoogleCloudSecuritycenterV2IssueSecurityContextContext( type: str values: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2KernelRootkit( typing_extensions.TypedDict, total=False @@ -1466,11 +1600,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1478,7 +1631,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1486,52 +1644,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -1554,11 +1759,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1566,7 +1790,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1574,52 +1803,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -1640,6 +1916,10 @@ class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=Fal dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute +@typing.type_check_only +class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): name: str @@ -1683,6 +1963,11 @@ class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=Fals packageType: str packageVersion: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] @@ -1698,6 +1983,11 @@ class GoogleCloudSecuritycenterV2PolicyDriftDetails( expectedValue: str field: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): args: _list[str] @@ -1710,6 +2000,7 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals parentPid: str pid: str script: GoogleCloudSecuritycenterV2File + userId: str @typing.type_check_only class GoogleCloudSecuritycenterV2ProcessSignature( @@ -1892,13 +2183,21 @@ class GoogleCloudSecuritycenterV2ToxicCombination( attackExposureScore: float relatedFindings: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[GoogleCloudSecuritycenterV2Dataset] + pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] + @typing.type_check_only class GoogleCloudSecuritycenterV2Vulnerability( typing_extensions.TypedDict, total=False ): cve: GoogleCloudSecuritycenterV2Cve + cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package offendingPackage: GoogleCloudSecuritycenterV2Package + providerRiskScore: str + reachable: bool securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only @@ -1940,7 +2239,9 @@ class GroupFindingsResponse(typing_extensions.TypedDict, total=False): class GroupMembership(typing_extensions.TypedDict, total=False): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -1961,6 +2262,29 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[PortRange] + protocol: str + +@typing.type_check_only +class IpRules(typing_extensions.TypedDict, total=False): + allowed: Allowed + denied: Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + +@typing.type_check_only +class Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class KernelRootkit(typing_extensions.TypedDict, total=False): name: str @@ -2056,11 +2380,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -2068,7 +2411,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -2076,52 +2424,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -2144,11 +2539,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -2156,7 +2570,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -2164,52 +2583,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -2219,6 +2685,10 @@ class MuteInfo(typing_extensions.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute +@typing.type_check_only +class Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Node(typing_extensions.TypedDict, total=False): name: str @@ -2268,6 +2738,11 @@ class Package(typing_extensions.TypedDict, total=False): packageType: str packageVersion: str +@typing.type_check_only +class Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class Pod(typing_extensions.TypedDict, total=False): containers: _list[Container] @@ -2288,6 +2763,11 @@ class PolicyDriftDetails(typing_extensions.TypedDict, total=False): expectedValue: str field: str +@typing.type_check_only +class PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class Process(typing_extensions.TypedDict, total=False): args: _list[str] @@ -2300,6 +2780,7 @@ class Process(typing_extensions.TypedDict, total=False): parentPid: str pid: str script: File + userId: str @typing.type_check_only class ProcessSignature(typing_extensions.TypedDict, total=False): @@ -2452,11 +2933,19 @@ class ToxicCombination(typing_extensions.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] +@typing.type_check_only +class VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[Dataset] + pipelines: _list[Pipeline] + @typing.type_check_only class Vulnerability(typing_extensions.TypedDict, total=False): cve: Cve + cwes: _list[Cwe] fixedPackage: Package offendingPackage: Package + providerRiskScore: str + reachable: bool securityBulletin: SecurityBulletin @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index aaba4760..06d95c98 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -32,6 +32,26 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AffectedResources(typing_extensions.TypedDict, total=False): + count: str + +@typing.type_check_only +class AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -117,6 +137,14 @@ class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): profile: str storagePool: str +@typing.type_check_only +class BigQueryDestination(typing_extensions.TypedDict, total=False): + dataset: str + +@typing.type_check_only +class Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: AdaptiveProtection @@ -153,22 +181,6 @@ class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str -@typing.type_check_only -class ComplianceSnapshot(typing_extensions.TypedDict, total=False): - category: str - cloudProvider: typing_extensions.Literal[ - "CLOUD_PROVIDER_UNSPECIFIED", - "GOOGLE_CLOUD_PLATFORM", - "AMAZON_WEB_SERVICES", - "MICROSOFT_AZURE", - ] - complianceStandard: str - complianceVersion: str - count: str - leafContainerResource: str - name: str - snapshotTime: str - @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): moduleEnablementState: typing_extensions.Literal[ @@ -273,6 +285,11 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[Reference] + @typing.type_check_only class DataAccessEvent(typing_extensions.TypedDict, total=False): eventId: str @@ -310,6 +327,16 @@ class Database(typing_extensions.TypedDict, total=False): userName: str version: str +@typing.type_check_only +class Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[IpRule] + @typing.type_check_only class Details(typing_extensions.TypedDict, total=False): endTime: str @@ -362,6 +389,14 @@ class Exfiltration(typing_extensions.TypedDict, total=False): targets: _list[ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): + bigQueryDestination: BigQueryDestination + exportStartTime: str + +@typing.type_check_only +class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -374,19 +409,29 @@ class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath hashedSize: str + operations: _list[FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class FileOperation(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class Finding(typing_extensions.TypedDict, total=False): access: Access + affectedResources: AffectedResources + aiModel: AiModel application: Application attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str category: str + chokepoint: Chokepoint cloudArmor: CloudArmor cloudDlpDataProfile: CloudDlpDataProfile cloudDlpInspection: CloudDlpInspection @@ -416,10 +461,13 @@ class Finding(typing_extensions.TypedDict, total=False): "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] indicator: Indicator + ipRules: IpRules + job: Job kernelRootkit: KernelRootkit kubernetes: Kubernetes loadBalancers: _list[LoadBalancer] @@ -431,6 +479,7 @@ class Finding(typing_extensions.TypedDict, total=False): muteInitiator: str muteUpdateTime: str name: str + networks: _list[Network] nextSteps: str notebook: Notebook orgPolicies: _list[OrgPolicy] @@ -446,6 +495,7 @@ class Finding(typing_extensions.TypedDict, total=False): sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination + vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only @@ -764,6 +814,28 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AffectedResources( + typing_extensions.TypedDict, total=False +): + count: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): + deploymentPlatform: typing_extensions.Literal[ + "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE" + ] + displayName: str + domain: str + library: str + location: str + name: str + publisher: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): baseUri: str @@ -890,6 +962,10 @@ class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): + relatedFindings: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection @@ -1021,6 +1097,11 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): + id: str + references: _list[GoogleCloudSecuritycenterV2Reference] + @typing.type_check_only class GoogleCloudSecuritycenterV2DataAccessEvent( typing_extensions.TypedDict, total=False @@ -1064,6 +1145,16 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal userName: str version: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): + displayName: str + name: str + source: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): + ipRules: _list[GoogleCloudSecuritycenterV2IpRule] + @typing.type_check_only class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): binary: str @@ -1126,19 +1217,31 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath hashedSize: str + operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool path: str sha256: str size: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2FileOperation( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access + affectedResources: GoogleCloudSecuritycenterV2AffectedResources + aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str category: str + chokepoint: GoogleCloudSecuritycenterV2Chokepoint cloudArmor: GoogleCloudSecuritycenterV2CloudArmor cloudDlpDataProfile: GoogleCloudSecuritycenterV2CloudDlpDataProfile cloudDlpInspection: GoogleCloudSecuritycenterV2CloudDlpInspection @@ -1170,10 +1273,13 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "POSTURE_VIOLATION", "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", + "CHOKEPOINT", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] indicator: GoogleCloudSecuritycenterV2Indicator + ipRules: GoogleCloudSecuritycenterV2IpRules + job: GoogleCloudSecuritycenterV2Job kernelRootkit: GoogleCloudSecuritycenterV2KernelRootkit kubernetes: GoogleCloudSecuritycenterV2Kubernetes loadBalancers: _list[GoogleCloudSecuritycenterV2LoadBalancer] @@ -1185,6 +1291,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals muteInitiator: str muteUpdateTime: str name: str + networks: _list[GoogleCloudSecuritycenterV2Network] nextSteps: str notebook: GoogleCloudSecuritycenterV2Notebook orgPolicies: _list[GoogleCloudSecuritycenterV2OrgPolicy] @@ -1200,6 +1307,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals sourceProperties: dict[str, typing.Any] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination + vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only @@ -1217,7 +1325,9 @@ class GoogleCloudSecuritycenterV2GroupMembership( ): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -1233,6 +1343,20 @@ class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=Fa signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[GoogleCloudSecuritycenterV2PortRange] + protocol: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): + allowed: GoogleCloudSecuritycenterV2Allowed + denied: GoogleCloudSecuritycenterV2Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + @typing.type_check_only class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): createTime: str @@ -1267,6 +1391,7 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= "DATA", "IDENTITY_AND_ACCESS", "VULNERABILITY", + "THREAT", ] @typing.type_check_only @@ -1364,6 +1489,15 @@ class GoogleCloudSecuritycenterV2IssueSecurityContextContext( type: str values: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2KernelRootkit( typing_extensions.TypedDict, total=False @@ -1432,11 +1566,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1444,7 +1597,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1452,52 +1610,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -1520,11 +1725,30 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1532,7 +1756,12 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1540,52 +1769,99 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -1606,6 +1882,10 @@ class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=Fal dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute +@typing.type_check_only +class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): name: str @@ -1649,6 +1929,11 @@ class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=Fals packageType: str packageVersion: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] @@ -1664,6 +1949,11 @@ class GoogleCloudSecuritycenterV2PolicyDriftDetails( expectedValue: str field: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): args: _list[str] @@ -1676,6 +1966,7 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals parentPid: str pid: str script: GoogleCloudSecuritycenterV2File + userId: str @typing.type_check_only class GoogleCloudSecuritycenterV2ProcessSignature( @@ -1858,13 +2149,21 @@ class GoogleCloudSecuritycenterV2ToxicCombination( attackExposureScore: float relatedFindings: _list[str] +@typing.type_check_only +class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[GoogleCloudSecuritycenterV2Dataset] + pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] + @typing.type_check_only class GoogleCloudSecuritycenterV2Vulnerability( typing_extensions.TypedDict, total=False ): cve: GoogleCloudSecuritycenterV2Cve + cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package offendingPackage: GoogleCloudSecuritycenterV2Package + providerRiskScore: str + reachable: bool securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only @@ -1877,7 +2176,9 @@ class GoogleCloudSecuritycenterV2YaraRuleSignature( class GroupMembership(typing_extensions.TypedDict, total=False): groupId: str groupType: typing_extensions.Literal[ - "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION" + "GROUP_TYPE_UNSPECIFIED", + "GROUP_TYPE_TOXIC_COMBINATION", + "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only @@ -1893,6 +2194,29 @@ class Indicator(typing_extensions.TypedDict, total=False): signatures: _list[ProcessSignature] uris: _list[str] +@typing.type_check_only +class IpRule(typing_extensions.TypedDict, total=False): + portRanges: _list[PortRange] + protocol: str + +@typing.type_check_only +class IpRules(typing_extensions.TypedDict, total=False): + allowed: Allowed + denied: Denied + destinationIpRanges: _list[str] + direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + exposedServices: _list[str] + sourceIpRanges: _list[str] + +@typing.type_check_only +class Job(typing_extensions.TypedDict, total=False): + errorCode: int + location: str + name: str + state: typing_extensions.Literal[ + "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + @typing.type_check_only class KernelRootkit(typing_extensions.TypedDict, total=False): name: str @@ -1957,11 +2281,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): additionalTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -1969,7 +2312,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -1977,52 +2325,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] primaryTactic: typing_extensions.Literal[ @@ -2045,11 +2440,30 @@ class MitreAttack(typing_extensions.TypedDict, total=False): primaryTechniques: _list[ typing_extensions.Literal[ "TECHNIQUE_UNSPECIFIED", + "DATA_OBFUSCATION", + "DATA_OBFUSCATION_STEGANOGRAPHY", + "OS_CREDENTIAL_DUMPING", + "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", + "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", + "DATA_FROM_LOCAL_SYSTEM", + "AUTOMATED_EXFILTRATION", + "OBFUSCATED_FILES_OR_INFO", + "STEGANOGRAPHY", + "COMPILE_AFTER_DELIVERY", + "COMMAND_OBFUSCATION", + "SCHEDULED_TRANSFER", + "SYSTEM_OWNER_USER_DISCOVERY", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", + "SCHEDULED_TASK_JOB", + "SCHEDULED_TASK_JOB_CRON", + "CONTAINER_ORCHESTRATION_JOB", + "PROCESS_INJECTION", + "INPUT_CAPTURE", + "INPUT_CAPTURE_KEYLOGGING", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", @@ -2057,7 +2471,12 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL", + "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", + "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", "INDICATOR_REMOVAL_FILE_DELETION", + "INDICATOR_REMOVAL_TIMESTOMP", + "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -2065,52 +2484,99 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", + "FILE_AND_DIRECTORY_DISCOVERY", + "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", + "ADDITIONAL_CLOUD_ROLES", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", + "MULTI_STAGE_CHANNELS", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", + "AUTOMATED_COLLECTION", "SHARED_MODULES", + "DATA_ENCODING", + "STANDARD_ENCODING", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", + "CREATE_ACCOUNT", + "LOCAL_ACCOUNT", + "DEOBFUSCATE_DECODE_FILES_OR_INFO", "EXPLOIT_PUBLIC_FACING_APPLICATION", + "SUPPLY_CHAIN_COMPROMISE", + "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", + "EXPLOITATION_FOR_CLIENT_EXECUTION", + "USER_EXECUTION", + "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", + "DATA_ENCRYPTED_FOR_IMPACT", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", + "FIRMWARE_CORRUPTION", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", + "TRANSFER_DATA_TO_CLOUD_ACCOUNT", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "EVENT_TRIGGERED_EXECUTION", + "BOOT_OR_LOGON_AUTOSTART_EXECUTION", + "KERNEL_MODULES_AND_EXTENSIONS", + "SHORTCUT_MODIFICATION", "ABUSE_ELEVATION_CONTROL_MECHANISM", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", + "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", "UNSECURED_CREDENTIALS", + "CREDENTIALS_IN_FILES", + "BASH_HISTORY", + "PRIVATE_KEYS", + "SUBVERT_TRUST_CONTROL", + "INSTALL_ROOT_CERTIFICATE", + "COMPROMISE_HOST_SOFTWARE_BINARY", + "CREDENTIALS_FROM_PASSWORD_STORES", "MODIFY_AUTHENTICATION_PROCESS", + "PLUGGABLE_AUTHENTICATION_MODULES", + "MULTI_FACTOR_AUTHENTICATION", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", + "INDICATOR_BLOCKING", + "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", + "HIDE_ARTIFACTS", + "HIDDEN_FILES_AND_DIRECTORIES", + "HIDDEN_USERS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", + "HIJACK_EXECUTION_FLOW", + "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", + "DEVELOP_CAPABILITIES", + "DEVELOP_CAPABILITIES_MALWARE", "OBTAIN_CAPABILITIES", + "OBTAIN_CAPABILITIES_MALWARE", + "OBTAIN_CAPABILITIES_VULNERABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", + "STAGE_CAPABILITIES", + "UPLOAD_MALWARE", "CONTAINER_ADMINISTRATION_COMMAND", "DEPLOY_CONTAINER", "ESCAPE_TO_HOST", "CONTAINER_AND_RESOURCE_DISCOVERY", + "REFLECTIVE_CODE_LOADING", "STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", + "FINANCIAL_THEFT", ] ] version: str @@ -2120,6 +2586,10 @@ class MuteInfo(typing_extensions.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute +@typing.type_check_only +class Network(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Node(typing_extensions.TypedDict, total=False): name: str @@ -2155,6 +2625,11 @@ class Package(typing_extensions.TypedDict, total=False): packageType: str packageVersion: str +@typing.type_check_only +class Pipeline(typing_extensions.TypedDict, total=False): + displayName: str + name: str + @typing.type_check_only class Pod(typing_extensions.TypedDict, total=False): containers: _list[Container] @@ -2168,6 +2643,11 @@ class PolicyDriftDetails(typing_extensions.TypedDict, total=False): expectedValue: str field: str +@typing.type_check_only +class PortRange(typing_extensions.TypedDict, total=False): + max: str + min: str + @typing.type_check_only class Process(typing_extensions.TypedDict, total=False): args: _list[str] @@ -2180,6 +2660,7 @@ class Process(typing_extensions.TypedDict, total=False): parentPid: str pid: str script: File + userId: str @typing.type_check_only class ProcessSignature(typing_extensions.TypedDict, total=False): @@ -2325,6 +2806,11 @@ class ToxicCombination(typing_extensions.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] +@typing.type_check_only +class VertexAi(typing_extensions.TypedDict, total=False): + datasets: _list[Dataset] + pipelines: _list[Pipeline] + @typing.type_check_only class VirtualMachineThreatDetectionSettings(typing_extensions.TypedDict, total=False): modules: dict[str, typing.Any] @@ -2338,8 +2824,11 @@ class VirtualMachineThreatDetectionSettings(typing_extensions.TypedDict, total=F @typing.type_check_only class Vulnerability(typing_extensions.TypedDict, total=False): cve: Cve + cwes: _list[Cwe] fixedPackage: Package offendingPackage: Package + providerRiskScore: str + reachable: bool securityBulletin: SecurityBulletin @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi index 08619812..d696c031 100644 --- a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi @@ -212,6 +212,7 @@ class SecurityPostureResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index dfee8419..45455008 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -26,6 +26,11 @@ class ApplyTenantProjectConfigRequest(typing_extensions.TypedDict, total=False): projectConfig: TenantProjectConfig tag: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AttachTenantProjectRequest(typing_extensions.TypedDict, total=False): externalResource: str @@ -68,6 +73,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -77,6 +83,30 @@ class BackendRule(typing_extensions.TypedDict, total=False): protocol: str selector: str +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -228,6 +258,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -369,6 +400,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -563,11 +595,13 @@ class SearchTenancyUnitsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index ee17b2a2..36d8405e 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -16,6 +16,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str @@ -52,6 +57,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -61,6 +67,30 @@ class BackendRule(typing_extensions.TypedDict, total=False): protocol: str selector: str +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -197,6 +227,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -328,6 +359,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -508,11 +540,13 @@ class RubySettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi index 4b13b5e8..f572b127 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi @@ -381,6 +381,7 @@ class Request(typing_extensions.TypedDict, total=False): host: str id: str method: str + origin: str path: str protocol: str query: str diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi index cf74c039..53de01d5 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi @@ -125,6 +125,7 @@ class Request(typing_extensions.TypedDict, total=False): host: str id: str method: str + origin: str path: str protocol: str query: str diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi index 183dc514..4d70a0e5 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi @@ -195,6 +195,7 @@ class ServiceDirectoryResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi index b05703e1..3f606700 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi @@ -220,6 +220,7 @@ class ServiceDirectoryResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi index b22525d2..8397e386 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi @@ -20,6 +20,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -68,6 +73,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -77,6 +83,30 @@ class BackendRule(typing_extensions.TypedDict, total=False): protocol: str selector: str +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -264,6 +294,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): @@ -452,6 +483,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -667,6 +699,7 @@ 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): @@ -674,11 +707,13 @@ class RubySettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi index 7ce85cde..646afa31 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi @@ -74,6 +74,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str @@ -110,6 +115,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -119,6 +125,30 @@ class BackendRule(typing_extensions.TypedDict, total=False): protocol: str selector: str +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -131,6 +161,9 @@ class BillingDestination(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CleanupConnectionMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ClientLibrarySettings(typing_extensions.TypedDict, total=False): cppSettings: CppSettings @@ -329,6 +362,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -512,6 +546,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -650,6 +685,7 @@ class PeeredDnsDomainMetadata(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): @@ -767,11 +803,13 @@ class SecondaryIpRangeSpec(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing @@ -904,6 +942,7 @@ class ValidateConsumerConfigResponse(typing_extensions.TypedDict, total=False): "RANGES_DELETED_LATER", "COMPUTE_API_NOT_ENABLED", "USE_PERMISSION_NOT_FOUND", + "SN_SERVICE_AGENT_PERMISSION_DENIED_ON_CONSUMER_PROJECT", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi index 88514d43..6cbc6000 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi @@ -45,6 +45,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str @@ -81,6 +86,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -90,6 +96,30 @@ class BackendRule(typing_extensions.TypedDict, total=False): protocol: str selector: str +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -99,6 +129,9 @@ class BillingDestination(typing_extensions.TypedDict, total=False): metrics: _list[str] monitoredResource: str +@typing.type_check_only +class CleanupConnectionMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ClientLibrarySettings(typing_extensions.TypedDict, total=False): cppSettings: CppSettings @@ -273,6 +306,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -434,6 +468,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -572,6 +607,7 @@ class PeeredDnsDomainMetadata(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): @@ -664,11 +700,13 @@ class SecondaryIpRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index f9f7a0df..3aa013ac 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -57,6 +57,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str @@ -93,6 +98,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -123,6 +129,30 @@ class BatchEnableServicesResponse(typing_extensions.TypedDict, total=False): class BatchGetServicesResponse(typing_extensions.TypedDict, total=False): services: _list[GoogleApiServiceusageV1Service] +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -308,6 +338,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -369,6 +400,7 @@ class GoSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleApiService(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing @@ -459,7 +491,7 @@ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata( @typing.type_check_only class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=False): - analysis: GoogleApiServiceusageV2betaAnalysisResult + analysisResult: GoogleApiServiceusageV2betaAnalysisResult analysisType: typing_extensions.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", @@ -635,6 +667,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -836,6 +869,7 @@ class RubySettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index 6d3bc11e..feff9adb 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -57,6 +57,11 @@ class Api(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class Aspect(typing_extensions.TypedDict, total=False): + kind: str + spec: dict[str, typing.Any] + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str @@ -93,6 +98,7 @@ class BackendRule(typing_extensions.TypedDict, total=False): deadline: float disableAuth: bool jwtAudience: str + loadBalancingPolicy: str minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] @@ -119,6 +125,30 @@ class BatchEnableServicesResponse(typing_extensions.TypedDict, total=False): failures: _list[EnableFailure] services: _list[GoogleApiServiceusageV1Service] +@typing.type_check_only +class BatchingConfigProto(typing_extensions.TypedDict, total=False): + batchDescriptor: BatchingDescriptorProto + thresholds: BatchingSettingsProto + +@typing.type_check_only +class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): + batchedField: str + discriminatorFields: _list[str] + subresponseField: str + +@typing.type_check_only +class BatchingSettingsProto(typing_extensions.TypedDict, total=False): + delayThreshold: str + elementCountLimit: int + elementCountThreshold: int + flowControlByteLimit: int + flowControlElementLimit: int + flowControlLimitExceededBehavior: typing_extensions.Literal[ + "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" + ] + requestByteLimit: int + requestByteThreshold: str + @typing.type_check_only class Billing(typing_extensions.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @@ -316,6 +346,7 @@ class EnumValue(typing_extensions.TypedDict, total=False): class ExperimentalFeatures(typing_extensions.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool + unversionedPackageDisabled: bool @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): @@ -377,6 +408,7 @@ class GoSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleApiService(typing_extensions.TypedDict, total=False): apis: _list[Api] + aspects: _list[Aspect] authentication: Authentication backend: Backend billing: Billing @@ -467,7 +499,7 @@ class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata( @typing.type_check_only class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=False): - analysis: GoogleApiServiceusageV2betaAnalysisResult + analysisResult: GoogleApiServiceusageV2betaAnalysisResult analysisType: typing_extensions.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", @@ -682,6 +714,7 @@ class MethodPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MethodSettings(typing_extensions.TypedDict, total=False): autoPopulatedFields: _list[str] + batching: BatchingConfigProto longRunning: LongRunning selector: str @@ -911,6 +944,7 @@ class RubySettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sheets/v4/resources.pyi b/googleapiclient-stubs/_apis/sheets/v4/resources.pyi index 7c05685a..6f673a40 100644 --- a/googleapiclient-stubs/_apis/sheets/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/sheets/v4/resources.pyi @@ -170,6 +170,7 @@ class SheetsResource(googleapiclient.discovery.Resource): self, *, spreadsheetId: str, + excludeTablesInBandedRanges: bool = ..., includeGridData: bool = ..., ranges: str | _list[str] = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi b/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi index eae7e3a7..aad6271e 100644 --- a/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi @@ -82,11 +82,20 @@ class AddSlicerRequest(typing_extensions.TypedDict, total=False): class AddSlicerResponse(typing_extensions.TypedDict, total=False): slicer: Slicer +@typing.type_check_only +class AddTableRequest(typing_extensions.TypedDict, total=False): + table: Table + +@typing.type_check_only +class AddTableResponse(typing_extensions.TypedDict, total=False): + table: Table + @typing.type_check_only class AppendCellsRequest(typing_extensions.TypedDict, total=False): fields: str rows: _list[RowData] sheetId: int + tableId: str @typing.type_check_only class AppendDimensionRequest(typing_extensions.TypedDict, total=False): @@ -114,6 +123,7 @@ class AutoResizeDimensionsRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class BandedRange(typing_extensions.TypedDict, total=False): bandedRangeId: int + bandedRangeReference: str columnProperties: BandingProperties range: GridRange rowProperties: BandingProperties @@ -230,6 +240,7 @@ class BasicFilter(typing_extensions.TypedDict, total=False): filterSpecs: _list[FilterSpec] range: GridRange sortSpecs: _list[SortSpec] + tableId: str @typing.type_check_only class BasicSeriesDataPointStyleOverride(typing_extensions.TypedDict, total=False): @@ -480,6 +491,7 @@ class CandlestickSeries(typing_extensions.TypedDict, total=False): @typing.type_check_only class CellData(typing_extensions.TypedDict, total=False): + chipRuns: _list[ChipRun] dataSourceFormula: DataSourceFormula dataSourceTable: DataSourceTable dataValidation: DataValidationRule @@ -615,6 +627,16 @@ class ChartSpec(typing_extensions.TypedDict, total=False): treemapChart: TreemapChartSpec waterfallChart: WaterfallChartSpec +@typing.type_check_only +class Chip(typing_extensions.TypedDict, total=False): + personProperties: PersonProperties + richLinkProperties: RichLinkProperties + +@typing.type_check_only +class ChipRun(typing_extensions.TypedDict, total=False): + chip: Chip + startIndex: int + @typing.type_check_only class ClearBasicFilterRequest(typing_extensions.TypedDict, total=False): sheetId: int @@ -988,6 +1010,10 @@ class DeleteRangeRequest(typing_extensions.TypedDict, total=False): class DeleteSheetRequest(typing_extensions.TypedDict, total=False): sheetId: int +@typing.type_check_only +class DeleteTableRequest(typing_extensions.TypedDict, total=False): + tableId: str + @typing.type_check_only class DeveloperMetadata(typing_extensions.TypedDict, total=False): location: DeveloperMetadataLocation @@ -1144,6 +1170,7 @@ class FilterView(typing_extensions.TypedDict, total=False): namedRangeId: str range: GridRange sortSpecs: _list[SortSpec] + tableId: str title: str @typing.type_check_only @@ -1169,6 +1196,7 @@ class FindReplaceResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class GetSpreadsheetByDataFilterRequest(typing_extensions.TypedDict, total=False): dataFilters: _list[DataFilter] + excludeTablesInBandedRanges: bool includeGridData: bool @typing.type_check_only @@ -1397,6 +1425,13 @@ class PasteDataRequest(typing_extensions.TypedDict, total=False): "PASTE_CONDITIONAL_FORMATTING", ] +@typing.type_check_only +class PersonProperties(typing_extensions.TypedDict, total=False): + displayFormat: typing_extensions.Literal[ + "DISPLAY_FORMAT_UNSPECIFIED", "DEFAULT", "LAST_NAME_COMMA_FIRST_NAME", "EMAIL" + ] + email: str + @typing.type_check_only class PieChartSpec(typing_extensions.TypedDict, total=False): domain: ChartData @@ -1527,6 +1562,7 @@ class ProtectedRange(typing_extensions.TypedDict, total=False): protectedRangeId: int range: GridRange requestingUserCanEdit: bool + tableId: str unprotectedRanges: _list[GridRange] warningOnly: bool @@ -1582,6 +1618,7 @@ class Request(typing_extensions.TypedDict, total=False): addProtectedRange: AddProtectedRangeRequest addSheet: AddSheetRequest addSlicer: AddSlicerRequest + addTable: AddTableRequest appendCells: AppendCellsRequest appendDimension: AppendDimensionRequest autoFill: AutoFillRequest @@ -1604,6 +1641,7 @@ class Request(typing_extensions.TypedDict, total=False): deleteProtectedRange: DeleteProtectedRangeRequest deleteRange: DeleteRangeRequest deleteSheet: DeleteSheetRequest + deleteTable: DeleteTableRequest duplicateFilterView: DuplicateFilterViewRequest duplicateSheet: DuplicateSheetRequest findReplace: FindReplaceRequest @@ -1638,6 +1676,7 @@ class Request(typing_extensions.TypedDict, total=False): updateSheetProperties: UpdateSheetPropertiesRequest updateSlicerSpec: UpdateSlicerSpecRequest updateSpreadsheetProperties: UpdateSpreadsheetPropertiesRequest + updateTable: UpdateTableRequest @typing.type_check_only class Response(typing_extensions.TypedDict, total=False): @@ -1650,6 +1689,7 @@ class Response(typing_extensions.TypedDict, total=False): addProtectedRange: AddProtectedRangeResponse addSheet: AddSheetResponse addSlicer: AddSlicerResponse + addTable: AddTableResponse cancelDataSourceRefresh: CancelDataSourceRefreshResponse createDeveloperMetadata: CreateDeveloperMetadataResponse deleteConditionalFormatRule: DeleteConditionalFormatRuleResponse @@ -1666,6 +1706,11 @@ class Response(typing_extensions.TypedDict, total=False): updateDeveloperMetadata: UpdateDeveloperMetadataResponse updateEmbeddedObjectPosition: UpdateEmbeddedObjectPositionResponse +@typing.type_check_only +class RichLinkProperties(typing_extensions.TypedDict, total=False): + mimeType: str + uri: str + @typing.type_check_only class RowData(typing_extensions.TypedDict, total=False): values: _list[CellData] @@ -1724,6 +1769,7 @@ class Sheet(typing_extensions.TypedDict, total=False): protectedRanges: _list[ProtectedRange] rowGroups: _list[DimensionGroup] slicers: _list[Slicer] + tables: _list[Table] @typing.type_check_only class SheetProperties(typing_extensions.TypedDict, total=False): @@ -1812,6 +1858,48 @@ class SpreadsheetTheme(typing_extensions.TypedDict, total=False): primaryFontFamily: str themeColors: _list[ThemeColorPair] +@typing.type_check_only +class Table(typing_extensions.TypedDict, total=False): + columnProperties: _list[TableColumnProperties] + name: str + range: GridRange + rowsProperties: TableRowsProperties + tableId: str + +@typing.type_check_only +class TableColumnDataValidationRule(typing_extensions.TypedDict, total=False): + condition: BooleanCondition + +@typing.type_check_only +class TableColumnProperties(typing_extensions.TypedDict, total=False): + columnIndex: int + columnName: str + columnType: typing_extensions.Literal[ + "COLUMN_TYPE_UNSPECIFIED", + "DOUBLE", + "CURRENCY", + "PERCENT", + "DATE", + "TIME", + "DATE_TIME", + "TEXT", + "BOOLEAN", + "DROPDOWN", + "FILES_CHIP", + "PEOPLE_CHIP", + "FINANCE_CHIP", + "PLACE_CHIP", + "RATINGS_CHIP", + ] + dataValidationRule: TableColumnDataValidationRule + +@typing.type_check_only +class TableRowsProperties(typing_extensions.TypedDict, total=False): + firstBandColorStyle: ColorStyle + footerColorStyle: ColorStyle + headerColorStyle: ColorStyle + secondBandColorStyle: ColorStyle + @typing.type_check_only class TextFormat(typing_extensions.TypedDict, total=False): bold: bool @@ -2036,6 +2124,11 @@ class UpdateSpreadsheetPropertiesRequest(typing_extensions.TypedDict, total=Fals fields: str properties: SpreadsheetProperties +@typing.type_check_only +class UpdateTableRequest(typing_extensions.TypedDict, total=False): + fields: str + table: Table + @typing.type_check_only class UpdateValuesByDataFilterResponse(typing_extensions.TypedDict, total=False): dataFilter: DataFilter diff --git a/googleapiclient-stubs/_apis/slides/v1/schemas.pyi b/googleapiclient-stubs/_apis/slides/v1/schemas.pyi index fbaa6e17..a817a3dc 100644 --- a/googleapiclient-stubs/_apis/slides/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/slides/v1/schemas.pyi @@ -1088,6 +1088,7 @@ class StretchedPictureFill(typing_extensions.TypedDict, total=False): @typing.type_check_only class SubstringMatchCriteria(typing_extensions.TypedDict, total=False): matchCase: bool + searchByRegex: bool text: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi index de258758..d5658ae7 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi @@ -381,6 +381,20 @@ class SpannerResource(googleapiclient.discovery.Resource): @typing.type_check_only class SessionsResource(googleapiclient.discovery.Resource): + def adaptMessage( + self, + *, + name: str, + body: AdaptMessageRequest = ..., + **kwargs: typing.Any, + ) -> AdaptMessageResponseHttpRequest: ... + def adapter( + self, + *, + parent: str, + body: AdapterSession = ..., + **kwargs: typing.Any, + ) -> AdapterSessionHttpRequest: ... def batchCreate( self, *, @@ -817,6 +831,22 @@ class SpannerResource(googleapiclient.discovery.Resource): def projects(self) -> ProjectsResource: ... def scans(self) -> ScansResource: ... +@typing.type_check_only +class AdaptMessageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdaptMessageResponse: ... + +@typing.type_check_only +class AdapterSessionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdapterSession: ... + @typing.type_check_only class AddSplitPointsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi index 122bd956..c91cc426 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi @@ -4,6 +4,21 @@ import typing_extensions _list = list +@typing.type_check_only +class AdaptMessageRequest(typing_extensions.TypedDict, total=False): + attachments: dict[str, typing.Any] + payload: str + protocol: str + +@typing.type_check_only +class AdaptMessageResponse(typing_extensions.TypedDict, total=False): + payload: str + stateUpdates: dict[str, typing.Any] + +@typing.type_check_only +class AdapterSession(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class AddSplitPointsRequest(typing_extensions.TypedDict, total=False): initiator: str @@ -54,6 +69,7 @@ class Backup(typing_extensions.TypedDict, total=False): expireTime: str freeableSizeBytes: str incrementalBackupChainId: str + instancePartitions: _list[BackupInstancePartition] maxExpireTime: str name: str oldestVersionTime: str @@ -70,6 +86,10 @@ class BackupInfo(typing_extensions.TypedDict, total=False): sourceDatabase: str versionTime: str +@typing.type_check_only +class BackupInstancePartition(typing_extensions.TypedDict, total=False): + instancePartition: str + @typing.type_check_only class BackupSchedule(typing_extensions.TypedDict, total=False): encryptionConfig: CreateBackupEncryptionConfig @@ -129,12 +149,27 @@ class ChangeQuorumRequest(typing_extensions.TypedDict, total=False): name: str quorumType: QuorumType +@typing.type_check_only +class ChangeStreamRecord(typing_extensions.TypedDict, total=False): + dataChangeRecord: DataChangeRecord + heartbeatRecord: HeartbeatRecord + partitionEndRecord: PartitionEndRecord + partitionEventRecord: PartitionEventRecord + partitionStartRecord: PartitionStartRecord + @typing.type_check_only class ChildLink(typing_extensions.TypedDict, total=False): childIndex: int type: str variable: str +@typing.type_check_only +class ColumnMetadata(typing_extensions.TypedDict, total=False): + isPrimaryKey: bool + name: str + ordinalPosition: str + type: Type + @typing.type_check_only class CommitRequest(typing_extensions.TypedDict, total=False): maxCommitDelay: str @@ -272,6 +307,30 @@ class CrontabSpec(typing_extensions.TypedDict, total=False): text: str timeZone: str +@typing.type_check_only +class DataChangeRecord(typing_extensions.TypedDict, total=False): + columnMetadata: _list[ColumnMetadata] + commitTimestamp: str + isLastRecordInTransactionInPartition: bool + isSystemTransaction: bool + modType: typing_extensions.Literal[ + "MOD_TYPE_UNSPECIFIED", "INSERT", "UPDATE", "DELETE" + ] + mods: _list[Mod] + numberOfPartitionsInTransaction: int + numberOfRecordsInTransaction: int + recordSequence: str + serverTransactionId: str + table: str + transactionTag: str + valueCaptureType: typing_extensions.Literal[ + "VALUE_CAPTURE_TYPE_UNSPECIFIED", + "OLD_AND_NEW_VALUES", + "NEW_VALUES", + "NEW_ROW", + "NEW_ROW_AND_OLD_VALUES", + ] + @typing.type_check_only class Database(typing_extensions.TypedDict, total=False): createTime: str @@ -292,6 +351,11 @@ class Database(typing_extensions.TypedDict, total=False): ] versionRetentionPeriod: str +@typing.type_check_only +class DatabaseMoveConfig(typing_extensions.TypedDict, total=False): + databaseId: str + encryptionConfig: InstanceEncryptionConfig + @typing.type_check_only class DatabaseRole(typing_extensions.TypedDict, total=False): name: str @@ -420,6 +484,10 @@ class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): class GetPolicyOptions(typing_extensions.TypedDict, total=False): requestedPolicyVersion: int +@typing.type_check_only +class HeartbeatRecord(typing_extensions.TypedDict, total=False): + timestamp: str + @typing.type_check_only class IncludeReplicas(typing_extensions.TypedDict, total=False): autoFailoverDisabled: bool @@ -493,6 +561,11 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] storageLimitPerProcessingUnit: str +@typing.type_check_only +class InstanceEncryptionConfig(typing_extensions.TypedDict, total=False): + kmsKeyName: str + kmsKeyNames: _list[str] + @typing.type_check_only class InstanceOperationProgress(typing_extensions.TypedDict, total=False): endTime: str @@ -653,9 +726,29 @@ class MetricMatrix(typing_extensions.TypedDict, total=False): class MetricMatrixRow(typing_extensions.TypedDict, total=False): cols: _list[float] +@typing.type_check_only +class Mod(typing_extensions.TypedDict, total=False): + keys: _list[ModValue] + newValues: _list[ModValue] + oldValues: _list[ModValue] + +@typing.type_check_only +class ModValue(typing_extensions.TypedDict, total=False): + columnMetadataIndex: int + value: typing.Any + +@typing.type_check_only +class MoveInEvent(typing_extensions.TypedDict, total=False): + sourcePartitionToken: str + @typing.type_check_only class MoveInstanceRequest(typing_extensions.TypedDict, total=False): targetConfig: str + targetDatabaseMoveConfigs: _list[DatabaseMoveConfig] + +@typing.type_check_only +class MoveOutEvent(typing_extensions.TypedDict, total=False): + destinationPartitionToken: str @typing.type_check_only class MultiplexedSessionPrecommitToken(typing_extensions.TypedDict, total=False): @@ -696,6 +789,7 @@ class OptimizeRestoredDatabaseMetadata(typing_extensions.TypedDict, total=False) @typing.type_check_only class PartialResultSet(typing_extensions.TypedDict, total=False): chunkedValue: bool + last: bool metadata: ResultSetMetadata precommitToken: MultiplexedSessionPrecommitToken resumeToken: str @@ -706,6 +800,20 @@ class PartialResultSet(typing_extensions.TypedDict, total=False): class Partition(typing_extensions.TypedDict, total=False): partitionToken: str +@typing.type_check_only +class PartitionEndRecord(typing_extensions.TypedDict, total=False): + endTimestamp: str + partitionToken: str + recordSequence: str + +@typing.type_check_only +class PartitionEventRecord(typing_extensions.TypedDict, total=False): + commitTimestamp: str + moveInEvents: _list[MoveInEvent] + moveOutEvents: _list[MoveOutEvent] + partitionToken: str + recordSequence: str + @typing.type_check_only class PartitionOptions(typing_extensions.TypedDict, total=False): maxPartitions: str @@ -733,6 +841,12 @@ class PartitionResponse(typing_extensions.TypedDict, total=False): partitions: _list[Partition] transaction: Transaction +@typing.type_check_only +class PartitionStartRecord(typing_extensions.TypedDict, total=False): + partitionTokens: _list[str] + recordSequence: str + startTimestamp: str + @typing.type_check_only class PartitionedDml(typing_extensions.TypedDict, total=False): ... @@ -980,6 +1094,9 @@ class Transaction(typing_extensions.TypedDict, total=False): @typing.type_check_only class TransactionOptions(typing_extensions.TypedDict, total=False): excludeTxnFromChangeStreams: bool + isolationLevel: typing_extensions.Literal[ + "ISOLATION_LEVEL_UNSPECIFIED", "SERIALIZABLE", "REPEATABLE_READ" + ] partitionedDml: PartitionedDml readOnly: ReadOnly readWrite: ReadWrite diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index 77c10a02..5ad0fc7a 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -13,6 +13,40 @@ _list = list @typing.type_check_only class SQLAdminResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BackupsResource(googleapiclient.discovery.Resource): + def CreateBackup( + self, *, parent: str, body: Backup = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def DeleteBackup( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def GetBackup( + self, *, name: str, **kwargs: typing.Any + ) -> BackupHttpRequest: ... + def ListBackups( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackupsResponseHttpRequest: ... + def ListBackups_next( + self, + previous_request: ListBackupsResponseHttpRequest, + previous_response: ListBackupsResponse, + ) -> ListBackupsResponseHttpRequest | None: ... + def UpdateBackup( + self, + *, + name: str, + body: Backup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class BackupRunsResource(googleapiclient.discovery.Resource): def delete( @@ -104,7 +138,15 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class FlagsResource(googleapiclient.discovery.Resource): def list( - self, *, databaseVersion: str = ..., **kwargs: typing.Any + self, + *, + databaseVersion: str = ..., + flagScope: typing_extensions.Literal[ + "SQL_FLAG_SCOPE_UNSPECIFIED", + "SQL_FLAG_SCOPE_DATABASE", + "SQL_FLAG_SCOPE_CONNECTION_POOL", + ] = ..., + **kwargs: typing.Any, ) -> FlagsListResponseHttpRequest: ... @typing.type_check_only @@ -143,7 +185,15 @@ class SQLAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + enableFinalBackup: bool = ..., + finalBackupDescription: str = ..., + finalBackupExpiryTime: str = ..., + finalBackupTtlDays: str = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def demote( self, @@ -216,6 +266,13 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: DatabaseInstance = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def pointInTimeRestore( + self, + *, + parent: str, + body: PointInTimeRestoreContext = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def promoteReplica( self, *, @@ -457,6 +514,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def Backups(self) -> BackupsResource: ... def backupRuns(self) -> BackupRunsResource: ... def connect(self) -> ConnectResource: ... def databases(self) -> DatabasesResource: ... @@ -468,6 +526,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): def tiers(self) -> TiersResource: ... def users(self) -> UsersResource: ... +@typing.type_check_only +class BackupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Backup: ... + @typing.type_check_only class BackupRunHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -566,6 +632,14 @@ class InstancesListServerCertificatesResponseHttpRequest( num_retries: int = 0, ) -> InstancesListServerCertificatesResponse: ... +@typing.type_check_only +class ListBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackupsResponse: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index 5d31f591..e6c1ec85 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -40,9 +40,100 @@ class AvailableDatabaseVersion(typing_extensions.TypedDict, total=False): majorVersion: str name: str +@typing.type_check_only +class Backup(typing_extensions.TypedDict, total=False): + backupInterval: Interval + backupKind: typing_extensions.Literal[ + "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" + ] + backupRun: str + databaseVersion: 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", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] + description: str + error: OperationError + expiryTime: str + instance: str + instanceDeletionTime: str + instanceSettings: DatabaseInstance + kind: str + kmsKey: str + kmsKeyVersion: str + location: str + maxChargeableBytes: str + name: str + satisfiesPzi: bool + satisfiesPzs: bool + selfLink: str + state: typing_extensions.Literal[ + "SQL_BACKUP_STATE_UNSPECIFIED", + "ENQUEUED", + "RUNNING", + "FAILED", + "SUCCESSFUL", + "DELETING", + "DELETION_FAILED", + ] + timeZone: str + ttlDays: str + type: typing_extensions.Literal[ + "SQL_BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND", "FINAL" + ] + @typing.type_check_only class BackupConfiguration(typing_extensions.TypedDict, total=False): backupRetentionSettings: BackupRetentionSettings + backupTier: typing_extensions.Literal[ + "BACKUP_TIER_UNSPECIFIED", "STANDARD", "ADVANCED", "ENHANCED" + ] binaryLogEnabled: bool enabled: bool kind: str @@ -63,6 +154,7 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): class BackupContext(typing_extensions.TypedDict, total=False): backupId: str kind: str + name: str @typing.type_check_only class BackupReencryptionConfig(typing_extensions.TypedDict, total=False): @@ -81,6 +173,57 @@ class BackupRun(typing_extensions.TypedDict, total=False): backupKind: typing_extensions.Literal[ "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" ] + databaseVersion: 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", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] description: str diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus @@ -136,6 +279,13 @@ class CloneContext(typing_extensions.TypedDict, total=False): preferredSecondaryZone: str preferredZone: str +@typing.type_check_only +class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): + dnsName: str + dnsNames: _list[DnsNameMapping] + ipAddresses: _list[IpMapping] + name: str + @typing.type_check_only class ConnectSettings(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ @@ -162,11 +312,14 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -191,15 +344,31 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_WEB", ] dnsName: str + dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] kind: str + nodeCount: int + nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool region: str serverCaCert: SslCert serverCaMode: typing_extensions.Literal[ - "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA" + "CA_MODE_UNSPECIFIED", + "GOOGLE_MANAGED_INTERNAL_CA", + "GOOGLE_MANAGED_CAS_CA", + "CUSTOMER_MANAGED_CAS_CA", ] +@typing.type_check_only +class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): + connectionPoolingEnabled: bool + flags: _list[ConnectionPoolFlags] + +@typing.type_check_only +class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): + name: str + value: str + @typing.type_check_only class DataCacheConfig(typing_extensions.TypedDict, total=False): dataCacheEnabled: bool @@ -227,6 +396,7 @@ 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 @@ -251,11 +421,14 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -282,15 +455,18 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus dnsName: str + dnsNames: _list[DnsNameMapping] etag: str failoverReplica: dict[str, typing.Any] gceZone: str geminiConfig: GeminiInstanceConfig + includeReplicasForMajorVersionUpgrade: bool instanceType: typing_extensions.Literal[ "SQL_INSTANCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "ON_PREMISES_INSTANCE", "READ_REPLICA_INSTANCE", + "READ_POOL_INSTANCE", ] ipAddresses: _list[IpMapping] ipv6Address: str @@ -299,6 +475,8 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): masterInstanceName: str maxDiskSize: str name: str + nodeCount: int + nodes: _list[PoolNodeConfig] onPremisesConfiguration: OnPremisesConfiguration outOfDiskReport: SqlOutOfDiskReport primaryDnsName: str @@ -331,6 +509,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MAINTENANCE", "FAILED", "ONLINE_MAINTENANCE", + "REPAIRING", ] suspensionReason: _list[ typing_extensions.Literal[ @@ -394,6 +573,17 @@ class DiskEncryptionStatus(typing_extensions.TypedDict, total=False): kind: str kmsKeyVersionName: str +@typing.type_check_only +class DnsNameMapping(typing_extensions.TypedDict, total=False): + connectionType: typing_extensions.Literal[ + "CONNECTION_TYPE_UNSPECIFIED", + "PUBLIC", + "PRIVATE_SERVICES_ACCESS", + "PRIVATE_SERVICE_CONNECT", + ] + dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE"] + name: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -403,11 +593,12 @@ class ExportContext(typing_extensions.TypedDict, total=False): csvExportOptions: dict[str, typing.Any] databases: _list[str] fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK" + "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" ] kind: str offload: bool sqlExportOptions: dict[str, typing.Any] + tdeExportOptions: dict[str, typing.Any] uri: str @typing.type_check_only @@ -444,11 +635,14 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -473,11 +667,18 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_WEB", ] ] + flagScope: typing_extensions.Literal[ + "SQL_FLAG_SCOPE_UNSPECIFIED", + "SQL_FLAG_SCOPE_DATABASE", + "SQL_FLAG_SCOPE_CONNECTION_POOL", + ] inBeta: bool kind: str maxValue: str minValue: str name: str + recommendedIntValue: str + recommendedStringValue: str requiresRestart: bool type: typing_extensions.Literal[ "SQL_FLAG_TYPE_UNSPECIFIED", @@ -521,11 +722,12 @@ class ImportContext(typing_extensions.TypedDict, total=False): csvImportOptions: dict[str, typing.Any] database: str fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK" + "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" ] importUser: str kind: str sqlImportOptions: dict[str, typing.Any] + tdeImportOptions: dict[str, typing.Any] uri: str @typing.type_check_only @@ -596,7 +798,10 @@ class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): + backup: str + backupdrBackup: str restoreBackupContext: RestoreBackupContext + restoreInstanceSettings: DatabaseInstance @typing.type_check_only class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): @@ -610,6 +815,11 @@ class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): truncateLogContext: TruncateLogContext +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class IpConfiguration(typing_extensions.TypedDict, total=False): allocatedIpRange: str @@ -646,6 +856,12 @@ class IpMapping(typing_extensions.TypedDict, total=False): "MIGRATED_1ST_GEN", ] +@typing.type_check_only +class ListBackupsResponse(typing_extensions.TypedDict, total=False): + backups: _list[Backup] + nextPageToken: str + warnings: _list[ApiWarning] + @typing.type_check_only class LocationPreference(typing_extensions.TypedDict, total=False): followGaeApplication: str @@ -748,6 +964,7 @@ class Operation(typing_extensions.TypedDict, total=False): "AUTO_RESTART", "REENCRYPT", "SWITCHOVER", + "UPDATE_BACKUP", "ACQUIRE_SSRS_LEASE", "RELEASE_SSRS_LEASE", "RECONFIGURE_OLD_PRIMARY", @@ -756,6 +973,10 @@ class Operation(typing_extensions.TypedDict, total=False): "SWITCHOVER_TO_REPLICA", "MAJOR_VERSION_UPGRADE", "ADVANCED_BACKUP", + "MANAGE_BACKUP", + "ENHANCED_BACKUP", + "REPAIR_READ_POOL", + "CREATE_READ_POOL", ] selfLink: str startTime: str @@ -816,6 +1037,35 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): targetSizeGb: str +@typing.type_check_only +class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): + allocatedIpRange: str + datasource: str + pointInTime: str + preferredSecondaryZone: str + preferredZone: str + privateNetwork: str + targetInstance: str + +@typing.type_check_only +class PoolNodeConfig(typing_extensions.TypedDict, total=False): + dnsName: str + dnsNames: _list[DnsNameMapping] + gceZone: str + ipAddresses: _list[IpMapping] + name: str + state: typing_extensions.Literal[ + "SQL_INSTANCE_STATE_UNSPECIFIED", + "RUNNABLE", + "SUSPENDED", + "PENDING_DELETE", + "PENDING_CREATE", + "MAINTENANCE", + "FAILED", + "ONLINE_MAINTENANCE", + "REPAIRING", + ] + @typing.type_check_only class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str @@ -827,6 +1077,7 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): allowedConsumerProjects: _list[str] + networkAttachmentUri: str pscAutoConnections: _list[PscAutoConnectionConfig] pscEnabled: bool @@ -887,14 +1138,21 @@ class Settings(typing_extensions.TypedDict, total=False): ] backupConfiguration: BackupConfiguration collation: str + connectionPoolConfig: ConnectionPoolConfig connectorEnforcement: typing_extensions.Literal[ "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool dataCacheConfig: DataCacheConfig + dataDiskProvisionedIops: str + dataDiskProvisionedThroughput: str dataDiskSizeGb: str dataDiskType: typing_extensions.Literal[ - "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", "OBSOLETE_LOCAL_SSD" + "SQL_DATA_DISK_TYPE_UNSPECIFIED", + "PD_SSD", + "PD_HDD", + "OBSOLETE_LOCAL_SSD", + "HYPERDISK_BALANCED", ] databaseFlags: _list[DatabaseFlags] databaseReplicationEnabled: bool @@ -914,9 +1172,11 @@ class Settings(typing_extensions.TypedDict, total=False): pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] + replicationLagMaxSeconds: int replicationType: typing_extensions.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] + retainBackupsOnDelete: bool settingsVersion: str sqlServerAuditConfig: SqlServerAuditConfig storageAutoResize: bool @@ -989,6 +1249,7 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "UNSUPPORTED_SYSTEM_OBJECTS", "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", + "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index 77c10a02..87579079 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -44,6 +44,40 @@ class SQLAdminResource(googleapiclient.discovery.Resource): previous_response: BackupRunsListResponse, ) -> BackupRunsListResponseHttpRequest | None: ... + @typing.type_check_only + class BackupsResource(googleapiclient.discovery.Resource): + def createBackup( + self, *, parent: str, body: Backup = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def deleteBackup( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def getBackup( + self, *, name: str, **kwargs: typing.Any + ) -> BackupHttpRequest: ... + def listBackups( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBackupsResponseHttpRequest: ... + def listBackups_next( + self, + previous_request: ListBackupsResponseHttpRequest, + previous_response: ListBackupsResponse, + ) -> ListBackupsResponseHttpRequest | None: ... + def updateBackup( + self, + *, + name: str, + body: Backup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ConnectResource(googleapiclient.discovery.Resource): def generateEphemeralCert( @@ -104,7 +138,15 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class FlagsResource(googleapiclient.discovery.Resource): def list( - self, *, databaseVersion: str = ..., **kwargs: typing.Any + self, + *, + databaseVersion: str = ..., + flagScope: typing_extensions.Literal[ + "SQL_FLAG_SCOPE_UNSPECIFIED", + "SQL_FLAG_SCOPE_DATABASE", + "SQL_FLAG_SCOPE_CONNECTION_POOL", + ] = ..., + **kwargs: typing.Any, ) -> FlagsListResponseHttpRequest: ... @typing.type_check_only @@ -143,7 +185,15 @@ class SQLAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( - self, *, project: str, instance: str, **kwargs: typing.Any + self, + *, + project: str, + instance: str, + enableFinalBackup: bool = ..., + finalBackupDescription: str = ..., + finalBackupExpiryTime: str = ..., + finalBackupTtlDays: str = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def demote( self, @@ -216,6 +266,13 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: DatabaseInstance = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def pointInTimeRestore( + self, + *, + parent: str, + body: PointInTimeRestoreContext = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def promoteReplica( self, *, @@ -458,6 +515,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def backupRuns(self) -> BackupRunsResource: ... + def backups(self) -> BackupsResource: ... def connect(self) -> ConnectResource: ... def databases(self) -> DatabasesResource: ... def flags(self) -> FlagsResource: ... @@ -468,6 +526,14 @@ class SQLAdminResource(googleapiclient.discovery.Resource): def tiers(self) -> TiersResource: ... def users(self) -> UsersResource: ... +@typing.type_check_only +class BackupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Backup: ... + @typing.type_check_only class BackupRunHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -566,6 +632,14 @@ class InstancesListServerCertificatesResponseHttpRequest( num_retries: int = 0, ) -> InstancesListServerCertificatesResponse: ... +@typing.type_check_only +class ListBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBackupsResponse: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index 5d31f591..e6c1ec85 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -40,9 +40,100 @@ class AvailableDatabaseVersion(typing_extensions.TypedDict, total=False): majorVersion: str name: str +@typing.type_check_only +class Backup(typing_extensions.TypedDict, total=False): + backupInterval: Interval + backupKind: typing_extensions.Literal[ + "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" + ] + backupRun: str + databaseVersion: 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", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] + description: str + error: OperationError + expiryTime: str + instance: str + instanceDeletionTime: str + instanceSettings: DatabaseInstance + kind: str + kmsKey: str + kmsKeyVersion: str + location: str + maxChargeableBytes: str + name: str + satisfiesPzi: bool + satisfiesPzs: bool + selfLink: str + state: typing_extensions.Literal[ + "SQL_BACKUP_STATE_UNSPECIFIED", + "ENQUEUED", + "RUNNING", + "FAILED", + "SUCCESSFUL", + "DELETING", + "DELETION_FAILED", + ] + timeZone: str + ttlDays: str + type: typing_extensions.Literal[ + "SQL_BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND", "FINAL" + ] + @typing.type_check_only class BackupConfiguration(typing_extensions.TypedDict, total=False): backupRetentionSettings: BackupRetentionSettings + backupTier: typing_extensions.Literal[ + "BACKUP_TIER_UNSPECIFIED", "STANDARD", "ADVANCED", "ENHANCED" + ] binaryLogEnabled: bool enabled: bool kind: str @@ -63,6 +154,7 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): class BackupContext(typing_extensions.TypedDict, total=False): backupId: str kind: str + name: str @typing.type_check_only class BackupReencryptionConfig(typing_extensions.TypedDict, total=False): @@ -81,6 +173,57 @@ class BackupRun(typing_extensions.TypedDict, total=False): backupKind: typing_extensions.Literal[ "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" ] + databaseVersion: 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", + "SQLSERVER_2019_STANDARD", + "SQLSERVER_2019_ENTERPRISE", + "SQLSERVER_2019_EXPRESS", + "SQLSERVER_2019_WEB", + "SQLSERVER_2022_STANDARD", + "SQLSERVER_2022_ENTERPRISE", + "SQLSERVER_2022_EXPRESS", + "SQLSERVER_2022_WEB", + ] description: str diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus @@ -136,6 +279,13 @@ class CloneContext(typing_extensions.TypedDict, total=False): preferredSecondaryZone: str preferredZone: str +@typing.type_check_only +class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): + dnsName: str + dnsNames: _list[DnsNameMapping] + ipAddresses: _list[IpMapping] + name: str + @typing.type_check_only class ConnectSettings(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ @@ -162,11 +312,14 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -191,15 +344,31 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_WEB", ] dnsName: str + dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] kind: str + nodeCount: int + nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool region: str serverCaCert: SslCert serverCaMode: typing_extensions.Literal[ - "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA" + "CA_MODE_UNSPECIFIED", + "GOOGLE_MANAGED_INTERNAL_CA", + "GOOGLE_MANAGED_CAS_CA", + "CUSTOMER_MANAGED_CAS_CA", ] +@typing.type_check_only +class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): + connectionPoolingEnabled: bool + flags: _list[ConnectionPoolFlags] + +@typing.type_check_only +class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): + name: str + value: str + @typing.type_check_only class DataCacheConfig(typing_extensions.TypedDict, total=False): dataCacheEnabled: bool @@ -227,6 +396,7 @@ 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 @@ -251,11 +421,14 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -282,15 +455,18 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus dnsName: str + dnsNames: _list[DnsNameMapping] etag: str failoverReplica: dict[str, typing.Any] gceZone: str geminiConfig: GeminiInstanceConfig + includeReplicasForMajorVersionUpgrade: bool instanceType: typing_extensions.Literal[ "SQL_INSTANCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "ON_PREMISES_INSTANCE", "READ_REPLICA_INSTANCE", + "READ_POOL_INSTANCE", ] ipAddresses: _list[IpMapping] ipv6Address: str @@ -299,6 +475,8 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): masterInstanceName: str maxDiskSize: str name: str + nodeCount: int + nodes: _list[PoolNodeConfig] onPremisesConfiguration: OnPremisesConfiguration outOfDiskReport: SqlOutOfDiskReport primaryDnsName: str @@ -331,6 +509,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MAINTENANCE", "FAILED", "ONLINE_MAINTENANCE", + "REPAIRING", ] suspensionReason: _list[ typing_extensions.Literal[ @@ -394,6 +573,17 @@ class DiskEncryptionStatus(typing_extensions.TypedDict, total=False): kind: str kmsKeyVersionName: str +@typing.type_check_only +class DnsNameMapping(typing_extensions.TypedDict, total=False): + connectionType: typing_extensions.Literal[ + "CONNECTION_TYPE_UNSPECIFIED", + "PUBLIC", + "PRIVATE_SERVICES_ACCESS", + "PRIVATE_SERVICE_CONNECT", + ] + dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE"] + name: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -403,11 +593,12 @@ class ExportContext(typing_extensions.TypedDict, total=False): csvExportOptions: dict[str, typing.Any] databases: _list[str] fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK" + "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" ] kind: str offload: bool sqlExportOptions: dict[str, typing.Any] + tdeExportOptions: dict[str, typing.Any] uri: str @typing.type_check_only @@ -444,11 +635,14 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", - "MYSQL_8_0_38", "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", @@ -473,11 +667,18 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_WEB", ] ] + flagScope: typing_extensions.Literal[ + "SQL_FLAG_SCOPE_UNSPECIFIED", + "SQL_FLAG_SCOPE_DATABASE", + "SQL_FLAG_SCOPE_CONNECTION_POOL", + ] inBeta: bool kind: str maxValue: str minValue: str name: str + recommendedIntValue: str + recommendedStringValue: str requiresRestart: bool type: typing_extensions.Literal[ "SQL_FLAG_TYPE_UNSPECIFIED", @@ -521,11 +722,12 @@ class ImportContext(typing_extensions.TypedDict, total=False): csvImportOptions: dict[str, typing.Any] database: str fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK" + "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" ] importUser: str kind: str sqlImportOptions: dict[str, typing.Any] + tdeImportOptions: dict[str, typing.Any] uri: str @typing.type_check_only @@ -596,7 +798,10 @@ class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): + backup: str + backupdrBackup: str restoreBackupContext: RestoreBackupContext + restoreInstanceSettings: DatabaseInstance @typing.type_check_only class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): @@ -610,6 +815,11 @@ class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): truncateLogContext: TruncateLogContext +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class IpConfiguration(typing_extensions.TypedDict, total=False): allocatedIpRange: str @@ -646,6 +856,12 @@ class IpMapping(typing_extensions.TypedDict, total=False): "MIGRATED_1ST_GEN", ] +@typing.type_check_only +class ListBackupsResponse(typing_extensions.TypedDict, total=False): + backups: _list[Backup] + nextPageToken: str + warnings: _list[ApiWarning] + @typing.type_check_only class LocationPreference(typing_extensions.TypedDict, total=False): followGaeApplication: str @@ -748,6 +964,7 @@ class Operation(typing_extensions.TypedDict, total=False): "AUTO_RESTART", "REENCRYPT", "SWITCHOVER", + "UPDATE_BACKUP", "ACQUIRE_SSRS_LEASE", "RELEASE_SSRS_LEASE", "RECONFIGURE_OLD_PRIMARY", @@ -756,6 +973,10 @@ class Operation(typing_extensions.TypedDict, total=False): "SWITCHOVER_TO_REPLICA", "MAJOR_VERSION_UPGRADE", "ADVANCED_BACKUP", + "MANAGE_BACKUP", + "ENHANCED_BACKUP", + "REPAIR_READ_POOL", + "CREATE_READ_POOL", ] selfLink: str startTime: str @@ -816,6 +1037,35 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): targetSizeGb: str +@typing.type_check_only +class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): + allocatedIpRange: str + datasource: str + pointInTime: str + preferredSecondaryZone: str + preferredZone: str + privateNetwork: str + targetInstance: str + +@typing.type_check_only +class PoolNodeConfig(typing_extensions.TypedDict, total=False): + dnsName: str + dnsNames: _list[DnsNameMapping] + gceZone: str + ipAddresses: _list[IpMapping] + name: str + state: typing_extensions.Literal[ + "SQL_INSTANCE_STATE_UNSPECIFIED", + "RUNNABLE", + "SUSPENDED", + "PENDING_DELETE", + "PENDING_CREATE", + "MAINTENANCE", + "FAILED", + "ONLINE_MAINTENANCE", + "REPAIRING", + ] + @typing.type_check_only class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str @@ -827,6 +1077,7 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): allowedConsumerProjects: _list[str] + networkAttachmentUri: str pscAutoConnections: _list[PscAutoConnectionConfig] pscEnabled: bool @@ -887,14 +1138,21 @@ class Settings(typing_extensions.TypedDict, total=False): ] backupConfiguration: BackupConfiguration collation: str + connectionPoolConfig: ConnectionPoolConfig connectorEnforcement: typing_extensions.Literal[ "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool dataCacheConfig: DataCacheConfig + dataDiskProvisionedIops: str + dataDiskProvisionedThroughput: str dataDiskSizeGb: str dataDiskType: typing_extensions.Literal[ - "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", "OBSOLETE_LOCAL_SSD" + "SQL_DATA_DISK_TYPE_UNSPECIFIED", + "PD_SSD", + "PD_HDD", + "OBSOLETE_LOCAL_SSD", + "HYPERDISK_BALANCED", ] databaseFlags: _list[DatabaseFlags] databaseReplicationEnabled: bool @@ -914,9 +1172,11 @@ class Settings(typing_extensions.TypedDict, total=False): pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] + replicationLagMaxSeconds: int replicationType: typing_extensions.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] + retainBackupsOnDelete: bool settingsVersion: str sqlServerAuditConfig: SqlServerAuditConfig storageAutoResize: bool @@ -989,6 +1249,7 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "UNSUPPORTED_SYSTEM_OBJECTS", "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", + "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index fba4e3bf..7f68ecfb 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -684,6 +684,7 @@ class StorageResource(googleapiclient.discovery.Resource): bucket: str, delimiter: str = ..., endOffset: str = ..., + filter: str = ..., includeFoldersAsPrefixes: bool = ..., includeTrailingDelimiter: bool = ..., matchGlob: str = ..., @@ -714,6 +715,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifSourceGenerationNotMatch: str = ..., ifSourceMetagenerationMatch: str = ..., ifSourceMetagenerationNotMatch: str = ..., + projection: typing_extensions.Literal["full", "noAcl"] = ..., userProject: str = ..., **kwargs: typing.Any, ) -> ObjectHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi index 4f30130e..9ad59a56 100644 --- a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi @@ -248,6 +248,7 @@ class Object(typing_extensions.TypedDict, total=False): contentEncoding: str contentLanguage: str contentType: str + contexts: dict[str, typing.Any] crc32c: str customTime: str customerEncryption: dict[str, typing.Any] @@ -299,6 +300,12 @@ class ObjectAccessControls(typing_extensions.TypedDict, total=False): items: _list[ObjectAccessControl] kind: str +@typing.type_check_only +class ObjectCustomContextPayload(typing_extensions.TypedDict, total=False): + createTime: str + updateTime: str + value: str + @typing.type_check_only class Objects(typing_extensions.TypedDict, total=False): items: _list[Object] diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/__init__.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/__init__.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi new file mode 100644 index 00000000..b944588f --- /dev/null +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi @@ -0,0 +1,187 @@ +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 StorageBatchOperationsResource(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 JobsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelJobRequest = ..., + **kwargs: typing.Any, + ) -> CancelJobResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: Job = ..., + jobId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> JobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListJobsResponseHttpRequest, + previous_response: ListJobsResponse, + ) -> ListJobsResponseHttpRequest | None: ... + + @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: ... + + 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 jobs(self) -> JobsResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class CancelJobResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelJobResponse: ... + +@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 JobHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Job: ... + +@typing.type_check_only +class ListJobsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListJobsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOperationsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi new file mode 100644 index 00000000..691758ed --- /dev/null +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -0,0 +1,171 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Bucket(typing_extensions.TypedDict, total=False): + bucket: str + manifest: Manifest + prefixList: PrefixList + +@typing.type_check_only +class BucketList(typing_extensions.TypedDict, total=False): + buckets: _list[Bucket] + +@typing.type_check_only +class CancelJobRequest(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class CancelJobResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Counters(typing_extensions.TypedDict, total=False): + failedObjectCount: str + succeededObjectCount: str + totalObjectCount: str + +@typing.type_check_only +class DeleteObject(typing_extensions.TypedDict, total=False): + permanentObjectDeletionEnabled: bool + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ErrorLogEntry(typing_extensions.TypedDict, total=False): + errorDetails: _list[str] + objectUri: str + +@typing.type_check_only +class ErrorSummary(typing_extensions.TypedDict, total=False): + errorCode: typing_extensions.Literal[ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS", + ] + errorCount: str + errorLogEntries: _list[ErrorLogEntry] + +@typing.type_check_only +class Job(typing_extensions.TypedDict, total=False): + bucketList: BucketList + completeTime: str + counters: Counters + createTime: str + deleteObject: DeleteObject + description: str + errorSummaries: _list[ErrorSummary] + loggingConfig: LoggingConfig + name: str + putMetadata: PutMetadata + putObjectHold: PutObjectHold + rewriteObject: RewriteObject + scheduleTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED" + ] + +@typing.type_check_only +class ListJobsResponse(typing_extensions.TypedDict, total=False): + jobs: _list[Job] + 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] + +@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 LoggingConfig(typing_extensions.TypedDict, total=False): + logActionStates: _list[ + typing_extensions.Literal[ + "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" + ] + ] + logActions: _list[ + typing_extensions.Literal["LOGGABLE_ACTION_UNSPECIFIED", "TRANSFORM"] + ] + +@typing.type_check_only +class Manifest(typing_extensions.TypedDict, total=False): + manifestLocation: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + job: Job + operation: str + requestedCancellation: bool + +@typing.type_check_only +class PrefixList(typing_extensions.TypedDict, total=False): + includedObjectPrefixes: _list[str] + +@typing.type_check_only +class PutMetadata(typing_extensions.TypedDict, total=False): + cacheControl: str + contentDisposition: str + contentEncoding: str + contentLanguage: str + contentType: str + customMetadata: dict[str, typing.Any] + customTime: str + +@typing.type_check_only +class PutObjectHold(typing_extensions.TypedDict, total=False): + eventBasedHold: typing_extensions.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] + temporaryHold: typing_extensions.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] + +@typing.type_check_only +class RewriteObject(typing_extensions.TypedDict, total=False): + kmsKey: str + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi index 74530cb4..714f9dda 100644 --- a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi @@ -41,6 +41,7 @@ class AzureBlobStorageData(typing_extensions.TypedDict, total=False): azureCredentials: AzureCredentials container: str credentialsSecret: str + federatedIdentityConfig: FederatedIdentityConfig path: str storageAccount: str @@ -99,6 +100,11 @@ class EventStream(typing_extensions.TypedDict, total=False): eventStreamStartTime: str name: str +@typing.type_check_only +class FederatedIdentityConfig(typing_extensions.TypedDict, total=False): + clientId: str + tenantId: str + @typing.type_check_only class GcsData(typing_extensions.TypedDict, total=False): bucketName: str @@ -138,7 +144,7 @@ class LoggingConfig(typing_extensions.TypedDict, total=False): enableOnpremGcsTransferLogs: bool logActionStates: _list[ typing_extensions.Literal[ - "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" + "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" ] ] logActions: _list[ @@ -312,6 +318,7 @@ class TransferJob(typing_extensions.TypedDict, total=False): projectId: str replicationSpec: ReplicationSpec schedule: Schedule + serviceAccount: str status: typing_extensions.Literal[ "STATUS_UNSPECIFIED", "ENABLED", "DISABLED", "DELETED" ] diff --git a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi index 9c402440..72a53865 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi @@ -180,10 +180,8 @@ class ContainerVersion(typing_extensions.TypedDict, total=False): deleted: bool fingerprint: str folder: _list[Folder] - macro: _list[Macro] name: str notes: str - rule: _list[Rule] tag: _list[Tag] trigger: _list[Trigger] variable: _list[Variable] @@ -195,8 +193,6 @@ class ContainerVersionHeader(typing_extensions.TypedDict, total=False): containerVersionId: str deleted: bool name: str - numMacros: str - numRules: str numTags: str numTriggers: str numVariables: str @@ -280,22 +276,6 @@ class ListTriggersResponse(typing_extensions.TypedDict, total=False): class ListVariablesResponse(typing_extensions.TypedDict, total=False): variables: _list[Variable] -@typing.type_check_only -class Macro(typing_extensions.TypedDict, total=False): - accountId: str - containerId: str - disablingRuleId: _list[str] - enablingRuleId: _list[str] - fingerprint: str - macroId: str - name: str - notes: str - parameter: _list[Parameter] - parentFolderId: str - scheduleEndMs: str - scheduleStartMs: str - type: str - @typing.type_check_only class Parameter(typing_extensions.TypedDict, total=False): key: str @@ -317,16 +297,6 @@ class PublishContainerVersionResponse(typing_extensions.TypedDict, total=False): compilerError: bool containerVersion: ContainerVersion -@typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): - accountId: str - condition: _list[Condition] - containerId: str - fingerprint: str - name: str - notes: str - ruleId: str - @typing.type_check_only class SetupTag(typing_extensions.TypedDict, total=False): stopOnSetupFailure: bool @@ -335,11 +305,9 @@ class SetupTag(typing_extensions.TypedDict, total=False): @typing.type_check_only class Tag(typing_extensions.TypedDict, total=False): accountId: str - blockingRuleId: _list[str] blockingTriggerId: _list[str] containerId: str fingerprint: str - firingRuleId: _list[str] firingTriggerId: _list[str] liveOnly: bool name: str diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi index fdbf22e2..42651157 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi @@ -890,6 +890,16 @@ class TagManagerResource(googleapiclient.discovery.Resource): def get( self, *, path: str, **kwargs: typing.Any ) -> CustomTemplateHttpRequest: ... + def import_from_gallery( + self, + *, + parent: str, + acknowledgePermissions: bool = ..., + galleryOwner: str = ..., + galleryRepository: str = ..., + gallerySha: str = ..., + **kwargs: typing.Any, + ) -> CustomTemplateHttpRequest: ... def list( self, *, parent: str, pageToken: str = ..., **kwargs: typing.Any ) -> ListTemplatesResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi index cf9a8548..b74f136d 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi @@ -272,8 +272,6 @@ class ContainerVersionHeader(typing_extensions.TypedDict, total=False): numClients: str numCustomTemplates: str numGtagConfigs: str - numMacros: str - numRules: str numTags: str numTransformations: str numTriggers: str @@ -378,6 +376,7 @@ class FolderEntities(typing_extensions.TypedDict, total=False): @typing.type_check_only class GalleryReference(typing_extensions.TypedDict, total=False): + galleryTemplateId: str host: str isModified: bool owner: str @@ -388,6 +387,7 @@ class GalleryReference(typing_extensions.TypedDict, total=False): @typing.type_check_only class GetContainerSnippetResponse(typing_extensions.TypedDict, total=False): + containerConfig: str snippet: str @typing.type_check_only @@ -580,12 +580,10 @@ class SyncWorkspaceResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Tag(typing_extensions.TypedDict, total=False): accountId: str - blockingRuleId: _list[str] blockingTriggerId: _list[str] consentSettings: TagConsentSetting containerId: str fingerprint: str - firingRuleId: _list[str] firingTriggerId: _list[str] liveOnly: bool monitoringMetadata: Parameter diff --git a/googleapiclient-stubs/_apis/testing/v1/resources.pyi b/googleapiclient-stubs/_apis/testing/v1/resources.pyi index 715a44fe..c6c9408c 100644 --- a/googleapiclient-stubs/_apis/testing/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/resources.pyi @@ -96,6 +96,7 @@ class TestingResource(googleapiclient.discovery.Resource): "PROVIDED_SOFTWARE", "DEVICE_IP_BLOCKS", ], + includeViewableModels: bool = ..., projectId: str = ..., **kwargs: typing.Any, ) -> TestEnvironmentCatalogHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi index 15b2bf02..e953e6da 100644 --- a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi @@ -48,6 +48,11 @@ class AndroidMatrix(typing_extensions.TypedDict, total=False): @typing.type_check_only class AndroidModel(typing_extensions.TypedDict, total=False): + accessDeniedReasons: _list[ + typing_extensions.Literal[ + "ACCESS_DENIED_REASON_UNSPECIFIED", "EULA_NOT_ACCEPTED" + ] + ] brand: str codename: str form: typing_extensions.Literal[ @@ -133,8 +138,13 @@ class ApkManifest(typing_extensions.TypedDict, total=False): versionCode: str versionName: str +@typing.type_check_only +class ApkSplits(typing_extensions.TypedDict, total=False): + bundleSplits: _list[FileReference] + @typing.type_check_only class AppBundle(typing_extensions.TypedDict, total=False): + apks: ApkSplits bundleLocation: FileReference @typing.type_check_only @@ -343,6 +353,7 @@ class IosXcTest(typing_extensions.TypedDict, total=False): @typing.type_check_only class LabInfo(typing_extensions.TypedDict, total=False): name: str + regionCode: str @typing.type_check_only class LauncherActivityIntent(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi index f2441ece..69fe092d 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi @@ -18,6 +18,7 @@ class AudioConfig(typing_extensions.TypedDict, total=False): "MULAW", "ALAW", "PCM", + "M4A", ] effectsProfileId: _list[str] pitch: float @@ -34,6 +35,8 @@ class CustomPronunciationParams(typing_extensions.TypedDict, total=False): "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", + "PHONETIC_ENCODING_JAPANESE_YOMIGANA", + "PHONETIC_ENCODING_PINYIN", ] phrase: str pronunciation: str @@ -90,6 +93,7 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class SynthesisInput(typing_extensions.TypedDict, total=False): customPronunciations: CustomPronunciations + markup: str multiSpeakerMarkup: MultiSpeakerMarkup ssml: str text: str diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi index 9ad277c0..26c0ea85 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi @@ -19,6 +19,7 @@ class AudioConfig(typing_extensions.TypedDict, total=False): "MULAW", "ALAW", "PCM", + "M4A", ] effectsProfileId: _list[str] pitch: float @@ -32,6 +33,8 @@ class CustomPronunciationParams(typing_extensions.TypedDict, total=False): "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", + "PHONETIC_ENCODING_JAPANESE_YOMIGANA", + "PHONETIC_ENCODING_PINYIN", ] phrase: str pronunciation: str @@ -85,6 +88,7 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class SynthesisInput(typing_extensions.TypedDict, total=False): customPronunciations: CustomPronunciations + markup: str multiSpeakerMarkup: MultiSpeakerMarkup ssml: str text: str diff --git a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi index 813ebe44..1cdd0b5f 100644 --- a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi @@ -143,6 +143,7 @@ class TPUResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi index d155dbc3..ffdea791 100644 --- a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi @@ -144,6 +144,7 @@ class TPUResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi index 6b3f31c5..38360872 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi @@ -201,6 +201,7 @@ class TPUResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi index 8da87b5e..22641a54 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi @@ -198,6 +198,7 @@ class Node(typing_extensions.TypedDict, total=False): ] symptoms: _list[Symptom] tags: _list[str] + upcomingMaintenance: UpcomingMaintenance @typing.type_check_only class NodeSpec(typing_extensions.TypedDict, total=False): @@ -338,3 +339,12 @@ class Symptom(typing_extensions.TypedDict, total=False): @typing.type_check_only class Tpu(typing_extensions.TypedDict, total=False): nodeSpec: _list[NodeSpec] + +@typing.type_check_only +class UpcomingMaintenance(typing_extensions.TypedDict, total=False): + canReschedule: bool + latestWindowStartTime: str + maintenanceStatus: typing_extensions.Literal["UNKNOWN", "PENDING", "ONGOING"] + type: typing_extensions.Literal["UNKNOWN_TYPE", "SCHEDULED", "UNSCHEDULED"] + windowEndTime: str + windowStartTime: str diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi index 2228e3bd..df1f57cf 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi @@ -239,6 +239,7 @@ class TPUResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi index 425e54be..41c9ebcd 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi @@ -31,6 +31,7 @@ class ActiveData(typing_extensions.TypedDict, total=False): ... class AttachedDisk(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] sourceDisk: str + workerIds: _list[str] @typing.type_check_only class BestEffort(typing_extensions.TypedDict, total=False): ... @@ -38,7 +39,11 @@ class BestEffort(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class BootDiskConfig(typing_extensions.TypedDict, total=False): customerEncryptionKey: CustomerEncryptionKey + diskSizeGb: str enableConfidentialCompute: bool + provisionedIops: str + provisionedThroughput: str + sourceImage: str @typing.type_check_only class CreatingData(typing_extensions.TypedDict, total=False): ... @@ -264,8 +269,16 @@ class QueuedResource(typing_extensions.TypedDict, total=False): createTime: str guaranteed: Guaranteed name: str + provisioningModel: typing_extensions.Literal[ + "PROVISIONING_MODEL_UNSPECIFIED", + "STANDARD", + "SPOT", + "RESERVATION_BOUND", + "FLEX_START", + ] queueingPolicy: QueueingPolicy reservationName: str + runDuration: RunDuration spot: Spot state: QueuedResourceState tpu: Tpu @@ -321,6 +334,11 @@ class Reservation(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResetQueuedResourceRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RunDuration(typing_extensions.TypedDict, total=False): + maxRunDuration: str + terminationTime: str + @typing.type_check_only class RuntimeVersion(typing_extensions.TypedDict, total=False): name: str @@ -329,8 +347,13 @@ class RuntimeVersion(typing_extensions.TypedDict, total=False): @typing.type_check_only class SchedulingConfig(typing_extensions.TypedDict, total=False): preemptible: bool + provisioningModel: typing_extensions.Literal[ + "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", "RESERVATION_BOUND" + ] + reservationName: str reserved: bool spot: bool + terminationTimestamp: str @typing.type_check_only class ServiceAccount(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi b/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi index 07fdcea7..bd195b1c 100644 --- a/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi @@ -56,7 +56,13 @@ class DoubleRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class DynamicCluster(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] cluster: dict[str, typing.Any] errorState: UpdateFailureState @@ -66,7 +72,13 @@ class DynamicCluster(typing_extensions.TypedDict, total=False): @typing.type_check_only class DynamicEndpointConfig(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] endpointConfig: dict[str, typing.Any] errorState: UpdateFailureState @@ -77,7 +89,13 @@ class DynamicEndpointConfig(typing_extensions.TypedDict, total=False): class DynamicListener(typing_extensions.TypedDict, total=False): activeState: DynamicListenerState clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] drainingState: DynamicListenerState errorState: UpdateFailureState @@ -93,7 +111,13 @@ class DynamicListenerState(typing_extensions.TypedDict, total=False): @typing.type_check_only class DynamicRouteConfig(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] errorState: UpdateFailureState lastUpdated: str @@ -103,7 +127,13 @@ class DynamicRouteConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class DynamicScopedRouteConfigs(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] errorState: UpdateFailureState lastUpdated: str @@ -133,7 +163,13 @@ class Extension(typing_extensions.TypedDict, total=False): @typing.type_check_only class GenericXdsConfig(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", "ACKED", "NACKED" + "UNKNOWN", + "REQUESTED", + "DOES_NOT_EXIST", + "ACKED", + "NACKED", + "RECEIVED_ERROR", + "TIMEOUT", ] configStatus: typing_extensions.Literal[ "UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR" @@ -205,7 +241,11 @@ class PathSegment(typing_extensions.TypedDict, total=False): @typing.type_check_only class PerXdsConfig(typing_extensions.TypedDict, total=False): clientStatus: typing_extensions.Literal[ - "CLIENT_UNKNOWN", "CLIENT_REQUESTED", "CLIENT_ACKED", "CLIENT_NACKED" + "CLIENT_UNKNOWN", + "CLIENT_REQUESTED", + "CLIENT_ACKED", + "CLIENT_NACKED", + "CLIENT_RECEIVED_ERROR", ] clusterConfig: ClustersConfigDump endpointConfig: EndpointsConfigDump @@ -245,6 +285,7 @@ class SocketAddress(typing_extensions.TypedDict, total=False): address: str ipv4Compat: bool namedPort: str + networkNamespaceFilepath: str portValue: int protocol: typing_extensions.Literal["TCP", "UDP"] resolverName: str diff --git a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi index 9443c147..8e59466c 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi @@ -234,6 +234,7 @@ class Job(typing_extensions.TypedDict, total=False): createTime: str endTime: str error: Status + fillContentGaps: bool inputUri: str labels: dict[str, typing.Any] mode: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/translate/v3/resources.pyi b/googleapiclient-stubs/_apis/translate/v3/resources.pyi index 7b65c38f..7a3f0da5 100644 --- a/googleapiclient-stubs/_apis/translate/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/resources.pyi @@ -347,6 +347,7 @@ class TranslateResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi index 28e78411..f9db2d84 100644 --- a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi @@ -116,6 +116,7 @@ class TranslateResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi index 75131f71..65bd9746 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 computeTypicalFlightEmissions( + self, + *, + body: ComputeTypicalFlightEmissionsRequest = ..., + **kwargs: typing.Any, + ) -> ComputeTypicalFlightEmissionsResponseHttpRequest: ... def new_batch_http_request( self, @@ -40,3 +46,13 @@ class ComputeFlightEmissionsResponseHttpRequest(googleapiclient.http.HttpRequest http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ComputeFlightEmissionsResponse: ... + +@typing.type_check_only +class ComputeTypicalFlightEmissionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ComputeTypicalFlightEmissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi index dd9b6b72..ed9819ca 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi @@ -13,12 +13,28 @@ class ComputeFlightEmissionsResponse(typing_extensions.TypedDict, total=False): flightEmissions: _list[FlightWithEmissions] modelVersion: ModelVersion +@typing.type_check_only +class ComputeTypicalFlightEmissionsRequest(typing_extensions.TypedDict, total=False): + markets: _list[Market] + +@typing.type_check_only +class ComputeTypicalFlightEmissionsResponse(typing_extensions.TypedDict, total=False): + modelVersion: ModelVersion + typicalFlightEmissions: _list[TypicalFlightEmissions] + @typing.type_check_only class Date(typing_extensions.TypedDict, total=False): day: int month: int year: int +@typing.type_check_only +class EasaLabelMetadata(typing_extensions.TypedDict, total=False): + labelExpiryDate: Date + labelIssueDate: Date + labelVersion: str + safDiscountPercentage: float + @typing.type_check_only class EmissionsGramsPerPax(typing_extensions.TypedDict, total=False): business: int @@ -36,8 +52,21 @@ class Flight(typing_extensions.TypedDict, total=False): @typing.type_check_only class FlightWithEmissions(typing_extensions.TypedDict, total=False): + contrailsImpactBucket: typing_extensions.Literal[ + "CONTRAILS_IMPACT_UNSPECIFIED", + "CONTRAILS_IMPACT_NEGLIGIBLE", + "CONTRAILS_IMPACT_MODERATE", + "CONTRAILS_IMPACT_SEVERE", + ] + easaLabelMetadata: EasaLabelMetadata emissionsGramsPerPax: EmissionsGramsPerPax flight: Flight + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "TIM", "EASA"] + +@typing.type_check_only +class Market(typing_extensions.TypedDict, total=False): + destination: str + origin: str @typing.type_check_only class ModelVersion(typing_extensions.TypedDict, total=False): @@ -45,3 +74,8 @@ class ModelVersion(typing_extensions.TypedDict, total=False): major: int minor: int patch: int + +@typing.type_check_only +class TypicalFlightEmissions(typing_extensions.TypedDict, total=False): + emissionsGramsPerPax: EmissionsGramsPerPax + market: Market diff --git a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi index 920d3dab..cf91a66d 100644 --- a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi @@ -48,7 +48,7 @@ class AddMatterPermissionsRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CalendarExportOptions(typing_extensions.TypedDict, total=False): exportFormat: typing_extensions.Literal[ - "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS" + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" ] @typing.type_check_only @@ -117,6 +117,14 @@ class CountArtifactsResponse(typing_extensions.TypedDict, total=False): mailCountResult: MailCountResult totalCount: str +@typing.type_check_only +class DriveDocumentIds(typing_extensions.TypedDict, total=False): + ids: _list[str] + +@typing.type_check_only +class DriveDocumentInfo(typing_extensions.TypedDict, total=False): + documentIds: DriveDocumentIds + @typing.type_check_only class DriveExportOptions(typing_extensions.TypedDict, total=False): includeAccessInfo: bool @@ -131,6 +139,12 @@ class DriveOptions(typing_extensions.TypedDict, total=False): ] includeSharedDrives: bool includeTeamDrives: bool + sharedDrivesOption: typing_extensions.Literal[ + "SHARED_DRIVES_OPTION_UNSPECIFIED", + "NOT_INCLUDED", + "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER", + "INCLUDED", + ] versionDate: str @typing.type_check_only @@ -156,6 +170,7 @@ class Export(typing_extensions.TypedDict, total=False): class ExportOptions(typing_extensions.TypedDict, total=False): calendarOptions: CalendarExportOptions driveOptions: DriveExportOptions + geminiOptions: GeminiExportOptions groupsOptions: GroupsExportOptions hangoutsChatOptions: HangoutsChatExportOptions mailOptions: MailExportOptions @@ -170,6 +185,15 @@ class ExportStats(typing_extensions.TypedDict, total=False): sizeInBytes: str totalArtifactCount: str +@typing.type_check_only +class GeminiExportOptions(typing_extensions.TypedDict, total=False): + exportFormat: typing_extensions.Literal[ + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" + ] + +@typing.type_check_only +class GeminiOptions(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GroupsCountResult(typing_extensions.TypedDict, total=False): accountCountErrors: _list[AccountCountError] @@ -181,13 +205,13 @@ class GroupsCountResult(typing_extensions.TypedDict, total=False): @typing.type_check_only class GroupsExportOptions(typing_extensions.TypedDict, total=False): exportFormat: typing_extensions.Literal[ - "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS" + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" ] @typing.type_check_only class HangoutsChatExportOptions(typing_extensions.TypedDict, total=False): exportFormat: typing_extensions.Literal[ - "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS" + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" ] @typing.type_check_only @@ -254,6 +278,7 @@ class Hold(typing_extensions.TypedDict, total=False): "HANGOUTS_CHAT", "VOICE", "CALENDAR", + "GEMINI", ] holdId: str name: str @@ -301,7 +326,7 @@ class MailCountResult(typing_extensions.TypedDict, total=False): @typing.type_check_only class MailExportOptions(typing_extensions.TypedDict, total=False): exportFormat: typing_extensions.Literal[ - "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS" + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" ] exportLinkedDriveFiles: bool showConfidentialModeContent: bool @@ -357,12 +382,15 @@ class Query(typing_extensions.TypedDict, total=False): "HANGOUTS_CHAT", "VOICE", "CALENDAR", + "GEMINI", ] dataScope: typing_extensions.Literal[ "DATA_SCOPE_UNSPECIFIED", "ALL_DATA", "HELD_DATA", "UNPROCESSED_DATA" ] + driveDocumentInfo: DriveDocumentInfo driveOptions: DriveOptions endTime: str + geminiOptions: GeminiOptions hangoutsChatInfo: HangoutsChatInfo hangoutsChatOptions: HangoutsChatOptions mailOptions: MailOptions @@ -375,6 +403,7 @@ class Query(typing_extensions.TypedDict, total=False): "ROOM", "SITES_URL", "SHARED_DRIVE", + "DRIVE_DOCUMENT", ] orgUnitInfo: OrgUnitInfo searchMethod: typing_extensions.Literal[ @@ -386,6 +415,7 @@ class Query(typing_extensions.TypedDict, total=False): "ROOM", "SITES_URL", "SHARED_DRIVE", + "DRIVE_DOCUMENT", ] sharedDriveInfo: SharedDriveInfo sitesUrlInfo: SitesUrlInfo @@ -451,7 +481,7 @@ class UserInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class VoiceExportOptions(typing_extensions.TypedDict, total=False): exportFormat: typing_extensions.Literal[ - "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS" + "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML" ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi index dec7863f..5d3c23e6 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi @@ -4,6 +4,12 @@ import typing_extensions _list = list +@typing.type_check_only +class Antivirus(typing_extensions.TypedDict, total=False): + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "MISSING", "DISABLED", "ENABLED" + ] + @typing.type_check_only class Challenge(typing_extensions.TypedDict, total=False): challenge: str @@ -16,6 +22,7 @@ class CrowdStrikeAgent(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeviceSignals(typing_extensions.TypedDict, total=False): allowScreenLock: bool + antivirus: Antivirus browserVersion: str builtInDnsClientEnabled: bool chromeRemoteDesktopAppBlocked: bool @@ -122,6 +129,7 @@ class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): "CHROME_BROWSER_OS_KEY", "CHROME_BROWSER_NO_KEY", ] + profilePermanentId: str signedPublicKeyAndChallenge: str virtualDeviceId: str virtualProfileId: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi index d885efdf..7af3ccdb 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi @@ -89,6 +89,13 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -325,6 +332,7 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -463,6 +471,13 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -635,6 +650,7 @@ class GoogleCloudVideointelligenceV1beta2_Track( class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -765,6 +781,13 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -937,6 +960,7 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1071,6 +1095,13 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1243,6 +1274,7 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1399,6 +1431,13 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1600,6 +1639,7 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", diff --git a/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi index 9241c8f7..c96a86f7 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi @@ -59,6 +59,13 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -225,6 +232,7 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -377,6 +385,13 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -619,6 +634,7 @@ class GoogleCloudVideointelligenceV1beta2_Track( class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -769,6 +785,13 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -941,6 +964,7 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1075,6 +1099,13 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1247,6 +1278,7 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1403,6 +1435,13 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1604,6 +1643,7 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi index 0e8ea526..ed5c4fab 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi @@ -59,6 +59,13 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -225,6 +232,7 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -347,6 +355,13 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -519,6 +534,7 @@ class GoogleCloudVideointelligenceV1beta2_Track( class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -679,6 +695,13 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -921,6 +944,7 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1075,6 +1099,13 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1247,6 +1278,7 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1403,6 +1435,13 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1604,6 +1643,7 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi index 5fbb87db..fb6f31a4 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi @@ -59,6 +59,13 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -225,6 +232,7 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -347,6 +355,13 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -519,6 +534,7 @@ class GoogleCloudVideointelligenceV1beta2_Track( class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -649,6 +665,13 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -821,6 +844,7 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -985,6 +1009,13 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1227,6 +1258,7 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1403,6 +1435,13 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1604,6 +1643,7 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi index 90c283fd..245b9314 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi @@ -59,6 +59,13 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -225,6 +232,7 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -347,6 +355,13 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -519,6 +534,7 @@ class GoogleCloudVideointelligenceV1beta2_Track( class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -649,6 +665,13 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -821,6 +844,7 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -955,6 +979,13 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1127,6 +1158,7 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", @@ -1314,6 +1346,13 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( ] timeOffset: str +@typing.type_check_only +class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + status: GoogleRpc_Status + @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( typing_extensions.TypedDict, total=False @@ -1585,6 +1624,7 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( typing_extensions.TypedDict, total=False ): + exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus feature: typing_extensions.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi index 01af2920..0ae9a49d 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi @@ -316,6 +316,13 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def extendMigration( + self, + *, + migratingVm: str, + body: ExtendMigrationRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def finalizeMigration( self, *, @@ -536,6 +543,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi index a228d4f7..60da523d 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi @@ -88,6 +88,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): sourceDescription: str sourceId: str tags: dict[str, typing.Any] + vcpuCount: int virtualizationType: typing_extensions.Literal[ "VM_VIRTUALIZATION_TYPE_UNSPECIFIED", "HVM", "PARAVIRTUAL" ] @@ -249,6 +250,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling + diskReplicaZones: _list[str] diskType: typing_extensions.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", @@ -290,6 +292,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling + diskReplicaZones: _list[str] diskType: typing_extensions.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", @@ -458,6 +461,15 @@ class Empty(typing_extensions.TypedDict, total=False): ... class Encryption(typing_extensions.TypedDict, total=False): kmsKey: str +@typing.type_check_only +class Expiration(typing_extensions.TypedDict, total=False): + expireTime: str + extendable: bool + extensionCount: int + +@typing.type_check_only +class ExtendMigrationRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class FetchInventoryResponse(typing_extensions.TypedDict, total=False): awsVms: AwsVmsDetails @@ -516,6 +528,9 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] generalize: bool licenseType: typing_extensions.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", @@ -671,6 +686,7 @@ class MigratingVm(typing_extensions.TypedDict, total=False): description: str displayName: str error: Status + expiration: Expiration group: str labels: dict[str, typing.Any] lastReplicationCycle: ReplicationCycle @@ -693,6 +709,8 @@ class MigratingVm(typing_extensions.TypedDict, total=False): "FINALIZING", "FINALIZED", "ERROR", + "EXPIRED", + "FINALIZED_EXPIRED", ] stateTime: str updateTime: str @@ -936,6 +954,7 @@ class VmCapabilities(typing_extensions.TypedDict, total=False): "OS_CAPABILITY_UNSPECIFIED", "OS_CAPABILITY_NVME_STORAGE_ACCESS", "OS_CAPABILITY_GVNIC_NETWORK_INTERFACE", + "OS_CAPABILITY_IDPF_NETWORK_INTERFACE", ] ] diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi index 01af2920..0ae9a49d 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi @@ -316,6 +316,13 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def extendMigration( + self, + *, + migratingVm: str, + body: ExtendMigrationRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def finalizeMigration( self, *, @@ -536,6 +543,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index 113b85e6..5de66d53 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -88,6 +88,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): sourceDescription: str sourceId: str tags: dict[str, typing.Any] + vcpuCount: int virtualizationType: typing_extensions.Literal[ "VM_VIRTUALIZATION_TYPE_UNSPECIFIED", "HVM", "PARAVIRTUAL" ] @@ -251,6 +252,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling + diskReplicaZones: _list[str] diskType: typing_extensions.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", @@ -292,6 +294,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling + diskReplicaZones: _list[str] diskType: typing_extensions.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", @@ -464,6 +467,15 @@ class Empty(typing_extensions.TypedDict, total=False): ... class Encryption(typing_extensions.TypedDict, total=False): kmsKey: str +@typing.type_check_only +class Expiration(typing_extensions.TypedDict, total=False): + expireTime: str + extendable: bool + extensionCount: int + +@typing.type_check_only +class ExtendMigrationRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class FetchInventoryResponse(typing_extensions.TypedDict, total=False): awsVms: AwsVmsDetails @@ -522,6 +534,9 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] generalize: bool licenseType: typing_extensions.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", @@ -678,6 +693,7 @@ class MigratingVm(typing_extensions.TypedDict, total=False): description: str displayName: str error: Status + expiration: Expiration group: str labels: dict[str, typing.Any] lastReplicationCycle: ReplicationCycle @@ -700,6 +716,8 @@ class MigratingVm(typing_extensions.TypedDict, total=False): "FINALIZING", "FINALIZED", "ERROR", + "EXPIRED", + "FINALIZED_EXPIRED", ] stateTime: str targetDefaults: TargetVMDetails @@ -973,6 +991,7 @@ class VmCapabilities(typing_extensions.TypedDict, total=False): "OS_CAPABILITY_UNSPECIFIED", "OS_CAPABILITY_NVME_STORAGE_ACCESS", "OS_CAPABILITY_GVNIC_NETWORK_INTERFACE", + "OS_CAPABILITY_IDPF_NETWORK_INTERFACE", ] ] diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi index a704aa2e..12d4a4ad 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi @@ -17,6 +17,27 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnouncementsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AnnouncementHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAnnouncementsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAnnouncementsResponseHttpRequest, + previous_response: ListAnnouncementsResponse, + ) -> ListAnnouncementsResponseHttpRequest | None: ... + @typing.type_check_only class DnsBindPermissionResource(googleapiclient.discovery.Resource): def grant( @@ -533,6 +554,36 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class UpgradesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UpgradeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUpgradesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUpgradesResponseHttpRequest, + previous_response: ListUpgradesResponse, + ) -> ListUpgradesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Upgrade = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( self, *, @@ -651,6 +702,7 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): self, ) -> ManagementDnsZoneBindingsResource: ... def subnets(self) -> SubnetsResource: ... + def upgrades(self) -> UpgradesResource: ... @typing.type_check_only class PrivateConnectionsResource(googleapiclient.discovery.Resource): @@ -770,6 +822,7 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -780,6 +833,7 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def announcements(self) -> AnnouncementsResource: ... def dnsBindPermission(self) -> DnsBindPermissionResource: ... def networkPeerings(self) -> NetworkPeeringsResource: ... def networkPolicies(self) -> NetworkPoliciesResource: ... @@ -805,6 +859,14 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AnnouncementHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Announcement: ... + @typing.type_check_only class ClusterHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -879,6 +941,14 @@ class HcxActivationKeyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HcxActivationKey: ... +@typing.type_check_only +class ListAnnouncementsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAnnouncementsResponse: ... + @typing.type_check_only class ListClustersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1019,6 +1089,14 @@ class ListSubnetsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListSubnetsResponse: ... +@typing.type_check_only +class ListUpgradesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUpgradesResponse: ... + @typing.type_check_only class ListVmwareEngineNetworksResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1131,6 +1209,14 @@ class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> TestIamPermissionsResponse: ... +@typing.type_check_only +class UpgradeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Upgrade: ... + @typing.type_check_only class VmwareEngineNetworkHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi index a61ff77e..2198eefc 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi @@ -4,6 +4,22 @@ import typing_extensions _list = list +@typing.type_check_only +class Announcement(typing_extensions.TypedDict, total=False): + activityType: str + cluster: str + code: str + createTime: str + description: str + metadata: dict[str, typing.Any] + name: str + privateCloud: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DELETING", "CREATING" + ] + targetResourceType: str + updateTime: str + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -52,6 +68,13 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class Constraints(typing_extensions.TypedDict, total=False): + disallowedIntervals: _list[WeeklyTimeInterval] + minHoursDay: int + minHoursWeek: int + rescheduleDateRange: Interval + @typing.type_check_only class Credentials(typing_extensions.TypedDict, total=False): password: str @@ -146,12 +169,23 @@ class HcxActivationKey(typing_extensions.TypedDict, total=False): ] uid: str +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class IpRange(typing_extensions.TypedDict, total=False): externalAddress: str ipAddress: str ipAddressRange: str +@typing.type_check_only +class ListAnnouncementsResponse(typing_extensions.TypedDict, total=False): + announcements: _list[Announcement] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListClustersResponse(typing_extensions.TypedDict, total=False): clusters: _list[Cluster] @@ -251,6 +285,12 @@ class ListSubnetsResponse(typing_extensions.TypedDict, total=False): subnets: _list[Subnet] unreachable: _list[str] +@typing.type_check_only +class ListUpgradesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + upgrades: _list[Upgrade] + @typing.type_check_only class ListVmwareEngineNetworksResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -332,6 +372,7 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): "THIRD_PARTY_SERVICE", "DELL_POWERSCALE", "GOOGLE_CLOUD_NETAPP_VOLUMES", + "GOOGLE_CLOUD_FILESTORE_INSTANCES", ] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "CREATING", "DELETING" @@ -524,6 +565,14 @@ class RevokeDnsBindPermissionRequest(typing_extensions.TypedDict, total=False): principal: Principal requestId: str +@typing.type_check_only +class Schedule(typing_extensions.TypedDict, total=False): + constraints: Constraints + editWindow: Interval + lastEditor: typing_extensions.Literal["EDITOR_UNSPECIFIED", "SYSTEM", "USER"] + startTime: str + weeklyWindows: _list[TimeWindow] + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -570,10 +619,69 @@ class Thresholds(typing_extensions.TypedDict, total=False): scaleIn: int scaleOut: int +@typing.type_check_only +class TimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int + +@typing.type_check_only +class TimeWindow(typing_extensions.TypedDict, total=False): + dayOfWeek: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + duration: str + startTime: TimeOfDay + @typing.type_check_only class UndeletePrivateCloudRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class Upgrade(typing_extensions.TypedDict, total=False): + componentUpgrades: _list[VmwareUpgradeComponent] + createTime: str + description: str + endTime: str + estimatedDuration: str + etag: str + name: str + schedule: Schedule + startVersion: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "SCHEDULED", + "ONGOING", + "SUCCEEDED", + "PAUSED", + "FAILED", + "CANCELLING", + "CANCELLED", + "RESCHEDULING", + ] + targetVersion: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "VSPHERE_UPGRADE", + "VSPHERE_PATCH", + "WORKAROUND", + "FIRMWARE_UPGRADE", + "SWITCH_UPGRADE", + "OTHER", + "INFRASTRUCTURE_UPGRADE", + ] + uid: str + updateTime: str + version: str + @typing.type_check_only class Vcenter(typing_extensions.TypedDict, total=False): fqdn: str @@ -595,9 +703,62 @@ class VmwareEngineNetwork(typing_extensions.TypedDict, total=False): updateTime: str vpcNetworks: _list[VpcNetwork] +@typing.type_check_only +class VmwareUpgradeComponent(typing_extensions.TypedDict, total=False): + componentType: typing_extensions.Literal[ + "VMWARE_COMPONENT_TYPE_UNSPECIFIED", + "VCENTER", + "ESXI", + "NSXT_UC", + "NSXT_EDGE", + "NSXT_MGR", + "HCX", + "VSAN", + "DVS", + "NAMESERVER_VM", + "KMS_VM", + "WITNESS_VM", + "NSXT", + "CLUSTER", + ] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "RUNNING", + "PAUSED", + "SUCCEEDED", + "FAILED", + "NOT_STARTED", + "NOT_APPLICABLE", + ] + @typing.type_check_only class VpcNetwork(typing_extensions.TypedDict, total=False): network: str type: typing_extensions.Literal[ "TYPE_UNSPECIFIED", "INTRANET", "INTERNET", "GOOGLE_CLOUD" ] + +@typing.type_check_only +class WeeklyTimeInterval(typing_extensions.TypedDict, total=False): + endDay: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + endTime: TimeOfDay + startDay: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + startTime: TimeOfDay diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi index 1d6c2233..f3de0000 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi @@ -79,6 +79,7 @@ class ServerlessVPCAccessResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi index 1d6c2233..f3de0000 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi @@ -79,6 +79,7 @@ class ServerlessVPCAccessResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi index 36f0232a..e23a8753 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi @@ -508,6 +508,23 @@ class WalletobjectsResource(googleapiclient.discovery.Resource): self, *, resourceId: str, body: TransitObject = ..., **kwargs: typing.Any ) -> TransitObjectHttpRequest: ... + @typing.type_check_only + class WalletobjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class V1Resource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PrivateContentResource(googleapiclient.discovery.Resource): + def setPassUpdateNotice( + self, + *, + body: SetPassUpdateNoticeRequest = ..., + **kwargs: typing.Any, + ) -> SetPassUpdateNoticeResponseHttpRequest: ... + + def privateContent(self) -> PrivateContentResource: ... + + def v1(self) -> V1Resource: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -539,6 +556,7 @@ class WalletobjectsResource(googleapiclient.discovery.Resource): def smarttap(self) -> SmarttapResource: ... def transitclass(self) -> TransitclassResource: ... def transitobject(self) -> TransitobjectResource: ... + def walletobjects(self) -> WalletobjectsResource: ... @typing.type_check_only class EventTicketClassHttpRequest(googleapiclient.http.HttpRequest): @@ -868,6 +886,14 @@ class PermissionsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Permissions: ... +@typing.type_check_only +class SetPassUpdateNoticeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SetPassUpdateNoticeResponse: ... + @typing.type_check_only class SmartTapHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi index 338acbb3..a813189a 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi @@ -1577,6 +1577,15 @@ class SecurityAnimation(typing_extensions.TypedDict, total=False): "ANIMATION_UNSPECIFIED", "FOIL_SHIMMER", "foilShimmer" ] +@typing.type_check_only +class SetPassUpdateNoticeRequest(typing_extensions.TypedDict, total=False): + externalPassId: str + updateUri: str + updatedPassJwtSignature: str + +@typing.type_check_only +class SetPassUpdateNoticeResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SignUpInfo(typing_extensions.TypedDict, total=False): classId: str diff --git a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi index dcd30710..d1432477 100644 --- a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi @@ -24,6 +24,7 @@ class WebfontsResource(googleapiclient.discovery.Resource): | _list[ typing_extensions.Literal["CAPABILITY_UNSPECIFIED", "WOFF2", "VF"] ] = ..., + category: str = ..., family: str | _list[str] = ..., sort: typing_extensions.Literal[ "SORT_UNDEFINED", "ALPHA", "DATE", "POPULARITY", "STYLE", "TRENDING" diff --git a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi index d5644fee..fb3fe75e 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi @@ -100,6 +100,7 @@ class WorkflowsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi index 3e7dd966..b1f81444 100644 --- a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi @@ -87,6 +87,7 @@ class WorkflowsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi index d0e4ca13..c1f7cff3 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi @@ -17,6 +17,23 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DiscoveredprofilesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDiscoveredProfilesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDiscoveredProfilesResponseHttpRequest, + previous_response: ListDiscoveredProfilesResponse, + ) -> ListDiscoveredProfilesResponseHttpRequest | None: ... + @typing.type_check_only class EvaluationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -127,6 +144,9 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): @typing.type_check_only class InsightsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... def writeInsight( self, *, @@ -172,6 +192,13 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): *, parent: str, customRulesBucket: str = ..., + evaluationType: typing_extensions.Literal[ + "EVALUATION_TYPE_UNSPECIFIED", + "SAP", + "SQL_SERVER", + "OTHER", + "SCC_IAC", + ] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -190,6 +217,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -200,6 +228,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def discoveredprofiles(self) -> DiscoveredprofilesResource: ... def evaluations(self) -> EvaluationsResource: ... def insights(self) -> InsightsResource: ... def operations(self) -> OperationsResource: ... @@ -245,6 +274,14 @@ class ExecutionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Execution: ... +@typing.type_check_only +class ListDiscoveredProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDiscoveredProfilesResponse: ... + @typing.type_check_only class ListEvaluationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi index 58cdcb68..d1126ed5 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi @@ -9,6 +9,68 @@ class AgentCommand(typing_extensions.TypedDict, total=False): command: str parameters: dict[str, typing.Any] +@typing.type_check_only +class AgentStatus(typing_extensions.TypedDict, total=False): + agentName: str + availableVersion: str + cloudApiAccessFullScopesGranted: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + configurationErrorMessage: str + configurationFilePath: str + configurationValid: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + installedVersion: str + kernelVersion: SapDiscoveryResourceInstancePropertiesKernelVersion + references: _list[AgentStatusReference] + services: _list[AgentStatusServiceStatus] + systemdServiceEnabled: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + systemdServiceRunning: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + +@typing.type_check_only +class AgentStatusConfigValue(typing_extensions.TypedDict, total=False): + isDefault: bool + name: str + value: str + +@typing.type_check_only +class AgentStatusIAMPermission(typing_extensions.TypedDict, total=False): + granted: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + name: str + +@typing.type_check_only +class AgentStatusReference(typing_extensions.TypedDict, total=False): + name: str + url: str + +@typing.type_check_only +class AgentStatusServiceStatus(typing_extensions.TypedDict, total=False): + configValues: _list[AgentStatusConfigValue] + errorMessage: str + fullyFunctional: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + iamPermissions: _list[AgentStatusIAMPermission] + name: str + state: typing_extensions.Literal[ + "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" + ] + unspecifiedStateMessage: str + +@typing.type_check_only +class BackupProperties(typing_extensions.TypedDict, total=False): + latestBackupStatus: typing_extensions.Literal[ + "BACKUP_STATE_UNSPECIFIED", "BACKUP_STATE_SUCCESS", "BACKUP_STATE_FAILURE" + ] + latestBackupTime: str + @typing.type_check_only class BigQueryDestination(typing_extensions.TypedDict, total=False): createNewResultsTable: bool @@ -17,11 +79,43 @@ class BigQueryDestination(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CloudResource(typing_extensions.TypedDict, total=False): + instanceProperties: InstanceProperties + kind: typing_extensions.Literal[ + "RESOURCE_KIND_UNSPECIFIED", + "RESOURCE_KIND_INSTANCE", + "RESOURCE_KIND_DISK", + "RESOURCE_KIND_ADDRESS", + "RESOURCE_KIND_FILESTORE", + "RESOURCE_KIND_HEALTH_CHECK", + "RESOURCE_KIND_FORWARDING_RULE", + "RESOURCE_KIND_BACKEND_SERVICE", + "RESOURCE_KIND_SUBNETWORK", + "RESOURCE_KIND_NETWORK", + "RESOURCE_KIND_PUBLIC_ADDRESS", + "RESOURCE_KIND_INSTANCE_GROUP", + ] + name: str + @typing.type_check_only class Command(typing_extensions.TypedDict, total=False): agentCommand: AgentCommand shellCommand: ShellCommand +@typing.type_check_only +class DatabaseProperties(typing_extensions.TypedDict, total=False): + backupProperties: BackupProperties + databaseType: typing_extensions.Literal[ + "DATABASE_TYPE_UNSPECIFIED", + "HANA", + "MAX_DB", + "DB2", + "ORACLE", + "SQLSERVER", + "ASE", + ] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -84,6 +178,7 @@ class GceInstanceFilter(typing_extensions.TypedDict, total=False): @typing.type_check_only class Insight(typing_extensions.TypedDict, total=False): + agentStatus: AgentStatus instanceId: str sapDiscovery: SapDiscovery sapValidation: SapValidation @@ -91,6 +186,30 @@ class Insight(typing_extensions.TypedDict, total=False): sqlserverValidation: SqlserverValidation torsoValidation: TorsoValidation +@typing.type_check_only +class InstanceProperties(typing_extensions.TypedDict, total=False): + instanceNumber: str + machineType: str + roles: _list[ + typing_extensions.Literal[ + "INSTANCE_ROLE_UNSPECIFIED", + "INSTANCE_ROLE_ASCS", + "INSTANCE_ROLE_ERS", + "INSTANCE_ROLE_APP_SERVER", + "INSTANCE_ROLE_HANA_PRIMARY", + "INSTANCE_ROLE_HANA_SECONDARY", + ] + ] + sapInstanceProperties: SapInstanceProperties + status: str + upcomingMaintenanceEvent: UpcomingMaintenanceEvent + +@typing.type_check_only +class ListDiscoveredProfilesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + workloadProfiles: _list[WorkloadProfile] + @typing.type_check_only class ListEvaluationsResponse(typing_extensions.TypedDict, total=False): evaluations: _list[Evaluation] @@ -158,6 +277,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Product(typing_extensions.TypedDict, total=False): + name: str + version: str + @typing.type_check_only class Resource(typing_extensions.TypedDict, total=False): name: str @@ -208,6 +332,16 @@ class RunEvaluationRequest(typing_extensions.TypedDict, total=False): executionId: str requestId: str +@typing.type_check_only +class SapComponent(typing_extensions.TypedDict, total=False): + databaseProperties: DatabaseProperties + haHosts: _list[str] + resources: _list[CloudResource] + sid: str + topologyType: typing_extensions.Literal[ + "TOPOLOGY_TYPE_UNSPECIFIED", "TOPOLOGY_SCALE_UP", "TOPOLOGY_SCALE_OUT" + ] + @typing.type_check_only class SapDiscovery(typing_extensions.TypedDict, total=False): applicationLayer: SapDiscoveryComponent @@ -216,6 +350,7 @@ class SapDiscovery(typing_extensions.TypedDict, total=False): projectNumber: str systemId: str updateTime: str + useDrReconciliation: bool workloadProperties: SapDiscoveryWorkloadProperties @typing.type_check_only @@ -251,10 +386,17 @@ class SapDiscoveryComponentApplicationProperties( class SapDiscoveryComponentDatabaseProperties(typing_extensions.TypedDict, total=False): databaseSid: str databaseType: typing_extensions.Literal[ - "DATABASE_TYPE_UNSPECIFIED", "HANA", "MAX_DB", "DB2" + "DATABASE_TYPE_UNSPECIFIED", + "HANA", + "MAX_DB", + "DB2", + "ORACLE", + "SQLSERVER", + "ASE", ] databaseVersion: str instanceNumber: str + landscapeId: str primaryInstanceUri: str sharedNfsUri: str @@ -301,6 +443,7 @@ class SapDiscoveryResource(typing_extensions.TypedDict, total=False): class SapDiscoveryResourceInstanceProperties(typing_extensions.TypedDict, total=False): appInstances: _list[SapDiscoveryResourceInstancePropertiesAppInstance] clusterInstances: _list[str] + diskMounts: _list[SapDiscoveryResourceInstancePropertiesDiskMount] instanceNumber: str instanceRole: typing_extensions.Literal[ "INSTANCE_ROLE_UNSPECIFIED", @@ -321,6 +464,7 @@ class SapDiscoveryResourceInstanceProperties(typing_extensions.TypedDict, total= "INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE", ] isDrSite: bool + osKernelVersion: SapDiscoveryResourceInstancePropertiesKernelVersion virtualHostname: str @typing.type_check_only @@ -330,6 +474,32 @@ class SapDiscoveryResourceInstancePropertiesAppInstance( name: str number: str +@typing.type_check_only +class SapDiscoveryResourceInstancePropertiesDiskMount( + typing_extensions.TypedDict, total=False +): + diskNames: _list[str] + mountPoint: str + name: str + +@typing.type_check_only +class SapDiscoveryResourceInstancePropertiesKernelVersion( + typing_extensions.TypedDict, total=False +): + distroKernel: SapDiscoveryResourceInstancePropertiesKernelVersionVersion + osKernel: SapDiscoveryResourceInstancePropertiesKernelVersionVersion + rawString: str + +@typing.type_check_only +class SapDiscoveryResourceInstancePropertiesKernelVersionVersion( + typing_extensions.TypedDict, total=False +): + build: int + major: int + minor: int + patch: int + remainder: str + @typing.type_check_only class SapDiscoveryWorkloadProperties(typing_extensions.TypedDict, total=False): productVersions: _list[SapDiscoveryWorkloadPropertiesProductVersion] @@ -353,6 +523,10 @@ class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties( type: str version: str +@typing.type_check_only +class SapInstanceProperties(typing_extensions.TypedDict, total=False): + numbers: _list[str] + @typing.type_check_only class SapValidation(typing_extensions.TypedDict, total=False): projectId: str @@ -374,6 +548,22 @@ class SapValidationValidationDetail(typing_extensions.TypedDict, total=False): "CUSTOM", ] +@typing.type_check_only +class SapWorkload(typing_extensions.TypedDict, total=False): + application: SapComponent + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", + "INVALID", + "CENTRALIZED", + "DISTRIBUTED", + "DISTRIBUTED_HA", + "STANDALONE_DATABASE", + "STANDALONE_DATABASE_HA", + ] + database: SapComponent + metadata: dict[str, typing.Any] + products: _list[Product] + @typing.type_check_only class ScannedResource(typing_extensions.TypedDict, total=False): resource: str @@ -437,12 +627,28 @@ class TorsoValidation(typing_extensions.TypedDict, total=False): "WORKLOAD_TYPE_UNSPECIFIED", "MYSQL", "ORACLE", "REDIS" ] +@typing.type_check_only +class UpcomingMaintenanceEvent(typing_extensions.TypedDict, total=False): + endTime: str + maintenanceStatus: str + onHostMaintenance: str + startTime: str + type: str + @typing.type_check_only class ViolationDetails(typing_extensions.TypedDict, total=False): asset: str observed: dict[str, typing.Any] serviceAccount: str +@typing.type_check_only +class WorkloadProfile(typing_extensions.TypedDict, total=False): + labels: dict[str, typing.Any] + name: str + refreshedTime: str + sapWorkload: SapWorkload + workloadType: typing_extensions.Literal["WORKLOAD_TYPE_UNSPECIFIED", "S4_HANA"] + @typing.type_check_only class WriteInsightRequest(typing_extensions.TypedDict, total=False): agentVersion: str diff --git a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi index 6af47f04..7de0f5ad 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi @@ -91,6 +91,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -184,6 +185,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -257,6 +259,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -285,6 +288,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index 6eca94e9..d1442774 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -69,6 +69,10 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class GatewayConfig(typing_extensions.TypedDict, total=False): + http2Enabled: bool + @typing.type_check_only class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): enableConfidentialCompute: bool @@ -304,6 +308,7 @@ class WorkstationCluster(typing_extensions.TypedDict, total=False): displayName: str domainConfig: DomainConfig etag: str + gatewayConfig: GatewayConfig labels: dict[str, typing.Any] name: str network: str diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi index 22782349..dff286d1 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi @@ -91,6 +91,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -184,6 +185,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -257,6 +259,7 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index fd6563a3..29bed4ee 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -35,6 +35,7 @@ class BoostConfig(typing_extensions.TypedDict, total=False): id: str machineType: str poolSize: int + reservationAffinity: ReservationAffinity @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -69,6 +70,10 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class GatewayConfig(typing_extensions.TypedDict, total=False): + http2Enabled: bool + @typing.type_check_only class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): enableConfidentialCompute: bool @@ -85,6 +90,7 @@ class GceInstance(typing_extensions.TypedDict, total=False): machineType: str poolSize: int pooledInstances: int + reservationAffinity: ReservationAffinity serviceAccount: str serviceAccountScopes: _list[str] shieldedInstanceConfig: GceShieldedInstanceConfig @@ -225,6 +231,14 @@ class ReadinessCheck(typing_extensions.TypedDict, total=False): path: str port: int +@typing.type_check_only +class ReservationAffinity(typing_extensions.TypedDict, total=False): + consumeReservationType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" + ] + key: str + values: _list[str] + @typing.type_check_only class RuntimeHost(typing_extensions.TypedDict, total=False): gceInstanceHost: GceInstanceHost @@ -263,7 +277,9 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): class Workstation(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] boostConfigs: _list[WorkstationBoostConfig] + conditions: _list[Status] createTime: str + degraded: bool deleteTime: str displayName: str env: dict[str, typing.Any] @@ -303,6 +319,7 @@ class WorkstationCluster(typing_extensions.TypedDict, total=False): displayName: str domainConfig: DomainConfig etag: str + gatewayConfig: GatewayConfig labels: dict[str, typing.Any] name: str network: str diff --git a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi index 698419fb..1dbde66b 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi @@ -209,6 +209,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): "orderUnspecified", "time", "relevance" ] = ..., pageToken: str = ..., + postId: str = ..., searchTerms: str = ..., textFormat: typing_extensions.Literal[ "textFormatUnspecified", "html", "plainText" @@ -842,6 +843,12 @@ class YouTubeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> VideoCategoryListResponseHttpRequest: ... + @typing.type_check_only + class VideoTrainabilityResource(googleapiclient.discovery.Resource): + def get( + self, *, id: str = ..., **kwargs: typing.Any + ) -> VideoTrainabilityHttpRequest: ... + @typing.type_check_only class VideosResource(googleapiclient.discovery.Resource): def delete( @@ -984,6 +991,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): def thumbnails(self) -> ThumbnailsResource: ... def videoAbuseReportReasons(self) -> VideoAbuseReportReasonsResource: ... def videoCategories(self) -> VideoCategoriesResource: ... + def videoTrainability(self) -> VideoTrainabilityResource: ... def videos(self) -> VideosResource: ... def watermarks(self) -> WatermarksResource: ... def youtube(self) -> YoutubeResource: ... @@ -1356,6 +1364,14 @@ class VideoListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VideoListResponse: ... +@typing.type_check_only +class VideoTrainabilityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VideoTrainability: ... + @typing.type_check_only class BytesHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi index 66f94e6a..983f5bb4 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi @@ -364,6 +364,7 @@ class ChannelStatistics(typing_extensions.TypedDict, total=False): @typing.type_check_only class ChannelStatus(typing_extensions.TypedDict, total=False): + isChannelMonetizationEnabled: bool isLinked: bool longUploadsStatus: typing_extensions.Literal[ "longUploadsUnspecified", "allowed", "eligible", "disallowed" @@ -438,6 +439,7 @@ class CommentSnippet(typing_extensions.TypedDict, total=False): "published", "heldForReview", "likelySpam", "rejected" ] parentId: str + postId: str publishedAt: str textDisplay: str textOriginal: str @@ -477,6 +479,7 @@ class CommentThreadSnippet(typing_extensions.TypedDict, total=False): canReply: bool channelId: str isPublic: bool + postId: str topLevelComment: Comment totalReplyCount: int videoId: str @@ -700,6 +703,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "djctqInappropriateLanguage", "djctqCriminalActs", "djctqImpactingContent", + "djctqFear", + "djctqMedicalProcedures", + "djctqSensitiveTopics", + "djctqFantasyViolence", ] ] ecbmctRating: typing_extensions.Literal[ @@ -2392,6 +2399,13 @@ class VideoTopicDetails(typing_extensions.TypedDict, total=False): topicCategories: _list[str] topicIds: _list[str] +@typing.type_check_only +class VideoTrainability(typing_extensions.TypedDict, total=False): + etag: str + kind: str + permitted: _list[str] + videoId: str + @typing.type_check_only class WatchSettings(typing_extensions.TypedDict, total=False): backgroundColor: str diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index a6f00a7b..644a0d42 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -54,6 +54,7 @@ import googleapiclient._apis.apigateway.v1 import googleapiclient._apis.apigateway.v1beta import googleapiclient._apis.apigee.v1 import googleapiclient._apis.apigeeregistry.v1 +import googleapiclient._apis.apihub.v1 import googleapiclient._apis.apikeys.v2 import googleapiclient._apis.apim.v1alpha import googleapiclient._apis.appengine.v1 @@ -72,6 +73,7 @@ import googleapiclient._apis.assuredworkloads.v1 import googleapiclient._apis.assuredworkloads.v1beta1 import googleapiclient._apis.authorizedbuyersmarketplace.v1 import googleapiclient._apis.authorizedbuyersmarketplace.v1alpha +import googleapiclient._apis.authorizedbuyersmarketplace.v1beta import googleapiclient._apis.backupdr.v1 import googleapiclient._apis.baremetalsolution.v1 import googleapiclient._apis.baremetalsolution.v1alpha1 @@ -136,6 +138,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.v1alpha import googleapiclient._apis.cloudprofiler.v2 import googleapiclient._apis.cloudresourcemanager.v1 import googleapiclient._apis.cloudresourcemanager.v1beta1 @@ -251,7 +254,10 @@ import googleapiclient._apis.firebaseappcheck.v1 import googleapiclient._apis.firebaseappcheck.v1beta import googleapiclient._apis.firebaseappdistribution.v1 import googleapiclient._apis.firebaseappdistribution.v1alpha +import googleapiclient._apis.firebaseapphosting.v1 +import googleapiclient._apis.firebaseapphosting.v1beta import googleapiclient._apis.firebasedatabase.v1beta +import googleapiclient._apis.firebasedataconnect.v1 import googleapiclient._apis.firebasedataconnect.v1beta import googleapiclient._apis.firebasedynamiclinks.v1 import googleapiclient._apis.firebasehosting.v1 @@ -327,6 +333,7 @@ import googleapiclient._apis.looker.v1 import googleapiclient._apis.managedidentities.v1 import googleapiclient._apis.managedidentities.v1alpha1 import googleapiclient._apis.managedidentities.v1beta1 +import googleapiclient._apis.managedkafka.v1 import googleapiclient._apis.manufacturers.v1 import googleapiclient._apis.marketingplatformadmin.v1alpha import googleapiclient._apis.meet.v2 @@ -336,8 +343,10 @@ import googleapiclient._apis.merchantapi.accounts_v1beta import googleapiclient._apis.merchantapi.conversions_v1beta import googleapiclient._apis.merchantapi.datasources_v1beta import googleapiclient._apis.merchantapi.inventories_v1beta +import googleapiclient._apis.merchantapi.issueresolution_v1beta import googleapiclient._apis.merchantapi.lfp_v1beta import googleapiclient._apis.merchantapi.notifications_v1beta +import googleapiclient._apis.merchantapi.ordertracking_v1beta import googleapiclient._apis.merchantapi.products_v1beta import googleapiclient._apis.merchantapi.promotions_v1beta import googleapiclient._apis.merchantapi.quota_v1beta @@ -375,6 +384,7 @@ import googleapiclient._apis.networkservices.v1beta1 import googleapiclient._apis.notebooks.v1 import googleapiclient._apis.notebooks.v2 import googleapiclient._apis.oauth2.v2 +import googleapiclient._apis.observability.v1 import googleapiclient._apis.ondemandscanning.v1 import googleapiclient._apis.ondemandscanning.v1beta1 import googleapiclient._apis.oracledatabase.v1 @@ -382,6 +392,7 @@ import googleapiclient._apis.orgpolicy.v2 import googleapiclient._apis.osconfig.v1 import googleapiclient._apis.osconfig.v1alpha import googleapiclient._apis.osconfig.v1beta +import googleapiclient._apis.osconfig.v2 import googleapiclient._apis.osconfig.v2beta import googleapiclient._apis.oslogin.v1 import googleapiclient._apis.oslogin.v1alpha @@ -389,6 +400,7 @@ import googleapiclient._apis.oslogin.v1beta import googleapiclient._apis.pagespeedonline.v5 import googleapiclient._apis.parallelstore.v1 import googleapiclient._apis.parallelstore.v1beta +import googleapiclient._apis.parametermanager.v1 import googleapiclient._apis.paymentsresellersubscription.v1 import googleapiclient._apis.people.v1 import googleapiclient._apis.places.v1 @@ -442,6 +454,7 @@ import googleapiclient._apis.run.v1beta1 import googleapiclient._apis.run.v2 import googleapiclient._apis.runtimeconfig.v1 import googleapiclient._apis.runtimeconfig.v1beta1 +import googleapiclient._apis.saasservicemgmt.v1beta1 import googleapiclient._apis.safebrowsing.v4 import googleapiclient._apis.safebrowsing.v5 import googleapiclient._apis.sasportal.v1alpha1 @@ -479,6 +492,7 @@ import googleapiclient._apis.speech.v2beta1 import googleapiclient._apis.sqladmin.v1 import googleapiclient._apis.sqladmin.v1beta4 import googleapiclient._apis.storage.v1 +import googleapiclient._apis.storagebatchoperations.v1 import googleapiclient._apis.storagetransfer.v1 import googleapiclient._apis.streetviewpublish.v1 import googleapiclient._apis.sts.v1 @@ -1509,6 +1523,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.apigeeregistry.v1.ApigeeRegistryResource: ... @overload +def build( + serviceName: Literal["apihub"], + 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.apihub.v1.APIHubResource: ... +@overload def build( serviceName: Literal["apikeys"], version: Literal["v2"], @@ -1869,6 +1903,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.authorizedbuyersmarketplace.v1alpha.AuthorizedBuyersMarketplaceResource: ... @overload +def build( + serviceName: Literal["authorizedbuyersmarketplace"], + version: Literal["v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.authorizedbuyersmarketplace.v1beta.AuthorizedBuyersMarketplaceResource: ... +@overload def build( serviceName: Literal["backupdr"], version: Literal["v1"], @@ -3153,6 +3207,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.cloudkms.v1.CloudKMSResource: ... @overload +def build( + serviceName: Literal["cloudlocationfinder"], + version: Literal["v1alpha"], + 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.v1alpha.CloudLocationFinderResource: ... +@overload def build( serviceName: Literal["cloudprofiler"], version: Literal["v2"], @@ -5459,6 +5533,46 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.firebaseappdistribution.v1alpha.FirebaseAppDistributionResource: ... @overload +def build( + serviceName: Literal["firebaseapphosting"], + 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.firebaseapphosting.v1.FirebaseAppHostingResource: ... +@overload +def build( + serviceName: Literal["firebaseapphosting"], + version: Literal["v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.firebaseapphosting.v1beta.FirebaseAppHostingResource: ... +@overload def build( serviceName: Literal["firebasedatabase"], version: Literal["v1beta"], @@ -5479,6 +5593,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.firebasedatabase.v1beta.FirebaseRealtimeDatabaseResource: ... @overload +def build( + serviceName: Literal["firebasedataconnect"], + 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.firebasedataconnect.v1.FirebaseDataConnectResource: ... +@overload def build( serviceName: Literal["firebasedataconnect"], version: Literal["v1beta"], @@ -6981,6 +7115,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.managedidentities.v1beta1.ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource: ... @overload +def build( + serviceName: Literal["managedkafka"], + 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.managedkafka.v1.ManagedKafkaResource: ... +@overload def build( serviceName: Literal["manufacturers"], version: Literal["v1"], @@ -7161,6 +7315,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.inventories_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["issueresolution_v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.merchantapi.issueresolution_v1beta.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["lfp_v1beta"], @@ -7201,6 +7375,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.notifications_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["ordertracking_v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.merchantapi.ordertracking_v1beta.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["products_v1beta"], @@ -7945,6 +8139,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.oauth2.v2.Oauth2Resource: ... @overload +def build( + serviceName: Literal["observability"], + 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.observability.v1.CloudObservabilityResource: ... +@overload def build( serviceName: Literal["ondemandscanning"], version: Literal["v1"], @@ -8085,6 +8299,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.osconfig.v1beta.OSConfigResource: ... @overload +def build( + serviceName: Literal["osconfig"], + 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.osconfig.v2.OSConfigResource: ... +@overload def build( serviceName: Literal["osconfig"], version: Literal["v2beta"], @@ -8225,6 +8459,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.parallelstore.v1beta.ParallelstoreResource: ... @overload +def build( + serviceName: Literal["parametermanager"], + 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.parametermanager.v1.ParameterManagerResource: ... +@overload def build( serviceName: Literal["paymentsresellersubscription"], version: Literal["v1"], @@ -9293,6 +9547,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.runtimeconfig.v1beta1.CloudRuntimeConfigResource: ... @overload +def build( + serviceName: Literal["saasservicemgmt"], + version: Literal["v1beta1"], + 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.saasservicemgmt.v1beta1.SaaSServiceManagementResource: ... +@overload def build( serviceName: Literal["safebrowsing"], version: Literal["v4"], @@ -10035,6 +10309,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.storage.v1.StorageResource: ... @overload +def build( + serviceName: Literal["storagebatchoperations"], + 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.storagebatchoperations.v1.StorageBatchOperationsResource: ... +@overload def build( serviceName: Literal["storagetransfer"], version: Literal["v1"], diff --git a/pyproject.toml b/pyproject.toml index fdf02609..d3beb62a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.159.0", + "google-api-python-client>=2.176.0", "types-httplib2>=0.22.0.2", "typing-extensions>=3.10.0", ] diff --git a/uv.lock b/uv.lock index c23768ea..16ef3264 100644 --- a/uv.lock +++ b/uv.lock @@ -138,7 +138,7 @@ wheels = [ [[package]] name = "google-api-python-client" -version = "2.159.0" +version = "2.176.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-api-core" }, @@ -147,14 +147,14 @@ dependencies = [ { name = "httplib2" }, { name = "uritemplate" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/5a/9f/12b58cca5a93d63fd6a7abed570423bdf2db4349eb9361ac5214d42ed7d6/google_api_python_client-2.159.0.tar.gz", hash = "sha256:55197f430f25c907394b44fa078545ffef89d33fd4dca501b7db9f0d8e224bd6", size = 12302576 } +sdist = { url = "https://files.pythonhosted.org/packages/3e/38/daf70faf6d05556d382bac640bc6765f09fcfb9dfb51ac4a595d3453a2a9/google_api_python_client-2.176.0.tar.gz", hash = "sha256:2b451cdd7fd10faeb5dd20f7d992f185e1e8f4124c35f2cdcc77c843139a4cf1", size = 13154773 } wheels = [ - { url = "https://files.pythonhosted.org/packages/51/ab/d0671375afe79e6e8c51736e115a69bb6b4bcdc80cd5c01bf667486cd24c/google_api_python_client-2.159.0-py2.py3-none-any.whl", hash = "sha256:baef0bb631a60a0bd7c0bf12a5499e3a40cd4388484de7ee55c1950bf820a0cf", size = 12814228 }, + { 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 }, ] [[package]] name = "google-api-python-client-stubs" -version = "1.29.0" +version = "1.30.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" }, @@ -171,7 +171,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.159.0" }, + { name = "google-api-python-client", specifier = ">=2.176.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, { name = "typing-extensions", specifier = ">=3.10.0" }, ]