diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index 9ce9967b..849c84c7 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -53,6 +53,7 @@ class ApprovalRequest(typing_extensions.TypedDict, total=False): dismiss: DismissDecision name: str requestTime: str + requestedAugmentedInfo: AugmentedInfo requestedDuration: str requestedExpiration: str requestedLocations: AccessLocations @@ -72,6 +73,10 @@ class ApproveDecision(typing_extensions.TypedDict, total=False): invalidateTime: str signatureInfo: SignatureInfo +@typing.type_check_only +class AugmentedInfo(typing_extensions.TypedDict, total=False): + command: str + @typing.type_check_only class DismissApprovalRequestMessage(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index dc77907a..70e0fbc2 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -25,6 +25,15 @@ class AccessPolicy(typing_extensions.TypedDict, total=False): scopes: _list[str] title: str +@typing.type_check_only +class AccessScope(typing_extensions.TypedDict, total=False): + clientScope: ClientScope + +@typing.type_check_only +class AccessSettings(typing_extensions.TypedDict, total=False): + accessLevels: _list[str] + reauthSettings: ReauthSettings + @typing.type_check_only class ApiOperation(typing_extensions.TypedDict, total=False): methodSelectors: _list[MethodSelector] @@ -77,6 +86,10 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ClientScope(typing_extensions.TypedDict, total=False): + restrictedClientApplication: Application + @typing.type_check_only class CommitServicePerimetersRequest(typing_extensions.TypedDict, total=False): etag: str @@ -164,7 +177,9 @@ class GcpUserAccessBinding(typing_extensions.TypedDict, total=False): dryRunAccessLevels: _list[str] groupKey: str name: str + reauthSettings: ReauthSettings restrictedClientApplications: _list[Application] + scopedAccessSettings: _list[ScopedAccessSettings] @typing.type_check_only class GcpUserAccessBindingOperationMetadata( @@ -274,6 +289,16 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class ReauthSettings(typing_extensions.TypedDict, total=False): + maxInactivity: str + reauthMethod: typing_extensions.Literal[ + "REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD" + ] + sessionLength: str + sessionLengthEnabled: bool + useOidcMaxAge: bool + @typing.type_check_only class ReplaceAccessLevelsRequest(typing_extensions.TypedDict, total=False): accessLevels: _list[AccessLevel] @@ -292,6 +317,12 @@ class ReplaceServicePerimetersRequest(typing_extensions.TypedDict, total=False): class ReplaceServicePerimetersResponse(typing_extensions.TypedDict, total=False): servicePerimeters: _list[ServicePerimeter] +@typing.type_check_only +class ScopedAccessSettings(typing_extensions.TypedDict, total=False): + activeSettings: AccessSettings + dryRunSettings: AccessSettings + scope: AccessScope + @typing.type_check_only class ServicePerimeter(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index 5874f492..4cb3d61d 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -13,6 +13,123 @@ _list = list @typing.type_check_only class AiplatformResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DatasetVersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1DatasetVersion = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDatasetVersionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1DatasetVersion = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... + def restore( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + body: GoogleCloudAiplatformV1Dataset = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... + def list( + self, + *, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDatasetsResponse, + ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Dataset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... + def datasetVersions(self) -> DatasetVersionsResource: ... + + @typing.type_check_only + class EndpointsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1051,6 +1168,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1FeatureViewHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1086,6 +1210,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1SearchNearestEntitiesResponseHttpRequest ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def sync( self, *, @@ -1093,6 +1224,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1SyncFeatureViewRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1SyncFeatureViewResponseHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def featureViewSyncs(self) -> FeatureViewSyncsResource: ... def operations(self) -> OperationsResource: ... @@ -1136,6 +1274,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAiplatformV1FeatureOnlineStoreHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1164,6 +1309,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 featureViews(self) -> FeatureViewsResource: ... def operations(self) -> OperationsResource: ... @@ -3951,6 +4110,9 @@ class AiplatformResource(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: ... @@ -4002,6 +4164,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest | None ): ... + def rebaseTunedModel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RebaseTunedModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... def evaluateInstances( @@ -4067,10 +4236,32 @@ class AiplatformResource(googleapiclient.discovery.Resource): class PublishersResource(googleapiclient.discovery.Resource): @typing.type_check_only class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... def get( self, *, name: str, + huggingFaceToken: str = ..., isHuggingFaceModel: bool = ..., languageCode: str = ..., view: typing_extensions.Literal[ @@ -4081,6 +4272,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1PublisherModelHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... def models(self) -> ModelsResource: ... @@ -4096,6 +4294,8 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def datasets(self) -> DatasetsResource: ... + def endpoints(self) -> EndpointsResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index 5aba9291..2b05a6fc 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -46,6 +46,7 @@ class CloudAiLargeModelsVisionNamedBoundingBox( @typing.type_check_only class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): + blockedEntities: _list[str] detectedLabels: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabels] modelName: str raiCategories: _list[str] @@ -585,6 +586,7 @@ class GoogleCloudAiplatformV1CancelTuningJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False): + avgLogprobs: float citationMetadata: GoogleCloudAiplatformV1CitationMetadata content: GoogleCloudAiplatformV1Content finishMessage: str @@ -602,6 +604,7 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) ] groundingMetadata: GoogleCloudAiplatformV1GroundingMetadata index: int + logprobsResult: GoogleCloudAiplatformV1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1SafetyRating] @typing.type_check_only @@ -743,6 +746,7 @@ class GoogleCloudAiplatformV1CountTokensRequest( typing_extensions.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1Content] + generationConfig: GoogleCloudAiplatformV1GenerationConfig instances: _list[typing.Any] model: str systemInstruction: GoogleCloudAiplatformV1Content @@ -858,6 +862,14 @@ class GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata( genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str +@typing.type_check_only +class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest( + typing_extensions.TypedDict, total=False +): + notebookExecutionJob: GoogleCloudAiplatformV1NotebookExecutionJob + notebookExecutionJobId: str + parent: str + @typing.type_check_only class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata( typing_extensions.TypedDict, total=False @@ -1177,6 +1189,7 @@ class GoogleCloudAiplatformV1DeployedIndex(typing_extensions.TypedDict, total=Fa index: str indexSyncTime: str privateEndpoints: GoogleCloudAiplatformV1IndexPrivateEndpoints + pscAutomationConfigs: _list[GoogleCloudAiplatformV1PSCAutomationConfig] reservedIpRanges: _list[str] @typing.type_check_only @@ -1318,6 +1331,8 @@ class GoogleCloudAiplatformV1EntityType(typing_extensions.TypedDict, total=False monitoringConfig: GoogleCloudAiplatformV1FeaturestoreMonitoringConfig name: str offlineStorageTtlDays: int + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -1356,12 +1371,14 @@ class GoogleCloudAiplatformV1EvaluateInstancesRequest( fluencyInput: GoogleCloudAiplatformV1FluencyInput fulfillmentInput: GoogleCloudAiplatformV1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1GroundednessInput + pairwiseMetricInput: GoogleCloudAiplatformV1PairwiseMetricInput pairwiseQuestionAnsweringQualityInput: ( GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput ) pairwiseSummarizationQualityInput: ( GoogleCloudAiplatformV1PairwiseSummarizationQualityInput ) + pointwiseMetricInput: GoogleCloudAiplatformV1PointwiseMetricInput questionAnsweringCorrectnessInput: ( GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput ) @@ -1392,12 +1409,14 @@ class GoogleCloudAiplatformV1EvaluateInstancesResponse( fluencyResult: GoogleCloudAiplatformV1FluencyResult fulfillmentResult: GoogleCloudAiplatformV1FulfillmentResult groundednessResult: GoogleCloudAiplatformV1GroundednessResult + pairwiseMetricResult: GoogleCloudAiplatformV1PairwiseMetricResult pairwiseQuestionAnsweringQualityResult: ( GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult ) pairwiseSummarizationQualityResult: ( GoogleCloudAiplatformV1PairwiseSummarizationQualityResult ) + pointwiseMetricResult: GoogleCloudAiplatformV1PointwiseMetricResult questionAnsweringCorrectnessResult: ( GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult ) @@ -1844,7 +1863,16 @@ class GoogleCloudAiplatformV1FeatureGroupBigQuery( typing_extensions.TypedDict, total=False ): bigQuerySource: GoogleCloudAiplatformV1BigQuerySource + dense: bool entityIdColumns: _list[str] + staticDataSource: bool + timeSeries: GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries + +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries( + typing_extensions.TypedDict, total=False +): + timestampColumn: str @typing.type_check_only class GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly( @@ -1882,6 +1910,8 @@ class GoogleCloudAiplatformV1FeatureOnlineStore( labels: dict[str, typing.Any] name: str optimized: GoogleCloudAiplatformV1FeatureOnlineStoreOptimized + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @@ -1969,8 +1999,11 @@ class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=Fals indexConfig: GoogleCloudAiplatformV1FeatureViewIndexConfig labels: dict[str, typing.Any] name: str + satisfiesPzi: bool + satisfiesPzs: bool syncConfig: GoogleCloudAiplatformV1FeatureViewSyncConfig updateTime: str + vertexRagSource: GoogleCloudAiplatformV1FeatureViewVertexRagSource @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewBigQuerySource( @@ -2042,6 +2075,8 @@ class GoogleCloudAiplatformV1FeatureViewSync(typing_extensions.TypedDict, total= finalStatus: GoogleRpcStatus name: str runTime: GoogleTypeInterval + satisfiesPzi: bool + satisfiesPzs: bool syncSummary: GoogleCloudAiplatformV1FeatureViewSyncSyncSummary @typing.type_check_only @@ -2055,8 +2090,16 @@ class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary( typing_extensions.TypedDict, total=False ): rowSynced: str + systemWatermarkTime: str totalSlot: str +@typing.type_check_only +class GoogleCloudAiplatformV1FeatureViewVertexRagSource( + typing_extensions.TypedDict, total=False +): + ragCorpusId: str + uri: str + @typing.type_check_only class GoogleCloudAiplatformV1Featurestore(typing_extensions.TypedDict, total=False): createTime: str @@ -2066,6 +2109,8 @@ class GoogleCloudAiplatformV1Featurestore(typing_extensions.TypedDict, total=Fal name: str onlineServingConfig: GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig onlineStorageTtlDays: int + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @@ -2288,6 +2333,7 @@ class GoogleCloudAiplatformV1FunctionDeclaration( description: str name: str parameters: GoogleCloudAiplatformV1Schema + response: GoogleCloudAiplatformV1Schema @typing.type_check_only class GoogleCloudAiplatformV1FunctionResponse(typing_extensions.TypedDict, total=False): @@ -2308,6 +2354,7 @@ class GoogleCloudAiplatformV1GenerateContentRequest( ): contents: _list[GoogleCloudAiplatformV1Content] generationConfig: GoogleCloudAiplatformV1GenerationConfig + labels: dict[str, typing.Any] safetySettings: _list[GoogleCloudAiplatformV1SafetySetting] systemInstruction: GoogleCloudAiplatformV1Content toolConfig: GoogleCloudAiplatformV1ToolConfig @@ -2318,6 +2365,7 @@ class GoogleCloudAiplatformV1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1Candidate] + modelVersion: str promptFeedback: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback usageMetadata: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata @@ -2347,11 +2395,14 @@ class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total=False): candidateCount: int frequencyPenalty: float + logprobs: int maxOutputTokens: int presencePenalty: float + responseLogprobs: bool responseMimeType: str responseSchema: GoogleCloudAiplatformV1Schema routingConfig: GoogleCloudAiplatformV1GenerationConfigRoutingConfig + seed: int stopSequences: _list[str] temperature: float topK: float @@ -2584,6 +2635,8 @@ class GoogleCloudAiplatformV1Index(typing_extensions.TypedDict, total=False): metadata: typing.Any metadataSchemaUri: str name: str + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -2649,6 +2702,8 @@ class GoogleCloudAiplatformV1IndexEndpoint(typing_extensions.TypedDict, total=Fa privateServiceConnectConfig: GoogleCloudAiplatformV1PrivateServiceConnectConfig publicEndpointDomainName: str publicEndpointEnabled: bool + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -3046,6 +3101,25 @@ class GoogleCloudAiplatformV1ListTuningJobsResponse( nextPageToken: str tuningJobs: _list[GoogleCloudAiplatformV1TuningJob] +@typing.type_check_only +class GoogleCloudAiplatformV1LogprobsResult(typing_extensions.TypedDict, total=False): + chosenCandidates: _list[GoogleCloudAiplatformV1LogprobsResultCandidate] + topCandidates: _list[GoogleCloudAiplatformV1LogprobsResultTopCandidates] + +@typing.type_check_only +class GoogleCloudAiplatformV1LogprobsResultCandidate( + typing_extensions.TypedDict, total=False +): + logProbability: float + token: str + tokenId: int + +@typing.type_check_only +class GoogleCloudAiplatformV1LogprobsResultTopCandidates( + typing_extensions.TypedDict, total=False +): + candidates: _list[GoogleCloudAiplatformV1LogprobsResultCandidate] + @typing.type_check_only class GoogleCloudAiplatformV1LookupStudyRequest( typing_extensions.TypedDict, total=False @@ -3362,6 +3436,8 @@ class GoogleCloudAiplatformV1ModelDeploymentMonitoringJob( nextScheduleTime: str predictInstanceSchemaUri: str samplePredictInstance: typing.Any + satisfiesPzi: bool + satisfiesPzs: bool scheduleState: typing_extensions.Literal[ "MONITORING_SCHEDULE_STATE_UNSPECIFIED", "PENDING", "OFFLINE", "RUNNING" ] @@ -4022,6 +4098,41 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplateRef( ): notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1PSCAutomationConfig( + typing_extensions.TypedDict, total=False +): + network: str + projectId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1PairwiseMetricInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1PairwiseMetricInstance + metricSpec: GoogleCloudAiplatformV1PairwiseMetricSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1PairwiseMetricInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1PairwiseMetricResult( + typing_extensions.TypedDict, total=False +): + explanation: str + pairwiseChoice: typing_extensions.Literal[ + "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1PairwiseMetricSpec( + typing_extensions.TypedDict, total=False +): + metricPromptTemplate: str + @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput( typing_extensions.TypedDict, total=False @@ -4131,6 +4242,8 @@ class GoogleCloudAiplatformV1PersistentResource( resourcePools: _list[GoogleCloudAiplatformV1ResourcePool] resourceRuntime: GoogleCloudAiplatformV1ResourceRuntime resourceRuntimeSpec: GoogleCloudAiplatformV1ResourceRuntimeSpec + satisfiesPzi: bool + satisfiesPzs: bool startTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -4289,6 +4402,32 @@ class GoogleCloudAiplatformV1PipelineTemplateMetadata( ): version: str +@typing.type_check_only +class GoogleCloudAiplatformV1PointwiseMetricInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1PointwiseMetricInstance + metricSpec: GoogleCloudAiplatformV1PointwiseMetricSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1PointwiseMetricInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1PointwiseMetricResult( + typing_extensions.TypedDict, total=False +): + explanation: str + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1PointwiseMetricSpec( + typing_extensions.TypedDict, total=False +): + metricPromptTemplate: str + @typing.type_check_only class GoogleCloudAiplatformV1Port(typing_extensions.TypedDict, total=False): containerPort: int @@ -4401,6 +4540,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction( ) deploy: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy deployGke: GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke + multiDeployVertex: GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex openEvaluationPipeline: ( GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences ) @@ -4459,6 +4599,12 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( ): gkeYamlConfigs: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex( + typing_extensions.TypedDict, total=False +): + multiDeployVertex: _list[GoogleCloudAiplatformV1PublisherModelCallToActionDeploy] + @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines( typing_extensions.TypedDict, total=False @@ -4829,6 +4975,15 @@ class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData( username: str viewCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1RebaseTunedModelRequest( + typing_extensions.TypedDict, total=False +): + artifactDestination: GoogleCloudAiplatformV1GcsDestination + deployToSameEndpoint: bool + tunedModelRef: GoogleCloudAiplatformV1TunedModelRef + tuningJob: GoogleCloudAiplatformV1TuningJob + @typing.type_check_only class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata( typing_extensions.TypedDict, total=False @@ -4927,6 +5082,7 @@ class GoogleCloudAiplatformV1ResumeScheduleRequest( class GoogleCloudAiplatformV1Retrieval(typing_extensions.TypedDict, total=False): disableAttribution: bool vertexAiSearch: GoogleCloudAiplatformV1VertexAISearch + vertexRagStore: GoogleCloudAiplatformV1VertexRagStore @typing.type_check_only class GoogleCloudAiplatformV1RougeInput(typing_extensions.TypedDict, total=False): @@ -4970,6 +5126,7 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -4998,6 +5155,7 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -5008,6 +5166,7 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", + "OFF", ] @typing.type_check_only @@ -5059,6 +5218,9 @@ class GoogleCloudAiplatformV1Scalar(typing_extensions.TypedDict, total=False): class GoogleCloudAiplatformV1Schedule(typing_extensions.TypedDict, total=False): allowQueueing: bool catchUp: bool + createNotebookExecutionJobRequest: ( + GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest + ) createPipelineJobRequest: GoogleCloudAiplatformV1CreatePipelineJobRequest createTime: str cron: str @@ -5088,14 +5250,21 @@ class GoogleCloudAiplatformV1ScheduleRunResponse( @typing.type_check_only class GoogleCloudAiplatformV1Scheduling(typing_extensions.TypedDict, total=False): disableRetries: bool + maxWaitDuration: str restartJobOnWorkerRestart: bool strategy: typing_extensions.Literal[ - "STRATEGY_UNSPECIFIED", "ON_DEMAND", "LOW_COST", "STANDARD", "SPOT" + "STRATEGY_UNSPECIFIED", + "ON_DEMAND", + "LOW_COST", + "STANDARD", + "SPOT", + "FLEX_START", ] timeout: str @typing.type_check_only class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): + anyOf: _list[GoogleCloudAiplatformV1Schema] default: typing.Any description: str enum: _list[str] @@ -5113,6 +5282,7 @@ class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): nullable: bool pattern: str properties: dict[str, typing.Any] + propertyOrdering: _list[str] required: _list[str] title: str type: typing_extensions.Literal[ @@ -7080,7 +7250,9 @@ class GoogleCloudAiplatformV1SupervisedTuningDataStats( ): totalBillableCharacterCount: str totalBillableTokenCount: str + totalTruncatedExampleCount: str totalTuningCharacterCount: str + truncatedExampleIndices: _list[str] tuningDatasetExampleCount: str tuningStepCount: str userDatasetExamples: _list[GoogleCloudAiplatformV1Content] @@ -7501,6 +7673,12 @@ class GoogleCloudAiplatformV1TunedModel(typing_extensions.TypedDict, total=False endpoint: str model: str +@typing.type_check_only +class GoogleCloudAiplatformV1TunedModelRef(typing_extensions.TypedDict, total=False): + pipelineJob: str + tunedModel: str + tuningJob: str + @typing.type_check_only class GoogleCloudAiplatformV1TuningDataStats(typing_extensions.TypedDict, total=False): supervisedTuningDataStats: GoogleCloudAiplatformV1SupervisedTuningDataStats @@ -7732,6 +7910,20 @@ class GoogleCloudAiplatformV1Value(typing_extensions.TypedDict, total=False): class GoogleCloudAiplatformV1VertexAISearch(typing_extensions.TypedDict, total=False): datastore: str +@typing.type_check_only +class GoogleCloudAiplatformV1VertexRagStore(typing_extensions.TypedDict, total=False): + ragCorpora: _list[str] + ragResources: _list[GoogleCloudAiplatformV1VertexRagStoreRagResource] + similarityTopK: int + vectorDistanceThreshold: float + +@typing.type_check_only +class GoogleCloudAiplatformV1VertexRagStoreRagResource( + typing_extensions.TypedDict, total=False +): + ragCorpus: str + ragFileIds: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1VideoMetadata(typing_extensions.TypedDict, total=False): endOffset: str diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index 39ce9b19..2d70f1e6 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -13,6 +13,124 @@ _list = list @typing.type_check_only class AiplatformResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DatasetVersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... + def restore( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + body: GoogleCloudAiplatformV1beta1Dataset = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... + def list( + self, + *, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDatasetsResponse, + ) -> GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Dataset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... + def datasetVersions(self) -> DatasetVersionsResource: ... + + @typing.type_check_only + class EndpointsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): def upload( @@ -3926,6 +4044,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RagCorpus = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... def ragFiles(self) -> RagFilesResource: ... @@ -4848,6 +4973,12 @@ class AiplatformResource(googleapiclient.discovery.Resource): @typing.type_check_only class TuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def cancel( self, *, @@ -4881,7 +5012,29 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest | None ): ... + def rebaseTunedModel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RebaseTunedModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def augmentPrompt( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1AugmentPromptRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AugmentPromptResponseHttpRequest: ... + def corroborateContent( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1CorroborateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CorroborateContentResponseHttpRequest: ... def evaluateInstances( self, *, @@ -4974,10 +5127,32 @@ class AiplatformResource(googleapiclient.discovery.Resource): class PublishersResource(googleapiclient.discovery.Resource): @typing.type_check_only class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... def get( self, *, name: str, + huggingFaceToken: str = ..., isHuggingFaceModel: bool = ..., languageCode: str = ..., view: typing_extensions.Literal[ @@ -5013,6 +5188,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest | None ): ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... def models(self) -> ModelsResource: ... @@ -5028,6 +5210,8 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def datasets(self) -> DatasetsResource: ... + def endpoints(self) -> EndpointsResource: ... def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... @@ -5088,6 +5272,16 @@ class GoogleCloudAiplatformV1beta1ArtifactHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1Artifact: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AugmentPromptResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1AugmentPromptResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -5176,6 +5370,16 @@ class GoogleCloudAiplatformV1beta1ContextHttpRequest(googleapiclient.http.HttpRe num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1Context: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CorroborateContentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1CorroborateContentResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index 711326b6..80e02818 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -46,6 +46,7 @@ class CloudAiLargeModelsVisionNamedBoundingBox( @typing.type_check_only class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): + blockedEntities: _list[str] detectedLabels: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabels] modelName: str raiCategories: _list[str] @@ -198,6 +199,10 @@ class GoogleCloudAiplatformV1beta1AnnotationSpec( name: str updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ApiAuth(typing_extensions.TypedDict, total=False): + apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig + @typing.type_check_only class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig( typing_extensions.TypedDict, total=False @@ -219,6 +224,15 @@ class GoogleCloudAiplatformV1beta1Artifact(typing_extensions.TypedDict, total=Fa updateTime: str uri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ArtifactTypeSchema( + typing_extensions.TypedDict, total=False +): + instanceSchema: str + schemaTitle: str + schemaUri: str + schemaVersion: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata( typing_extensions.TypedDict, total=False @@ -244,6 +258,28 @@ class GoogleCloudAiplatformV1beta1Attribution(typing_extensions.TypedDict, total outputIndex: _list[int] outputName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AugmentPromptRequest( + typing_extensions.TypedDict, total=False +): + contents: _list[GoogleCloudAiplatformV1beta1Content] + model: GoogleCloudAiplatformV1beta1AugmentPromptRequestModel + vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AugmentPromptRequestModel( + typing_extensions.TypedDict, total=False +): + model: str + modelVersion: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AugmentPromptResponse( + typing_extensions.TypedDict, total=False +): + augmentedPrompt: _list[GoogleCloudAiplatformV1beta1Content] + facts: _list[GoogleCloudAiplatformV1beta1Fact] + @typing.type_check_only class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig @@ -654,6 +690,17 @@ class GoogleCloudAiplatformV1beta1CachedContent( tools: _list[GoogleCloudAiplatformV1beta1Tool] ttl: str updateTime: str + usageMetadata: GoogleCloudAiplatformV1beta1CachedContentUsageMetadata + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CachedContentUsageMetadata( + typing_extensions.TypedDict, total=False +): + audioDurationSeconds: int + imageCount: int + textCount: int + totalTokenCount: int + videoDurationSeconds: int @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest( @@ -697,6 +744,7 @@ class GoogleCloudAiplatformV1beta1CancelTuningJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=False): + avgLogprobs: float citationMetadata: GoogleCloudAiplatformV1beta1CitationMetadata content: GoogleCloudAiplatformV1beta1Content finishMessage: str @@ -714,6 +762,7 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int + logprobsResult: GoogleCloudAiplatformV1beta1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @typing.type_check_only @@ -750,6 +799,13 @@ class GoogleCloudAiplatformV1beta1CitationMetadata( ): citations: _list[GoogleCloudAiplatformV1beta1Citation] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Claim(typing_extensions.TypedDict, total=False): + endIndex: int + factIndexes: _list[int] + score: float + startIndex: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1CoherenceInput( typing_extensions.TypedDict, total=False @@ -864,11 +920,40 @@ class GoogleCloudAiplatformV1beta1CopyModelResponse( model: str modelVersionId: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CorpusStatus( + typing_extensions.TypedDict, total=False +): + errorStatus: str + state: typing_extensions.Literal["UNKNOWN", "INITIALIZED", "ACTIVE", "ERROR"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CorroborateContentRequest( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1beta1Content + facts: _list[GoogleCloudAiplatformV1beta1Fact] + parameters: GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters( + typing_extensions.TypedDict, total=False +): + citationThreshold: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CorroborateContentResponse( + typing_extensions.TypedDict, total=False +): + claims: _list[GoogleCloudAiplatformV1beta1Claim] + corroborationScore: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1CountTokensRequest( typing_extensions.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig instances: _list[typing.Any] model: str systemInstruction: GoogleCloudAiplatformV1beta1Content @@ -1389,6 +1474,7 @@ class GoogleCloudAiplatformV1beta1DeployedIndex( index: str indexSyncTime: str privateEndpoints: GoogleCloudAiplatformV1beta1IndexPrivateEndpoints + pscAutomationConfigs: _list[GoogleCloudAiplatformV1beta1PSCAutomationConfig] reservedIpRanges: _list[str] @typing.type_check_only @@ -1578,6 +1664,8 @@ class GoogleCloudAiplatformV1beta1EntityType(typing_extensions.TypedDict, total= monitoringConfig: GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig name: str offlineStorageTtlDays: int + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -1618,12 +1706,14 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( fluencyInput: GoogleCloudAiplatformV1beta1FluencyInput fulfillmentInput: GoogleCloudAiplatformV1beta1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1beta1GroundednessInput + pairwiseMetricInput: GoogleCloudAiplatformV1beta1PairwiseMetricInput pairwiseQuestionAnsweringQualityInput: ( GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput ) pairwiseSummarizationQualityInput: ( GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInput ) + pointwiseMetricInput: GoogleCloudAiplatformV1beta1PointwiseMetricInput questionAnsweringCorrectnessInput: ( GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInput ) @@ -1658,12 +1748,14 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponse( fluencyResult: GoogleCloudAiplatformV1beta1FluencyResult fulfillmentResult: GoogleCloudAiplatformV1beta1FulfillmentResult groundednessResult: GoogleCloudAiplatformV1beta1GroundednessResult + pairwiseMetricResult: GoogleCloudAiplatformV1beta1PairwiseMetricResult pairwiseQuestionAnsweringQualityResult: ( GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult ) pairwiseSummarizationQualityResult: ( GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult ) + pointwiseMetricResult: GoogleCloudAiplatformV1beta1PointwiseMetricResult questionAnsweringCorrectnessResult: ( GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessResult ) @@ -2138,6 +2230,14 @@ class GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig( ): serviceDirectory: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Fact(typing_extensions.TypedDict, total=False): + query: str + summary: str + title: str + uri: str + vectorDistance: float + @typing.type_check_only class GoogleCloudAiplatformV1beta1Feature(typing_extensions.TypedDict, total=False): createTime: str @@ -2185,7 +2285,16 @@ class GoogleCloudAiplatformV1beta1FeatureGroupBigQuery( typing_extensions.TypedDict, total=False ): bigQuerySource: GoogleCloudAiplatformV1beta1BigQuerySource + dense: bool entityIdColumns: _list[str] + staticDataSource: bool + timeSeries: GoogleCloudAiplatformV1beta1FeatureGroupBigQueryTimeSeries + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureGroupBigQueryTimeSeries( + typing_extensions.TypedDict, total=False +): + timestampColumn: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly( @@ -2226,6 +2335,8 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStore( labels: dict[str, typing.Any] name: str optimized: GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @@ -2325,6 +2436,9 @@ class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total indexConfig: GoogleCloudAiplatformV1beta1FeatureViewIndexConfig labels: dict[str, typing.Any] name: str + optimizedConfig: GoogleCloudAiplatformV1beta1FeatureViewOptimizedConfig + satisfiesPzi: bool + satisfiesPzs: bool serviceAccountEmail: str serviceAgentType: typing_extensions.Literal[ "SERVICE_AGENT_TYPE_UNSPECIFIED", @@ -2334,6 +2448,7 @@ class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total syncConfig: GoogleCloudAiplatformV1beta1FeatureViewSyncConfig updateTime: str vectorSearchConfig: GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig + vertexRagSource: GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource( @@ -2399,6 +2514,12 @@ class GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig( ): leafNodeEmbeddingCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewOptimizedConfig( + typing_extensions.TypedDict, total=False +): + automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources + @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewSync( typing_extensions.TypedDict, total=False @@ -2407,6 +2528,8 @@ class GoogleCloudAiplatformV1beta1FeatureViewSync( finalStatus: GoogleRpcStatus name: str runTime: GoogleTypeInterval + satisfiesPzi: bool + satisfiesPzs: bool syncSummary: GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary @typing.type_check_only @@ -2420,6 +2543,7 @@ class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary( typing_extensions.TypedDict, total=False ): rowSynced: str + systemWatermarkTime: str totalSlot: str @typing.type_check_only @@ -2452,6 +2576,13 @@ class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig( ): leafNodeEmbeddingCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource( + typing_extensions.TypedDict, total=False +): + ragCorpusId: str + uri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Featurestore( typing_extensions.TypedDict, total=False @@ -2463,6 +2594,8 @@ class GoogleCloudAiplatformV1beta1Featurestore( name: str onlineServingConfig: GoogleCloudAiplatformV1beta1FeaturestoreOnlineServingConfig onlineStorageTtlDays: int + satisfiesPzi: bool + satisfiesPzs: bool state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @@ -2568,6 +2701,11 @@ class GoogleCloudAiplatformV1beta1FileData(typing_extensions.TypedDict, total=Fa fileUri: str mimeType: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FileStatus(typing_extensions.TypedDict, total=False): + errorStatus: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] + @typing.type_check_only class GoogleCloudAiplatformV1beta1FilterSplit(typing_extensions.TypedDict, total=False): testFilter: str @@ -2745,6 +2883,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( cachedContent: str contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig + labels: dict[str, typing.Any] safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] systemInstruction: GoogleCloudAiplatformV1beta1Content toolConfig: GoogleCloudAiplatformV1beta1ToolConfig @@ -2755,6 +2894,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] + modelVersion: str promptFeedback: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback usageMetadata: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata @@ -2776,6 +2916,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( typing_extensions.TypedDict, total=False ): + cachedContentTokenCount: int candidatesTokenCount: int promptTokenCount: int totalTokenCount: int @@ -2794,11 +2935,14 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( ): candidateCount: int frequencyPenalty: float + logprobs: int maxOutputTokens: int presencePenalty: float + responseLogprobs: bool responseMimeType: str responseSchema: GoogleCloudAiplatformV1beta1Schema routingConfig: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig + seed: int stopSequences: _list[str] temperature: float topK: float @@ -3057,7 +3201,11 @@ class GoogleCloudAiplatformV1beta1ImportRagFilesConfig( googleDriveSource: GoogleCloudAiplatformV1beta1GoogleDriveSource jiraSource: GoogleCloudAiplatformV1beta1JiraSource maxEmbeddingRequestsPerMin: int + partialFailureBigquerySink: GoogleCloudAiplatformV1beta1BigQueryDestination + partialFailureGcsSink: GoogleCloudAiplatformV1beta1GcsDestination ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig + ragFileParsingConfig: GoogleCloudAiplatformV1beta1RagFileParsingConfig + sharePointSources: GoogleCloudAiplatformV1beta1SharePointSources slackSource: GoogleCloudAiplatformV1beta1SlackSource @typing.type_check_only @@ -3082,6 +3230,8 @@ class GoogleCloudAiplatformV1beta1Index(typing_extensions.TypedDict, total=False metadata: typing.Any metadataSchemaUri: str name: str + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -3153,6 +3303,8 @@ class GoogleCloudAiplatformV1beta1IndexEndpoint( privateServiceConnectConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig publicEndpointDomainName: str publicEndpointEnabled: bool + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str @typing.type_check_only @@ -3214,6 +3366,7 @@ class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance( "IDLE_SHUTDOWN_AGENT_STATE", "PROXY_AGENT_STATE", "GCR_DNS_STATE", + "GUEST_ATTRIBUTE_STATE", ] serviceState: typing_extensions.Literal["UNKNOWN", "HEALTHY", "UNHEALTHY"] @@ -3643,6 +3796,27 @@ class GoogleCloudAiplatformV1beta1ListTuningJobsResponse( nextPageToken: str tuningJobs: _list[GoogleCloudAiplatformV1beta1TuningJob] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResult( + typing_extensions.TypedDict, total=False +): + chosenCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] + topCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( + typing_extensions.TypedDict, total=False +): + logProbability: float + token: str + tokenId: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates( + typing_extensions.TypedDict, total=False +): + candidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] + @typing.type_check_only class GoogleCloudAiplatformV1beta1LookupStudyRequest( typing_extensions.TypedDict, total=False @@ -3954,6 +4128,8 @@ class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob( nextScheduleTime: str predictInstanceSchemaUri: str samplePredictInstance: typing.Any + satisfiesPzi: bool + satisfiesPzs: bool scheduleState: typing_extensions.Literal[ "MONITORING_SCHEDULE_STATE_UNSPECIFIED", "PENDING", "OFFLINE", "RUNNING" ] @@ -4970,6 +5146,41 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateRef( ): notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PSCAutomationConfig( + typing_extensions.TypedDict, total=False +): + network: str + projectId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PairwiseMetricInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1beta1PairwiseMetricInstance + metricSpec: GoogleCloudAiplatformV1beta1PairwiseMetricSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PairwiseMetricInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PairwiseMetricResult( + typing_extensions.TypedDict, total=False +): + explanation: str + pairwiseChoice: typing_extensions.Literal[ + "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PairwiseMetricSpec( + typing_extensions.TypedDict, total=False +): + metricPromptTemplate: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput( typing_extensions.TypedDict, total=False @@ -5080,6 +5291,8 @@ class GoogleCloudAiplatformV1beta1PersistentResource( resourcePools: _list[GoogleCloudAiplatformV1beta1ResourcePool] resourceRuntime: GoogleCloudAiplatformV1beta1ResourceRuntime resourceRuntimeSpec: GoogleCloudAiplatformV1beta1ResourceRuntimeSpec + satisfiesPzi: bool + satisfiesPzs: bool startTime: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -5103,7 +5316,9 @@ class GoogleCloudAiplatformV1beta1PipelineJob(typing_extensions.TypedDict, total labels: dict[str, typing.Any] name: str network: str + originalPipelineJobId: str pipelineSpec: dict[str, typing.Any] + pipelineTaskRerunConfigs: _list[GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig] preflightValidations: bool reservedIpRanges: _list[str] runtimeConfig: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig @@ -5238,12 +5453,61 @@ class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetailCustomJobDetail( failedJobs: _list[str] job: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig( + typing_extensions.TypedDict, total=False +): + inputs: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs + skipDownstreamTasks: bool + skipTask: bool + taskId: str + taskName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList( + typing_extensions.TypedDict, total=False +): + artifacts: _list[GoogleCloudAiplatformV1beta1RuntimeArtifact] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs( + typing_extensions.TypedDict, total=False +): + artifacts: dict[str, typing.Any] + parameterValues: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTemplateMetadata( typing_extensions.TypedDict, total=False ): version: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PointwiseMetricInput( + typing_extensions.TypedDict, total=False +): + instance: GoogleCloudAiplatformV1beta1PointwiseMetricInstance + metricSpec: GoogleCloudAiplatformV1beta1PointwiseMetricSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PointwiseMetricInstance( + typing_extensions.TypedDict, total=False +): + jsonInstance: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PointwiseMetricResult( + typing_extensions.TypedDict, total=False +): + explanation: str + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PointwiseMetricSpec( + typing_extensions.TypedDict, total=False +): + metricPromptTemplate: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Port(typing_extensions.TypedDict, total=False): containerPort: int @@ -5320,6 +5584,7 @@ class GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig( typing_extensions.TypedDict, total=False ): enablePrivateServiceConnect: bool + enableSecurePrivateServiceConnect: bool projectAllowlist: _list[str] serviceAttachment: str @@ -5388,6 +5653,9 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToAction( ) deploy: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy deployGke: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke + multiDeployVertex: ( + GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex + ) openEvaluationPipeline: ( GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences ) @@ -5446,6 +5714,14 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke( ): gkeYamlConfigs: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex( + typing_extensions.TypedDict, total=False +): + multiDeployVertex: _list[ + GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines( typing_extensions.TypedDict, total=False @@ -5746,11 +6022,13 @@ class GoogleCloudAiplatformV1beta1RagContextsContext( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagCorpus(typing_extensions.TypedDict, total=False): + corpusStatus: GoogleCloudAiplatformV1beta1CorpusStatus createTime: str description: str displayName: str name: str ragEmbeddingModelConfig: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig + ragVectorDbConfig: GoogleCloudAiplatformV1beta1RagVectorDbConfig updateTime: str @typing.type_check_only @@ -5803,6 +6081,7 @@ class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=Fal description: str directUploadSource: GoogleCloudAiplatformV1beta1DirectUploadSource displayName: str + fileStatus: GoogleCloudAiplatformV1beta1FileStatus gcsSource: GoogleCloudAiplatformV1beta1GcsSource googleDriveSource: GoogleCloudAiplatformV1beta1GoogleDriveSource jiraSource: GoogleCloudAiplatformV1beta1JiraSource @@ -5810,6 +6089,7 @@ class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=Fal ragFileType: typing_extensions.Literal[ "RAG_FILE_TYPE_UNSPECIFIED", "RAG_FILE_TYPE_TXT", "RAG_FILE_TYPE_PDF" ] + sharePointSources: GoogleCloudAiplatformV1beta1SharePointSources sizeBytes: str slackSource: GoogleCloudAiplatformV1beta1SlackSource updateTime: str @@ -5821,11 +6101,66 @@ class GoogleCloudAiplatformV1beta1RagFileChunkingConfig( chunkOverlap: int chunkSize: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagFileParsingConfig( + typing_extensions.TypedDict, total=False +): + useAdvancedPdfParsing: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagQuery(typing_extensions.TypedDict, total=False): + ranking: GoogleCloudAiplatformV1beta1RagQueryRanking similarityTopK: int text: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagQueryRanking( + typing_extensions.TypedDict, total=False +): + alpha: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfig( + typing_extensions.TypedDict, total=False +): + apiAuth: GoogleCloudAiplatformV1beta1ApiAuth + pinecone: GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone + ragManagedDb: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb + vertexFeatureStore: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore + vertexVectorSearch: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch + weaviate: GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone( + typing_extensions.TypedDict, total=False +): + indexName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore( + typing_extensions.TypedDict, total=False +): + featureViewResourceName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch( + typing_extensions.TypedDict, total=False +): + index: str + indexEndpoint: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate( + typing_extensions.TypedDict, total=False +): + collectionName: str + httpEndpoint: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RawPredictRequest( typing_extensions.TypedDict, total=False @@ -5973,6 +6308,15 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec( pythonVersion: str requirementsGcsUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RebaseTunedModelRequest( + typing_extensions.TypedDict, total=False +): + artifactDestination: GoogleCloudAiplatformV1beta1GcsDestination + deployToSameEndpoint: bool + tunedModelRef: GoogleCloudAiplatformV1beta1TunedModelRef + tuningJob: GoogleCloudAiplatformV1beta1TuningJob + @typing.type_check_only class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata( typing_extensions.TypedDict, total=False @@ -6128,7 +6472,6 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore( ragResources: _list[ GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource ] - ranking: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRanking vectorDistanceThreshold: float @typing.type_check_only @@ -6138,12 +6481,6 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResour ragCorpus: str ragFileIds: _list[str] -@typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRanking( - typing_extensions.TypedDict, total=False -): - alpha: float - @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveContextsResponse( typing_extensions.TypedDict, total=False @@ -6180,6 +6517,17 @@ class GoogleCloudAiplatformV1beta1RougeSpec(typing_extensions.TypedDict, total=F splitSummaries: bool useStemmer: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RuntimeArtifact( + typing_extensions.TypedDict, total=False +): + customProperties: dict[str, typing.Any] + metadata: dict[str, typing.Any] + name: str + properties: dict[str, typing.Any] + type: GoogleCloudAiplatformV1beta1ArtifactTypeSchema + uri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RuntimeConfig( typing_extensions.TypedDict, total=False @@ -6228,6 +6576,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -6260,6 +6609,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -6270,6 +6620,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", + "OFF", ] @typing.type_check_only @@ -6360,14 +6711,21 @@ class GoogleCloudAiplatformV1beta1ScheduleRunResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1Scheduling(typing_extensions.TypedDict, total=False): disableRetries: bool + maxWaitDuration: str restartJobOnWorkerRestart: bool strategy: typing_extensions.Literal[ - "STRATEGY_UNSPECIFIED", "ON_DEMAND", "LOW_COST", "STANDARD", "SPOT" + "STRATEGY_UNSPECIFIED", + "ON_DEMAND", + "LOW_COST", + "STANDARD", + "SPOT", + "FLEX_START", ] timeout: str @typing.type_check_only class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): + anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any description: str enum: _list[str] @@ -6385,6 +6743,7 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals nullable: bool pattern: str properties: dict[str, typing.Any] + propertyOrdering: _list[str] required: _list[str] title: str type: typing_extensions.Literal[ @@ -7991,6 +8350,28 @@ class GoogleCloudAiplatformV1beta1ServiceAccountSpec( enableCustomServiceAccount: bool serviceAccount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SharePointSources( + typing_extensions.TypedDict, total=False +): + sharePointSources: _list[ + GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource( + typing_extensions.TypedDict, total=False +): + clientId: str + clientSecret: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig + driveId: str + driveName: str + fileId: str + sharepointFolderId: str + sharepointFolderPath: str + sharepointSiteName: str + tenantId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ShieldedVmConfig( typing_extensions.TypedDict, total=False @@ -8451,7 +8832,9 @@ class GoogleCloudAiplatformV1beta1SupervisedTuningDataStats( ): totalBillableCharacterCount: str totalBillableTokenCount: str + totalTruncatedExampleCount: str totalTuningCharacterCount: str + truncatedExampleIndices: _list[str] tuningDatasetExampleCount: str tuningStepCount: str userDatasetExamples: _list[GoogleCloudAiplatformV1beta1Content] @@ -8913,6 +9296,14 @@ class GoogleCloudAiplatformV1beta1TunedModel(typing_extensions.TypedDict, total= endpoint: str model: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1TunedModelRef( + typing_extensions.TypedDict, total=False +): + pipelineJob: str + tunedModel: str + tuningJob: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1TuningDataStats( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi index b49ced6a..811e98b7 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi @@ -301,6 +301,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): body: SwitchoverClusterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def upgrade( + self, + *, + name: str, + body: UpgradeClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def instances(self) -> InstancesResource: ... def users(self) -> UsersResource: ... diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index b28bed29..c8eaaa20 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -26,7 +26,11 @@ class Backup(typing_extensions.TypedDict, total=False): clusterUid: str createTime: str databaseVersion: typing_extensions.Literal[ - "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", "POSTGRES_15" + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", ] deleteTime: str description: str @@ -84,7 +88,11 @@ class Cluster(typing_extensions.TypedDict, total=False): continuousBackupInfo: ContinuousBackupInfo createTime: str databaseVersion: typing_extensions.Literal[ - "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", "POSTGRES_15" + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", ] deleteTime: str displayName: str @@ -124,6 +132,32 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): + clusterType: typing_extensions.Literal[ + "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" + ] + databaseVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + instanceUpgradeDetails: _list[InstanceUpgradeDetails] + name: str + stageInfo: _list[StageInfo] + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class ConnectionInfo(typing_extensions.TypedDict, total=False): instanceUid: str @@ -229,6 +263,7 @@ class Instance(typing_extensions.TypedDict, total=False): name: str networkConfig: InstanceNetworkConfig nodes: _list[Node] + outboundPublicIpAddresses: _list[str] pscInstanceConfig: PscInstanceConfig publicIpAddress: str queryInsightsConfig: QueryInsightsInstanceConfig @@ -253,8 +288,26 @@ class Instance(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): authorizedExternalNetworks: _list[AuthorizedNetwork] + enableOutboundPublicIp: bool enablePublicIp: bool +@typing.type_check_only +class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): + instanceType: typing_extensions.Literal[ + "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" + ] + name: str + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class IntegerRestrictions(typing_extensions.TypedDict, total=False): maxValue: str @@ -398,6 +451,7 @@ class ReadPoolConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): + nodeIds: _list[str] requestId: str validateOnly: bool @@ -426,6 +480,30 @@ class SslConfig(typing_extensions.TypedDict, total=False): "ENCRYPTED_ONLY", ] +@typing.type_check_only +class StageInfo(typing_extensions.TypedDict, total=False): + logsUrl: str + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -436,6 +514,7 @@ class Status(typing_extensions.TypedDict, total=False): class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( typing_extensions.TypedDict, total=False ): + automaticFailoverRoutingConfigured: bool availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", @@ -475,17 +554,9 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False ): - databaseMetadata: _list[StorageDatabasecenterPartnerapiV1mainDatabaseMetadata] - -@typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata( - typing_extensions.TypedDict, total=False -): - backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration - backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun - product: StorageDatabasecenterProtoCommonProduct - resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - resourceName: str + internalResourceMetadata: _list[ + StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata + ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @@ -541,6 +612,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str + signalSeverity: typing_extensions.Literal[ + "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] signalType: typing_extensions.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", @@ -688,6 +762,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -795,12 +870,23 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( ] type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + product: StorageDatabasecenterProtoCommonProduct + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + resourceName: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): cpuCount: int memorySizeInBytes: str + shardCount: int @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @@ -847,6 +933,12 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( ] timeBasedRetention: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainTags( + typing_extensions.TypedDict, total=False +): + tags: dict[str, typing.Any] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False @@ -870,6 +962,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER", + "ENGINE_FIRESTORE_WITH_NATIVE_MODE", + "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -883,6 +977,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", "PRODUCT_TYPE_OTHER", + "PRODUCT_TYPE_FIRESTORE", ] version: str @@ -909,7 +1004,11 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): stringRestrictions: StringRestrictions supportedDbVersions: _list[ typing_extensions.Literal[ - "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", "POSTGRES_15" + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", ] ] valueType: typing_extensions.Literal[ @@ -928,12 +1027,42 @@ class TimeBasedRetention(typing_extensions.TypedDict, total=False): @typing.type_check_only class TrialMetadata(typing_extensions.TypedDict, total=False): endTime: str + graceEndTime: str startTime: str upgradeTime: str +@typing.type_check_only +class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): + etag: str + requestId: str + validateOnly: bool + version: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + +@typing.type_check_only +class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): + clusterUpgradeDetails: _list[ClusterUpgradeDetails] + message: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] + keepExtraRoles: bool name: str password: str userType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi index b49ced6a..811e98b7 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi @@ -301,6 +301,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): body: SwitchoverClusterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def upgrade( + self, + *, + name: str, + body: UpgradeClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def instances(self) -> InstancesResource: ... def users(self) -> UsersResource: ... diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index b7d6ac95..f9551283 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -77,11 +77,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" ] @@ -135,6 +142,32 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): + clusterType: typing_extensions.Literal[ + "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" + ] + databaseVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + instanceUpgradeDetails: _list[InstanceUpgradeDetails] + name: str + stageInfo: _list[StageInfo] + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class ConnectionInfo(typing_extensions.TypedDict, total=False): instanceUid: str @@ -282,6 +315,23 @@ class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): enableOutboundPublicIp: bool enablePublicIp: bool +@typing.type_check_only +class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): + instanceType: typing_extensions.Literal[ + "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" + ] + name: str + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class IntegerRestrictions(typing_extensions.TypedDict, total=False): maxValue: str @@ -373,6 +423,7 @@ class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): queryPlansPerMinute: int recordApplicationTags: bool trackActiveQueries: bool + trackClientAddress: bool trackWaitEventTypes: bool trackWaitEvents: bool @@ -436,6 +487,7 @@ class ReadPoolConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): + nodeIds: _list[str] requestId: str validateOnly: bool @@ -464,6 +516,30 @@ class SslConfig(typing_extensions.TypedDict, total=False): "ENCRYPTED_ONLY", ] +@typing.type_check_only +class StageInfo(typing_extensions.TypedDict, total=False): + logsUrl: str + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -474,6 +550,7 @@ class Status(typing_extensions.TypedDict, total=False): class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( typing_extensions.TypedDict, total=False ): + automaticFailoverRoutingConfigured: bool availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", @@ -513,17 +590,9 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False ): - databaseMetadata: _list[StorageDatabasecenterPartnerapiV1mainDatabaseMetadata] - -@typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata( - typing_extensions.TypedDict, total=False -): - backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration - backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun - product: StorageDatabasecenterProtoCommonProduct - resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - resourceName: str + internalResourceMetadata: _list[ + StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata + ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @@ -579,6 +648,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str + signalSeverity: typing_extensions.Literal[ + "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] signalType: typing_extensions.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", @@ -726,6 +798,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -833,12 +906,23 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( ] type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + product: StorageDatabasecenterProtoCommonProduct + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + resourceName: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): cpuCount: int memorySizeInBytes: str + shardCount: int @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @@ -885,6 +969,12 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( ] timeBasedRetention: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainTags( + typing_extensions.TypedDict, total=False +): + tags: dict[str, typing.Any] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False @@ -908,6 +998,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER", + "ENGINE_FIRESTORE_WITH_NATIVE_MODE", + "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -921,6 +1013,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", "PRODUCT_TYPE_OTHER", + "PRODUCT_TYPE_FIRESTORE", ] version: str @@ -970,6 +1063,7 @@ class TimeBasedRetention(typing_extensions.TypedDict, total=False): @typing.type_check_only class TrialMetadata(typing_extensions.TypedDict, total=False): endTime: str + graceEndTime: str startTime: str upgradeTime: str @@ -977,9 +1071,38 @@ class TrialMetadata(typing_extensions.TypedDict, total=False): class UpdatePolicy(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] +@typing.type_check_only +class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): + etag: str + requestId: str + validateOnly: bool + version: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + +@typing.type_check_only +class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): + clusterUpgradeDetails: _list[ClusterUpgradeDetails] + message: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] + keepExtraRoles: bool name: str password: str userType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi index a3f5b025..471452fa 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi @@ -301,6 +301,13 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): body: SwitchoverClusterRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def upgrade( + self, + *, + name: str, + body: UpgradeClusterRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def instances(self) -> InstancesResource: ... def users(self) -> UsersResource: ... diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 7ef0354f..0e9ea1b0 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -73,11 +73,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" ] @@ -130,6 +137,32 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): + clusterType: typing_extensions.Literal[ + "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" + ] + databaseVersion: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + instanceUpgradeDetails: _list[InstanceUpgradeDetails] + name: str + stageInfo: _list[StageInfo] + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class ConnectionInfo(typing_extensions.TypedDict, total=False): instanceUid: str @@ -276,6 +309,23 @@ class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): enableOutboundPublicIp: bool enablePublicIp: bool +@typing.type_check_only +class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): + instanceType: typing_extensions.Literal[ + "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" + ] + name: str + upgradeStatus: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class IntegerRestrictions(typing_extensions.TypedDict, total=False): maxValue: str @@ -367,6 +417,7 @@ class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): queryPlansPerMinute: int recordApplicationTags: bool trackActiveQueries: bool + trackClientAddress: bool trackWaitEventTypes: bool trackWaitEvents: bool @@ -430,6 +481,7 @@ class ReadPoolConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): + nodeIds: _list[str] requestId: str validateOnly: bool @@ -458,6 +510,30 @@ class SslConfig(typing_extensions.TypedDict, total=False): "ENCRYPTED_ONLY", ] +@typing.type_check_only +class StageInfo(typing_extensions.TypedDict, total=False): + logsUrl: str + stage: typing_extensions.Literal[ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP", + ] + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -468,6 +544,7 @@ class Status(typing_extensions.TypedDict, total=False): class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( typing_extensions.TypedDict, total=False ): + automaticFailoverRoutingConfigured: bool availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", @@ -507,17 +584,9 @@ class StorageDatabasecenterPartnerapiV1mainCompliance( class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( typing_extensions.TypedDict, total=False ): - databaseMetadata: _list[StorageDatabasecenterPartnerapiV1mainDatabaseMetadata] - -@typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata( - typing_extensions.TypedDict, total=False -): - backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration - backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun - product: StorageDatabasecenterProtoCommonProduct - resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - resourceName: str + internalResourceMetadata: _list[ + StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata + ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @@ -573,6 +642,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str + signalSeverity: typing_extensions.Literal[ + "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] signalType: typing_extensions.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", @@ -720,6 +792,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( product: StorageDatabasecenterProtoCommonProduct resourceContainer: str resourceName: str + tagsSet: StorageDatabasecenterPartnerapiV1mainTags updationTime: str userLabelSet: StorageDatabasecenterPartnerapiV1mainUserLabels @@ -827,12 +900,23 @@ class StorageDatabasecenterPartnerapiV1mainEntitlement( ] type: typing_extensions.Literal["ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI"] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( + typing_extensions.TypedDict, total=False +): + backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration + backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun + product: StorageDatabasecenterProtoCommonProduct + resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId + resourceName: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): cpuCount: int memorySizeInBytes: str + shardCount: int @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @@ -879,6 +963,12 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( ] timeBasedRetention: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainTags( + typing_extensions.TypedDict, total=False +): + tags: dict[str, typing.Any] + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False @@ -902,6 +992,8 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER", + "ENGINE_FIRESTORE_WITH_NATIVE_MODE", + "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -915,6 +1007,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", "PRODUCT_TYPE_OTHER", + "PRODUCT_TYPE_FIRESTORE", ] version: str @@ -964,6 +1057,7 @@ class TimeBasedRetention(typing_extensions.TypedDict, total=False): @typing.type_check_only class TrialMetadata(typing_extensions.TypedDict, total=False): endTime: str + graceEndTime: str startTime: str upgradeTime: str @@ -971,9 +1065,38 @@ class TrialMetadata(typing_extensions.TypedDict, total=False): class UpdatePolicy(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] +@typing.type_check_only +class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): + etag: str + requestId: str + validateOnly: bool + version: typing_extensions.Literal[ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16", + ] + +@typing.type_check_only +class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): + clusterUpgradeDetails: _list[ClusterUpgradeDetails] + message: str + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED", + ] + @typing.type_check_only class User(typing_extensions.TypedDict, total=False): databaseRoles: _list[str] + keepExtraRoles: bool name: str password: str userType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi index afbad5f6..1937a247 100644 --- a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi @@ -122,8 +122,10 @@ class DeviceIdentifier(typing_extensions.TypedDict, total=False): "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ] imei: str + imei2: str manufacturer: str meid: str + meid2: str model: str serialNumber: str diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index 2d42a4f6..6695f4c9 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -18,6 +18,12 @@ class AdvancedSecurityOverrides(typing_extensions.TypedDict, total=False): "COMMON_CRITERIA_MODE_DISABLED", "COMMON_CRITERIA_MODE_ENABLED", ] + contentProtectionPolicy: typing_extensions.Literal[ + "CONTENT_PROTECTION_POLICY_UNSPECIFIED", + "CONTENT_PROTECTION_DISABLED", + "CONTENT_PROTECTION_ENFORCED", + "CONTENT_PROTECTION_USER_CHOICE", + ] developerSettings: typing_extensions.Literal[ "DEVELOPER_SETTINGS_UNSPECIFIED", "DEVELOPER_SETTINGS_DISABLED", @@ -1099,6 +1105,11 @@ class Policy(typing_extensions.TypedDict, total=False): "ALWAYS", ] applications: _list[ApplicationPolicy] + assistContentPolicy: typing_extensions.Literal[ + "ASSIST_CONTENT_POLICY_UNSPECIFIED", + "ASSIST_CONTENT_DISALLOWED", + "ASSIST_CONTENT_ALLOWED", + ] autoDateAndTimeZone: typing_extensions.Literal[ "AUTO_DATE_AND_TIME_ZONE_UNSPECIFIED", "AUTO_DATE_AND_TIME_ZONE_USER_CHOICE", @@ -1457,6 +1468,7 @@ class SystemUpdateInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class TelephonyInfo(typing_extensions.TypedDict, total=False): carrierName: str + iccId: str phoneNumber: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index d1c04ec3..d435ec37 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -459,6 +459,10 @@ class ExternalAccountIdentifiers(typing_extensions.TypedDict, total=False): obfuscatedExternalAccountId: str obfuscatedExternalProfileId: str +@typing.type_check_only +class ExternalOfferInitialAcquisitionDetails(typing_extensions.TypedDict, total=False): + externalTransactionId: str + @typing.type_check_only class ExternalSubscription(typing_extensions.TypedDict, total=False): subscriptionType: typing_extensions.Literal[ @@ -470,6 +474,7 @@ class ExternalTransaction(typing_extensions.TypedDict, total=False): createTime: str currentPreTaxAmount: Price currentTaxAmount: Price + externalOfferInitialAcquisitionDetails: ExternalOfferInitialAcquisitionDetails externalTransactionId: str oneTimeTransaction: OneTimeExternalTransaction originalPreTaxAmount: Price @@ -1063,8 +1068,12 @@ class ReviewsReplyResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class RevocationContext(typing_extensions.TypedDict, total=False): + fullRefund: RevocationContextFullRefund proratedRefund: RevocationContextProratedRefund +@typing.type_check_only +class RevocationContextFullRefund(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class RevocationContextProratedRefund(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index a3aa21e6..204c1cbe 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -999,9 +999,33 @@ class ApigeeResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeploymentsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1DeploymentHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, sharedFlows: bool = ..., **kwargs: typing.Any ) -> GoogleCloudApigeeV1ListDeploymentsResponseHttpRequest: ... + 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 FlowhooksResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index 05796377..e7038a30 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -1908,6 +1908,7 @@ class GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext( @typing.type_check_only class GoogleCloudApigeeV1SecurityAction(typing_extensions.TypedDict, total=False): allow: GoogleCloudApigeeV1SecurityActionAllow + apiProxies: _list[str] conditionConfig: GoogleCloudApigeeV1SecurityActionConditionConfig createTime: str deny: GoogleCloudApigeeV1SecurityActionDeny diff --git a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi index ef89e4dc..0f1a337f 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi @@ -219,6 +219,11 @@ class FlexibleRuntimeSettings(typing_extensions.TypedDict, total=False): operatingSystem: str runtimeVersion: str +@typing.type_check_only +class GceTag(typing_extensions.TypedDict, total=False): + parent: _list[str] + tag: str + @typing.type_check_only class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): flexibleEnvironmentAvailable: bool @@ -451,6 +456,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): consumerProjectState: typing_extensions.Literal[ "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] + gceTag: _list[GceTag] p4ServiceAccount: str producerProjectId: str producerProjectNumber: str diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi index 85dcab41..0b4d6616 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi @@ -54,6 +54,11 @@ class DomainMapping(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GceTag(typing_extensions.TypedDict, total=False): + parent: _list[str] + tag: str + @typing.type_check_only class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): flexibleEnvironmentAvailable: bool @@ -172,6 +177,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): consumerProjectState: typing_extensions.Literal[ "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] + gceTag: _list[GceTag] p4ServiceAccount: str producerProjectId: str producerProjectNumber: str diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index 92bf5a74..7fe4474b 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -233,6 +233,11 @@ class FlexibleRuntimeSettings(typing_extensions.TypedDict, total=False): operatingSystem: str runtimeVersion: str +@typing.type_check_only +class GceTag(typing_extensions.TypedDict, total=False): + parent: _list[str] + tag: str + @typing.type_check_only class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): flexibleEnvironmentAvailable: bool @@ -465,6 +470,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): consumerProjectState: typing_extensions.Literal[ "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] + gceTag: _list[GceTag] p4ServiceAccount: str producerProjectId: str producerProjectNumber: str diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi index dd560cff..7efcf9f1 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi @@ -243,6 +243,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -267,6 +268,8 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -348,6 +351,8 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi index fc24d8d7..380edb9f 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi @@ -58,6 +58,10 @@ class CleanupPolicyMostRecentVersions(typing_extensions.TypedDict, total=False): keepCount: int packageNamePrefixes: _list[str] +@typing.type_check_only +class CommonRemoteRepository(typing_extensions.TypedDict, total=False): + uri: str + @typing.type_check_only class DockerImage(typing_extensions.TypedDict, total=False): buildTime: str @@ -415,6 +419,7 @@ class PythonRepository(typing_extensions.TypedDict, total=False): @typing.type_check_only class RemoteRepositoryConfig(typing_extensions.TypedDict, total=False): aptRepository: AptRepository + commonRepository: CommonRemoteRepository description: str disableUpstreamValidation: bool dockerRepository: DockerRepository diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi index 8dce471e..41c6a6c4 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi @@ -128,6 +128,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -165,6 +166,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi index 519be765..4ccc09ca 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi @@ -151,6 +151,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -213,6 +214,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, parent: str, + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index a45cbeda..763b2564 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -62,6 +62,9 @@ class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata( "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", + "IRS_1075", ] createTime: str displayName: str @@ -232,6 +235,9 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", + "IRS_1075", ] complianceStatus: GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus compliantButDisallowedServices: _list[str] @@ -256,8 +262,11 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", "SOVEREIGN_CONTROLS_BY_PSN", + "SOVEREIGN_CONTROLS_BY_CNTXT", + "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", ] partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions + partnerServicesBillingAccount: str provisionedResourcesParent: str resourceMonitoringEnabled: bool resourceSettings: _list[GoogleCloudAssuredworkloadsV1WorkloadResourceSettings] diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index 8bcb2579..5393ef10 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -62,6 +62,9 @@ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata( "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", + "IRS_1075", ] createTime: str displayName: str @@ -239,6 +242,9 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", + "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", + "IRS_1075", ] complianceStatus: GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus complianceUpdatesEnabled: bool @@ -269,8 +275,11 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", "SOVEREIGN_CONTROLS_BY_PSN", + "SOVEREIGN_CONTROLS_BY_CNTXT", + "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", ] partnerPermissions: GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions + partnerServicesBillingAccount: str provisionedResourcesParent: str resourceMonitoringEnabled: bool resourceSettings: _list[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] diff --git a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index 310006b1..051b769b 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -103,7 +103,15 @@ class BackupdrResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, ) -> BackupHttpRequest: ... def list( self, @@ -113,6 +121,11 @@ class BackupdrResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_FULL", + ] = ..., **kwargs: typing.Any, ) -> ListBackupsResponseHttpRequest: ... def list_next( @@ -246,7 +259,15 @@ class BackupdrResource(googleapiclient.discovery.Resource): previous_response: FetchUsableBackupVaultsResponse, ) -> FetchUsableBackupVaultsResponseHttpRequest | None: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "BACKUP_VAULT_VIEW_UNSPECIFIED", + "BACKUP_VAULT_VIEW_BASIC", + "BACKUP_VAULT_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, ) -> BackupVaultHttpRequest: ... def list( self, @@ -256,6 +277,11 @@ class BackupdrResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VAULT_VIEW_UNSPECIFIED", + "BACKUP_VAULT_VIEW_BASIC", + "BACKUP_VAULT_VIEW_FULL", + ] = ..., **kwargs: typing.Any, ) -> ListBackupVaultsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index ec8cbb7d..4a6a341f 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -197,8 +197,6 @@ class BackupPlanAssociation(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackupRule(typing_extensions.TypedDict, total=False): backupRetentionDays: int - backupVault: str - backupVaultServiceAccount: str ruleId: str standardSchedule: StandardSchedule @@ -211,7 +209,6 @@ class BackupVault(typing_extensions.TypedDict, total=False): deletable: bool description: str effectiveTime: str - enforcedRetentionDuration: str etag: str labels: dict[str, typing.Any] name: str @@ -259,6 +256,7 @@ class ComputeInstanceBackupProperties(typing_extensions.TypedDict, total=False): keyRevocationActionType: typing_extensions.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] + labels: dict[str, typing.Any] machineType: str metadata: Metadata minCpuPlatform: str @@ -715,7 +713,6 @@ class RestoreBackupRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RuleConfigInfo(typing_extensions.TypedDict, total=False): - dataSource: str lastBackupError: Status lastBackupState: typing_extensions.Literal[ "LAST_BACKUP_STATE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi index 0f866c22..5d3f9f1d 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi @@ -298,6 +298,7 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): userNote: str vlanAttachments: _list[IntakeVlanAttachment] vlanSameProject: bool + vrf: str @typing.type_check_only class NetworkMountPoint(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi index 6c1a9fd0..b96098b4 100644 --- a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi @@ -82,6 +82,10 @@ class AgentTaskInfo(typing_extensions.TypedDict, total=False): taskId: str taskStatus: TaskStatus +@typing.type_check_only +class AgentTaskLoggingOption(typing_extensions.TypedDict, total=False): + labels: dict[str, typing.Any] + @typing.type_check_only class AgentTaskRunnable(typing_extensions.TypedDict, total=False): alwaysRun: bool @@ -95,6 +99,7 @@ class AgentTaskRunnable(typing_extensions.TypedDict, total=False): @typing.type_check_only class AgentTaskSpec(typing_extensions.TypedDict, total=False): environment: AgentEnvironment + loggingOption: AgentTaskLoggingOption maxRunDuration: str runnables: _list[AgentTaskRunnable] userAccount: AgentTaskUserAccount @@ -190,6 +195,7 @@ class InstancePolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancePolicyOrTemplate(typing_extensions.TypedDict, total=False): + blockProjectSshKeys: bool installGpuDrivers: bool installOpsAgent: bool instanceTemplate: str diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi index a1f2e936..f711c61a 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi @@ -878,6 +878,42 @@ 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: 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): def configuredInsight( @@ -1009,6 +1045,52 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): @typing.type_check_only class SecurityGatewaysResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ApplicationsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + requestId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationHttpRequest: ... + 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, + ) -> GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseHttpRequest, + previous_response: GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse, + ) -> ( + GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseHttpRequest + | None + ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def create( self, *, @@ -1070,6 +1152,13 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def setPeering( + self, + *, + securityGateway: str, + body: GoogleCloudBeyondcorpSecuritygatewaysV1alphaSetPeeringRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def testIamPermissions( self, *, @@ -1077,6 +1166,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): body: GoogleIamV1TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def applications(self) -> ApplicationsResource: ... def get( self, *, name: str, **kwargs: typing.Any @@ -1104,6 +1194,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): def clientGateways(self) -> ClientGatewaysResource: ... def connections(self) -> ConnectionsResource: ... def connectors(self) -> ConnectorsResource: ... + def global_(self) -> GlobalResource: ... def insights(self) -> InsightsResource: ... def netConnections(self) -> NetConnectionsResource: ... def operations(self) -> OperationsResource: ... @@ -1354,6 +1445,26 @@ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscriptionHttpReque num_retries: int = 0, ) -> GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription: ... +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication: ... + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse: ... + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi index 1a98c47f..e5c0c4ca 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi @@ -661,6 +661,37 @@ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription( ] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIAL", "PAID", "ALLOWLIST"] +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + endpointMatchers: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher] + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher( + typing_extensions.TypedDict, total=False +): + hostname: str + ports: _list[int] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub( + typing_extensions.TypedDict, total=False +): + natGatewayConfig: GoogleCloudBeyondcorpSecuritygatewaysV1alphaNatGatewayConfig + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse( + typing_extensions.TypedDict, total=False +): + applications: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse( typing_extensions.TypedDict, total=False @@ -669,6 +700,19 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse( securityGateways: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] unreachable: _list[str] +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaNatGatewayConfig( + typing_extensions.TypedDict, total=False +): + natIps: _list[str] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaPeering( + typing_extensions.TypedDict, total=False +): + dnsZones: _list[str] + targetVpcNetwork: str + @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( typing_extensions.TypedDict, total=False @@ -676,6 +720,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( createTime: str displayName: str externalIps: _list[str] + hubs: dict[str, typing.Any] name: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -700,6 +745,14 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetada target: str verb: str +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSetPeeringRequest( + typing_extensions.TypedDict, total=False +): + requestId: str + validateOnly: bool + vpcPeerings: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaPeering] + @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index eab6957c..18650530 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -310,6 +310,10 @@ class DataFormatOptions(typing_extensions.TypedDict, total=False): class DataMaskingStatistics(typing_extensions.TypedDict, total=False): dataMaskingApplied: bool +@typing.type_check_only +class DataPolicyOption(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class DataSplitResult(typing_extensions.TypedDict, total=False): evaluationTable: TableReference @@ -671,14 +675,6 @@ class HparamTuningTrial(typing_extensions.TypedDict, total=False): trainingLoss: float trialId: str -@typing.type_check_only -class IdentityColumnInfo(typing_extensions.TypedDict, total=False): - generatedMode: typing_extensions.Literal[ - "GENERATED_MODE_UNSPECIFIED", "GENERATED_ALWAYS", "GENERATED_BY_DEFAULT" - ] - increment: str - start: str - @typing.type_check_only class IndexUnusedReason(typing_extensions.TypedDict, total=False): baseTable: TableReference @@ -701,6 +697,7 @@ class IndexUnusedReason(typing_extensions.TypedDict, total=False): "NOT_SUPPORTED_IN_STANDARD_EDITION", "INDEX_SUPPRESSED_BY_FUNCTION_OPTION", "QUERY_CACHE_HIT", + "STALE_INDEX", "INTERNAL_ERROR", "OTHER_REASON", ] @@ -1706,11 +1703,11 @@ class TableDataList(typing_extensions.TypedDict, total=False): class TableFieldSchema(typing_extensions.TypedDict, total=False): categories: dict[str, typing.Any] collation: str + dataPolicies: _list[DataPolicyOption] defaultValueExpression: str description: str fields: _list[TableFieldSchema] foreignTypeDefinition: str - identityColumnInfo: IdentityColumnInfo maxLength: str mode: str name: str diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi index ac75fc2f..8a5c960a 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi @@ -84,6 +84,10 @@ class EncryptionConfiguration(typing_extensions.TypedDict, total=False): class EnrollDataSourcesRequest(typing_extensions.TypedDict, total=False): dataSourceIds: _list[str] +@typing.type_check_only +class EventDrivenSchedule(typing_extensions.TypedDict, total=False): + pubsubSubscription: str + @typing.type_check_only class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): dataSources: _list[DataSource] @@ -117,12 +121,21 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class ManualSchedule(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ScheduleOptions(typing_extensions.TypedDict, total=False): disableAutoScheduling: bool endTime: str startTime: str +@typing.type_check_only +class ScheduleOptionsV2(typing_extensions.TypedDict, total=False): + eventDrivenSchedule: EventDrivenSchedule + manualSchedule: ManualSchedule + timeBasedSchedule: TimeBasedSchedule + @typing.type_check_only class ScheduleTransferRunsRequest(typing_extensions.TypedDict, total=False): endTime: str @@ -147,6 +160,12 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class TimeBasedSchedule(typing_extensions.TypedDict, total=False): + endTime: str + schedule: str + startTime: str + @typing.type_check_only class TimeRange(typing_extensions.TypedDict, total=False): endTime: str @@ -162,6 +181,7 @@ class TransferConfig(typing_extensions.TypedDict, total=False): displayName: str emailPreferences: EmailPreferences encryptionConfiguration: EncryptionConfiguration + error: Status name: str nextRunTime: str notificationPubsubTopic: str @@ -169,6 +189,7 @@ class TransferConfig(typing_extensions.TypedDict, total=False): params: dict[str, typing.Any] schedule: str scheduleOptions: ScheduleOptions + scheduleOptionsV2: ScheduleOptionsV2 state: typing_extensions.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi index c67a9199..51bffcc3 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi @@ -53,9 +53,11 @@ class AutoscalingTargets(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): + backupType: typing_extensions.Literal["BACKUP_TYPE_UNSPECIFIED", "STANDARD", "HOT"] encryptionInfo: EncryptionInfo endTime: str expireTime: str + hotToStandardTime: str name: str sizeBytes: str sourceBackup: str @@ -480,6 +482,7 @@ class ModifyColumnFamiliesRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiClusterRoutingUseAny(typing_extensions.TypedDict, total=False): clusterIds: _list[str] + rowAffinity: RowAffinity @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): @@ -541,6 +544,9 @@ class RestoreTableRequest(typing_extensions.TypedDict, total=False): backup: str tableId: str +@typing.type_check_only +class RowAffinity(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy diff --git a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi index 8b20e33f..abf4a5ee 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi @@ -234,10 +234,16 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, alwaysIncludeEmail: bool = ..., eventTypes: typing_extensions.Literal[ - "default", "focusTime", "fromGmail", "outOfOffice", "workingLocation" + "birthday", + "default", + "focusTime", + "fromGmail", + "outOfOffice", + "workingLocation", ] | _list[ typing_extensions.Literal[ + "birthday", "default", "focusTime", "fromGmail", @@ -320,10 +326,16 @@ class CalendarResource(googleapiclient.discovery.Resource): body: Channel = ..., alwaysIncludeEmail: bool = ..., eventTypes: typing_extensions.Literal[ - "default", "focusTime", "fromGmail", "outOfOffice", "workingLocation" + "birthday", + "default", + "focusTime", + "fromGmail", + "outOfOffice", + "workingLocation", ] | _list[ typing_extensions.Literal[ + "birthday", "default", "focusTime", "fromGmail", diff --git a/googleapiclient-stubs/_apis/chat/v1/resources.pyi b/googleapiclient-stubs/_apis/chat/v1/resources.pyi index 78e36ca6..09e85023 100644 --- a/googleapiclient-stubs/_apis/chat/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/resources.pyi @@ -34,13 +34,18 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): @typing.type_check_only class MembersResource(googleapiclient.discovery.Resource): def create( - self, *, parent: str, body: Membership = ..., **kwargs: typing.Any + self, + *, + parent: str, + body: Membership = ..., + useAdminAccess: bool = ..., + **kwargs: typing.Any, ) -> MembershipHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, useAdminAccess: bool = ..., **kwargs: typing.Any ) -> MembershipHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, useAdminAccess: bool = ..., **kwargs: typing.Any ) -> MembershipHttpRequest: ... def list( self, @@ -51,6 +56,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): pageToken: str = ..., showGroups: bool = ..., showInvited: bool = ..., + useAdminAccess: bool = ..., **kwargs: typing.Any, ) -> ListMembershipsResponseHttpRequest: ... def list_next( @@ -64,6 +70,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): name: str, body: Membership = ..., updateMask: str = ..., + useAdminAccess: bool = ..., **kwargs: typing.Any, ) -> MembershipHttpRequest: ... @@ -184,11 +191,15 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): def create( self, *, body: Space = ..., requestId: str = ..., **kwargs: typing.Any ) -> SpaceHttpRequest: ... - def delete(self, *, name: str, **kwargs: typing.Any) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, useAdminAccess: bool = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... def findDirectMessage( self, *, name: str = ..., **kwargs: typing.Any ) -> SpaceHttpRequest: ... - def get(self, *, name: str, **kwargs: typing.Any) -> SpaceHttpRequest: ... + def get( + self, *, name: str, useAdminAccess: bool = ..., **kwargs: typing.Any + ) -> SpaceHttpRequest: ... def list( self, *, @@ -208,8 +219,24 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): name: str, body: Space = ..., updateMask: str = ..., + useAdminAccess: bool = ..., **kwargs: typing.Any, ) -> SpaceHttpRequest: ... + def search( + self, + *, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., + useAdminAccess: bool = ..., + **kwargs: typing.Any, + ) -> SearchSpacesResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchSpacesResponseHttpRequest, + previous_response: SearchSpacesResponse, + ) -> SearchSpacesResponseHttpRequest | None: ... def setup( self, *, body: SetUpSpaceRequest = ..., **kwargs: typing.Any ) -> SpaceHttpRequest: ... @@ -354,6 +381,14 @@ class ReactionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Reaction: ... +@typing.type_check_only +class SearchSpacesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchSpacesResponse: ... + @typing.type_check_only class SpaceHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index 4d5a034a..b8778d09 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -130,6 +130,12 @@ class ChatAppLogEntry(typing_extensions.TypedDict, total=False): class ChatClientDataSourceMarkup(typing_extensions.TypedDict, total=False): spaceDataSource: SpaceDataSource +@typing.type_check_only +class ChatSpaceLinkData(typing_extensions.TypedDict, total=False): + message: str + space: str + thread: str + @typing.type_check_only class Color(typing_extensions.TypedDict, total=False): alpha: float @@ -685,6 +691,11 @@ class MembershipBatchDeletedEventData(typing_extensions.TypedDict, total=False): class MembershipBatchUpdatedEventData(typing_extensions.TypedDict, total=False): memberships: _list[MembershipUpdatedEventData] +@typing.type_check_only +class MembershipCount(typing_extensions.TypedDict, total=False): + joinedDirectHumanUserCount: int + joinedGroupCount: int + @typing.type_check_only class MembershipCreatedEventData(typing_extensions.TypedDict, total=False): membership: Membership @@ -788,10 +799,19 @@ class ReactionDeletedEventData(typing_extensions.TypedDict, total=False): @typing.type_check_only class RichLinkMetadata(typing_extensions.TypedDict, total=False): + chatSpaceLinkData: ChatSpaceLinkData driveLinkData: DriveLinkData - richLinkType: typing_extensions.Literal["RICH_LINK_TYPE_UNSPECIFIED", "DRIVE_FILE"] + richLinkType: typing_extensions.Literal[ + "RICH_LINK_TYPE_UNSPECIFIED", "DRIVE_FILE", "CHAT_SPACE" + ] uri: str +@typing.type_check_only +class SearchSpacesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + spaces: _list[Space] + totalSize: int + @typing.type_check_only class Section(typing_extensions.TypedDict, total=False): header: str @@ -827,6 +847,8 @@ class Space(typing_extensions.TypedDict, total=False): displayName: str externalUserAllowed: bool importMode: bool + lastActiveTime: str + membershipCount: MembershipCount name: str singleUserBotDm: bool spaceDetails: SpaceDetails diff --git a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi index 3fb3e5c8..febbb35f 100644 --- a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi @@ -94,7 +94,18 @@ class ChecksServiceResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def reports(self) -> ReportsResource: ... + @typing.type_check_only + class ReposResource(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: ... + def apps(self) -> AppsResource: ... + def repos(self) -> ReposResource: ... @typing.type_check_only class MediaResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi index b8599e32..9cb3aa0a 100644 --- a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi @@ -6,7 +6,7 @@ _list = list @typing.type_check_only class Bin(typing_extensions.TypedDict, total=False): - density: float + density: typing.Any end: typing.Any start: typing.Any diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi index 72bf25b1..9b8f8a21 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi @@ -15,6 +15,9 @@ _list = list class CivicInfoResource(googleapiclient.discovery.Resource): @typing.type_check_only class DivisionsResource(googleapiclient.discovery.Resource): + def queryDivisionByAddress( + self, *, address: str = ..., **kwargs: typing.Any + ) -> DivisionByAddressResponseHttpRequest: ... def search( self, *, query: str = ..., **kwargs: typing.Any ) -> DivisionSearchResponseHttpRequest: ... @@ -176,6 +179,14 @@ class CivicInfoResource(googleapiclient.discovery.Resource): 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( diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi index 3b5d952f..091db58e 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi @@ -99,6 +99,11 @@ class Contest(typing_extensions.TypedDict, total=False): 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 diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi index f8971736..606e7f30 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi @@ -83,6 +83,10 @@ class Asset(typing_extensions.TypedDict, total=False): servicePerimeter: GoogleIdentityAccesscontextmanagerV1ServicePerimeter updateTime: str +@typing.type_check_only +class AssetEnrichment(typing_extensions.TypedDict, total=False): + resourceOwners: ResourceOwners + @typing.type_check_only class AttachedResource(typing_extensions.TypedDict, total=False): assetType: str @@ -288,7 +292,12 @@ class GoogleCloudAssetV1CustomConstraint(typing_extensions.TypedDict, total=Fals displayName: str methodTypes: _list[ typing_extensions.Literal[ - "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" + "METHOD_TYPE_UNSPECIFIED", + "CREATE", + "UPDATE", + "DELETE", + "REMOVE_GRANT", + "GOVERN_TAGS", ] ] name: str @@ -894,6 +903,10 @@ class Resource(typing_extensions.TypedDict, total=False): resourceUrl: str version: str +@typing.type_check_only +class ResourceOwners(typing_extensions.TypedDict, total=False): + resourceOwners: _list[str] + @typing.type_check_only class ResourceSearchResult(typing_extensions.TypedDict, total=False): additionalAttributes: dict[str, typing.Any] @@ -903,6 +916,7 @@ class ResourceSearchResult(typing_extensions.TypedDict, total=False): description: str displayName: str effectiveTags: _list[EffectiveTagDetails] + enrichments: _list[AssetEnrichment] folders: _list[str] kmsKey: str kmsKeys: _list[str] diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi index 35e43c56..8d774a0f 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi @@ -506,7 +506,6 @@ class CloudchannelResource(googleapiclient.discovery.Resource): self, *, account: str, - integrator: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -561,39 +560,6 @@ class CloudchannelResource(googleapiclient.discovery.Resource): def reports(self) -> ReportsResource: ... def skuGroups(self) -> SkuGroupsResource: ... - @typing.type_check_only - class IntegratorsResource(googleapiclient.discovery.Resource): - def listSubscribers( - self, - *, - integrator: str, - account: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudChannelV1ListSubscribersResponseHttpRequest: ... - def listSubscribers_next( - self, - previous_request: GoogleCloudChannelV1ListSubscribersResponseHttpRequest, - previous_response: GoogleCloudChannelV1ListSubscribersResponse, - ) -> GoogleCloudChannelV1ListSubscribersResponseHttpRequest | None: ... - def register( - self, - *, - integrator: str, - account: str = ..., - serviceAccount: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudChannelV1RegisterSubscriberResponseHttpRequest: ... - def unregister( - self, - *, - integrator: str, - account: str = ..., - serviceAccount: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudChannelV1UnregisterSubscriberResponseHttpRequest: ... - @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -673,7 +639,6 @@ class CloudchannelResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def accounts(self) -> AccountsResource: ... - def integrators(self) -> IntegratorsResource: ... def operations(self) -> OperationsResource: ... def products(self) -> ProductsResource: ... diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi index 148b1127..9d943170 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi @@ -100,6 +100,7 @@ class GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest( typing_extensions.TypedDict, total=False ): domain: str + primaryAdminEmail: str @typing.type_check_only class GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse( @@ -111,8 +112,12 @@ class GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse( class GoogleCloudChannelV1CloudIdentityCustomerAccount( typing_extensions.TypedDict, total=False ): + channelPartnerCloudIdentityId: str customerCloudIdentityId: str customerName: str + customerType: typing_extensions.Literal[ + "CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM" + ] existing: bool owned: bool @@ -374,6 +379,7 @@ class GoogleCloudChannelV1ImportCustomerRequest( customer: str domain: str overwriteIfExists: bool + primaryAdminEmail: str @typing.type_check_only class GoogleCloudChannelV1ListChannelPartnerLinksResponse( @@ -673,7 +679,6 @@ class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse( class GoogleCloudChannelV1RegisterSubscriberRequest( typing_extensions.TypedDict, total=False ): - integrator: str serviceAccount: str @typing.type_check_only @@ -868,7 +873,6 @@ class GoogleCloudChannelV1TrialSettings(typing_extensions.TypedDict, total=False class GoogleCloudChannelV1UnregisterSubscriberRequest( typing_extensions.TypedDict, total=False ): - integrator: str serviceAccount: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi index a90e5237..6e26e4c3 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi @@ -126,188 +126,6 @@ class GenerateUploadUrlRequest(typing_extensions.TypedDict, total=False): class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): uploadUrl: str -@typing.type_check_only -class GoogleCloudFunctionsV2LocationMetadata(typing_extensions.TypedDict, total=False): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total=False): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2Stage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2Stage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2StateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2StateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2alphaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2alphaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - -@typing.type_check_only -class GoogleCloudFunctionsV2betaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2betaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2betaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - @typing.type_check_only class HttpsTrigger(typing_extensions.TypedDict, total=False): securityLevel: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index a71bc126..f2210c14 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -177,130 +177,6 @@ class GoogleCloudFunctionsV2StateMessage(typing_extensions.TypedDict, total=Fals ] type: str -@typing.type_check_only -class GoogleCloudFunctionsV2alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2alphaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2alphaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - -@typing.type_check_only -class GoogleCloudFunctionsV2betaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2betaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2betaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - @typing.type_check_only class ListFunctionsResponse(typing_extensions.TypedDict, total=False): functions: _list[Function] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi index 8e8015de..f994a000 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi @@ -119,64 +119,6 @@ class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): storageSource: StorageSource uploadUrl: str -@typing.type_check_only -class GoogleCloudFunctionsV2LocationMetadata(typing_extensions.TypedDict, total=False): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total=False): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2Stage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2Stage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2StateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2StateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - @typing.type_check_only class GoogleCloudFunctionsV2alphaLocationMetadata( typing_extensions.TypedDict, total=False @@ -239,68 +181,6 @@ class GoogleCloudFunctionsV2alphaStateMessage(typing_extensions.TypedDict, total ] type: str -@typing.type_check_only -class GoogleCloudFunctionsV2betaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2betaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2betaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2betaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - @typing.type_check_only class ListFunctionsResponse(typing_extensions.TypedDict, total=False): functions: _list[Function] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi index 23157f80..9738f204 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi @@ -119,126 +119,6 @@ class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): storageSource: StorageSource uploadUrl: str -@typing.type_check_only -class GoogleCloudFunctionsV2LocationMetadata(typing_extensions.TypedDict, total=False): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total=False): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2Stage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2Stage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2StateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2StateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - buildName: str - cancelRequested: bool - createTime: str - endTime: str - operationType: typing_extensions.Literal[ - "OPERATIONTYPE_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION", - "REDIRECT_FUNCTION_UPGRADE_TRAFFIC", - "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", - "SETUP_FUNCTION_UPGRADE_CONFIG", - "ABORT_FUNCTION_UPGRADE", - "COMMIT_FUNCTION_UPGRADE", - ] - requestResource: dict[str, typing.Any] - sourceToken: str - stages: _list[GoogleCloudFunctionsV2alphaStage] - statusDetail: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStage(typing_extensions.TypedDict, total=False): - message: str - name: typing_extensions.Literal[ - "NAME_UNSPECIFIED", - "ARTIFACT_REGISTRY", - "BUILD", - "SERVICE", - "TRIGGER", - "SERVICE_ROLLBACK", - "TRIGGER_ROLLBACK", - ] - resource: str - resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] - stateMessages: _list[GoogleCloudFunctionsV2alphaStateMessage] - -@typing.type_check_only -class GoogleCloudFunctionsV2alphaStateMessage(typing_extensions.TypedDict, total=False): - message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - type: str - @typing.type_check_only class GoogleCloudFunctionsV2betaLocationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi index c587602a..779a169f 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi @@ -600,7 +600,13 @@ class Membership(typing_extensions.TypedDict, total=False): preferredMemberKey: EntityKey roles: _list[MembershipRole] type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "USER", "SERVICE_ACCOUNT", "GROUP", "SHARED_DRIVE", "OTHER" + "TYPE_UNSPECIFIED", + "USER", + "SERVICE_ACCOUNT", + "GROUP", + "SHARED_DRIVE", + "CBCM_BROWSER", + "OTHER", ] updateTime: str diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi index 94868f86..3709f958 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi @@ -789,7 +789,13 @@ class Membership(typing_extensions.TypedDict, total=False): preferredMemberKey: EntityKey roles: _list[MembershipRole] type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "USER", "SERVICE_ACCOUNT", "GROUP", "SHARED_DRIVE", "OTHER" + "TYPE_UNSPECIFIED", + "USER", + "SERVICE_ACCOUNT", + "GROUP", + "SHARED_DRIVE", + "CBCM_BROWSER", + "OTHER", ] updateTime: str diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index 104c8bfd..fca4bdda 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -130,8 +130,19 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> KeyHandleHttpRequest: ... def list( - self, *, parent: str, filter: str = ..., **kwargs: typing.Any + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, ) -> ListKeyHandlesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListKeyHandlesResponseHttpRequest, + previous_response: ListKeyHandlesResponse, + ) -> ListKeyHandlesResponseHttpRequest | None: ... @typing.type_check_only class KeyRingsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index 92ee22b0..8d35caf8 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -52,6 +52,9 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): class AutokeyConfig(typing_extensions.TypedDict, total=False): keyProject: str name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "KEY_PROJECT_DELETED", "UNINITIALIZED" + ] @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): @@ -431,6 +434,7 @@ class ListImportJobsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class ListKeyHandlesResponse(typing_extensions.TypedDict, total=False): keyHandles: _list[KeyHandle] + nextPageToken: str @typing.type_check_only class ListKeyRingsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index ac969d1b..832e9988 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -2709,6 +2709,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, *, @@ -3029,6 +3039,15 @@ class ComputeResource(googleapiclient.discovery.Resource): instantSnapshotGroup: str, **kwargs: typing.Any, ) -> InstantSnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def insert( self, *, @@ -3056,6 +3075,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ListInstantSnapshotGroupsHttpRequest, previous_response: ListInstantSnapshotGroups, ) -> ListInstantSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + resource: str, + body: ZoneSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class InstantSnapshotsResource(googleapiclient.discovery.Resource): @@ -4072,28 +4109,6 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... - @typing.type_check_only - class NetworkPlacementsResource(googleapiclient.discovery.Resource): - def get( - self, *, project: str, networkPlacement: str, **kwargs: typing.Any - ) -> NetworkPlacementHttpRequest: ... - def list( - self, - *, - project: str, - filter: str = ..., - maxResults: int = ..., - orderBy: str = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> NetworkPlacementsListResponseHttpRequest: ... - def list_next( - self, - previous_request: NetworkPlacementsListResponseHttpRequest, - previous_response: NetworkPlacementsListResponse, - ) -> NetworkPlacementsListResponseHttpRequest | None: ... - @typing.type_check_only class NetworkProfilesResource(googleapiclient.discovery.Resource): def get( @@ -5694,6 +5709,26 @@ class ComputeResource(googleapiclient.discovery.Resource): class RegionInstanceGroupManagerResizeRequestsResource( googleapiclient.discovery.Resource ): + def cancel( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, @@ -5713,6 +5748,24 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest, + previous_response: RegionInstanceGroupManagerResizeRequestsListResponse, + ) -> RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest | None: ... @typing.type_check_only class RegionInstanceGroupManagersResource(googleapiclient.discovery.Resource): @@ -6155,6 +6208,15 @@ class ComputeResource(googleapiclient.discovery.Resource): instantSnapshotGroup: str, **kwargs: typing.Any, ) -> InstantSnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def insert( self, *, @@ -6182,6 +6244,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ListInstantSnapshotGroupsHttpRequest, previous_response: ListInstantSnapshotGroups, ) -> ListInstantSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + body: RegionSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class RegionInstantSnapshotsResource(googleapiclient.discovery.Resource): @@ -6266,47 +6346,6 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... - @typing.type_check_only - class RegionMultiMigsResource(googleapiclient.discovery.Resource): - def delete( - self, - *, - project: str, - region: str, - multiMig: str, - requestId: str = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def get( - self, *, project: str, region: str, multiMig: str, **kwargs: typing.Any - ) -> MultiMigHttpRequest: ... - def insert( - self, - *, - project: str, - region: str, - body: MultiMig = ..., - 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, - ) -> MultiMigsListHttpRequest: ... - def list_next( - self, - previous_request: MultiMigsListHttpRequest, - previous_response: MultiMigsList, - ) -> MultiMigsListHttpRequest | None: ... - @typing.type_check_only class RegionNetworkEndpointGroupsResource(googleapiclient.discovery.Resource): def attachNetworkEndpoints( @@ -7322,6 +7361,36 @@ 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, + **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: ... + @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -9787,7 +9856,6 @@ class ComputeResource(googleapiclient.discovery.Resource): def networkEdgeSecurityServices(self) -> NetworkEdgeSecurityServicesResource: ... def networkEndpointGroups(self) -> NetworkEndpointGroupsResource: ... def networkFirewallPolicies(self) -> NetworkFirewallPoliciesResource: ... - def networkPlacements(self) -> NetworkPlacementsResource: ... def networkProfiles(self) -> NetworkProfilesResource: ... def networks(self) -> NetworksResource: ... def nodeGroups(self) -> NodeGroupsResource: ... @@ -9815,7 +9883,6 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionInstances(self) -> RegionInstancesResource: ... def regionInstantSnapshotGroups(self) -> RegionInstantSnapshotGroupsResource: ... def regionInstantSnapshots(self) -> RegionInstantSnapshotsResource: ... - def regionMultiMigs(self) -> RegionMultiMigsResource: ... def regionNetworkEndpointGroups(self) -> RegionNetworkEndpointGroupsResource: ... def regionNetworkFirewallPolicies( self, @@ -9833,6 +9900,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionUrlMaps(self) -> RegionUrlMapsResource: ... def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... + def reservationBlocks(self) -> ReservationBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... def routers(self) -> RoutersResource: ... @@ -10715,22 +10783,6 @@ class MachineTypeListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MachineTypeList: ... -@typing.type_check_only -class MultiMigHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> MultiMig: ... - -@typing.type_check_only -class MultiMigsListHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> MultiMigsList: ... - @typing.type_check_only class NatIpInfoResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10831,22 +10883,6 @@ class NetworkListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> NetworkList: ... -@typing.type_check_only -class NetworkPlacementHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> NetworkPlacement: ... - -@typing.type_check_only -class NetworkPlacementsListResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> NetworkPlacementsListResponse: ... - @typing.type_check_only class NetworkProfileHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11171,6 +11207,16 @@ class RegionInstanceGroupManagerListHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> RegionInstanceGroupManagerList: ... +@typing.type_check_only +class RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RegionInstanceGroupManagerResizeRequestsListResponse: ... + @typing.type_check_only class RegionInstanceGroupManagersListErrorsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -11243,6 +11289,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( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index b5ddbc4a..818fb91e 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -195,6 +195,7 @@ class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=Fals @typing.type_check_only class AllocationResourceStatus(typing_extensions.TypedDict, total=False): + reservationBlockCount: int specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @typing.type_check_only @@ -555,6 +556,7 @@ class BackendService(typing_extensions.TypedDict, total=False): connectionTrackingPolicy: BackendServiceConnectionTrackingPolicy consistentHash: ConsistentHashLoadBalancerSettings creationTimestamp: str + customMetrics: _list[BackendServiceCustomMetric] customRequestHeaders: _list[str] customResponseHeaders: _list[str] description: str @@ -692,6 +694,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 @@ -1763,15 +1770,27 @@ class FutureReservation(typing_extensions.TypedDict, total=False): autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration autoDeleteAutoCreatedReservations: bool + commitmentInfo: FutureReservationCommitmentInfo creationTimestamp: str + deploymentType: typing_extensions.Literal[ + "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" + ] description: str + enableOpportunisticMaintenance: bool id: str + instanceTerminationAction: typing_extensions.Literal[ + "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" + ] kind: str name: str namePrefix: str planningStatus: typing_extensions.Literal[ "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" ] + reservationName: str + schedulingType: typing_extensions.Literal[ + "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" + ] selfLink: str selfLinkWithId: str shareSettings: ShareSettings @@ -1781,6 +1800,16 @@ class FutureReservation(typing_extensions.TypedDict, total=False): timeWindow: FutureReservationTimeWindow zone: str +@typing.type_check_only +class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): + commitmentName: str + commitmentPlan: typing_extensions.Literal[ + "INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + ] + previousCommitmentTerms: typing_extensions.Literal[ + "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" + ] + @typing.type_check_only class FutureReservationSpecificSKUProperties(typing_extensions.TypedDict, total=False): instanceProperties: AllocationSpecificSKUAllocationReservedInstanceProperties @@ -2572,6 +2601,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): instanceTemplate: str kind: str listManagedInstancesResults: typing_extensions.Literal["PAGELESS", "PAGINATED"] + multiMig: str name: str namedPorts: _list[NamedPort] params: InstanceGroupManagerParams @@ -3214,6 +3244,22 @@ class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy( class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] +@typing.type_check_only +class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): + 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] @@ -3396,6 +3442,9 @@ class InterconnectApplicationAwareInterconnect( InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy ) profileDescription: str + shapeAveragePercentages: _list[ + InterconnectApplicationAwareInterconnectBandwidthPercentage + ] strictPriorityPolicy: InterconnectApplicationAwareInterconnectStrictPriorityPolicy @typing.type_check_only @@ -3422,6 +3471,7 @@ class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( class InterconnectAttachment(typing_extensions.TypedDict, total=False): adminEnabled: bool bandwidth: typing_extensions.Literal[ + "BPS_100G", "BPS_100M", "BPS_10G", "BPS_1G", @@ -3811,31 +3861,51 @@ class JwtHeader(typing_extensions.TypedDict, total=False): @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): + allowedReplacementLicenses: _list[str] + appendableToDisk: bool creationTimestamp: str description: str id: str + incompatibleLicenses: _list[str] kind: str licenseAlias: _list[LicenseCodeLicenseAlias] + minimumRetention: Duration + multiTenantOnly: bool name: str + osLicense: bool + removableFromDisk: bool + requiredCoattachedLicenses: _list[str] selfLink: str + soleTenantOnly: bool state: typing_extensions.Literal[ "DISABLED", "ENABLED", "RESTRICTED", "STATE_UNSPECIFIED", "TERMINATED" ] transferable: bool + updateTimestamp: str @typing.type_check_only class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): @@ -4024,6 +4094,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): "SUSPENDING", "VERIFYING", ] + currentActionDetails: ManagedInstanceCurrentActionDetails id: str instance: str instanceFlexibilityOverride: ManagedInstanceInstanceFlexibilityOverride @@ -4057,6 +4128,23 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): class ManagedInstanceAllInstancesConfig(typing_extensions.TypedDict, total=False): revision: str +@typing.type_check_only +class ManagedInstanceCurrentActionDetails(typing_extensions.TypedDict, total=False): + methodName: str + trigger: typing_extensions.Literal[ + "API", + "AUTOSCALING", + "FAILED_CREATION", + "FAILED_HEALTH_CHECK", + "INSTANCE_FAILURE", + "MAINTENANCE", + "NONE", + "PROACTIVE_UPDATE", + "REDISTRIBUTION", + "STANDBY_REFILL", + "TERMINATION_TIMESTAMP", + ] + @typing.type_check_only class ManagedInstanceInstanceFlexibilityOverride( typing_extensions.TypedDict, total=False @@ -4115,49 +4203,6 @@ class Money(typing_extensions.TypedDict, total=False): nanos: int units: str -@typing.type_check_only -class MultiMig(typing_extensions.TypedDict, total=False): - creationTimestamp: str - description: str - id: str - kind: str - locationPolicy: MultiMigLocationPolicy - name: str - parts: dict[str, typing.Any] - region: str - schedulingPolicy: MultiMigSchedulingPolicy - selfLink: str - selfLinkWithId: str - status: MultiMigStatus - -@typing.type_check_only -class MultiMigLocationPolicy(typing_extensions.TypedDict, total=False): - provisioningZones: _list[str] - -@typing.type_check_only -class MultiMigPart(typing_extensions.TypedDict, total=False): - instanceGroupManager: str - instanceGroupManagerProperties: InstanceGroupManager - -@typing.type_check_only -class MultiMigSchedulingPolicy(typing_extensions.TypedDict, total=False): - provisioning: typing_extensions.Literal["ANY", "COOORDINATED"] - -@typing.type_check_only -class MultiMigStatus(typing_extensions.TypedDict, total=False): - memberInstanceGroupManagers: _list[str] - -@typing.type_check_only -class MultiMigsList(typing_extensions.TypedDict, total=False): - etag: str - id: str - items: _list[MultiMig] - kind: str - nextPageToken: str - selfLink: str - unreachables: _list[str] - warning: dict[str, typing.Any] - @typing.type_check_only class MutualTls(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["INVALID", "PERMISSIVE", "STRICT"] @@ -4206,7 +4251,6 @@ class Network(typing_extensions.TypedDict, total=False): networkFirewallPolicyEnforcementOrder: typing_extensions.Literal[ "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] - networkPlacement: str networkProfile: str peerings: _list[NetworkPeering] region: str @@ -4531,82 +4575,6 @@ class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): externalIpEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] -@typing.type_check_only -class NetworkPlacement(typing_extensions.TypedDict, total=False): - creationTimestamp: str - description: str - features: NetworkPlacementNetworkFeatures - id: str - kind: str - name: str - selfLink: str - selfLinkWithId: str - zone: str - -@typing.type_check_only -class NetworkPlacementNetworkFeatures(typing_extensions.TypedDict, total=False): - allowAutoModeSubnet: typing_extensions.Literal[ - "AUTO_MODE_SUBNET_ALLOWED", "AUTO_MODE_SUBNET_BLOCKED" - ] - allowCloudNat: typing_extensions.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] - allowCloudRouter: typing_extensions.Literal[ - "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" - ] - allowInterconnect: typing_extensions.Literal[ - "INTERCONNECT_ALLOWED", "INTERCONNECT_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" - ] - allowPacketMirroring: typing_extensions.Literal[ - "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" - ] - allowPrivateGoogleAccess: typing_extensions.Literal[ - "PRIVATE_GOOGLE_ACCESS_ALLOWED", "PRIVATE_GOOGLE_ACCESS_BLOCKED" - ] - allowPsc: typing_extensions.Literal["PSC_ALLOWED", "PSC_BLOCKED"] - allowSameNetworkUnicast: typing_extensions.Literal[ - "SAME_NETWORK_UNICAST_ALLOWED", "SAME_NETWORK_UNICAST_BLOCKED" - ] - allowStaticRoutes: typing_extensions.Literal[ - "STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED" - ] - allowVpcPeering: typing_extensions.Literal[ - "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" - ] - allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] - allowedSubnetPurposes: _list[ - typing_extensions.Literal[ - "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" - ] - ] - allowedSubnetStackTypes: _list[ - typing_extensions.Literal[ - "SUBNET_STACK_TYPE_IPV4_IPV6", - "SUBNET_STACK_TYPE_IPV4_ONLY", - "SUBNET_STACK_TYPE_IPV6_ONLY", - ] - ] - interfaceTypes: _list[ - typing_extensions.Literal["GVNIC", "IDPF", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET"] - ] - multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] - unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] - -@typing.type_check_only -class NetworkPlacementsListResponse(typing_extensions.TypedDict, total=False): - etag: str - id: str - items: _list[NetworkPlacement] - kind: str - nextPageToken: str - selfLink: str - unreachables: _list[str] - warning: dict[str, typing.Any] - @typing.type_check_only class NetworkProfile(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -5835,6 +5803,19 @@ class RegionInstanceGroupManagerPatchInstanceConfigReq( ): perInstanceConfigs: _list[PerInstanceConfig] +@typing.type_check_only +class RegionInstanceGroupManagerResizeRequestsListResponse( + typing_extensions.TypedDict, total=False +): + etag: str + id: str + items: _list[InstanceGroupManagerResizeRequest] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RegionInstanceGroupManagerUpdateInstanceConfigReq( typing_extensions.TypedDict, total=False @@ -6046,6 +6027,7 @@ class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): backendService: str + mirrorPercent: float @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): @@ -6054,8 +6036,14 @@ class Reservation(typing_extensions.TypedDict, total=False): creationTimestamp: str deleteAfterDuration: Duration deleteAtTime: str + deploymentType: typing_extensions.Literal[ + "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" + ] description: str id: str + instanceTerminationAction: typing_extensions.Literal[ + "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" + ] kind: str name: str reservationSharingPolicy: AllocationReservationSharingPolicy @@ -6095,6 +6083,33 @@ 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 + locationPrefix: str + name: str + selfLink: str + selfLinkWithId: str + status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + zone: 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 @@ -6417,6 +6432,7 @@ class RouteList(typing_extensions.TypedDict, total=False): @typing.type_check_only class RoutePolicy(typing_extensions.TypedDict, total=False): + description: str fingerprint: str name: str terms: _list[RoutePolicyPolicyTerm] @@ -6822,6 +6838,9 @@ class Scheduling(typing_extensions.TypedDict, total=False): preemptible: bool provisioningModel: typing_extensions.Literal["SPOT", "STANDARD"] terminationTime: str + windowsLicenseOptimizationMode: typing_extensions.Literal[ + "AUTO", "BALANCED", "COST_OPTIMIZED", "OFF", "PERFORMANCE", "UNSPECIFIED" + ] @typing.type_check_only class SchedulingGracefulShutdown(typing_extensions.TypedDict, total=False): @@ -7886,6 +7905,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", + "MIGRATION", "PRIVATE", "PRIVATE_NAT", "PRIVATE_RFC_1918", @@ -8536,6 +8556,7 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", + "MIGRATION", "PRIVATE", "PRIVATE_NAT", "PRIVATE_RFC_1918", diff --git a/googleapiclient-stubs/_apis/compute/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index cda2f0a6..5e84f988 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -5363,6 +5363,68 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionInstanceGroupManagerResizeRequestsResource( + googleapiclient.discovery.Resource + ): + def cancel( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + resizeRequest: str, + **kwargs: typing.Any, + ) -> InstanceGroupManagerResizeRequestHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + body: InstanceGroupManagerResizeRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest, + previous_response: RegionInstanceGroupManagerResizeRequestsListResponse, + ) -> RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest | None: ... + @typing.type_check_only class RegionInstanceGroupManagersResource(googleapiclient.discovery.Resource): def abandonInstances( @@ -9073,6 +9135,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionDisks(self) -> RegionDisksResource: ... def regionHealthCheckServices(self) -> RegionHealthCheckServicesResource: ... def regionHealthChecks(self) -> RegionHealthChecksResource: ... + def regionInstanceGroupManagerResizeRequests( + self, + ) -> RegionInstanceGroupManagerResizeRequestsResource: ... def regionInstanceGroupManagers(self) -> RegionInstanceGroupManagersResource: ... def regionInstanceGroups(self) -> RegionInstanceGroupsResource: ... def regionInstanceTemplates(self) -> RegionInstanceTemplatesResource: ... @@ -10286,6 +10351,16 @@ class RegionInstanceGroupManagerListHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> RegionInstanceGroupManagerList: ... +@typing.type_check_only +class RegionInstanceGroupManagerResizeRequestsListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RegionInstanceGroupManagerResizeRequestsListResponse: ... + @typing.type_check_only class RegionInstanceGroupManagersListErrorsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index 17b47a04..8c715dc8 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -440,6 +440,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): kind: str name: str selfLink: str + usedBy: _list[BackendBucketUsedBy] @typing.type_check_only class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): @@ -488,6 +489,10 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): + reference: str + @typing.type_check_only class BackendService(typing_extensions.TypedDict, total=False): affinityCookieTtlSec: int @@ -504,6 +509,10 @@ class BackendService(typing_extensions.TypedDict, total=False): description: str edgeSecurityPolicy: str enableCDN: bool + externalManagedMigrationState: typing_extensions.Literal[ + "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" + ] + externalManagedMigrationTestingPercentage: float failoverPolicy: BackendServiceFailoverPolicy fingerprint: str healthChecks: _list[str] @@ -1418,12 +1427,19 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] + destNetworkScope: 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] + srcNetworkScope: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] + srcNetworks: _list[str] srcRegionCodes: _list[str] srcSecureTags: _list[FirewallPolicyRuleSecureTag] srcThreatIntelligences: _list[str] @@ -1458,6 +1474,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 @@ -1554,7 +1574,6 @@ class FutureReservation(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shareSettings: ShareSettings - specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus timeWindow: FutureReservationTimeWindow @@ -2293,10 +2312,12 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): instanceTemplate: str kind: str listManagedInstancesResults: typing_extensions.Literal["PAGELESS", "PAGINATED"] + multiMig: str name: str namedPorts: _list[NamedPort] params: InstanceGroupManagerParams region: str + resourcePolicies: InstanceGroupManagerResourcePolicies satisfiesPzi: bool satisfiesPzs: bool selfLink: str @@ -2436,6 +2457,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 @@ -3484,6 +3509,9 @@ class MachineImageList(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" + ] bundledLocalSsds: BundledLocalSsds creationTimestamp: str deprecated: DeprecationStatus @@ -3834,6 +3862,7 @@ class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): consumerPscAddress: str + producerPort: int pscConnectionId: str pscConnectionStatus: typing_extensions.Literal[ "ACCEPTED", @@ -4924,6 +4953,19 @@ class RegionInstanceGroupManagerPatchInstanceConfigReq( ): perInstanceConfigs: _list[PerInstanceConfig] +@typing.type_check_only +class RegionInstanceGroupManagerResizeRequestsListResponse( + typing_extensions.TypedDict, total=False +): + etag: str + id: str + items: _list[InstanceGroupManagerResizeRequest] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RegionInstanceGroupManagerUpdateInstanceConfigReq( typing_extensions.TypedDict, total=False @@ -5134,6 +5176,7 @@ class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): backendService: str + mirrorPercent: float @typing.type_check_only class Reservation(typing_extensions.TypedDict, total=False): @@ -5234,6 +5277,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): @@ -5360,6 +5404,10 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals duration: str startTime: str +@typing.type_check_only +class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] + @typing.type_check_only class ResourceStatus(typing_extensions.TypedDict, total=False): physicalHost: str diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 4e56a001..a8bd489e 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -136,6 +136,7 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): "STANDARD", ] threadsPerCore: int + turboMode: str visibleCoreCount: int @typing.type_check_only @@ -417,6 +418,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): kind: str name: str selfLink: str + usedBy: _list[BackendBucketUsedBy] @typing.type_check_only class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): @@ -465,6 +467,10 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): + reference: str + @typing.type_check_only class BackendService(typing_extensions.TypedDict, total=False): affinityCookieTtlSec: int @@ -902,7 +908,7 @@ class Condition(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): confidentialInstanceType: typing_extensions.Literal[ - "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP" + "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enableConfidentialCompute: bool @@ -1479,7 +1485,6 @@ class FutureReservation(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shareSettings: ShareSettings - specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus timeWindow: FutureReservationTimeWindow @@ -1678,6 +1683,7 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): "SEV_LIVE_MIGRATABLE", "SEV_LIVE_MIGRATABLE_V2", "SEV_SNP_CAPABLE", + "TDX_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", @@ -3276,6 +3282,9 @@ class MachineImageList(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] + architecture: typing_extensions.Literal[ + "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" + ] creationTimestamp: str deprecated: DeprecationStatus description: str @@ -3523,6 +3532,7 @@ class NetworkEdgeSecurityServicesScopedList(typing_extensions.TypedDict, total=F @typing.type_check_only class NetworkEndpoint(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + clientDestinationPort: int fqdn: str instance: str ipAddress: str @@ -3544,6 +3554,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): networkEndpointType: typing_extensions.Literal[ "GCE_VM_IP", "GCE_VM_IP_PORT", + "GCE_VM_IP_PORTMAP", "INTERNET_FQDN_PORT", "INTERNET_IP_PORT", "NON_GCP_PRIVATE_IP_PORT", @@ -3597,6 +3608,7 @@ class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): @typing.type_check_only class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): consumerPscAddress: str + producerPort: int pscConnectionId: str pscConnectionStatus: typing_extensions.Literal[ "ACCEPTED", @@ -3716,9 +3728,10 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( ): displayName: str name: str + priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal["HIERARCHY", "NETWORK", "UNSPECIFIED"] + type: typing_extensions.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] @typing.type_check_only class NetworksRemovePeeringRequest(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi index 2d7fc317..faa7eaad 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi @@ -299,7 +299,15 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED", + "ENDPOINT_ATTACHMENT_VIEW_BASIC", + "ENDPOINT_ATTACHMENT_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, ) -> EndpointAttachmentHttpRequest: ... def list( self, @@ -309,6 +317,11 @@ class ConnectorsResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED", + "ENDPOINT_ATTACHMENT_VIEW_BASIC", + "ENDPOINT_ATTACHMENT_VIEW_FULL", + ] = ..., **kwargs: typing.Any, ) -> ListEndpointAttachmentsResponseHttpRequest: ... def list_next( @@ -507,6 +520,15 @@ class ConnectorsResource(googleapiclient.discovery.Resource): previous_response: ListEventTypesResponse, ) -> ListEventTypesResponseHttpRequest | None: ... + def fetchAuthSchema( + self, + *, + name: str, + view: typing_extensions.Literal[ + "AUTH_SCHEMA_VIEW_UNSPECIFIED", "BASIC", "JSON_SCHEMA" + ] = ..., + **kwargs: typing.Any, + ) -> FetchAuthSchemaResponseHttpRequest: ... def get( self, *, @@ -730,6 +752,14 @@ class EventTypeHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EventType: ... +@typing.type_check_only +class FetchAuthSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchAuthSchemaResponse: ... + @typing.type_check_only class ListActionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index 1d984702..71ebd773 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -28,8 +28,10 @@ class AuthConfig(typing_extensions.TypedDict, total=False): "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION", + "OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED", ] oauth2AuthCodeFlow: Oauth2AuthCodeFlow + oauth2AuthCodeFlowGoogleManaged: Oauth2AuthCodeFlowGoogleManaged oauth2ClientCredentials: Oauth2ClientCredentials oauth2JwtBearer: Oauth2JwtBearer sshPublicKey: SshPublicKey @@ -46,14 +48,56 @@ class AuthConfigTemplate(typing_extensions.TypedDict, total=False): "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION", + "OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED", ] configVariableTemplates: _list[ConfigVariableTemplate] description: str displayName: str + isDefault: bool + +@typing.type_check_only +class AuthField(typing_extensions.TypedDict, total=False): + dataType: str + description: str + key: str + +@typing.type_check_only +class AuthObject(typing_extensions.TypedDict, total=False): + additionalProperties: bool + authKey: str + authType: str + description: str + isDefault: bool + properties: dict[str, typing.Any] + type: str + +@typing.type_check_only +class AuthProperty(typing_extensions.TypedDict, total=False): + description: str + type: str + +@typing.type_check_only +class AuthSchema(typing_extensions.TypedDict, total=False): + authFields: _list[AuthField] + 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", + ] + description: str + displayName: str + isDefault: bool @typing.type_check_only class AuthorizationCodeLink(typing_extensions.TypedDict, total=False): clientId: str + clientSecret: Secret enablePkce: bool omitQueryParams: bool scopes: _list[str] @@ -119,6 +163,7 @@ class ConfigVariableTemplate(typing_extensions.TypedDict, total=False): class Connection(typing_extensions.TypedDict, total=False): asyncOperationsEnabled: bool authConfig: AuthConfig + authOverrideEnabled: bool billingConfig: BillingConfig configVariables: _list[ConfigVariable] connectionRevision: str @@ -138,6 +183,7 @@ class Connection(typing_extensions.TypedDict, total=False): "ONLY_EVENTING", ] eventingRuntimeData: EventingRuntimeData + host: str imageLocation: str isTrustedTester: bool labels: dict[str, typing.Any] @@ -153,6 +199,7 @@ class Connection(typing_extensions.TypedDict, total=False): "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID" ] suspended: bool + tlsServiceDirectory: str updateTime: str @typing.type_check_only @@ -223,6 +270,7 @@ class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): internalclientRatelimitThreshold: str maxInstanceRequestConcurrency: int migrateDeploymentModel: bool + migrateTls: bool ratelimitThreshold: str resourceLimits: ResourceLimits resourceRequests: ResourceRequests @@ -239,6 +287,7 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): displayName: str egressControlConfig: EgressControlConfig eventingConfigTemplate: EventingConfigTemplate + isAsyncOperationsSupported: bool isCustomActionsSupported: bool isCustomEntitiesSupported: bool labels: dict[str, typing.Any] @@ -284,6 +333,11 @@ class ConnectorVersionInfraConfig(typing_extensions.TypedDict, total=False): resourceLimits: ResourceLimits resourceRequests: ResourceRequests sharedDeployment: str + tlsMigrationState: typing_extensions.Literal[ + "TLS_MIGRATION_STATE_UNSPECIFIED", + "TLS_MIGRATION_NOT_STARTED", + "TLS_MIGRATION_COMPLETED", + ] @typing.type_check_only class ConnectorsLogConfig(typing_extensions.TypedDict, total=False): @@ -409,6 +463,16 @@ class EndpointAttachment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAttachment: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "ACCEPTED", + "REJECTED", + "CLOSED", + "FROZEN", + "NEEDS_ATTENTION", + "ACCEPTED_NOT_PROGRAMMED", + ] updateTime: str @typing.type_check_only @@ -525,6 +589,11 @@ class ExtractionRule(typing_extensions.TypedDict, total=False): class ExtractionRules(typing_extensions.TypedDict, total=False): extractionRule: _list[ExtractionRule] +@typing.type_check_only +class FetchAuthSchemaResponse(typing_extensions.TypedDict, total=False): + authSchemas: _list[AuthSchema] + jsonSchema: JsonAuthSchema + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): additionalDetails: dict[str, typing.Any] @@ -691,6 +760,18 @@ class JMS(typing_extensions.TypedDict, total=False): name: str type: typing_extensions.Literal["TYPE_UNSPECIFIED", "QUEUE", "TOPIC"] +AlternativeJsonAuthSchema = typing_extensions.TypedDict( + "AlternativeJsonAuthSchema", + { + "$schema": str, + "oneOf": _list[AuthObject], + }, + total=False, +) + +@typing.type_check_only +class JsonAuthSchema(AlternativeJsonAuthSchema): ... + @typing.type_check_only class JsonSchema(typing_extensions.TypedDict, total=False): default: typing.Any @@ -955,6 +1036,12 @@ class Oauth2AuthCodeFlow(typing_extensions.TypedDict, total=False): redirectUri: str scopes: _list[str] +@typing.type_check_only +class Oauth2AuthCodeFlowGoogleManaged(typing_extensions.TypedDict, total=False): + authCode: str + redirectUri: str + scopes: _list[str] + @typing.type_check_only class Oauth2ClientCredentials(typing_extensions.TypedDict, total=False): clientId: str diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi index 2277ee79..8567b497 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi @@ -151,6 +151,7 @@ class PrivateAccess(typing_extensions.TypedDict, total=False): @typing.type_check_only class PscSetting(typing_extensions.TypedDict, total=False): allowedConsumerProjectIds: _list[str] + producerProjectIds: _list[str] @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi index 645f72ca..6a93d732 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi @@ -215,6 +215,7 @@ class GoogleCloudContactcenterinsightsV1Conversation( GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData ) medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + metadataJson: str name: str obfuscatedUserId: str qualityMetadata: GoogleCloudContactcenterinsightsV1ConversationQualityMetadata @@ -1155,6 +1156,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Conversation( GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData ) medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + metadataJson: str name: str obfuscatedUserId: str qualityMetadata: GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index 7eef51f2..152cf4b9 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -20,6 +20,7 @@ class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdditionalPodNetworkConfig(typing_extensions.TypedDict, total=False): maxPodsPerNode: MaxPodsConstraint + networkAttachment: str secondaryPodRange: str subnetwork: str @@ -181,6 +182,7 @@ class Cluster(typing_extensions.TypedDict, total=False): autoscaling: ClusterAutoscaling binaryAuthorization: BinaryAuthorization clusterIpv4Cidr: str + compliancePostureConfig: CompliancePostureConfig conditions: _list[StatusCondition] confidentialNodes: ConfidentialNodes costManagementConfig: CostManagementConfig @@ -229,11 +231,13 @@ class Cluster(typing_extensions.TypedDict, total=False): notificationConfig: NotificationConfig parentProductConfig: ParentProductConfig privateClusterConfig: PrivateClusterConfig + rbacBindingConfig: RBACBindingConfig releaseChannel: ReleaseChannel resourceLabels: dict[str, typing.Any] resourceUsageExportConfig: ResourceUsageExportConfig satisfiesPzi: bool satisfiesPzs: bool + secretManagerConfig: SecretManagerConfig securityPostureConfig: SecurityPostureConfig selfLink: str servicesIpv4Cidr: str @@ -276,6 +280,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredAutopilotWorkloadPolicyConfig: WorkloadPolicyConfig desiredBinaryAuthorization: BinaryAuthorization desiredClusterAutoscaling: ClusterAutoscaling + desiredCompliancePostureConfig: CompliancePostureConfig desiredContainerdConfig: ContainerdConfig desiredCostManagementConfig: CostManagementConfig desiredDatabaseEncryption: DatabaseEncryption @@ -327,8 +332,10 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL", ] + desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig + desiredSecretManagerConfig: SecretManagerConfig desiredSecurityPostureConfig: SecurityPostureConfig desiredServiceExternalIpsConfig: ServiceExternalIPsConfig desiredShieldedNodes: ShieldedNodes @@ -351,6 +358,15 @@ class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class CompleteNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CompliancePostureConfig(typing_extensions.TypedDict, total=False): + complianceStandards: _list[ComplianceStandard] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class ComplianceStandard(typing_extensions.TypedDict, total=False): + standard: str + @typing.type_check_only class ConfidentialNodes(typing_extensions.TypedDict, total=False): enabled: bool @@ -823,6 +839,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): shieldedInstanceConfig: ShieldedInstanceConfig soleTenantConfig: SoleTenantConfig spot: bool + storagePools: _list[str] tags: _list[str] taints: _list[NodeTaint] windowsNodeConfig: WindowsNodeConfig @@ -1039,6 +1056,11 @@ class PubSub(typing_extensions.TypedDict, total=False): class QueuedProvisioning(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class RBACBindingConfig(typing_extensions.TypedDict, total=False): + enableInsecureBindingSystemAuthenticated: bool + enableInsecureBindingSystemUnauthenticated: bool + @typing.type_check_only class RangeInfo(typing_extensions.TypedDict, total=False): rangeName: str @@ -1126,6 +1148,10 @@ class SecondaryBootDisk(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecondaryBootDiskUpdateStrategy(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class SecretManagerConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): affectedSupportedMinors: _list[str] @@ -1389,6 +1415,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): queuedProvisioning: QueuedProvisioning resourceLabels: ResourceLabels resourceManagerTags: ResourceManagerTags + storagePools: _list[str] tags: NetworkTags taints: NodeTaints upgradeSettings: UpgradeSettings diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 9b359cc4..54443bd6 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -21,6 +21,7 @@ class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdditionalPodNetworkConfig(typing_extensions.TypedDict, total=False): maxPodsPerNode: MaxPodsConstraint + networkAttachment: str secondaryPodRange: str subnetwork: str @@ -259,6 +260,7 @@ class Cluster(typing_extensions.TypedDict, total=False): privateCluster: bool privateClusterConfig: PrivateClusterConfig protectConfig: ProtectConfig + rbacBindingConfig: RBACBindingConfig releaseChannel: ReleaseChannel resourceLabels: dict[str, typing.Any] resourceUsageExportConfig: ResourceUsageExportConfig @@ -315,6 +317,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredBinaryAuthorization: BinaryAuthorization desiredClusterAutoscaling: ClusterAutoscaling desiredClusterTelemetry: ClusterTelemetry + desiredCompliancePostureConfig: CompliancePostureConfig desiredContainerdConfig: ContainerdConfig desiredCostManagementConfig: CostManagementConfig desiredDatabaseEncryption: DatabaseEncryption @@ -370,6 +373,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL", ] desiredProtectConfig: ProtectConfig + desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig desiredSecretManagerConfig: SecretManagerConfig @@ -927,6 +931,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): shieldedInstanceConfig: ShieldedInstanceConfig soleTenantConfig: SoleTenantConfig spot: bool + storagePools: _list[str] tags: _list[str] taints: _list[NodeTaint] windowsNodeConfig: WindowsNodeConfig @@ -1165,6 +1170,11 @@ class PubSub(typing_extensions.TypedDict, total=False): class QueuedProvisioning(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class RBACBindingConfig(typing_extensions.TypedDict, total=False): + enableInsecureBindingSystemAuthenticated: bool + enableInsecureBindingSystemUnauthenticated: bool + @typing.type_check_only class RangeInfo(typing_extensions.TypedDict, total=False): rangeName: str @@ -1528,6 +1538,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): queuedProvisioning: QueuedProvisioning resourceLabels: ResourceLabels resourceManagerTags: ResourceManagerTags + storagePools: _list[str] tags: NetworkTags taints: NodeTaints upgradeSettings: UpgradeSettings diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi index a64faa83..9f69b4bb 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi @@ -57,6 +57,13 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -79,6 +86,20 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> NoteHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def occurrences(self) -> OccurrencesResource: ... @typing.type_check_only @@ -99,6 +120,13 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> OccurrenceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def getNotes( self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... @@ -127,6 +155,20 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OccurrenceHttpRequest: ... + 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 ResourcesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi index eefee888..15a4a372 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi @@ -57,6 +57,13 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def list( self, *, @@ -79,6 +86,20 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> NoteHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def occurrences(self) -> OccurrencesResource: ... @typing.type_check_only @@ -99,6 +120,13 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> OccurrenceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def getNotes( self, *, name: str, **kwargs: typing.Any ) -> NoteHttpRequest: ... @@ -127,6 +155,20 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OccurrenceHttpRequest: ... + 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 ResourcesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi index ebe1a058..c87abf92 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi @@ -245,53 +245,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> AccountTaxHttpRequest: ... - @typing.type_check_only - class BuyongoogleprogramsResource(googleapiclient.discovery.Resource): - def activate( - self, - *, - merchantId: str, - regionCode: str, - body: ActivateBuyOnGoogleProgramRequest = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def get( - self, *, merchantId: str, regionCode: str, **kwargs: typing.Any - ) -> BuyOnGoogleProgramStatusHttpRequest: ... - def onboard( - self, - *, - merchantId: str, - regionCode: str, - body: OnboardBuyOnGoogleProgramRequest = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def patch( - self, - *, - merchantId: str, - regionCode: str, - body: BuyOnGoogleProgramStatus = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> BuyOnGoogleProgramStatusHttpRequest: ... - def pause( - self, - *, - merchantId: str, - regionCode: str, - body: PauseBuyOnGoogleProgramRequest = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def requestreview( - self, - *, - merchantId: str, - regionCode: str, - body: RequestReviewBuyOnGoogleProgramRequest = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - @typing.type_check_only class CollectionsResource(googleapiclient.discovery.Resource): def create( @@ -629,346 +582,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TriggerActionResponseHttpRequest: ... - @typing.type_check_only - class OrderinvoicesResource(googleapiclient.discovery.Resource): - def createchargeinvoice( - self, - *, - merchantId: str, - orderId: str, - body: OrderinvoicesCreateChargeInvoiceRequest = ..., - **kwargs: typing.Any, - ) -> OrderinvoicesCreateChargeInvoiceResponseHttpRequest: ... - def createrefundinvoice( - self, - *, - merchantId: str, - orderId: str, - body: OrderinvoicesCreateRefundInvoiceRequest = ..., - **kwargs: typing.Any, - ) -> OrderinvoicesCreateRefundInvoiceResponseHttpRequest: ... - - @typing.type_check_only - class OrderreportsResource(googleapiclient.discovery.Resource): - def listdisbursements( - self, - *, - merchantId: str, - disbursementEndDate: str = ..., - disbursementStartDate: str = ..., - maxResults: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> OrderreportsListDisbursementsResponseHttpRequest: ... - def listdisbursements_next( - self, - previous_request: OrderreportsListDisbursementsResponseHttpRequest, - previous_response: OrderreportsListDisbursementsResponse, - ) -> OrderreportsListDisbursementsResponseHttpRequest | None: ... - def listtransactions( - self, - *, - merchantId: str, - disbursementId: str, - maxResults: int = ..., - pageToken: str = ..., - transactionEndDate: str = ..., - transactionStartDate: str = ..., - **kwargs: typing.Any, - ) -> OrderreportsListTransactionsResponseHttpRequest: ... - def listtransactions_next( - self, - previous_request: OrderreportsListTransactionsResponseHttpRequest, - previous_response: OrderreportsListTransactionsResponse, - ) -> OrderreportsListTransactionsResponseHttpRequest | None: ... - - @typing.type_check_only - class OrderreturnsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class LabelsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - merchantId: str, - returnId: str, - body: ReturnShippingLabel = ..., - **kwargs: typing.Any, - ) -> ReturnShippingLabelHttpRequest: ... - - def acknowledge( - self, - *, - merchantId: str, - returnId: str, - body: OrderreturnsAcknowledgeRequest = ..., - **kwargs: typing.Any, - ) -> OrderreturnsAcknowledgeResponseHttpRequest: ... - def createorderreturn( - self, - *, - merchantId: str, - body: OrderreturnsCreateOrderReturnRequest = ..., - **kwargs: typing.Any, - ) -> OrderreturnsCreateOrderReturnResponseHttpRequest: ... - def get( - self, *, merchantId: str, returnId: str, **kwargs: typing.Any - ) -> MerchantOrderReturnHttpRequest: ... - def list( - self, - *, - merchantId: str, - acknowledged: bool = ..., - createdEndDate: str = ..., - createdStartDate: str = ..., - googleOrderIds: str | _list[str] = ..., - maxResults: int = ..., - orderBy: typing_extensions.Literal[ - "RETURN_CREATION_TIME_DESC", "RETURN_CREATION_TIME_ASC" - ] = ..., - pageToken: str = ..., - shipmentStates: typing_extensions.Literal[ - "NEW", "SHIPPED", "COMPLETED", "UNDELIVERABLE", "PENDING" - ] - | _list[ - typing_extensions.Literal[ - "NEW", "SHIPPED", "COMPLETED", "UNDELIVERABLE", "PENDING" - ] - ] = ..., - shipmentStatus: typing_extensions.Literal["NEW", "IN_PROGRESS", "PROCESSED"] - | _list[typing_extensions.Literal["NEW", "IN_PROGRESS", "PROCESSED"]] = ..., - shipmentTrackingNumbers: str | _list[str] = ..., - shipmentTypes: typing_extensions.Literal[ - "BY_MAIL", "RETURNLESS", "CONTACT_CUSTOMER_SUPPORT" - ] - | _list[ - typing_extensions.Literal[ - "BY_MAIL", "RETURNLESS", "CONTACT_CUSTOMER_SUPPORT" - ] - ] = ..., - **kwargs: typing.Any, - ) -> OrderreturnsListResponseHttpRequest: ... - def list_next( - self, - previous_request: OrderreturnsListResponseHttpRequest, - previous_response: OrderreturnsListResponse, - ) -> OrderreturnsListResponseHttpRequest | None: ... - def process( - self, - *, - merchantId: str, - returnId: str, - body: OrderreturnsProcessRequest = ..., - **kwargs: typing.Any, - ) -> OrderreturnsProcessResponseHttpRequest: ... - def labels(self) -> LabelsResource: ... - - @typing.type_check_only - class OrdersResource(googleapiclient.discovery.Resource): - def acknowledge( - self, - *, - merchantId: str, - orderId: str, - body: OrdersAcknowledgeRequest = ..., - **kwargs: typing.Any, - ) -> OrdersAcknowledgeResponseHttpRequest: ... - def advancetestorder( - self, *, merchantId: str, orderId: str, **kwargs: typing.Any - ) -> OrdersAdvanceTestOrderResponseHttpRequest: ... - def cancel( - self, - *, - merchantId: str, - orderId: str, - body: OrdersCancelRequest = ..., - **kwargs: typing.Any, - ) -> OrdersCancelResponseHttpRequest: ... - def cancellineitem( - self, - *, - merchantId: str, - orderId: str, - body: OrdersCancelLineItemRequest = ..., - **kwargs: typing.Any, - ) -> OrdersCancelLineItemResponseHttpRequest: ... - def canceltestorderbycustomer( - self, - *, - merchantId: str, - orderId: str, - body: OrdersCancelTestOrderByCustomerRequest = ..., - **kwargs: typing.Any, - ) -> OrdersCancelTestOrderByCustomerResponseHttpRequest: ... - def captureOrder( - self, - *, - merchantId: str, - orderId: str, - body: CaptureOrderRequest = ..., - **kwargs: typing.Any, - ) -> CaptureOrderResponseHttpRequest: ... - def createtestorder( - self, - *, - merchantId: str, - body: OrdersCreateTestOrderRequest = ..., - **kwargs: typing.Any, - ) -> OrdersCreateTestOrderResponseHttpRequest: ... - def createtestreturn( - self, - *, - merchantId: str, - orderId: str, - body: OrdersCreateTestReturnRequest = ..., - **kwargs: typing.Any, - ) -> OrdersCreateTestReturnResponseHttpRequest: ... - def get( - self, *, merchantId: str, orderId: str, **kwargs: typing.Any - ) -> OrderHttpRequest: ... - def getbymerchantorderid( - self, *, merchantId: str, merchantOrderId: str, **kwargs: typing.Any - ) -> OrdersGetByMerchantOrderIdResponseHttpRequest: ... - def gettestordertemplate( - self, - *, - merchantId: str, - templateName: typing_extensions.Literal[ - "TEMPLATE1", - "TEMPLATE2", - "TEMPLATE1A", - "TEMPLATE1B", - "TEMPLATE3", - "TEMPLATE4", - ], - country: str = ..., - **kwargs: typing.Any, - ) -> OrdersGetTestOrderTemplateResponseHttpRequest: ... - def instorerefundlineitem( - self, - *, - merchantId: str, - orderId: str, - body: OrdersInStoreRefundLineItemRequest = ..., - **kwargs: typing.Any, - ) -> OrdersInStoreRefundLineItemResponseHttpRequest: ... - def list( - self, - *, - merchantId: str, - acknowledged: bool = ..., - maxResults: int = ..., - orderBy: str = ..., - pageToken: str = ..., - placedDateEnd: str = ..., - placedDateStart: str = ..., - statuses: typing_extensions.Literal[ - "ACTIVE", - "COMPLETED", - "CANCELED", - "IN_PROGRESS", - "PENDING_SHIPMENT", - "PARTIALLY_SHIPPED", - "SHIPPED", - "PARTIALLY_DELIVERED", - "DELIVERED", - "PARTIALLY_RETURNED", - "RETURNED", - ] - | _list[ - typing_extensions.Literal[ - "ACTIVE", - "COMPLETED", - "CANCELED", - "IN_PROGRESS", - "PENDING_SHIPMENT", - "PARTIALLY_SHIPPED", - "SHIPPED", - "PARTIALLY_DELIVERED", - "DELIVERED", - "PARTIALLY_RETURNED", - "RETURNED", - ] - ] = ..., - **kwargs: typing.Any, - ) -> OrdersListResponseHttpRequest: ... - def list_next( - self, - previous_request: OrdersListResponseHttpRequest, - previous_response: OrdersListResponse, - ) -> OrdersListResponseHttpRequest | None: ... - def refunditem( - self, - *, - merchantId: str, - orderId: str, - body: OrdersRefundItemRequest = ..., - **kwargs: typing.Any, - ) -> OrdersRefundItemResponseHttpRequest: ... - def refundorder( - self, - *, - merchantId: str, - orderId: str, - body: OrdersRefundOrderRequest = ..., - **kwargs: typing.Any, - ) -> OrdersRefundOrderResponseHttpRequest: ... - def rejectreturnlineitem( - self, - *, - merchantId: str, - orderId: str, - body: OrdersRejectReturnLineItemRequest = ..., - **kwargs: typing.Any, - ) -> OrdersRejectReturnLineItemResponseHttpRequest: ... - def returnrefundlineitem( - self, - *, - merchantId: str, - orderId: str, - body: OrdersReturnRefundLineItemRequest = ..., - **kwargs: typing.Any, - ) -> OrdersReturnRefundLineItemResponseHttpRequest: ... - def setlineitemmetadata( - self, - *, - merchantId: str, - orderId: str, - body: OrdersSetLineItemMetadataRequest = ..., - **kwargs: typing.Any, - ) -> OrdersSetLineItemMetadataResponseHttpRequest: ... - def shiplineitems( - self, - *, - merchantId: str, - orderId: str, - body: OrdersShipLineItemsRequest = ..., - **kwargs: typing.Any, - ) -> OrdersShipLineItemsResponseHttpRequest: ... - def updatelineitemshippingdetails( - self, - *, - merchantId: str, - orderId: str, - body: OrdersUpdateLineItemShippingDetailsRequest = ..., - **kwargs: typing.Any, - ) -> OrdersUpdateLineItemShippingDetailsResponseHttpRequest: ... - def updatemerchantorderid( - self, - *, - merchantId: str, - orderId: str, - body: OrdersUpdateMerchantOrderIdRequest = ..., - **kwargs: typing.Any, - ) -> OrdersUpdateMerchantOrderIdResponseHttpRequest: ... - def updateshipment( - self, - *, - merchantId: str, - orderId: str, - body: OrdersUpdateShipmentRequest = ..., - **kwargs: typing.Any, - ) -> OrdersUpdateShipmentResponseHttpRequest: ... - @typing.type_check_only class OrdertrackingsignalsResource(googleapiclient.discovery.Resource): def create( @@ -1440,7 +1053,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): def accounts(self) -> AccountsResource: ... def accountstatuses(self) -> AccountstatusesResource: ... def accounttax(self) -> AccounttaxResource: ... - def buyongoogleprograms(self) -> BuyongoogleprogramsResource: ... def collections(self) -> CollectionsResource: ... def collectionstatuses(self) -> CollectionstatusesResource: ... def conversionsources(self) -> ConversionsourcesResource: ... @@ -1451,10 +1063,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): def liasettings(self) -> LiasettingsResource: ... def localinventory(self) -> LocalinventoryResource: ... def merchantsupport(self) -> MerchantsupportResource: ... - def orderinvoices(self) -> OrderinvoicesResource: ... - def orderreports(self) -> OrderreportsResource: ... - def orderreturns(self) -> OrderreturnsResource: ... - def orders(self) -> OrdersResource: ... def ordertrackingsignals(self) -> OrdertrackingsignalsResource: ... def pos(self) -> PosResource: ... def productdeliverytime(self) -> ProductdeliverytimeResource: ... @@ -1611,22 +1219,6 @@ class AccounttaxListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AccounttaxListResponse: ... -@typing.type_check_only -class BuyOnGoogleProgramStatusHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> BuyOnGoogleProgramStatus: ... - -@typing.type_check_only -class CaptureOrderResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> CaptureOrderResponse: ... - @typing.type_check_only class CheckoutSettingsHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1925,22 +1517,6 @@ class LocalinventoryCustomBatchResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> LocalinventoryCustomBatchResponse: ... -@typing.type_check_only -class MerchantOrderReturnHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> MerchantOrderReturn: ... - -@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 OrderTrackingSignalHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1949,242 +1525,6 @@ class OrderTrackingSignalHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> OrderTrackingSignal: ... -@typing.type_check_only -class OrderinvoicesCreateChargeInvoiceResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderinvoicesCreateChargeInvoiceResponse: ... - -@typing.type_check_only -class OrderinvoicesCreateRefundInvoiceResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderinvoicesCreateRefundInvoiceResponse: ... - -@typing.type_check_only -class OrderreportsListDisbursementsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreportsListDisbursementsResponse: ... - -@typing.type_check_only -class OrderreportsListTransactionsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreportsListTransactionsResponse: ... - -@typing.type_check_only -class OrderreturnsAcknowledgeResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreturnsAcknowledgeResponse: ... - -@typing.type_check_only -class OrderreturnsCreateOrderReturnResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreturnsCreateOrderReturnResponse: ... - -@typing.type_check_only -class OrderreturnsListResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreturnsListResponse: ... - -@typing.type_check_only -class OrderreturnsProcessResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrderreturnsProcessResponse: ... - -@typing.type_check_only -class OrdersAcknowledgeResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersAcknowledgeResponse: ... - -@typing.type_check_only -class OrdersAdvanceTestOrderResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersAdvanceTestOrderResponse: ... - -@typing.type_check_only -class OrdersCancelLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersCancelLineItemResponse: ... - -@typing.type_check_only -class OrdersCancelResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersCancelResponse: ... - -@typing.type_check_only -class OrdersCancelTestOrderByCustomerResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersCancelTestOrderByCustomerResponse: ... - -@typing.type_check_only -class OrdersCreateTestOrderResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersCreateTestOrderResponse: ... - -@typing.type_check_only -class OrdersCreateTestReturnResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersCreateTestReturnResponse: ... - -@typing.type_check_only -class OrdersGetByMerchantOrderIdResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersGetByMerchantOrderIdResponse: ... - -@typing.type_check_only -class OrdersGetTestOrderTemplateResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersGetTestOrderTemplateResponse: ... - -@typing.type_check_only -class OrdersInStoreRefundLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersInStoreRefundLineItemResponse: ... - -@typing.type_check_only -class OrdersListResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersListResponse: ... - -@typing.type_check_only -class OrdersRefundItemResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersRefundItemResponse: ... - -@typing.type_check_only -class OrdersRefundOrderResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersRefundOrderResponse: ... - -@typing.type_check_only -class OrdersRejectReturnLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersRejectReturnLineItemResponse: ... - -@typing.type_check_only -class OrdersReturnRefundLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersReturnRefundLineItemResponse: ... - -@typing.type_check_only -class OrdersSetLineItemMetadataResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersSetLineItemMetadataResponse: ... - -@typing.type_check_only -class OrdersShipLineItemsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersShipLineItemsResponse: ... - -@typing.type_check_only -class OrdersUpdateLineItemShippingDetailsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersUpdateLineItemShippingDetailsResponse: ... - -@typing.type_check_only -class OrdersUpdateMerchantOrderIdResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersUpdateMerchantOrderIdResponse: ... - -@typing.type_check_only -class OrdersUpdateShipmentResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> OrdersUpdateShipmentResponse: ... - @typing.type_check_only class PosCustomBatchResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2369,14 +1709,6 @@ class ReturnPolicyOnlineHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReturnPolicyOnline: ... -@typing.type_check_only -class ReturnShippingLabelHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnShippingLabel: ... - @typing.type_check_only class ReturnaddressCustomBatchResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi index 3252f95e..52d365ef 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi @@ -398,9 +398,6 @@ class ActionReason(typing_extensions.TypedDict, total=False): detail: str message: str -@typing.type_check_only -class ActivateBuyOnGoogleProgramRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class Address(typing_extensions.TypedDict, total=False): administrativeArea: str @@ -414,11 +411,6 @@ class AlternateDisputeResolution(typing_extensions.TypedDict, total=False): label: str uri: str -@typing.type_check_only -class Amount(typing_extensions.TypedDict, total=False): - priceAmount: Price - taxAmount: Price - @typing.type_check_only class AttributionSettings(typing_extensions.TypedDict, total=False): attributionLookbackWindowInDays: int @@ -504,41 +496,6 @@ class BuiltInUserInputAction(typing_extensions.TypedDict, total=False): class BusinessDayConfig(typing_extensions.TypedDict, total=False): businessDays: _list[str] -@typing.type_check_only -class BuyOnGoogleProgramStatus(typing_extensions.TypedDict, total=False): - businessModel: _list[ - typing_extensions.Literal[ - "BUSINESS_MODEL_UNSPECIFIED", - "MANUFACTURER", - "IMPORTER", - "RESELLER", - "OTHER", - ] - ] - customerServicePendingEmail: str - customerServicePendingPhoneNumber: str - customerServicePendingPhoneRegionCode: str - customerServiceVerifiedEmail: str - customerServiceVerifiedPhoneNumber: str - customerServiceVerifiedPhoneRegionCode: str - onlineSalesChannel: typing_extensions.Literal[ - "ONLINE_SALES_CHANNEL_UNSPECIFIED", - "GOOGLE_EXCLUSIVE", - "GOOGLE_AND_OTHER_WEBSITES", - ] - participationStage: typing_extensions.Literal[ - "PROGRAM_PARTICIPATION_STAGE_UNSPECIFIED", - "NOT_ELIGIBLE", - "ELIGIBLE", - "ONBOARDING", - "ELIGIBLE_FOR_REVIEW", - "PENDING_REVIEW", - "REVIEW_DISAPPROVED", - "ACTIVE", - "PAUSED", - "DEPRECATED", - ] - @typing.type_check_only class Callout(typing_extensions.TypedDict, total=False): fullMessage: TextWithTooltip @@ -546,15 +503,6 @@ class Callout(typing_extensions.TypedDict, total=False): "CALLOUT_STYLE_HINT_UNSPECIFIED", "ERROR", "WARNING", "INFO" ] -@typing.type_check_only -class CaptureOrderRequest(typing_extensions.TypedDict, total=False): ... - -@typing.type_check_only -class CaptureOrderResponse(typing_extensions.TypedDict, total=False): - executionStatus: typing_extensions.Literal[ - "EXECUTION_STATUS_UNSPECIFIED", "EXECUTED", "DUPLICATE" - ] - @typing.type_check_only class CarrierRate(typing_extensions.TypedDict, total=False): carrierName: str @@ -703,11 +651,6 @@ class CustomAttribute(typing_extensions.TypedDict, total=False): name: str value: str -@typing.type_check_only -class CustomerReturnReason(typing_extensions.TypedDict, total=False): - description: str - reasonCode: str - @typing.type_check_only class CutoffTime(typing_extensions.TypedDict, total=False): hour: int @@ -1081,16 +1024,6 @@ class Installment(typing_extensions.TypedDict, total=False): downpayment: Price months: str -@typing.type_check_only -class InvoiceSummary(typing_extensions.TypedDict, total=False): - additionalChargeSummaries: _list[InvoiceSummaryAdditionalChargeSummary] - productTotal: Amount - -@typing.type_check_only -class InvoiceSummaryAdditionalChargeSummary(typing_extensions.TypedDict, total=False): - totalAmount: Amount - type: str - @typing.type_check_only class LabelIds(typing_extensions.TypedDict, total=False): labelIds: _list[str] @@ -1328,35 +1261,6 @@ class MerchantCenterDestination(typing_extensions.TypedDict, total=False): destinationId: str displayName: str -@typing.type_check_only -class MerchantOrderReturn(typing_extensions.TypedDict, total=False): - creationDate: str - merchantOrderId: str - orderId: str - orderReturnId: str - returnItems: _list[MerchantOrderReturnItem] - returnPricingInfo: ReturnPricingInfo - returnShipments: _list[ReturnShipment] - -@typing.type_check_only -class MerchantOrderReturnItem(typing_extensions.TypedDict, total=False): - customerReturnReason: CustomerReturnReason - itemId: str - merchantRejectionReason: MerchantRejectionReason - merchantReturnReason: RefundReason - product: OrderLineItemProduct - refundableAmount: MonetaryAmount - returnItemId: str - returnShipmentIds: _list[str] - shipmentGroupId: str - shipmentUnitId: str - state: str - -@typing.type_check_only -class MerchantRejectionReason(typing_extensions.TypedDict, total=False): - description: str - reasonCode: str - @typing.type_check_only class MethodQuota(typing_extensions.TypedDict, total=False): method: str @@ -1401,261 +1305,6 @@ class MinimumOrderValueTableStoreCodeSetWithMov( storeCodes: _list[str] value: Price -@typing.type_check_only -class MonetaryAmount(typing_extensions.TypedDict, total=False): - priceAmount: Price - taxAmount: Price - -@typing.type_check_only -class OnboardBuyOnGoogleProgramRequest(typing_extensions.TypedDict, total=False): - customerServiceEmail: str - -@typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): - acknowledged: bool - annotations: _list[OrderOrderAnnotation] - billingAddress: OrderAddress - customer: OrderCustomer - deliveryDetails: OrderDeliveryDetails - id: str - kind: str - lineItems: _list[OrderLineItem] - merchantId: str - merchantOrderId: str - netPriceAmount: Price - netTaxAmount: Price - paymentStatus: str - pickupDetails: OrderPickupDetails - placedDate: str - promotions: _list[OrderPromotion] - refunds: _list[OrderRefund] - shipments: _list[OrderShipment] - shippingCost: Price - shippingCostTax: Price - status: str - taxCollector: str - -@typing.type_check_only -class OrderAddress(typing_extensions.TypedDict, total=False): - country: str - fullAddress: _list[str] - isPostOfficeBox: bool - locality: str - postalCode: str - recipientName: str - region: str - streetAddress: _list[str] - -@typing.type_check_only -class OrderCancellation(typing_extensions.TypedDict, total=False): - actor: str - creationDate: str - quantity: int - reason: str - reasonText: str - -@typing.type_check_only -class OrderCustomer(typing_extensions.TypedDict, total=False): - fullName: str - invoiceReceivingEmail: str - loyaltyInfo: OrderCustomerLoyaltyInfo - marketingRightsInfo: OrderCustomerMarketingRightsInfo - -@typing.type_check_only -class OrderCustomerLoyaltyInfo(typing_extensions.TypedDict, total=False): - loyaltyNumber: str - name: str - -@typing.type_check_only -class OrderCustomerMarketingRightsInfo(typing_extensions.TypedDict, total=False): - explicitMarketingPreference: str - lastUpdatedTimestamp: str - marketingEmailAddress: str - -@typing.type_check_only -class OrderDeliveryDetails(typing_extensions.TypedDict, total=False): - address: OrderAddress - phoneNumber: str - -@typing.type_check_only -class OrderLineItem(typing_extensions.TypedDict, total=False): - adjustments: _list[OrderLineItemAdjustment] - annotations: _list[OrderMerchantProvidedAnnotation] - cancellations: _list[OrderCancellation] - id: str - price: Price - product: OrderLineItemProduct - quantityCanceled: int - quantityDelivered: int - quantityOrdered: int - quantityPending: int - quantityReadyForPickup: int - quantityReturned: int - quantityShipped: int - quantityUndeliverable: int - returnInfo: OrderLineItemReturnInfo - returns: _list[OrderReturn] - shippingDetails: OrderLineItemShippingDetails - tax: Price - -@typing.type_check_only -class OrderLineItemAdjustment(typing_extensions.TypedDict, total=False): - priceAdjustment: Price - taxAdjustment: Price - type: str - -@typing.type_check_only -class OrderLineItemProduct(typing_extensions.TypedDict, total=False): - brand: str - condition: str - contentLanguage: str - fees: _list[OrderLineItemProductFee] - gtin: str - id: str - imageLink: str - itemGroupId: str - mpn: str - offerId: str - price: Price - shownImage: str - targetCountry: str - title: str - variantAttributes: _list[OrderLineItemProductVariantAttribute] - -@typing.type_check_only -class OrderLineItemProductFee(typing_extensions.TypedDict, total=False): - amount: Price - name: str - -@typing.type_check_only -class OrderLineItemProductVariantAttribute(typing_extensions.TypedDict, total=False): - dimension: str - value: str - -@typing.type_check_only -class OrderLineItemReturnInfo(typing_extensions.TypedDict, total=False): - daysToReturn: int - isReturnable: bool - policyUrl: str - -@typing.type_check_only -class OrderLineItemShippingDetails(typing_extensions.TypedDict, total=False): - deliverByDate: str - method: OrderLineItemShippingDetailsMethod - pickupPromiseInMinutes: int - shipByDate: str - type: str - -@typing.type_check_only -class OrderLineItemShippingDetailsMethod(typing_extensions.TypedDict, total=False): - carrier: str - maxDaysInTransit: int - methodName: str - minDaysInTransit: int - -@typing.type_check_only -class OrderMerchantProvidedAnnotation(typing_extensions.TypedDict, total=False): - key: str - value: str - -@typing.type_check_only -class OrderOrderAnnotation(typing_extensions.TypedDict, total=False): - key: str - value: str - -@typing.type_check_only -class OrderPickupDetails(typing_extensions.TypedDict, total=False): - address: OrderAddress - collectors: _list[OrderPickupDetailsCollector] - locationId: str - pickupType: str - -@typing.type_check_only -class OrderPickupDetailsCollector(typing_extensions.TypedDict, total=False): - name: str - phoneNumber: str - -@typing.type_check_only -class OrderPromotion(typing_extensions.TypedDict, total=False): - applicableItems: _list[OrderPromotionItem] - appliedItems: _list[OrderPromotionItem] - endTime: str - funder: str - merchantPromotionId: str - priceValue: Price - shortTitle: str - startTime: str - subtype: str - taxValue: Price - title: str - type: str - -@typing.type_check_only -class OrderPromotionItem(typing_extensions.TypedDict, total=False): - lineItemId: str - offerId: str - productId: str - quantity: int - -@typing.type_check_only -class OrderRefund(typing_extensions.TypedDict, total=False): - actor: str - amount: Price - creationDate: str - reason: str - reasonText: str - -@typing.type_check_only -class OrderReportDisbursement(typing_extensions.TypedDict, total=False): - disbursementAmount: Price - disbursementCreationDate: str - disbursementDate: str - disbursementId: str - merchantId: str - -@typing.type_check_only -class OrderReportTransaction(typing_extensions.TypedDict, total=False): - disbursementAmount: Price - disbursementCreationDate: str - disbursementDate: str - disbursementId: str - merchantId: str - merchantOrderId: str - orderId: str - productAmount: ProductAmount - transactionDate: str - -@typing.type_check_only -class OrderReturn(typing_extensions.TypedDict, total=False): - actor: str - creationDate: str - quantity: int - reason: str - reasonText: str - -@typing.type_check_only -class OrderShipment(typing_extensions.TypedDict, total=False): - carrier: str - creationDate: str - deliveryDate: str - id: str - lineItems: _list[OrderShipmentLineItemShipment] - scheduledDeliveryDetails: OrderShipmentScheduledDeliveryDetails - shipmentGroupId: str - status: str - trackingId: str - -@typing.type_check_only -class OrderShipmentLineItemShipment(typing_extensions.TypedDict, total=False): - lineItemId: str - productId: str - quantity: int - -@typing.type_check_only -class OrderShipmentScheduledDeliveryDetails(typing_extensions.TypedDict, total=False): - carrierPhoneNumber: str - scheduledDate: str - @typing.type_check_only class OrderTrackingSignal(typing_extensions.TypedDict, total=False): customerShippingFee: PriceAmount @@ -1706,401 +1355,6 @@ class OrderTrackingSignalShippingInfo(typing_extensions.TypedDict, total=False): ] trackingId: str -@typing.type_check_only -class OrderinvoicesCreateChargeInvoiceRequest(typing_extensions.TypedDict, total=False): - invoiceId: str - invoiceSummary: InvoiceSummary - lineItemInvoices: _list[ShipmentInvoiceLineItemInvoice] - operationId: str - shipmentGroupId: str - -@typing.type_check_only -class OrderinvoicesCreateChargeInvoiceResponse( - typing_extensions.TypedDict, total=False -): - executionStatus: str - kind: str - -@typing.type_check_only -class OrderinvoicesCreateRefundInvoiceRequest(typing_extensions.TypedDict, total=False): - invoiceId: str - operationId: str - refundOnlyOption: ( - OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption - ) - returnOption: OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption - shipmentInvoices: _list[ShipmentInvoice] - -@typing.type_check_only -class OrderinvoicesCreateRefundInvoiceResponse( - typing_extensions.TypedDict, total=False -): - executionStatus: str - kind: str - -@typing.type_check_only -class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption( - typing_extensions.TypedDict, total=False -): - description: str - reason: str - -@typing.type_check_only -class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption( - typing_extensions.TypedDict, total=False -): - description: str - reason: str - -@typing.type_check_only -class OrderreportsListDisbursementsResponse(typing_extensions.TypedDict, total=False): - disbursements: _list[OrderReportDisbursement] - kind: str - nextPageToken: str - -@typing.type_check_only -class OrderreportsListTransactionsResponse(typing_extensions.TypedDict, total=False): - kind: str - nextPageToken: str - transactions: _list[OrderReportTransaction] - -@typing.type_check_only -class OrderreturnsAcknowledgeRequest(typing_extensions.TypedDict, total=False): - operationId: str - -@typing.type_check_only -class OrderreturnsAcknowledgeResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrderreturnsCreateOrderReturnRequest(typing_extensions.TypedDict, total=False): - lineItems: _list[OrderreturnsLineItem] - operationId: str - orderId: str - returnMethodType: str - -@typing.type_check_only -class OrderreturnsCreateOrderReturnResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - orderReturn: MerchantOrderReturn - -@typing.type_check_only -class OrderreturnsLineItem(typing_extensions.TypedDict, total=False): - lineItemId: str - productId: str - quantity: int - -@typing.type_check_only -class OrderreturnsListResponse(typing_extensions.TypedDict, total=False): - kind: str - nextPageToken: str - resources: _list[MerchantOrderReturn] - -@typing.type_check_only -class OrderreturnsPartialRefund(typing_extensions.TypedDict, total=False): - priceAmount: Price - taxAmount: Price - -@typing.type_check_only -class OrderreturnsProcessRequest(typing_extensions.TypedDict, total=False): - fullChargeReturnShippingCost: bool - operationId: str - refundShippingFee: OrderreturnsRefundOperation - returnItems: _list[OrderreturnsReturnItem] - -@typing.type_check_only -class OrderreturnsProcessResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrderreturnsRefundOperation(typing_extensions.TypedDict, total=False): - fullRefund: bool - partialRefund: OrderreturnsPartialRefund - paymentType: str - reasonText: str - returnRefundReason: str - -@typing.type_check_only -class OrderreturnsRejectOperation(typing_extensions.TypedDict, total=False): - reason: str - reasonText: str - -@typing.type_check_only -class OrderreturnsReturnItem(typing_extensions.TypedDict, total=False): - refund: OrderreturnsRefundOperation - reject: OrderreturnsRejectOperation - returnItemId: str - -@typing.type_check_only -class OrdersAcknowledgeRequest(typing_extensions.TypedDict, total=False): - operationId: str - -@typing.type_check_only -class OrdersAcknowledgeResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersAdvanceTestOrderResponse(typing_extensions.TypedDict, total=False): - kind: str - -@typing.type_check_only -class OrdersCancelLineItemRequest(typing_extensions.TypedDict, total=False): - lineItemId: str - operationId: str - productId: str - quantity: int - reason: str - reasonText: str - -@typing.type_check_only -class OrdersCancelLineItemResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersCancelRequest(typing_extensions.TypedDict, total=False): - operationId: str - reason: str - reasonText: str - -@typing.type_check_only -class OrdersCancelResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersCancelTestOrderByCustomerRequest(typing_extensions.TypedDict, total=False): - reason: str - -@typing.type_check_only -class OrdersCancelTestOrderByCustomerResponse(typing_extensions.TypedDict, total=False): - kind: str - -@typing.type_check_only -class OrdersCreateTestOrderRequest(typing_extensions.TypedDict, total=False): - country: str - templateName: str - testOrder: TestOrder - -@typing.type_check_only -class OrdersCreateTestOrderResponse(typing_extensions.TypedDict, total=False): - kind: str - orderId: str - -@typing.type_check_only -class OrdersCreateTestReturnRequest(typing_extensions.TypedDict, total=False): - items: _list[OrdersCustomBatchRequestEntryCreateTestReturnReturnItem] - -@typing.type_check_only -class OrdersCreateTestReturnResponse(typing_extensions.TypedDict, total=False): - kind: str - returnId: str - -@typing.type_check_only -class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem( - typing_extensions.TypedDict, total=False -): - lineItemId: str - quantity: int - -@typing.type_check_only -class OrdersCustomBatchRequestEntryRefundItemItem( - typing_extensions.TypedDict, total=False -): - amount: MonetaryAmount - fullRefund: bool - lineItemId: str - productId: str - quantity: int - -@typing.type_check_only -class OrdersCustomBatchRequestEntryRefundItemShipping( - typing_extensions.TypedDict, total=False -): - amount: Price - fullRefund: bool - -@typing.type_check_only -class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo( - typing_extensions.TypedDict, total=False -): - carrier: str - shipmentId: str - trackingId: str - -@typing.type_check_only -class OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails( - typing_extensions.TypedDict, total=False -): - carrierPhoneNumber: str - scheduledDate: str - -@typing.type_check_only -class OrdersGetByMerchantOrderIdResponse(typing_extensions.TypedDict, total=False): - kind: str - order: Order - -@typing.type_check_only -class OrdersGetTestOrderTemplateResponse(typing_extensions.TypedDict, total=False): - kind: str - template: TestOrder - -@typing.type_check_only -class OrdersInStoreRefundLineItemRequest(typing_extensions.TypedDict, total=False): - lineItemId: str - operationId: str - priceAmount: Price - productId: str - quantity: int - reason: str - reasonText: str - taxAmount: Price - -@typing.type_check_only -class OrdersInStoreRefundLineItemResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersListResponse(typing_extensions.TypedDict, total=False): - kind: str - nextPageToken: str - resources: _list[Order] - -@typing.type_check_only -class OrdersRefundItemRequest(typing_extensions.TypedDict, total=False): - items: _list[OrdersCustomBatchRequestEntryRefundItemItem] - operationId: str - reason: str - reasonText: str - shipping: OrdersCustomBatchRequestEntryRefundItemShipping - -@typing.type_check_only -class OrdersRefundItemResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersRefundOrderRequest(typing_extensions.TypedDict, total=False): - amount: MonetaryAmount - fullRefund: bool - operationId: str - reason: str - reasonText: str - -@typing.type_check_only -class OrdersRefundOrderResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersRejectReturnLineItemRequest(typing_extensions.TypedDict, total=False): - lineItemId: str - operationId: str - productId: str - quantity: int - reason: str - reasonText: str - -@typing.type_check_only -class OrdersRejectReturnLineItemResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersReturnRefundLineItemRequest(typing_extensions.TypedDict, total=False): - lineItemId: str - operationId: str - priceAmount: Price - productId: str - quantity: int - reason: str - reasonText: str - taxAmount: Price - -@typing.type_check_only -class OrdersReturnRefundLineItemResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersSetLineItemMetadataRequest(typing_extensions.TypedDict, total=False): - annotations: _list[OrderMerchantProvidedAnnotation] - lineItemId: str - operationId: str - productId: str - -@typing.type_check_only -class OrdersSetLineItemMetadataResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersShipLineItemsRequest(typing_extensions.TypedDict, total=False): - lineItems: _list[OrderShipmentLineItemShipment] - operationId: str - shipmentGroupId: str - shipmentInfos: _list[OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo] - -@typing.type_check_only -class OrdersShipLineItemsResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersUpdateLineItemShippingDetailsRequest( - typing_extensions.TypedDict, total=False -): - deliverByDate: str - lineItemId: str - operationId: str - productId: str - shipByDate: str - -@typing.type_check_only -class OrdersUpdateLineItemShippingDetailsResponse( - typing_extensions.TypedDict, total=False -): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersUpdateMerchantOrderIdRequest(typing_extensions.TypedDict, total=False): - merchantOrderId: str - operationId: str - -@typing.type_check_only -class OrdersUpdateMerchantOrderIdResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class OrdersUpdateShipmentRequest(typing_extensions.TypedDict, total=False): - carrier: str - deliveryDate: str - lastPickupDate: str - operationId: str - readyPickupDate: str - scheduledDeliveryDetails: ( - OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails - ) - shipmentId: str - status: str - trackingId: str - undeliveredDate: str - -@typing.type_check_only -class OrdersUpdateShipmentResponse(typing_extensions.TypedDict, total=False): - executionStatus: str - kind: str - -@typing.type_check_only -class PauseBuyOnGoogleProgramRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class PaymentServiceProviderLinkInfo(typing_extensions.TypedDict, total=False): externalAccountBusinessCountry: str @@ -2400,12 +1654,6 @@ class Product(typing_extensions.TypedDict, total=False): unitPricingMeasure: ProductUnitPricingMeasure virtualModelLink: str -@typing.type_check_only -class ProductAmount(typing_extensions.TypedDict, total=False): - priceAmount: Price - remittedTaxAmount: Price - taxAmount: Price - @typing.type_check_only class ProductCertification(typing_extensions.TypedDict, total=False): certificationAuthority: str @@ -2846,11 +2094,6 @@ class RecommendationDescription(typing_extensions.TypedDict, total=False): text: str type: typing_extensions.Literal["DESCRIPTION_TYPE_UNSPECIFIED", "SHORT", "LONG"] -@typing.type_check_only -class RefundReason(typing_extensions.TypedDict, total=False): - description: str - reasonCode: str - @typing.type_check_only class Region(typing_extensions.TypedDict, total=False): displayName: str @@ -2980,11 +2223,6 @@ class RequestPhoneVerificationRequest(typing_extensions.TypedDict, total=False): class RequestPhoneVerificationResponse(typing_extensions.TypedDict, total=False): verificationId: str -@typing.type_check_only -class RequestReviewBuyOnGoogleProgramRequest( - typing_extensions.TypedDict, total=False -): ... - @typing.type_check_only class RequestReviewFreeListingsRequest(typing_extensions.TypedDict, total=False): regionCode: str @@ -3092,30 +2330,6 @@ class ReturnPolicySeasonalOverride(typing_extensions.TypedDict, total=False): policy: ReturnPolicyPolicy startDate: str -@typing.type_check_only -class ReturnPricingInfo(typing_extensions.TypedDict, total=False): - chargeReturnShippingFee: bool - maxReturnShippingFee: MonetaryAmount - refundableItemsTotalAmount: MonetaryAmount - refundableShippingAmount: MonetaryAmount - totalRefundedAmount: MonetaryAmount - -@typing.type_check_only -class ReturnShipment(typing_extensions.TypedDict, total=False): - creationDate: str - deliveryDate: str - returnMethodType: str - shipmentId: str - shipmentTrackingInfos: _list[ShipmentTrackingInfo] - shippingDate: str - state: str - -@typing.type_check_only -class ReturnShippingLabel(typing_extensions.TypedDict, total=False): - carrier: str - labelUri: str - trackingId: str - @typing.type_check_only class ReturnaddressCustomBatchRequest(typing_extensions.TypedDict, total=False): entries: _list[ReturnaddressCustomBatchRequestEntry] @@ -3313,24 +2527,6 @@ class SettlementtransactionsListResponse(typing_extensions.TypedDict, total=Fals nextPageToken: str resources: _list[SettlementTransaction] -@typing.type_check_only -class ShipmentInvoice(typing_extensions.TypedDict, total=False): - invoiceSummary: InvoiceSummary - lineItemInvoices: _list[ShipmentInvoiceLineItemInvoice] - shipmentGroupId: str - -@typing.type_check_only -class ShipmentInvoiceLineItemInvoice(typing_extensions.TypedDict, total=False): - lineItemId: str - productId: str - shipmentUnitIds: _list[str] - unitInvoice: UnitInvoice - -@typing.type_check_only -class ShipmentTrackingInfo(typing_extensions.TypedDict, total=False): - carrier: str - trackingNumber: str - @typing.type_check_only class ShippingSettings(typing_extensions.TypedDict, total=False): accountId: str @@ -3445,74 +2641,6 @@ class Table(typing_extensions.TypedDict, total=False): rowHeaders: Headers rows: _list[Row] -@typing.type_check_only -class TestOrder(typing_extensions.TypedDict, total=False): - deliveryDetails: TestOrderDeliveryDetails - enableOrderinvoices: bool - kind: str - lineItems: _list[TestOrderLineItem] - notificationMode: str - pickupDetails: TestOrderPickupDetails - predefinedBillingAddress: str - predefinedDeliveryAddress: str - predefinedEmail: str - predefinedPickupDetails: str - promotions: _list[OrderPromotion] - shippingCost: Price - shippingOption: str - -@typing.type_check_only -class TestOrderAddress(typing_extensions.TypedDict, total=False): - country: str - fullAddress: _list[str] - isPostOfficeBox: bool - locality: str - postalCode: str - recipientName: str - region: str - streetAddress: _list[str] - -@typing.type_check_only -class TestOrderDeliveryDetails(typing_extensions.TypedDict, total=False): - address: TestOrderAddress - isScheduledDelivery: bool - phoneNumber: str - -@typing.type_check_only -class TestOrderLineItem(typing_extensions.TypedDict, total=False): - product: TestOrderLineItemProduct - quantityOrdered: int - returnInfo: OrderLineItemReturnInfo - shippingDetails: OrderLineItemShippingDetails - -@typing.type_check_only -class TestOrderLineItemProduct(typing_extensions.TypedDict, total=False): - brand: str - condition: str - contentLanguage: str - fees: _list[OrderLineItemProductFee] - gtin: str - imageLink: str - itemGroupId: str - mpn: str - offerId: str - price: Price - targetCountry: str - title: str - variantAttributes: _list[OrderLineItemProductVariantAttribute] - -@typing.type_check_only -class TestOrderPickupDetails(typing_extensions.TypedDict, total=False): - locationCode: str - pickupLocationAddress: TestOrderAddress - pickupLocationType: str - pickupPersons: _list[TestOrderPickupDetailsPickupPerson] - -@typing.type_check_only -class TestOrderPickupDetailsPickupPerson(typing_extensions.TypedDict, total=False): - name: str - phoneNumber: str - @typing.type_check_only class TextWithTooltip(typing_extensions.TypedDict, total=False): simpleTooltipValue: str @@ -3572,23 +2700,6 @@ class TriggerActionResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class UndeleteConversionSourceRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class UnitInvoice(typing_extensions.TypedDict, total=False): - additionalCharges: _list[UnitInvoiceAdditionalCharge] - unitPrice: Price - unitPriceTaxes: _list[UnitInvoiceTaxLine] - -@typing.type_check_only -class UnitInvoiceAdditionalCharge(typing_extensions.TypedDict, total=False): - additionalChargeAmount: Amount - type: str - -@typing.type_check_only -class UnitInvoiceTaxLine(typing_extensions.TypedDict, total=False): - taxAmount: Price - taxName: str - taxType: str - @typing.type_check_only class UrlSettings(typing_extensions.TypedDict, total=False): cartUriTemplate: str diff --git a/googleapiclient-stubs/_apis/css/v1/schemas.pyi b/googleapiclient-stubs/_apis/css/v1/schemas.pyi index 0c213d4b..4d107576 100644 --- a/googleapiclient-stubs/_apis/css/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/css/v1/schemas.pyi @@ -59,10 +59,12 @@ class Attributes(typing_extensions.TypedDict, total=False): googleProductCategory: str gtin: str headlineOfferCondition: str + headlineOfferInstallment: HeadlineOfferInstallment headlineOfferLink: str headlineOfferMobileLink: str headlineOfferPrice: Price headlineOfferShippingPrice: Price + headlineOfferSubscriptionCost: HeadlineOfferSubscriptionCost highPrice: Price imageLink: str includedDestinations: _list[str] @@ -138,6 +140,20 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class HeadlineOfferInstallment(typing_extensions.TypedDict, total=False): + amount: Price + downpayment: Price + months: str + +@typing.type_check_only +class HeadlineOfferSubscriptionCost(typing_extensions.TypedDict, total=False): + amount: Price + period: typing_extensions.Literal[ + "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR" + ] + periodLength: str + @typing.type_check_only class ItemLevelIssue(typing_extensions.TypedDict, total=False): applicableCountries: _list[str] diff --git a/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi index b841d44b..8a2c0c8c 100644 --- a/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi @@ -24,6 +24,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): cr: str = ..., cx: str = ..., dateRestrict: str = ..., + enableAlternateSearchHandler: bool = ..., exactTerms: str = ..., excludeTerms: str = ..., fileType: str = ..., @@ -101,6 +102,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): cr: str = ..., cx: str = ..., dateRestrict: str = ..., + enableAlternateSearchHandler: bool = ..., exactTerms: str = ..., excludeTerms: str = ..., fileType: str = ..., diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index b579e0c0..05d82abe 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -627,6 +627,7 @@ class LaunchTemplateResponse(typing_extensions.TypedDict, total=False): class LeaseWorkItemRequest(typing_extensions.TypedDict, total=False): currentWorkerTime: str location: str + projectNumber: str requestedLeaseDuration: str unifiedWorkerRequest: dict[str, typing.Any] workItemTypes: _list[str] @@ -889,6 +890,7 @@ class ReadInstruction(typing_extensions.TypedDict, total=False): class ReportWorkItemStatusRequest(typing_extensions.TypedDict, total=False): currentWorkerTime: str location: str + projectNumber: str unifiedWorkerRequest: dict[str, typing.Any] workItemStatuses: _list[WorkItemStatus] workerId: str @@ -1252,6 +1254,8 @@ class StreamingConfigTask(typing_extensions.TypedDict, total=False): operationalLimits: StreamingOperationalLimits streamingComputationConfigs: _list[StreamingComputationConfig] userStepToStateFamilyNameMap: dict[str, typing.Any] + userWorkerRunnerV1Settings: str + userWorkerRunnerV2Settings: str windmillServiceEndpoint: str windmillServicePort: str diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi index de8c5971..b39f3950 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi @@ -543,6 +543,9 @@ class DataformResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getConfig( + self, *, name: str, **kwargs: typing.Any + ) -> ConfigHttpRequest: ... def list( self, *, @@ -557,6 +560,14 @@ class DataformResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def updateConfig( + self, + *, + name: str, + body: Config = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ConfigHttpRequest: ... def collections(self) -> CollectionsResource: ... def repositories(self) -> RepositoriesResource: ... @@ -602,6 +613,14 @@ class ComputeRepositoryAccessTokenStatusResponseHttpRequest( num_retries: int = 0, ) -> ComputeRepositoryAccessTokenStatusResponse: ... +@typing.type_check_only +class ConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Config: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi index 1ceb1578..81101d8c 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi @@ -102,6 +102,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): class CompilationResultAction(typing_extensions.TypedDict, total=False): assertion: Assertion canonicalTarget: Target + dataPreparation: DataPreparation declaration: Declaration filePath: str notebook: Notebook @@ -117,10 +118,22 @@ class ComputeRepositoryAccessTokenStatusResponse( "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID" ] +@typing.type_check_only +class Config(typing_extensions.TypedDict, total=False): + defaultKmsKeyName: str + name: str + @typing.type_check_only class DataEncryptionState(typing_extensions.TypedDict, total=False): kmsKeyVersionName: str +@typing.type_check_only +class DataPreparation(typing_extensions.TypedDict, total=False): + contents: str + dependencyTargets: _list[Target] + disabled: bool + tags: _list[str] + @typing.type_check_only class Declaration(typing_extensions.TypedDict, total=False): relationDescriptor: RelationDescriptor diff --git a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi index f9744fb9..4c5a4832 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi @@ -94,6 +94,7 @@ class GoogleCloudDatacatalogLineageV1Origin(typing_extensions.TypedDict, total=F "COMPOSER", "LOOKER_STUDIO", "DATAPROC", + "VERTEX_AI", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi index a261b134..f5db4ab2 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi @@ -276,6 +276,30 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): @typing.type_check_only class MigrationJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ObjectsResource(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 create( self, *, @@ -404,6 +428,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): body: VerifyMigrationJobRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def objects(self) -> ObjectsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index 1f185523..adddab53 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -12,7 +12,7 @@ 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" + "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_14", "POSTGRES_15", "POSTGRES_16" ] encryptionConfig: EncryptionConfig initialUser: UserPassword @@ -52,6 +52,10 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] +@typing.type_check_only +class AuthorizedNetwork(typing_extensions.TypedDict, total=False): + cidrRange: str + @typing.type_check_only class BackgroundJobLogEntry(typing_extensions.TypedDict, total=False): applyJobDetails: ApplyJobDetails @@ -125,6 +129,7 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_35", "MYSQL_8_0_36", "MYSQL_8_0_37", + "MYSQL_8_4", "POSTGRES_9_6", "POSTGRES_11", "POSTGRES_10", @@ -134,6 +139,7 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", ] + databaseVersionName: str edition: typing_extensions.Literal[ "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS" ] @@ -551,6 +557,12 @@ class IndexEntity(typing_extensions.TypedDict, total=False): type: str unique: bool +@typing.type_check_only +class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): + authorizedExternalNetworks: _list[AuthorizedNetwork] + enableOutboundPublicIp: bool + enablePublicIp: bool + @typing.type_check_only class IntComparisonFilter(typing_extensions.TypedDict, total=False): value: str @@ -799,11 +811,22 @@ class Operation(typing_extensions.TypedDict, total=False): name: str response: dict[str, typing.Any] +@typing.type_check_only +class OracleAsmConfig(typing_extensions.TypedDict, total=False): + asmService: str + hostname: str + password: str + passwordSet: bool + port: int + ssl: SslConfig + username: str + @typing.type_check_only class OracleConnectionProfile(typing_extensions.TypedDict, total=False): databaseService: str forwardSshConnectivity: ForwardSshTunnelConnectivity host: str + oracleAsmConfig: OracleAsmConfig password: str passwordSet: bool port: int @@ -860,8 +883,10 @@ class PostgreSqlConnectionProfile(typing_extensions.TypedDict, total=False): class PrimaryInstanceSettings(typing_extensions.TypedDict, total=False): databaseFlags: dict[str, typing.Any] id: str + instanceNetworkConfig: InstanceNetworkConfig labels: dict[str, typing.Any] machineConfig: MachineConfig + outboundPublicIpAddresses: _list[str] privateIp: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index 594e900d..5cbfca04 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -41,7 +41,38 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @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 listOperations( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listOperations_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def encryptionConfigs(self) -> EncryptionConfigsResource: ... + def operations(self) -> OperationsResource: ... def locations(self) -> LocationsResource: ... @@ -549,6 +580,30 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def entries(self) -> EntriesResource: ... + @typing.type_check_only + class EntryLinkTypesResource(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 EntryTypesResource(googleapiclient.discovery.Resource): def create( @@ -614,6 +669,54 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): @typing.type_check_only class GlossariesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CategoriesResource(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 TermsResource(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, *, @@ -635,6 +738,8 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): body: GoogleIamV1TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def categories(self) -> CategoriesResource: ... + def terms(self) -> TermsResource: ... @typing.type_check_only class GovernanceRulesResource(googleapiclient.discovery.Resource): @@ -1443,6 +1548,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def dataScans(self) -> DataScansResource: ... def dataTaxonomies(self) -> DataTaxonomiesResource: ... def entryGroups(self) -> EntryGroupsResource: ... + def entryLinkTypes(self) -> EntryLinkTypesResource: ... def entryTypes(self) -> EntryTypesResource: ... def glossaries(self) -> GlossariesResource: ... def governanceRules(self) -> GovernanceRulesResource: ... diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index c276afad..874c2334 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -109,6 +109,11 @@ class GoogleCloudDataplexV1AspectType(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] metadataTemplate: GoogleCloudDataplexV1AspectTypeMetadataTemplate name: str + transferStatus: typing_extensions.Literal[ + "TRANSFER_STATUS_UNSPECIFIED", + "TRANSFER_STATUS_MIGRATED", + "TRANSFER_STATUS_TRANSFERRED", + ] uid: str updateTime: str @@ -841,10 +846,12 @@ class GoogleCloudDataplexV1DiscoveryEvent(typing_extensions.TypedDict, total=Fal assetId: str config: GoogleCloudDataplexV1DiscoveryEventConfigDetails dataLocation: str + datascanId: str entity: GoogleCloudDataplexV1DiscoveryEventEntityDetails lakeId: str message: str partition: GoogleCloudDataplexV1DiscoveryEventPartitionDetails + table: GoogleCloudDataplexV1DiscoveryEventTableDetails type: typing_extensions.Literal[ "EVENT_TYPE_UNSPECIFIED", "CONFIG", @@ -885,6 +892,15 @@ class GoogleCloudDataplexV1DiscoveryEventPartitionDetails( sampledDataLocations: _list[str] type: typing_extensions.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] +@typing.type_check_only +class GoogleCloudDataplexV1DiscoveryEventTableDetails( + typing_extensions.TypedDict, total=False +): + table: str + type: typing_extensions.Literal[ + "TABLE_TYPE_UNSPECIFIED", "EXTERNAL_TABLE", "BIGLAKE_TABLE", "OBJECT_TABLE" + ] + @typing.type_check_only class GoogleCloudDataplexV1Entity(typing_extensions.TypedDict, total=False): access: GoogleCloudDataplexV1StorageAccess @@ -941,6 +957,11 @@ class GoogleCloudDataplexV1EntryGroup(typing_extensions.TypedDict, total=False): etag: str labels: dict[str, typing.Any] name: str + transferStatus: typing_extensions.Literal[ + "TRANSFER_STATUS_UNSPECIFIED", + "TRANSFER_STATUS_MIGRATED", + "TRANSFER_STATUS_TRANSFERRED", + ] uid: str updateTime: str diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index c874ca47..6463758d 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -854,6 +854,7 @@ class Session(typing_extensions.TypedDict, total=False): runtimeConfig: RuntimeConfig runtimeInfo: RuntimeInfo sessionTemplate: str + sparkConnectSession: SparkConnectConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "TERMINATING", "TERMINATED", "FAILED" ] @@ -894,6 +895,7 @@ class SessionTemplate(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str runtimeConfig: RuntimeConfig + sparkConnectSession: SparkConnectConfig updateTime: str uuid: str @@ -940,6 +942,9 @@ class SparkBatch(typing_extensions.TypedDict, total=False): mainClass: str mainJarFileUri: str +@typing.type_check_only +class SparkConnectConfig(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SparkHistoryServerConfig(typing_extensions.TypedDict, total=False): dataprocCluster: str diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index 6907c5ea..239cde2b 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -432,6 +432,7 @@ class Route(typing_extensions.TypedDict, total=False): @typing.type_check_only class RunStreamRequest(typing_extensions.TypedDict, total=False): cdcStrategy: CdcStrategy + force: bool @typing.type_check_only class SingleTargetDataset(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi index 44866888..85efd2f8 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi @@ -96,8 +96,6 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): id: str idDimensionValue: DimensionValue kind: str - mediaRequestInfo: MediaRequestInfo - mediaResponseInfo: MediaResponseInfo richMedia: bool timerCustomEvents: _list[CreativeCustomEvent] warnedValidationRules: _list[ @@ -170,47 +168,6 @@ class DimensionValue(typing_extensions.TypedDict, total=False): ] value: str -@typing.type_check_only -class MediaRequestInfo(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 MediaResponseInfo(typing_extensions.TypedDict, total=False): - customData: str - dataStorageTransform: str - dynamicDropTarget: str - dynamicDropzone: str - 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 OffsetPosition(typing_extensions.TypedDict, total=False): left: int diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index 851fe52d..542301b1 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -437,6 +437,19 @@ class CampaignsListResponse(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str +@typing.type_check_only +class CartData(typing_extensions.TypedDict, total=False): + items: _list[CartDataItem] + merchantFeedLabel: str + merchantFeedLanguage: str + merchantId: str + +@typing.type_check_only +class CartDataItem(typing_extensions.TypedDict, total=False): + itemId: str + quantity: int + unitPrice: float + @typing.type_check_only class ChangeLog(typing_extensions.TypedDict, total=False): accountId: str @@ -543,6 +556,7 @@ class ContentCategory(typing_extensions.TypedDict, total=False): @typing.type_check_only class Conversion(typing_extensions.TypedDict, total=False): adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] + cartData: CartData childDirectedTreatment: bool customVariables: _list[CustomFloodlightVariable] dclid: str @@ -1495,6 +1509,7 @@ class DirectorySite(typing_extensions.TypedDict, total=False): ] kind: str name: str + publisherSpecificationId: str settings: DirectorySiteSettings url: str @@ -2247,6 +2262,7 @@ class Placement(typing_extensions.TypedDict, total=False): "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", ] adBlockingOptOut: bool + adServingPlatformId: str additionalSizes: _list[Size] advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2287,6 +2303,7 @@ class Placement(typing_extensions.TypedDict, total=False): publisherUpdateInfo: LastModifiedInfo siteId: str siteIdDimensionValue: DimensionValue + siteServed: bool size: Size sslRequired: bool status: typing_extensions.Literal[ @@ -2675,6 +2692,7 @@ class Rule(typing_extensions.TypedDict, total=False): @typing.type_check_only class Site(typing_extensions.TypedDict, total=False): accountId: str + adServingPlatformId: str approved: bool directorySiteId: str directorySiteIdDimensionValue: DimensionValue diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 40980fc4..6957bf5d 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -107,12 +107,6 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -128,12 +122,6 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -312,24 +300,6 @@ class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -525,12 +495,6 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal languageCode: str text: GoogleCloudDialogflowCxV3TextInput -@typing.type_check_only -class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( typing_extensions.TypedDict, total=False @@ -723,12 +687,6 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -959,12 +917,6 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3beta1Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -980,12 +932,6 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -1178,24 +1124,6 @@ class GoogleCloudDialogflowCxV3beta1GcsDestination( ): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -1398,12 +1326,6 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( text: GoogleCloudDialogflowCxV3beta1TextInput toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessage( typing_extensions.TypedDict, total=False @@ -1626,12 +1548,6 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -4801,42 +4717,6 @@ class GoogleCloudDialogflowV3alpha1ConversationSignals( ): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowV3alpha1TurnSignals( typing_extensions.TypedDict, total=False @@ -4857,12 +4737,6 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index f691ffab..4b0b782e 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -107,12 +107,6 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -128,12 +122,6 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -312,24 +300,6 @@ class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -525,12 +495,6 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal languageCode: str text: GoogleCloudDialogflowCxV3TextInput -@typing.type_check_only -class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( typing_extensions.TypedDict, total=False @@ -723,12 +687,6 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -959,12 +917,6 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3beta1Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -980,12 +932,6 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -1178,24 +1124,6 @@ class GoogleCloudDialogflowCxV3beta1GcsDestination( ): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -1398,12 +1326,6 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( text: GoogleCloudDialogflowCxV3beta1TextInput toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessage( typing_extensions.TypedDict, total=False @@ -1626,12 +1548,6 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -4847,42 +4763,6 @@ class GoogleCloudDialogflowV3alpha1ConversationSignals( ): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowV3alpha1TurnSignals( typing_extensions.TypedDict, total=False @@ -4903,12 +4783,6 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index a27ba81d..c098075f 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -45,6 +45,7 @@ class GoogleCloudDialogflowCxV3Agent(typing_extensions.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings answerFeedbackSettings: GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings avatarUri: str + clientCertificateSettings: GoogleCloudDialogflowCxV3AgentClientCertificateSettings defaultLanguageCode: str description: str displayName: str @@ -69,6 +70,14 @@ class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings( ): enableAnswerFeedback: bool +@typing.type_check_only +class GoogleCloudDialogflowCxV3AgentClientCertificateSettings( + typing_extensions.TypedDict, total=False +): + passphrase: str + privateKey: str + sslCertificate: str + @typing.type_check_only class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings( typing_extensions.TypedDict, total=False @@ -161,8 +170,33 @@ class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec( typing_extensions.TypedDict, total=False ): boost: float + boostControlSpec: ( + GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec + ) condition: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float + @typing.type_check_only class GoogleCloudDialogflowCxV3BoostSpecs(typing_extensions.TypedDict, total=False): dataStores: _list[str] @@ -248,12 +282,6 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -364,12 +392,6 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet( documentUri: str text: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -869,24 +891,6 @@ class GoogleCloudDialogflowCxV3GeneratorPlaceholder( id: str name: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -1398,12 +1402,6 @@ class GoogleCloudDialogflowCxV3QueryResult(typing_extensions.TypedDict, total=Fa webhookPayloads: _list[dict[str, typing.Any]] webhookStatuses: _list[GoogleRpcStatus] -@typing.type_check_only -class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3ResourceName(typing_extensions.TypedDict, total=False): displayName: str @@ -1830,12 +1828,6 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3ValidateAgentRequest( typing_extensions.TypedDict, total=False @@ -2150,12 +2142,6 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3beta1Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -2171,12 +2157,6 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -2369,24 +2349,6 @@ class GoogleCloudDialogflowCxV3beta1GcsDestination( ): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -2589,12 +2551,6 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( text: GoogleCloudDialogflowCxV3beta1TextInput toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessage( typing_extensions.TypedDict, total=False @@ -2817,12 +2773,6 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -4689,42 +4639,6 @@ class GoogleCloudDialogflowV3alpha1ConversationSignals( ): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowV3alpha1TurnSignals( typing_extensions.TypedDict, total=False @@ -4745,12 +4659,6 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index e6db0ef6..29cf9eb2 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -107,12 +107,6 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -128,12 +122,6 @@ class GoogleCloudDialogflowCxV3DataStoreConnection( "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] -@typing.type_check_only -class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -312,24 +300,6 @@ class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): uri: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -525,12 +495,6 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal languageCode: str text: GoogleCloudDialogflowCxV3TextInput -@typing.type_check_only -class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessage( typing_extensions.TypedDict, total=False @@ -723,12 +687,6 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): disabled: bool @@ -901,6 +859,9 @@ class GoogleCloudDialogflowCxV3beta1Agent(typing_extensions.TypedDict, total=Fal advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings answerFeedbackSettings: GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings avatarUri: str + clientCertificateSettings: ( + GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings + ) defaultLanguageCode: str description: str displayName: str @@ -926,6 +887,14 @@ class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings( ): enableAnswerFeedback: bool +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings( + typing_extensions.TypedDict, total=False +): + passphrase: str + privateKey: str + sslCertificate: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings( typing_extensions.TypedDict, total=False @@ -1034,8 +1003,33 @@ class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec( typing_extensions.TypedDict, total=False ): boost: float + boostControlSpec: ( + GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec + ) condition: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BoostSpecs( typing_extensions.TypedDict, total=False @@ -1197,12 +1191,6 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( textResponses: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageText] triggeredIntent: GoogleCloudDialogflowCxV3beta1Intent -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( typing_extensions.TypedDict, total=False @@ -1315,12 +1303,6 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet( documentUri: str text: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( typing_extensions.TypedDict, total=False @@ -1898,24 +1880,6 @@ class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder( id: str name: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( typing_extensions.TypedDict, total=False @@ -2587,12 +2551,6 @@ class GoogleCloudDialogflowCxV3beta1QueryResult( webhookStatuses: _list[GoogleRpcStatus] webhookTags: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResourceName( typing_extensions.TypedDict, total=False @@ -2965,6 +2923,7 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthentication( typing_extensions.TypedDict, total=False ): apiKeyConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig + bearerTokenConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig serviceAgentAuthConfig: ( GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig @@ -2980,6 +2939,12 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig( "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig( + typing_extensions.TypedDict, total=False +): + token: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig( typing_extensions.TypedDict, total=False @@ -2994,7 +2959,10 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig( typing_extensions.TypedDict, total=False -): ... +): + serviceAgentAuth: typing_extensions.Literal[ + "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" + ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolCall(typing_extensions.TypedDict, total=False): @@ -3184,12 +3152,6 @@ class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference( schema: str tool: str -@typing.type_check_only -class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowCxV3beta1UserUtterance( typing_extensions.TypedDict, total=False @@ -5146,42 +5108,6 @@ class GoogleCloudDialogflowV3alpha1ConversationSignals( ): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): - warnings: _list[GoogleRpcStatus] - -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudDialogflowV3alpha1TurnSignals( typing_extensions.TypedDict, total=False @@ -5202,12 +5128,6 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( userEscalated: bool webhookStatuses: _list[str] -@typing.type_check_only -class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( - typing_extensions.TypedDict, total=False -): - genericMetadata: GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata - @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index a61897f9..e479d2aa 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -135,6 +135,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -250,6 +258,12 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1ConversationHttpRequest: ... + @typing.type_check_only + class CustomModelsResource(googleapiclient.discovery.Resource): + def list( + self, *, dataStore: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ListCustomModelsResponseHttpRequest: ... + @typing.type_check_only class ModelsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -709,12 +723,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1DataStoreHttpRequest: ... + def trainCustomModel( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1TrainCustomModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def branches(self) -> BranchesResource: ... def completionSuggestions( self, ) -> CompletionSuggestionsResource: ... def controls(self) -> ControlsResource: ... def conversations(self) -> ConversationsResource: ... + def customModels(self) -> CustomModelsResource: ... def models(self) -> ModelsResource: ... def operations(self) -> OperationsResource: ... def schemas(self) -> SchemasResource: ... @@ -1090,6 +1112,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleLongrunningListOperationsResponseHttpRequest | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -1735,6 +1765,16 @@ class GoogleCloudDiscoveryengineV1AnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1AnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1CheckGroundingResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1839,6 +1879,16 @@ class GoogleCloudDiscoveryengineV1ListConversationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ListConversationsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListCustomModelsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListCustomModelsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListDataStoresResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index fc887d84..a6950585 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -79,6 +79,8 @@ class GoogleCloudDiscoveryengineV1Answer(typing_extensions.TypedDict, total=Fals "POTENTIAL_POLICY_VIOLATION", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", ] ] answerText: str @@ -135,6 +137,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec( ): answerLanguageCode: str ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonAnswerSeekingQuery: bool includeCitations: bool @@ -174,6 +177,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryC "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] ] @@ -239,6 +243,14 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe ): chunk: str content: str + documentMetadata: GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( @@ -304,6 +316,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificatio "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] @typing.type_check_only @@ -445,6 +458,32 @@ class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse( + typing_extensions.TypedDict, total=False +): + documentsMetadata: _list[ + GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata( + typing_extensions.TypedDict, total=False +): + dataIngestionSource: str + lastRefreshedTime: str + matcherValue: GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( + typing_extensions.TypedDict, total=False +): + fhirResource: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -785,10 +824,35 @@ class GoogleCloudDiscoveryengineV1CustomAttribute( numbers: _list[float] text: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1CustomTuningModel( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + metrics: dict[str, typing.Any] + modelState: typing_extensions.Literal[ + "MODEL_STATE_UNSPECIFIED", + "TRAINING_PAUSED", + "TRAINING", + "TRAINING_COMPLETE", + "READY_FOR_SERVING", + "TRAINING_FAILED", + "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", + ] + modelVersion: str + name: str + trainingStartTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -798,6 +862,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] name: str + servingConfigDataStore: GoogleCloudDiscoveryengineV1ServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -808,6 +873,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema + workspaceConfig: GoogleCloudDiscoveryengineV1WorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( @@ -859,6 +925,7 @@ class GoogleCloudDiscoveryengineV1Document(typing_extensions.TypedDict, total=Fa content: GoogleCloudDiscoveryengineV1DocumentContent derivedStructData: dict[str, typing.Any] id: str + indexStatus: GoogleCloudDiscoveryengineV1DocumentIndexStatus indexTime: str jsonData: str name: str @@ -874,6 +941,13 @@ class GoogleCloudDiscoveryengineV1DocumentContent( rawBytes: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DocumentIndexStatus( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + indexTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentInfo( typing_extensions.TypedDict, total=False @@ -1225,6 +1299,12 @@ class GoogleCloudDiscoveryengineV1ListConversationsResponse( conversations: _list[GoogleCloudDiscoveryengineV1Conversation] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListCustomModelsResponse( + typing_extensions.TypedDict, total=False +): + models: _list[GoogleCloudDiscoveryengineV1CustomTuningModel] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListDataStoresResponse( typing_extensions.TypedDict, total=False @@ -1463,6 +1543,7 @@ class GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult( class GoogleCloudDiscoveryengineV1RecrawlUrisRequest( typing_extensions.TypedDict, total=False ): + siteCredential: str uris: _list[str] @typing.type_check_only @@ -1523,8 +1604,31 @@ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec( typing_extensions.TypedDict, total=False ): boost: float + boostControlSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec condition: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( typing_extensions.TypedDict, total=False @@ -1569,6 +1673,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -1719,6 +1824,8 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummary( "LLM_ADDON_NOT_ENABLED", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", ] ] summaryText: str @@ -1779,6 +1886,12 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata( references: _list[GoogleCloudDiscoveryengineV1SearchResponseSummaryReference] summary: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1Session(typing_extensions.TypedDict, total=False): endTime: str @@ -1859,6 +1972,43 @@ class GoogleCloudDiscoveryengineV1TextInput(typing_extensions.TypedDict, total=F context: GoogleCloudDiscoveryengineV1ConversationContext input: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelRequest( + typing_extensions.TypedDict, total=False +): + errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig + gcsTrainingInput: ( + GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput + ) + modelId: str + modelType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput( + typing_extensions.TypedDict, total=False +): + corpusDataPath: str + queryDataPath: str + testDataPath: str + trainDataPath: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( + typing_extensions.TypedDict, total=False +): + errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig + errorSamples: _list[GoogleRpcStatus] + metrics: dict[str, typing.Any] + modelName: str + modelStatus: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1TransactionInfo( typing_extensions.TypedDict, total=False @@ -1912,6 +2062,22 @@ class GoogleCloudDiscoveryengineV1UserInfo(typing_extensions.TypedDict, total=Fa userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAclConfig( typing_extensions.TypedDict, total=False @@ -1930,6 +2096,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "POTENTIAL_POLICY_VIOLATION", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", ] ] answerText: str @@ -1979,6 +2147,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] @typing.type_check_only @@ -2245,6 +2414,7 @@ class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -2256,7 +2426,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ): aclEnabled: bool contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -2268,6 +2442,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1alphaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -2278,6 +2456,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1alphaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( @@ -2710,6 +2889,12 @@ class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse( ): models: _list[GoogleCloudDiscoveryengineV1alphaCustomTuningModel] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False @@ -2992,6 +3177,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -3096,6 +3282,12 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSession( typing_extensions.TypedDict, total=False @@ -3213,6 +3405,22 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -3347,6 +3555,7 @@ class GoogleCloudDiscoveryengineV1betaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -3357,7 +3566,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -3368,6 +3581,10 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1betaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1betaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -3378,6 +3595,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1betaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( @@ -3686,6 +3904,12 @@ class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse( ): models: _list[GoogleCloudDiscoveryengineV1betaCustomTuningModel] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str @@ -3790,6 +4014,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str regionCode: str + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] safeSearch: bool searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec @@ -3888,6 +4115,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -3992,6 +4220,12 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo( typing_extensions.TypedDict, total=False @@ -4079,6 +4313,22 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index 7647070f..1de0cd1b 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -181,6 +181,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -1292,6 +1300,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleLongrunningListOperationsResponseHttpRequest | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -2069,6 +2085,30 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaUserEventHttpRequest: ... + @typing.type_check_only + class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + 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 operations(self) -> OperationsResource: ... + def estimateDataSize( self, *, @@ -2096,6 +2136,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def requirements(self) -> RequirementsResource: ... def sampleQuerySets(self) -> SampleQuerySetsResource: ... def userEvents(self) -> UserEventsResource: ... + def userStores(self) -> UserStoresResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -2189,6 +2230,16 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 4a5e5cca..384e7e58 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -226,7 +226,11 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -236,6 +240,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] name: str + servingConfigDataStore: GoogleCloudDiscoveryengineV1ServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -246,6 +251,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema + workspaceConfig: GoogleCloudDiscoveryengineV1WorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( @@ -558,6 +564,12 @@ class GoogleCloudDiscoveryengineV1Schema(typing_extensions.TypedDict, total=Fals name: str structSchema: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1SiteVerificationInfo( typing_extensions.TypedDict, total=False @@ -594,6 +606,23 @@ class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( + typing_extensions.TypedDict, total=False +): + errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig + errorSamples: _list[GoogleRpcStatus] + metrics: dict[str, typing.Any] + modelName: str + modelStatus: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata( typing_extensions.TypedDict, total=False @@ -608,6 +637,22 @@ class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAclConfig( typing_extensions.TypedDict, total=False @@ -637,6 +682,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "POTENTIAL_POLICY_VIOLATION", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", ] ] answerText: str @@ -695,6 +742,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec( ): answerLanguageCode: str ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonAnswerSeekingQuery: bool includeCitations: bool @@ -732,6 +780,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQ "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] ] @@ -800,6 +849,14 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultL ): chunk: str content: str + documentMetadata: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( @@ -865,6 +922,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] @typing.type_check_only @@ -1008,6 +1066,32 @@ class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse( + typing_extensions.TypedDict, total=False +): + documentsMetadata: _list[ + GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata( + typing_extensions.TypedDict, total=False +): + dataIngestionSource: str + lastRefreshedTime: str + matcherValue: GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( + typing_extensions.TypedDict, total=False +): + fhirResource: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -1412,6 +1496,7 @@ class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -1423,7 +1508,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ): aclEnabled: bool contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -1435,6 +1524,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1alphaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -1445,6 +1538,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1alphaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( @@ -1499,6 +1593,7 @@ class GoogleCloudDiscoveryengineV1alphaDocument( content: GoogleCloudDiscoveryengineV1alphaDocumentContent derivedStructData: dict[str, typing.Any] id: str + indexStatus: GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus indexTime: str jsonData: str name: str @@ -1527,6 +1622,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentContent( rawBytes: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + indexTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentInfo( typing_extensions.TypedDict, total=False @@ -2240,6 +2342,12 @@ class GoogleCloudDiscoveryengineV1alphaMediaInfo( mediaProgressDuration: str mediaProgressPercentage: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPageInfo( typing_extensions.TypedDict, total=False @@ -2505,6 +2613,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( class GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest( typing_extensions.TypedDict, total=False ): + siteCredential: str uris: _list[str] @typing.type_check_only @@ -2780,6 +2889,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -3004,6 +3114,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst "GREATER_THAN", ] fieldName: str + querySegment: str value: float @typing.type_check_only @@ -3019,6 +3130,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst typing_extensions.TypedDict, total=False ): fieldName: str + querySegment: str values: _list[str] @typing.type_check_only @@ -3026,7 +3138,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult( typing_extensions.TypedDict, total=False ): oneBoxType: typing_extensions.Literal[ - "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK" + "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK", "KNOWLEDGE_GRAPH" ] searchResults: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult] @@ -3070,6 +3182,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary( "LLM_ADDON_NOT_ENABLED", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", ] ] summaryText: str @@ -3164,6 +3278,12 @@ class GoogleCloudDiscoveryengineV1alphaServingConfig( synonymsControlIds: _list[str] updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig( typing_extensions.TypedDict, total=False @@ -3397,6 +3517,22 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( typing_extensions.TypedDict, total=False @@ -3531,6 +3667,7 @@ class GoogleCloudDiscoveryengineV1betaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -3541,7 +3678,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -3552,6 +3693,10 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1betaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1betaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -3562,6 +3707,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1betaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( @@ -3870,6 +4016,12 @@ class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse( ): models: _list[GoogleCloudDiscoveryengineV1betaCustomTuningModel] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): createTime: str @@ -3974,6 +4126,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str regionCode: str + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] safeSearch: bool searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec @@ -4072,6 +4227,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -4176,6 +4332,12 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo( typing_extensions.TypedDict, total=False @@ -4263,6 +4425,22 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @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 97fe0864..cf6e14e7 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -141,6 +141,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -1199,6 +1207,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleLongrunningListOperationsResponseHttpRequest | None ): ... + def batchGetDocumentsMetadata( + self, + *, + parent: str, + matcher_fhirMatcher_fhirResources: str | _list[str] = ..., + matcher_urisMatcher_uris: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseHttpRequest: ... def documents(self) -> DocumentsResource: ... def operations(self) -> OperationsResource: ... @@ -2005,6 +2021,16 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaAnswerQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 449d53bd..b4dffda9 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -172,7 +172,11 @@ class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -182,6 +186,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] name: str + servingConfigDataStore: GoogleCloudDiscoveryengineV1ServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -192,6 +197,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema + workspaceConfig: GoogleCloudDiscoveryengineV1WorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( @@ -504,6 +510,12 @@ class GoogleCloudDiscoveryengineV1Schema(typing_extensions.TypedDict, total=Fals name: str structSchema: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1SiteVerificationInfo( typing_extensions.TypedDict, total=False @@ -540,6 +552,23 @@ class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( ): totalRequiredQuota: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( + typing_extensions.TypedDict, total=False +): + errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig + errorSamples: _list[GoogleRpcStatus] + metrics: dict[str, typing.Any] + modelName: str + modelStatus: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata( typing_extensions.TypedDict, total=False @@ -554,6 +583,22 @@ class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAclConfig( typing_extensions.TypedDict, total=False @@ -572,6 +617,8 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total "POTENTIAL_POLICY_VIOLATION", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", ] ] answerText: str @@ -621,6 +668,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] @typing.type_check_only @@ -887,6 +935,7 @@ class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -898,7 +947,11 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ): aclEnabled: bool contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -910,6 +963,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1alphaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -920,6 +977,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1alphaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( @@ -1352,6 +1410,12 @@ class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse( ): models: _list[GoogleCloudDiscoveryengineV1alphaCustomTuningModel] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False @@ -1634,6 +1698,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -1738,6 +1803,12 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSession( typing_extensions.TypedDict, total=False @@ -1855,6 +1926,22 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAlloyDbSource( typing_extensions.TypedDict, total=False @@ -1877,6 +1964,8 @@ class GoogleCloudDiscoveryengineV1betaAnswer(typing_extensions.TypedDict, total= "POTENTIAL_POLICY_VIOLATION", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", ] ] answerText: str @@ -1933,6 +2022,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec( ): answerLanguageCode: str ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonAnswerSeekingQuery: bool includeCitations: bool @@ -1972,6 +2062,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQu "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] ] @@ -2039,6 +2130,14 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultLi ): chunk: str content: str + documentMetadata: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( + typing_extensions.TypedDict, total=False +): + title: str + uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( @@ -2104,6 +2203,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassific "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", "JAIL_BREAKING_QUERY", + "NON_ANSWER_SEEKING_QUERY_V2", ] @typing.type_check_only @@ -2247,6 +2347,32 @@ class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse( + typing_extensions.TypedDict, total=False +): + documentsMetadata: _list[ + GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata( + typing_extensions.TypedDict, total=False +): + dataIngestionSource: str + lastRefreshedTime: str + matcherValue: GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( + typing_extensions.TypedDict, total=False +): + fhirResource: str + uri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest( typing_extensions.TypedDict, total=False @@ -2612,6 +2738,7 @@ class GoogleCloudDiscoveryengineV1betaCustomTuningModel( "READY_FOR_SERVING", "TRAINING_FAILED", "NO_IMPROVEMENT", + "INPUT_VALIDATION_FAILED", ] modelVersion: str name: str @@ -2622,7 +2749,11 @@ class GoogleCloudDiscoveryengineV1betaDataStore( typing_extensions.TypedDict, total=False ): contentConfig: typing_extensions.Literal[ - "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE" + "CONTENT_CONFIG_UNSPECIFIED", + "NO_CONTENT", + "CONTENT_REQUIRED", + "PUBLIC_WEBSITE", + "GOOGLE_WORKSPACE", ] createTime: str defaultSchemaId: str @@ -2633,6 +2764,10 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] languageInfo: GoogleCloudDiscoveryengineV1betaLanguageInfo name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig + ) + servingConfigDataStore: GoogleCloudDiscoveryengineV1betaServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -2643,6 +2778,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema + workspaceConfig: GoogleCloudDiscoveryengineV1betaWorkspaceConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( @@ -2696,6 +2832,7 @@ class GoogleCloudDiscoveryengineV1betaDocument( content: GoogleCloudDiscoveryengineV1betaDocumentContent derivedStructData: dict[str, typing.Any] id: str + indexStatus: GoogleCloudDiscoveryengineV1betaDocumentIndexStatus indexTime: str jsonData: str name: str @@ -2711,6 +2848,13 @@ class GoogleCloudDiscoveryengineV1betaDocumentContent( rawBytes: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaDocumentIndexStatus( + typing_extensions.TypedDict, total=False +): + errorSamples: _list[GoogleRpcStatus] + indexTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentInfo( typing_extensions.TypedDict, total=False @@ -3249,6 +3393,12 @@ class GoogleCloudDiscoveryengineV1betaMediaInfo( mediaProgressDuration: str mediaProgressPercentage: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPageInfo( typing_extensions.TypedDict, total=False @@ -3457,6 +3607,7 @@ class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult( class GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest( typing_extensions.TypedDict, total=False ): + siteCredential: str uris: _list[str] @typing.type_check_only @@ -3549,6 +3700,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str regionCode: str + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] safeSearch: bool searchAsYouTypeSpec: ( GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec @@ -3647,6 +3801,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( typing_extensions.TypedDict, total=False ): ignoreAdversarialQuery: bool + ignoreJailBreakingQuery: bool ignoreLowRelevantContent: bool ignoreNonSummarySeekingQuery: bool includeCitations: bool @@ -3867,6 +4022,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta "GREATER_THAN", ] fieldName: str + querySegment: str value: float @typing.type_check_only @@ -3882,6 +4038,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta typing_extensions.TypedDict, total=False ): fieldName: str + querySegment: str values: _list[str] @typing.type_check_only @@ -3889,7 +4046,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult( typing_extensions.TypedDict, total=False ): oneBoxType: typing_extensions.Literal[ - "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK" + "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK", "KNOWLEDGE_GRAPH" ] searchResults: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult] @@ -3933,6 +4090,8 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummary( "LLM_ADDON_NOT_ENABLED", "NO_RELEVANT_CONTENT", "JAIL_BREAKING_QUERY_IGNORED", + "CUSTOMER_POLICY_VIOLATION", + "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", ] ] summaryText: str @@ -4025,6 +4184,12 @@ class GoogleCloudDiscoveryengineV1betaServingConfig( synonymsControlIds: _list[str] updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaServingConfigDataStore( + typing_extensions.TypedDict, total=False +): + disabledForServing: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig( typing_extensions.TypedDict, total=False @@ -4236,6 +4401,22 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( userAgent: str userId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( + typing_extensions.TypedDict, total=False +): + dasherCustomerId: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "GOOGLE_DRIVE", + "GOOGLE_MAIL", + "GOOGLE_SITES", + "GOOGLE_CALENDAR", + "GOOGLE_CHAT", + "GOOGLE_GROUPS", + "GOOGLE_KEEP", + ] + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index a16f1aaa..5ed0b530 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -1380,6 +1380,7 @@ class DeviceTypeAssignedTargetingOptionDetails( "DEVICE_TYPE_CONNECTED_TV", "DEVICE_TYPE_SMART_PHONE", "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", ] youtubeAndPartnersBidMultiplier: float @@ -1391,6 +1392,7 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) "DEVICE_TYPE_CONNECTED_TV", "DEVICE_TYPE_SMART_PHONE", "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", ] @typing.type_check_only @@ -1729,6 +1731,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] @typing.type_check_only @@ -1820,6 +1823,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -1910,6 +1914,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2003,6 +2008,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] @typing.type_check_only @@ -2384,6 +2390,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -2683,6 +2690,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] guaranteedOrderId: str inventorySourceId: str @@ -3487,6 +3495,7 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): "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", diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 0d59cd66..e8c5d0cf 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -352,6 +352,7 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] int64Value: str onScreenPositionValue: typing_extensions.Literal[ @@ -1653,6 +1654,7 @@ class DeviceTypeAssignedTargetingOptionDetails( "DEVICE_TYPE_CONNECTED_TV", "DEVICE_TYPE_SMART_PHONE", "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", ] youtubeAndPartnersBidMultiplier: float @@ -1664,6 +1666,7 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) "DEVICE_TYPE_CONNECTED_TV", "DEVICE_TYPE_SMART_PHONE", "DEVICE_TYPE_TABLET", + "DEVICE_TYPE_CONNECTED_DEVICE", ] @typing.type_check_only @@ -2002,6 +2005,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] @typing.type_check_only @@ -2093,6 +2097,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -2183,6 +2188,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2276,6 +2282,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] @typing.type_check_only @@ -2657,6 +2664,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -2960,6 +2968,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_CHARTBOOST_GBID", "EXCHANGE_ADMOST_GBID", "EXCHANGE_TOPON_GBID", + "EXCHANGE_NETFLIX", ] guaranteedOrderId: str inventorySourceId: str @@ -3790,6 +3799,7 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): "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", diff --git a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi index f44e55d5..f8c84e84 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi @@ -44,6 +44,36 @@ class GooglePrivacyDlpV2AllOtherResources(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GooglePrivacyDlpV2AllText(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GooglePrivacyDlpV2AmazonS3Bucket(typing_extensions.TypedDict, total=False): + awsAccount: GooglePrivacyDlpV2AwsAccount + bucketName: str + +@typing.type_check_only +class GooglePrivacyDlpV2AmazonS3BucketConditions( + typing_extensions.TypedDict, total=False +): + bucketTypes: _list[ + typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "TYPE_ALL_SUPPORTED", "TYPE_GENERAL_PURPOSE" + ] + ] + objectStorageClasses: _list[ + typing_extensions.Literal[ + "UNSPECIFIED", + "ALL_SUPPORTED_CLASSES", + "STANDARD", + "STANDARD_INFREQUENT_ACCESS", + "GLACIER_INSTANT_RETRIEVAL", + "INTELLIGENT_TIERING", + ] + ] + +@typing.type_check_only +class GooglePrivacyDlpV2AmazonS3BucketRegex(typing_extensions.TypedDict, total=False): + awsAccountRegex: GooglePrivacyDlpV2AwsAccountRegex + bucketNameRegex: str + @typing.type_check_only class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails( typing_extensions.TypedDict, total=False @@ -64,6 +94,21 @@ class GooglePrivacyDlpV2AuxiliaryTable(typing_extensions.TypedDict, total=False) relativeFrequency: GooglePrivacyDlpV2FieldId table: GooglePrivacyDlpV2BigQueryTable +@typing.type_check_only +class GooglePrivacyDlpV2AwsAccount(typing_extensions.TypedDict, total=False): + accountId: str + +@typing.type_check_only +class GooglePrivacyDlpV2AwsAccountRegex(typing_extensions.TypedDict, total=False): + accountIdRegex: str + +@typing.type_check_only +class GooglePrivacyDlpV2AwsDiscoveryStartingLocation( + typing_extensions.TypedDict, total=False +): + accountId: str + allAssetInventoryAssets: bool + @typing.type_check_only class GooglePrivacyDlpV2BigQueryDiscoveryTarget( typing_extensions.TypedDict, total=False @@ -529,6 +574,9 @@ class GooglePrivacyDlpV2CustomInfoType(typing_extensions.TypedDict, total=False) class GooglePrivacyDlpV2DataProfileAction(typing_extensions.TypedDict, total=False): exportData: GooglePrivacyDlpV2Export pubSubNotification: GooglePrivacyDlpV2PubSubNotification + publishToChronicle: GooglePrivacyDlpV2PublishToChronicle + publishToScc: GooglePrivacyDlpV2PublishToSecurityCommandCenter + tagResources: GooglePrivacyDlpV2TagResources @typing.type_check_only class GooglePrivacyDlpV2DataProfileBigQueryRowSchema( @@ -553,6 +601,7 @@ class GooglePrivacyDlpV2DataProfileJobConfig(typing_extensions.TypedDict, total= dataProfileActions: _list[GooglePrivacyDlpV2DataProfileAction] inspectTemplates: _list[str] location: GooglePrivacyDlpV2DataProfileLocation + otherCloudStartingLocation: GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation projectId: str @typing.type_check_only @@ -824,6 +873,9 @@ class GooglePrivacyDlpV2DiscoveryCloudSqlFilter( class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence( typing_extensions.TypedDict, total=False ): + inspectTemplateModifiedCadence: ( + GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence + ) refreshFrequency: typing_extensions.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", @@ -890,6 +942,7 @@ class GooglePrivacyDlpV2DiscoveryConfig(typing_extensions.TypedDict, total=False lastRunTime: str name: str orgConfig: GooglePrivacyDlpV2OrgConfig + otherCloudStartingLocation: GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "PAUSED"] targets: _list[GooglePrivacyDlpV2DiscoveryTarget] updateTime: str @@ -929,6 +982,35 @@ class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence( "UPDATE_FREQUENCY_MONTHLY", ] +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryOtherCloudConditions( + typing_extensions.TypedDict, total=False +): + amazonS3BucketConditions: GooglePrivacyDlpV2AmazonS3BucketConditions + minAge: str + +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryOtherCloudFilter( + typing_extensions.TypedDict, total=False +): + collection: GooglePrivacyDlpV2OtherCloudResourceCollection + others: GooglePrivacyDlpV2AllOtherResources + singleResource: GooglePrivacyDlpV2OtherCloudSingleResourceReference + +@typing.type_check_only +class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence( + 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 GooglePrivacyDlpV2DiscoverySchemaModifiedCadence( typing_extensions.TypedDict, total=False @@ -975,6 +1057,7 @@ class GooglePrivacyDlpV2DiscoveryTarget(typing_extensions.TypedDict, total=False bigQueryTarget: GooglePrivacyDlpV2BigQueryDiscoveryTarget cloudSqlTarget: GooglePrivacyDlpV2CloudSqlDiscoveryTarget cloudStorageTarget: GooglePrivacyDlpV2CloudStorageDiscoveryTarget + otherCloudTarget: GooglePrivacyDlpV2OtherCloudDiscoveryTarget secretsTarget: GooglePrivacyDlpV2SecretsDiscoveryTarget @typing.type_check_only @@ -1723,6 +1806,46 @@ class GooglePrivacyDlpV2OrgConfig(typing_extensions.TypedDict, total=False): location: GooglePrivacyDlpV2DiscoveryStartingLocation projectId: str +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation( + typing_extensions.TypedDict, total=False +): + awsLocation: GooglePrivacyDlpV2AwsDiscoveryStartingLocation + +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudDiscoveryTarget( + typing_extensions.TypedDict, total=False +): + conditions: GooglePrivacyDlpV2DiscoveryOtherCloudConditions + dataSourceType: GooglePrivacyDlpV2DataSourceType + disabled: GooglePrivacyDlpV2Disabled + filter: GooglePrivacyDlpV2DiscoveryOtherCloudFilter + generationCadence: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence + +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudResourceCollection( + typing_extensions.TypedDict, total=False +): + includeRegexes: GooglePrivacyDlpV2OtherCloudResourceRegexes + +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudResourceRegex( + typing_extensions.TypedDict, total=False +): + amazonS3BucketRegex: GooglePrivacyDlpV2AmazonS3BucketRegex + +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudResourceRegexes( + typing_extensions.TypedDict, total=False +): + patterns: _list[GooglePrivacyDlpV2OtherCloudResourceRegex] + +@typing.type_check_only +class GooglePrivacyDlpV2OtherCloudSingleResourceReference( + typing_extensions.TypedDict, total=False +): + amazonS3Bucket: GooglePrivacyDlpV2AmazonS3Bucket + @typing.type_check_only class GooglePrivacyDlpV2OtherInfoTypeSummary(typing_extensions.TypedDict, total=False): estimatedPrevalence: int @@ -1843,10 +1966,20 @@ class GooglePrivacyDlpV2PublishSummaryToCscc( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GooglePrivacyDlpV2PublishToChronicle( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GooglePrivacyDlpV2PublishToPubSub(typing_extensions.TypedDict, total=False): topic: str +@typing.type_check_only +class GooglePrivacyDlpV2PublishToSecurityCommandCenter( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GooglePrivacyDlpV2PublishToStackdriver( typing_extensions.TypedDict, total=False @@ -2174,6 +2307,27 @@ class GooglePrivacyDlpV2TableReference(typing_extensions.TypedDict, total=False) datasetId: str tableId: str +@typing.type_check_only +class GooglePrivacyDlpV2TagCondition(typing_extensions.TypedDict, total=False): + sensitivityScore: GooglePrivacyDlpV2SensitivityScore + tag: GooglePrivacyDlpV2TagValue + +@typing.type_check_only +class GooglePrivacyDlpV2TagResources(typing_extensions.TypedDict, total=False): + lowerDataRiskToLow: bool + profileGenerationsToTag: _list[ + typing_extensions.Literal[ + "PROFILE_GENERATION_UNSPECIFIED", + "PROFILE_GENERATION_NEW", + "PROFILE_GENERATION_UPDATE", + ] + ] + tagConditions: _list[GooglePrivacyDlpV2TagCondition] + +@typing.type_check_only +class GooglePrivacyDlpV2TagValue(typing_extensions.TypedDict, total=False): + namespacedValue: str + @typing.type_check_only class GooglePrivacyDlpV2TaggedField(typing_extensions.TypedDict, total=False): customTag: str diff --git a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index 90538b6b..1d4436ed 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -1338,6 +1338,7 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig( class GoogleCloudDocumentaiV1ProcessRequest(typing_extensions.TypedDict, total=False): fieldMask: str gcsDocument: GoogleCloudDocumentaiV1GcsDocument + imagelessMode: bool inlineDocument: GoogleCloudDocumentaiV1Document labels: dict[str, typing.Any] processOptions: GoogleCloudDocumentaiV1ProcessOptions @@ -1597,1162 +1598,6 @@ class GoogleCloudDocumentaiV1Vertex(typing_extensions.TypedDict, total=False): x: int y: int -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Barcode(typing_extensions.TypedDict, total=False): - format: str - rawValue: str - valueFormat: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False -): - responses: _list[GoogleCloudDocumentaiV1beta1ProcessDocumentResponse] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1BoundingPoly( - typing_extensions.TypedDict, total=False -): - normalizedVertices: _list[GoogleCloudDocumentaiV1beta1NormalizedVertex] - vertices: _list[GoogleCloudDocumentaiV1beta1Vertex] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Document(typing_extensions.TypedDict, total=False): - chunkedDocument: GoogleCloudDocumentaiV1beta1DocumentChunkedDocument - content: str - documentLayout: GoogleCloudDocumentaiV1beta1DocumentDocumentLayout - entities: _list[GoogleCloudDocumentaiV1beta1DocumentEntity] - entityRelations: _list[GoogleCloudDocumentaiV1beta1DocumentEntityRelation] - error: GoogleRpcStatus - mimeType: str - pages: _list[GoogleCloudDocumentaiV1beta1DocumentPage] - revisions: _list[GoogleCloudDocumentaiV1beta1DocumentRevision] - shardInfo: GoogleCloudDocumentaiV1beta1DocumentShardInfo - text: str - textChanges: _list[GoogleCloudDocumentaiV1beta1DocumentTextChange] - textStyles: _list[GoogleCloudDocumentaiV1beta1DocumentStyle] - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): - chunks: _list[GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False -): - chunkId: str - content: str - pageFooters: _list[ - GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter - ] - pageHeaders: _list[ - GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader - ] - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - sourceBlockIds: _list[str] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False -): - blockId: str - listBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock - pageSpan: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan - tableBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock - textBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False -): - listEntries: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry - ] - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - caption: str - headerRows: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - colSpan: int - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - text: str - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntity( - typing_extensions.TypedDict, total=False -): - confidence: float - id: str - mentionId: str - mentionText: str - normalizedValue: GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue - pageAnchor: GoogleCloudDocumentaiV1beta1DocumentPageAnchor - properties: _list[GoogleCloudDocumentaiV1beta1DocumentEntity] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - redacted: bool - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False -): - addressValue: GoogleTypePostalAddress - booleanValue: bool - dateValue: GoogleTypeDate - datetimeValue: GoogleTypeDateTime - floatValue: float - integerValue: int - moneyValue: GoogleTypeMoney - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): - objectId: str - relation: str - subjectId: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPage( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentPageBlock] - detectedBarcodes: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - dimension: GoogleCloudDocumentaiV1beta1DocumentPageDimension - formFields: _list[GoogleCloudDocumentaiV1beta1DocumentPageFormField] - image: GoogleCloudDocumentaiV1beta1DocumentPageImage - imageQualityScores: GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - lines: _list[GoogleCloudDocumentaiV1beta1DocumentPageLine] - pageNumber: int - paragraphs: _list[GoogleCloudDocumentaiV1beta1DocumentPageParagraph] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - symbols: _list[GoogleCloudDocumentaiV1beta1DocumentPageSymbol] - tables: _list[GoogleCloudDocumentaiV1beta1DocumentPageTable] - tokens: _list[GoogleCloudDocumentaiV1beta1DocumentPageToken] - transforms: _list[GoogleCloudDocumentaiV1beta1DocumentPageMatrix] - visualElements: _list[GoogleCloudDocumentaiV1beta1DocumentPageVisualElement] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): - pageRefs: _list[GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly - confidence: float - layoutId: str - layoutType: typing_extensions.Literal[ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD", - ] - page: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageBlock( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): - barcode: GoogleCloudDocumentaiV1beta1Barcode - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False -): - confidence: float - languageCode: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDimension( - typing_extensions.TypedDict, total=False -): - height: float - unit: str - width: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageFormField( - typing_extensions.TypedDict, total=False -): - correctedKeyText: str - correctedValueText: str - fieldName: GoogleCloudDocumentaiV1beta1DocumentPageLayout - fieldValue: GoogleCloudDocumentaiV1beta1DocumentPageLayout - nameDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage - ] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - valueDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage - ] - valueType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImage( - typing_extensions.TypedDict, total=False -): - content: str - height: int - mimeType: str - width: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False -): - detectedDefects: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect - ] - qualityScore: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False -): - confidence: float - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLayout( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly - confidence: float - orientation: typing_extensions.Literal[ - "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" - ] - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLine( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): - cols: int - data: str - rows: int - type: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTable( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - headerRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): - colSpan: int - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageToken( - typing_extensions.TypedDict, total=False -): - detectedBreak: GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - styleInfo: GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - bold: bool - fontSize: int - fontType: str - fontWeight: int - handwritten: bool - italic: bool - letterSpacing: float - pixelFontSize: float - smallcaps: bool - strikeout: bool - subscript: bool - superscript: bool - textColor: GoogleTypeColor - underlined: bool - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentProvenance( - typing_extensions.TypedDict, total=False -): - id: int - parents: _list[GoogleCloudDocumentaiV1beta1DocumentProvenanceParent] - revision: int - type: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED", - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): - id: int - index: int - revision: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentRevision( - typing_extensions.TypedDict, total=False -): - agent: str - createTime: str - humanReview: GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview - id: str - parent: _list[int] - parentIds: _list[str] - processor: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): - state: str - stateMessage: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentShardInfo( - typing_extensions.TypedDict, total=False -): - shardCount: str - shardIndex: str - textOffset: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyle( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - color: GoogleTypeColor - fontFamily: str - fontSize: GoogleCloudDocumentaiV1beta1DocumentStyleFontSize - fontWeight: str - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - textDecoration: str - textStyle: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): - size: float - unit: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): - content: str - textSegments: _list[GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False -): - endIndex: str - startIndex: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextChange( - typing_extensions.TypedDict, total=False -): - changedText: str - provenance: _list[GoogleCloudDocumentaiV1beta1DocumentProvenance] - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsSource(typing_extensions.TypedDict, total=False): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1InputConfig(typing_extensions.TypedDict, total=False): - gcsSource: GoogleCloudDocumentaiV1beta1GcsSource - mimeType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): - x: float - y: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): - createTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED", - ] - stateMessage: str - updateTime: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1OutputConfig( - typing_extensions.TypedDict, total=False -): - gcsDestination: GoogleCloudDocumentaiV1beta1GcsDestination - pagesPerShard: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1ProcessDocumentResponse( - typing_extensions.TypedDict, total=False -): - inputConfig: GoogleCloudDocumentaiV1beta1InputConfig - outputConfig: GoogleCloudDocumentaiV1beta1OutputConfig - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Vertex(typing_extensions.TypedDict, total=False): - x: int - y: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Barcode(typing_extensions.TypedDict, total=False): - format: str - rawValue: str - valueFormat: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False -): - responses: _list[GoogleCloudDocumentaiV1beta2ProcessDocumentResponse] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2BoundingPoly( - typing_extensions.TypedDict, total=False -): - normalizedVertices: _list[GoogleCloudDocumentaiV1beta2NormalizedVertex] - vertices: _list[GoogleCloudDocumentaiV1beta2Vertex] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Document(typing_extensions.TypedDict, total=False): - chunkedDocument: GoogleCloudDocumentaiV1beta2DocumentChunkedDocument - content: str - documentLayout: GoogleCloudDocumentaiV1beta2DocumentDocumentLayout - entities: _list[GoogleCloudDocumentaiV1beta2DocumentEntity] - entityRelations: _list[GoogleCloudDocumentaiV1beta2DocumentEntityRelation] - error: GoogleRpcStatus - labels: _list[GoogleCloudDocumentaiV1beta2DocumentLabel] - mimeType: str - pages: _list[GoogleCloudDocumentaiV1beta2DocumentPage] - revisions: _list[GoogleCloudDocumentaiV1beta2DocumentRevision] - shardInfo: GoogleCloudDocumentaiV1beta2DocumentShardInfo - text: str - textChanges: _list[GoogleCloudDocumentaiV1beta2DocumentTextChange] - textStyles: _list[GoogleCloudDocumentaiV1beta2DocumentStyle] - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): - chunks: _list[GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False -): - chunkId: str - content: str - pageFooters: _list[ - GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter - ] - pageHeaders: _list[ - GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader - ] - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - sourceBlockIds: _list[str] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False -): - blockId: str - listBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock - pageSpan: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan - tableBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock - textBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False -): - listEntries: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry - ] - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - caption: str - headerRows: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - colSpan: int - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - text: str - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntity( - typing_extensions.TypedDict, total=False -): - confidence: float - id: str - mentionId: str - mentionText: str - normalizedValue: GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue - pageAnchor: GoogleCloudDocumentaiV1beta2DocumentPageAnchor - properties: _list[GoogleCloudDocumentaiV1beta2DocumentEntity] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - redacted: bool - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False -): - addressValue: GoogleTypePostalAddress - booleanValue: bool - dateValue: GoogleTypeDate - datetimeValue: GoogleTypeDateTime - floatValue: float - integerValue: int - moneyValue: GoogleTypeMoney - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): - objectId: str - relation: str - subjectId: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentLabel( - typing_extensions.TypedDict, total=False -): - automlModel: str - confidence: float - name: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPage( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentPageBlock] - detectedBarcodes: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - dimension: GoogleCloudDocumentaiV1beta2DocumentPageDimension - formFields: _list[GoogleCloudDocumentaiV1beta2DocumentPageFormField] - image: GoogleCloudDocumentaiV1beta2DocumentPageImage - imageQualityScores: GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - lines: _list[GoogleCloudDocumentaiV1beta2DocumentPageLine] - pageNumber: int - paragraphs: _list[GoogleCloudDocumentaiV1beta2DocumentPageParagraph] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - symbols: _list[GoogleCloudDocumentaiV1beta2DocumentPageSymbol] - tables: _list[GoogleCloudDocumentaiV1beta2DocumentPageTable] - tokens: _list[GoogleCloudDocumentaiV1beta2DocumentPageToken] - transforms: _list[GoogleCloudDocumentaiV1beta2DocumentPageMatrix] - visualElements: _list[GoogleCloudDocumentaiV1beta2DocumentPageVisualElement] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): - pageRefs: _list[GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly - confidence: float - layoutId: str - layoutType: typing_extensions.Literal[ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD", - ] - page: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageBlock( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): - barcode: GoogleCloudDocumentaiV1beta2Barcode - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False -): - confidence: float - languageCode: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDimension( - typing_extensions.TypedDict, total=False -): - height: float - unit: str - width: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageFormField( - typing_extensions.TypedDict, total=False -): - correctedKeyText: str - correctedValueText: str - fieldName: GoogleCloudDocumentaiV1beta2DocumentPageLayout - fieldValue: GoogleCloudDocumentaiV1beta2DocumentPageLayout - nameDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage - ] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - valueDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage - ] - valueType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImage( - typing_extensions.TypedDict, total=False -): - content: str - height: int - mimeType: str - width: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False -): - detectedDefects: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect - ] - qualityScore: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False -): - confidence: float - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLayout( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly - confidence: float - orientation: typing_extensions.Literal[ - "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" - ] - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLine( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): - cols: int - data: str - rows: int - type: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTable( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - headerRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): - colSpan: int - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageToken( - typing_extensions.TypedDict, total=False -): - detectedBreak: GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - styleInfo: GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - bold: bool - fontSize: int - fontType: str - fontWeight: int - handwritten: bool - italic: bool - letterSpacing: float - pixelFontSize: float - smallcaps: bool - strikeout: bool - subscript: bool - superscript: bool - textColor: GoogleTypeColor - underlined: bool - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentProvenance( - typing_extensions.TypedDict, total=False -): - id: int - parents: _list[GoogleCloudDocumentaiV1beta2DocumentProvenanceParent] - revision: int - type: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED", - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): - id: int - index: int - revision: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentRevision( - typing_extensions.TypedDict, total=False -): - agent: str - createTime: str - humanReview: GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview - id: str - parent: _list[int] - parentIds: _list[str] - processor: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): - state: str - stateMessage: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentShardInfo( - typing_extensions.TypedDict, total=False -): - shardCount: str - shardIndex: str - textOffset: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyle( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - color: GoogleTypeColor - fontFamily: str - fontSize: GoogleCloudDocumentaiV1beta2DocumentStyleFontSize - fontWeight: str - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - textDecoration: str - textStyle: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): - size: float - unit: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): - content: str - textSegments: _list[GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False -): - endIndex: str - startIndex: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextChange( - typing_extensions.TypedDict, total=False -): - changedText: str - provenance: _list[GoogleCloudDocumentaiV1beta2DocumentProvenance] - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsDestination( - typing_extensions.TypedDict, total=False -): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsSource(typing_extensions.TypedDict, total=False): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2InputConfig(typing_extensions.TypedDict, total=False): - contents: str - gcsSource: GoogleCloudDocumentaiV1beta2GcsSource - mimeType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2NormalizedVertex( - typing_extensions.TypedDict, total=False -): - x: float - y: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2OperationMetadata( - typing_extensions.TypedDict, total=False -): - createTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED", - ] - stateMessage: str - updateTime: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2OutputConfig( - typing_extensions.TypedDict, total=False -): - gcsDestination: GoogleCloudDocumentaiV1beta2GcsDestination - pagesPerShard: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2ProcessDocumentResponse( - typing_extensions.TypedDict, total=False -): - inputConfig: GoogleCloudDocumentaiV1beta2InputConfig - outputConfig: GoogleCloudDocumentaiV1beta2OutputConfig - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Vertex(typing_extensions.TypedDict, total=False): - x: int - y: int - @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 283c59cc..f12c8c6b 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -619,1162 +619,6 @@ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse( typing_extensions.TypedDict, total=False ): ... -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Barcode(typing_extensions.TypedDict, total=False): - format: str - rawValue: str - valueFormat: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False -): - responses: _list[GoogleCloudDocumentaiV1beta1ProcessDocumentResponse] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1BoundingPoly( - typing_extensions.TypedDict, total=False -): - normalizedVertices: _list[GoogleCloudDocumentaiV1beta1NormalizedVertex] - vertices: _list[GoogleCloudDocumentaiV1beta1Vertex] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Document(typing_extensions.TypedDict, total=False): - chunkedDocument: GoogleCloudDocumentaiV1beta1DocumentChunkedDocument - content: str - documentLayout: GoogleCloudDocumentaiV1beta1DocumentDocumentLayout - entities: _list[GoogleCloudDocumentaiV1beta1DocumentEntity] - entityRelations: _list[GoogleCloudDocumentaiV1beta1DocumentEntityRelation] - error: GoogleRpcStatus - mimeType: str - pages: _list[GoogleCloudDocumentaiV1beta1DocumentPage] - revisions: _list[GoogleCloudDocumentaiV1beta1DocumentRevision] - shardInfo: GoogleCloudDocumentaiV1beta1DocumentShardInfo - text: str - textChanges: _list[GoogleCloudDocumentaiV1beta1DocumentTextChange] - textStyles: _list[GoogleCloudDocumentaiV1beta1DocumentStyle] - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): - chunks: _list[GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False -): - chunkId: str - content: str - pageFooters: _list[ - GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter - ] - pageHeaders: _list[ - GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader - ] - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - sourceBlockIds: _list[str] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False -): - blockId: str - listBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock - pageSpan: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan - tableBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock - textBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False -): - listEntries: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry - ] - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - caption: str - headerRows: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - colSpan: int - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[ - GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] - text: str - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntity( - typing_extensions.TypedDict, total=False -): - confidence: float - id: str - mentionId: str - mentionText: str - normalizedValue: GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue - pageAnchor: GoogleCloudDocumentaiV1beta1DocumentPageAnchor - properties: _list[GoogleCloudDocumentaiV1beta1DocumentEntity] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - redacted: bool - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False -): - addressValue: GoogleTypePostalAddress - booleanValue: bool - dateValue: GoogleTypeDate - datetimeValue: GoogleTypeDateTime - floatValue: float - integerValue: int - moneyValue: GoogleTypeMoney - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): - objectId: str - relation: str - subjectId: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPage( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta1DocumentPageBlock] - detectedBarcodes: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - dimension: GoogleCloudDocumentaiV1beta1DocumentPageDimension - formFields: _list[GoogleCloudDocumentaiV1beta1DocumentPageFormField] - image: GoogleCloudDocumentaiV1beta1DocumentPageImage - imageQualityScores: GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - lines: _list[GoogleCloudDocumentaiV1beta1DocumentPageLine] - pageNumber: int - paragraphs: _list[GoogleCloudDocumentaiV1beta1DocumentPageParagraph] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - symbols: _list[GoogleCloudDocumentaiV1beta1DocumentPageSymbol] - tables: _list[GoogleCloudDocumentaiV1beta1DocumentPageTable] - tokens: _list[GoogleCloudDocumentaiV1beta1DocumentPageToken] - transforms: _list[GoogleCloudDocumentaiV1beta1DocumentPageMatrix] - visualElements: _list[GoogleCloudDocumentaiV1beta1DocumentPageVisualElement] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): - pageRefs: _list[GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly - confidence: float - layoutId: str - layoutType: typing_extensions.Literal[ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD", - ] - page: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageBlock( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): - barcode: GoogleCloudDocumentaiV1beta1Barcode - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False -): - confidence: float - languageCode: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDimension( - typing_extensions.TypedDict, total=False -): - height: float - unit: str - width: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageFormField( - typing_extensions.TypedDict, total=False -): - correctedKeyText: str - correctedValueText: str - fieldName: GoogleCloudDocumentaiV1beta1DocumentPageLayout - fieldValue: GoogleCloudDocumentaiV1beta1DocumentPageLayout - nameDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage - ] - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - valueDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage - ] - valueType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImage( - typing_extensions.TypedDict, total=False -): - content: str - height: int - mimeType: str - width: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False -): - detectedDefects: _list[ - GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect - ] - qualityScore: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False -): - confidence: float - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLayout( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly - confidence: float - orientation: typing_extensions.Literal[ - "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" - ] - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLine( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): - cols: int - data: str - rows: int - type: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTable( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - headerRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): - colSpan: int - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageToken( - typing_extensions.TypedDict, total=False -): - detectedBreak: GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance - styleInfo: GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - bold: bool - fontSize: int - fontType: str - fontWeight: int - handwritten: bool - italic: bool - letterSpacing: float - pixelFontSize: float - smallcaps: bool - strikeout: bool - subscript: bool - superscript: bool - textColor: GoogleTypeColor - underlined: bool - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentProvenance( - typing_extensions.TypedDict, total=False -): - id: int - parents: _list[GoogleCloudDocumentaiV1beta1DocumentProvenanceParent] - revision: int - type: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED", - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): - id: int - index: int - revision: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentRevision( - typing_extensions.TypedDict, total=False -): - agent: str - createTime: str - humanReview: GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview - id: str - parent: _list[int] - parentIds: _list[str] - processor: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): - state: str - stateMessage: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentShardInfo( - typing_extensions.TypedDict, total=False -): - shardCount: str - shardIndex: str - textOffset: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyle( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - color: GoogleTypeColor - fontFamily: str - fontSize: GoogleCloudDocumentaiV1beta1DocumentStyleFontSize - fontWeight: str - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - textDecoration: str - textStyle: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): - size: float - unit: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): - content: str - textSegments: _list[GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False -): - endIndex: str - startIndex: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextChange( - typing_extensions.TypedDict, total=False -): - changedText: str - provenance: _list[GoogleCloudDocumentaiV1beta1DocumentProvenance] - textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsSource(typing_extensions.TypedDict, total=False): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1InputConfig(typing_extensions.TypedDict, total=False): - gcsSource: GoogleCloudDocumentaiV1beta1GcsSource - mimeType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): - x: float - y: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): - createTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED", - ] - stateMessage: str - updateTime: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1OutputConfig( - typing_extensions.TypedDict, total=False -): - gcsDestination: GoogleCloudDocumentaiV1beta1GcsDestination - pagesPerShard: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1ProcessDocumentResponse( - typing_extensions.TypedDict, total=False -): - inputConfig: GoogleCloudDocumentaiV1beta1InputConfig - outputConfig: GoogleCloudDocumentaiV1beta1OutputConfig - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta1Vertex(typing_extensions.TypedDict, total=False): - x: int - y: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Barcode(typing_extensions.TypedDict, total=False): - format: str - rawValue: str - valueFormat: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False -): - responses: _list[GoogleCloudDocumentaiV1beta2ProcessDocumentResponse] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2BoundingPoly( - typing_extensions.TypedDict, total=False -): - normalizedVertices: _list[GoogleCloudDocumentaiV1beta2NormalizedVertex] - vertices: _list[GoogleCloudDocumentaiV1beta2Vertex] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Document(typing_extensions.TypedDict, total=False): - chunkedDocument: GoogleCloudDocumentaiV1beta2DocumentChunkedDocument - content: str - documentLayout: GoogleCloudDocumentaiV1beta2DocumentDocumentLayout - entities: _list[GoogleCloudDocumentaiV1beta2DocumentEntity] - entityRelations: _list[GoogleCloudDocumentaiV1beta2DocumentEntityRelation] - error: GoogleRpcStatus - labels: _list[GoogleCloudDocumentaiV1beta2DocumentLabel] - mimeType: str - pages: _list[GoogleCloudDocumentaiV1beta2DocumentPage] - revisions: _list[GoogleCloudDocumentaiV1beta2DocumentRevision] - shardInfo: GoogleCloudDocumentaiV1beta2DocumentShardInfo - text: str - textChanges: _list[GoogleCloudDocumentaiV1beta2DocumentTextChange] - textStyles: _list[GoogleCloudDocumentaiV1beta2DocumentStyle] - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): - chunks: _list[GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False -): - chunkId: str - content: str - pageFooters: _list[ - GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter - ] - pageHeaders: _list[ - GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader - ] - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - sourceBlockIds: _list[str] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False -): - pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False -): - blockId: str - listBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock - pageSpan: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan - tableBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock - textBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False -): - listEntries: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry - ] - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False -): - pageEnd: int - pageStart: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - caption: str - headerRows: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - colSpan: int - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[ - GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] - text: str - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntity( - typing_extensions.TypedDict, total=False -): - confidence: float - id: str - mentionId: str - mentionText: str - normalizedValue: GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue - pageAnchor: GoogleCloudDocumentaiV1beta2DocumentPageAnchor - properties: _list[GoogleCloudDocumentaiV1beta2DocumentEntity] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - redacted: bool - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False -): - addressValue: GoogleTypePostalAddress - booleanValue: bool - dateValue: GoogleTypeDate - datetimeValue: GoogleTypeDateTime - floatValue: float - integerValue: int - moneyValue: GoogleTypeMoney - text: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): - objectId: str - relation: str - subjectId: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentLabel( - typing_extensions.TypedDict, total=False -): - automlModel: str - confidence: float - name: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPage( - typing_extensions.TypedDict, total=False -): - blocks: _list[GoogleCloudDocumentaiV1beta2DocumentPageBlock] - detectedBarcodes: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - dimension: GoogleCloudDocumentaiV1beta2DocumentPageDimension - formFields: _list[GoogleCloudDocumentaiV1beta2DocumentPageFormField] - image: GoogleCloudDocumentaiV1beta2DocumentPageImage - imageQualityScores: GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - lines: _list[GoogleCloudDocumentaiV1beta2DocumentPageLine] - pageNumber: int - paragraphs: _list[GoogleCloudDocumentaiV1beta2DocumentPageParagraph] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - symbols: _list[GoogleCloudDocumentaiV1beta2DocumentPageSymbol] - tables: _list[GoogleCloudDocumentaiV1beta2DocumentPageTable] - tokens: _list[GoogleCloudDocumentaiV1beta2DocumentPageToken] - transforms: _list[GoogleCloudDocumentaiV1beta2DocumentPageMatrix] - visualElements: _list[GoogleCloudDocumentaiV1beta2DocumentPageVisualElement] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): - pageRefs: _list[GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly - confidence: float - layoutId: str - layoutType: typing_extensions.Literal[ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD", - ] - page: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageBlock( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): - barcode: GoogleCloudDocumentaiV1beta2Barcode - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False -): - confidence: float - languageCode: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDimension( - typing_extensions.TypedDict, total=False -): - height: float - unit: str - width: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageFormField( - typing_extensions.TypedDict, total=False -): - correctedKeyText: str - correctedValueText: str - fieldName: GoogleCloudDocumentaiV1beta2DocumentPageLayout - fieldValue: GoogleCloudDocumentaiV1beta2DocumentPageLayout - nameDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage - ] - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - valueDetectedLanguages: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage - ] - valueType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImage( - typing_extensions.TypedDict, total=False -): - content: str - height: int - mimeType: str - width: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False -): - detectedDefects: _list[ - GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect - ] - qualityScore: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False -): - confidence: float - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLayout( - typing_extensions.TypedDict, total=False -): - boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly - confidence: float - orientation: typing_extensions.Literal[ - "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" - ] - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLine( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): - cols: int - data: str - rows: int - type: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTable( - typing_extensions.TypedDict, total=False -): - bodyRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - headerRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): - colSpan: int - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - rowSpan: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): - cells: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageToken( - typing_extensions.TypedDict, total=False -): - detectedBreak: GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance - styleInfo: GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - bold: bool - fontSize: int - fontType: str - fontWeight: int - handwritten: bool - italic: bool - letterSpacing: float - pixelFontSize: float - smallcaps: bool - strikeout: bool - subscript: bool - superscript: bool - textColor: GoogleTypeColor - underlined: bool - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): - detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] - layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout - type: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentProvenance( - typing_extensions.TypedDict, total=False -): - id: int - parents: _list[GoogleCloudDocumentaiV1beta2DocumentProvenanceParent] - revision: int - type: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED", - ] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): - id: int - index: int - revision: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentRevision( - typing_extensions.TypedDict, total=False -): - agent: str - createTime: str - humanReview: GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview - id: str - parent: _list[int] - parentIds: _list[str] - processor: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): - state: str - stateMessage: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentShardInfo( - typing_extensions.TypedDict, total=False -): - shardCount: str - shardIndex: str - textOffset: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyle( - typing_extensions.TypedDict, total=False -): - backgroundColor: GoogleTypeColor - color: GoogleTypeColor - fontFamily: str - fontSize: GoogleCloudDocumentaiV1beta2DocumentStyleFontSize - fontWeight: str - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - textDecoration: str - textStyle: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): - size: float - unit: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): - content: str - textSegments: _list[GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment] - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False -): - endIndex: str - startIndex: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextChange( - typing_extensions.TypedDict, total=False -): - changedText: str - provenance: _list[GoogleCloudDocumentaiV1beta2DocumentProvenance] - textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsDestination( - typing_extensions.TypedDict, total=False -): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsSource(typing_extensions.TypedDict, total=False): - uri: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2InputConfig(typing_extensions.TypedDict, total=False): - contents: str - gcsSource: GoogleCloudDocumentaiV1beta2GcsSource - mimeType: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2NormalizedVertex( - typing_extensions.TypedDict, total=False -): - x: float - y: float - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2OperationMetadata( - typing_extensions.TypedDict, total=False -): - createTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED", - ] - stateMessage: str - updateTime: str - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2OutputConfig( - typing_extensions.TypedDict, total=False -): - gcsDestination: GoogleCloudDocumentaiV1beta2GcsDestination - pagesPerShard: int - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2ProcessDocumentResponse( - typing_extensions.TypedDict, total=False -): - inputConfig: GoogleCloudDocumentaiV1beta2InputConfig - outputConfig: GoogleCloudDocumentaiV1beta2OutputConfig - -@typing.type_check_only -class GoogleCloudDocumentaiV1beta2Vertex(typing_extensions.TypedDict, total=False): - x: int - y: int - @typing.type_check_only class GoogleCloudDocumentaiV1beta3Barcode(typing_extensions.TypedDict, total=False): format: str @@ -2520,6 +1364,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( typing_extensions.TypedDict, total=False ): baseTypes: _list[str] + description: str displayName: str entityTypeMetadata: GoogleCloudDocumentaiV1beta3EntityTypeMetadata enumValues: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues @@ -2536,6 +1381,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues( class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( typing_extensions.TypedDict, total=False ): + description: str displayName: str name: str occurrenceType: typing_extensions.Literal[ @@ -2962,6 +1808,7 @@ class GoogleCloudDocumentaiV1beta3ProcessRequest( document: GoogleCloudDocumentaiV1beta3Document fieldMask: str gcsDocument: GoogleCloudDocumentaiV1beta3GcsDocument + imagelessMode: bool inlineDocument: GoogleCloudDocumentaiV1beta3Document labels: dict[str, typing.Any] processOptions: GoogleCloudDocumentaiV1beta3ProcessOptions diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index 692616af..d438481d 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -213,6 +213,14 @@ class DriveResource(googleapiclient.discovery.Resource): supportsTeamDrives: bool = ..., **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... + def download( + self, + *, + fileId: str, + mimeType: str = ..., + revisionId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def emptyTrash( self, *, @@ -323,6 +331,33 @@ class DriveResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ChannelHttpRequest: ... + @typing.type_check_only + class OperationResource(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, + *, + filter: str = ..., + name: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only class PermissionsResource(googleapiclient.discovery.Resource): def create( @@ -536,6 +571,8 @@ 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: ... def revisions(self) -> RevisionsResource: ... @@ -645,6 +682,14 @@ class LabelListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LabelList: ... +@typing.type_check_only +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOperationsResponse: ... + @typing.type_check_only class ModifyLabelsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -653,6 +698,14 @@ class ModifyLabelsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ModifyLabelsResponse: ... +@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 PermissionHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index f269e40a..d8be78b6 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -266,6 +266,11 @@ class LabelModification(typing_extensions.TypedDict, total=False): labelId: str removeLabel: bool +@typing.type_check_only +class ListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + @typing.type_check_only class ModifyLabelsRequest(typing_extensions.TypedDict, total=False): kind: str @@ -276,6 +281,14 @@ class ModifyLabelsResponse(typing_extensions.TypedDict, total=False): kind: str modifiedLabels: _list[Label] +@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 Permission(typing_extensions.TypedDict, total=False): allowFileDiscovery: bool @@ -346,6 +359,12 @@ class StartPageToken(typing_extensions.TypedDict, total=False): kind: str startPageToken: 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 TeamDrive(typing_extensions.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi index 562fbf2e..8396aa8c 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi @@ -130,6 +130,78 @@ class EventarcResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class EnrollmentsResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + + @typing.type_check_only + class GoogleApiSourcesResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + + @typing.type_check_only + class MessageBusesResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -160,6 +232,30 @@ class EventarcResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PipelinesResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only class ProvidersResource(googleapiclient.discovery.Resource): def get( @@ -281,7 +377,11 @@ class EventarcResource(googleapiclient.discovery.Resource): ) -> GoogleChannelConfigHttpRequest: ... def channelConnections(self) -> ChannelConnectionsResource: ... def channels(self) -> ChannelsResource: ... + def enrollments(self) -> EnrollmentsResource: ... + def googleApiSources(self) -> GoogleApiSourcesResource: ... + def messageBuses(self) -> MessageBusesResource: ... def operations(self) -> OperationsResource: ... + def pipelines(self) -> PipelinesResource: ... def providers(self) -> ProvidersResource: ... def triggers(self) -> TriggersResource: ... diff --git a/googleapiclient-stubs/_apis/file/v1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1/schemas.pyi index e70b32ab..2ceb8d4c 100644 --- a/googleapiclient-stubs/_apis/file/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1/schemas.pyi @@ -10,6 +10,9 @@ class Backup(typing_extensions.TypedDict, total=False): createTime: str description: str downloadBytes: str + fileSystemProtocol: typing_extensions.Literal[ + "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" + ] kmsKey: str labels: dict[str, typing.Any] name: str @@ -64,6 +67,10 @@ class FileShareConfig(typing_extensions.TypedDict, total=False): nfsExportOptions: _list[NfsExportOptions] sourceBackup: str +@typing.type_check_only +class FixedIOPS(typing_extensions.TypedDict, total=False): + maxReadIops: str + @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False @@ -162,9 +169,16 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( ) tier: str +@typing.type_check_only +class IOPSPerTB(typing_extensions.TypedDict, total=False): + maxReadIopsPerTb: str + @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): + configurablePerformanceEnabled: bool createTime: str + deletionProtectionEnabled: bool + deletionProtectionReason: str description: str etag: str fileShares: _list[FileShareConfig] @@ -172,6 +186,11 @@ class Instance(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str networks: _list[NetworkConfig] + performanceConfig: PerformanceConfig + performanceLimits: PerformanceLimits + protocol: typing_extensions.Literal[ + "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" + ] replication: Replication satisfiesPzi: bool satisfiesPzs: bool @@ -296,6 +315,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PerformanceConfig(typing_extensions.TypedDict, total=False): + fixedIops: FixedIOPS + iopsPerTb: IOPSPerTB + +@typing.type_check_only +class PerformanceLimits(typing_extensions.TypedDict, total=False): + maxReadIops: str + maxReadThroughputBps: str + maxWriteIops: str + maxWriteThroughputBps: str + @typing.type_check_only class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi index 401d4238..dee9cf15 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi @@ -71,6 +71,10 @@ class FileShareConfig(typing_extensions.TypedDict, total=False): nfsExportOptions: _list[NfsExportOptions] sourceBackup: str +@typing.type_check_only +class FixedIOPS(typing_extensions.TypedDict, total=False): + maxReadIops: str + @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False @@ -169,11 +173,18 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( ) tier: str +@typing.type_check_only +class IOPSPerTB(typing_extensions.TypedDict, total=False): + maxReadIopsPerTb: str + @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): capacityGb: str capacityStepSizeGb: str + configurablePerformanceEnabled: bool createTime: str + deletionProtectionEnabled: bool + deletionProtectionReason: str description: str directoryServices: DirectoryServicesConfig etag: str @@ -185,6 +196,8 @@ class Instance(typing_extensions.TypedDict, total=False): multiShareEnabled: bool name: str networks: _list[NetworkConfig] + performanceConfig: PerformanceConfig + performanceLimits: PerformanceLimits protocol: typing_extensions.Literal[ "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" ] @@ -328,6 +341,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PerformanceConfig(typing_extensions.TypedDict, total=False): + fixedIops: FixedIOPS + iopsPerTb: IOPSPerTB + +@typing.type_check_only +class PerformanceLimits(typing_extensions.TypedDict, total=False): + maxReadIops: str + maxReadThroughputBps: str + maxWriteIops: str + maxWriteThroughputBps: str + @typing.type_check_only class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi index f31efb10..7442ca0c 100644 --- a/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi @@ -271,4 +271,7 @@ class WebAppConfig(typing_extensions.TypedDict, total=False): measurementId: str messagingSenderId: str projectId: str + projectNumber: str + realtimeDatabaseUrl: str storageBucket: str + version: str diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index a586ff1e..e4841e70 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -136,6 +136,7 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( "UNABLE_TO_CRAWL", "DEVICE_OUT_OF_MEMORY", "FAILED_AI_STEP", + "TIMED_OUT", ] inconclusiveReason: typing_extensions.Literal[ "INCONCLUSIVE_REASON_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi index 76ba2d6c..7c5d1560 100644 --- a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi @@ -87,6 +87,7 @@ class DynamicLinkInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class DynamicLinkStats(typing_extensions.TypedDict, total=False): linkEventStats: _list[DynamicLinkEventStat] + warnings: _list[DynamicLinkWarning] @typing.type_check_only class DynamicLinkWarning(typing_extensions.TypedDict, total=False): @@ -120,6 +121,7 @@ class DynamicLinkWarning(typing_extensions.TypedDict, total=False): "LINK_LENGTH_TOO_LONG", "LINK_WITH_FRAGMENTS", "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID", + "API_DEPRECATED", ] warningDocumentLink: str warningMessage: str @@ -180,6 +182,7 @@ class GetIosReopenAttributionResponse(typing_extensions.TypedDict, total=False): utmMedium: str utmSource: str utmTerm: str + warning: _list[DynamicLinkWarning] @typing.type_check_only class GooglePlayAnalytics(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index d6164c88..a2a6aa96 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -35,6 +35,7 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F ] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata index: int + logprobsResult: GoogleCloudAiplatformV1beta1LogprobsResult safetyRatings: _list[GoogleCloudAiplatformV1beta1SafetyRating] @typing.type_check_only @@ -62,6 +63,7 @@ class GoogleCloudAiplatformV1beta1CountTokensRequest( typing_extensions.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] + generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig instances: _list[typing.Any] model: str systemInstruction: GoogleCloudAiplatformV1beta1Content @@ -116,6 +118,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( cachedContent: str contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig + labels: dict[str, typing.Any] safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] systemInstruction: GoogleCloudAiplatformV1beta1Content toolConfig: GoogleCloudAiplatformV1beta1ToolConfig @@ -126,6 +129,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( typing_extensions.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] + modelVersion: str promptFeedback: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback usageMetadata: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata @@ -147,6 +151,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( typing_extensions.TypedDict, total=False ): + cachedContentTokenCount: int candidatesTokenCount: int promptTokenCount: int totalTokenCount: int @@ -157,8 +162,10 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( ): candidateCount: int frequencyPenalty: float + logprobs: int maxOutputTokens: int presencePenalty: float + responseLogprobs: bool responseMimeType: str responseSchema: GoogleCloudAiplatformV1beta1Schema routingConfig: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig @@ -235,6 +242,27 @@ class GoogleCloudAiplatformV1beta1GroundingSupport( groundingChunkIndices: _list[int] segment: GoogleCloudAiplatformV1beta1Segment +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResult( + typing_extensions.TypedDict, total=False +): + chosenCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] + topCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( + typing_extensions.TypedDict, total=False +): + logProbability: float + token: str + tokenId: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates( + typing_extensions.TypedDict, total=False +): + candidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] + @typing.type_check_only class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False): fileData: GoogleCloudAiplatformV1beta1FileData @@ -261,6 +289,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] probability: typing_extensions.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" @@ -285,6 +314,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", ] method: typing_extensions.Literal[ "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" @@ -295,10 +325,12 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", + "OFF", ] @typing.type_check_only class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): + anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any description: str enum: _list[str] @@ -316,6 +348,7 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals nullable: bool pattern: str properties: dict[str, typing.Any] + propertyOrdering: _list[str] required: _list[str] title: str type: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index c4817da8..60ae295e 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -374,7 +374,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleFirestoreAdminV1BackupHttpRequest: ... def list( - self, *, parent: str, **kwargs: typing.Any + self, *, parent: str, filter: str = ..., **kwargs: typing.Any ) -> GoogleFirestoreAdminV1ListBackupsResponseHttpRequest: ... def get( diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 932d00ac..37b22e2e 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -203,6 +203,8 @@ class FindNearest(typing_extensions.TypedDict, total=False): distanceMeasure: typing_extensions.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] + distanceResultField: str + distanceThreshold: float limit: int queryVector: Value vectorField: FieldReference @@ -228,6 +230,10 @@ class GoogleFirestoreAdminV1BackupSchedule(typing_extensions.TypedDict, total=Fa updateTime: str weeklyRecurrence: GoogleFirestoreAdminV1WeeklyRecurrence +@typing.type_check_only +class GoogleFirestoreAdminV1BackupSource(typing_extensions.TypedDict, total=False): + backup: str + @typing.type_check_only class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -308,6 +314,7 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): "POINT_IN_TIME_RECOVERY_DISABLED", ] previousId: str + sourceInfo: GoogleFirestoreAdminV1SourceInfo type: typing_extensions.Literal[ "DATABASE_TYPE_UNSPECIFIED", "FIRESTORE_NATIVE", "DATASTORE_MODE" ] @@ -561,6 +568,11 @@ class GoogleFirestoreAdminV1SourceEncryptionOptions( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirestoreAdminV1SourceInfo(typing_extensions.TypedDict, total=False): + backup: GoogleFirestoreAdminV1BackupSource + operation: str + @typing.type_check_only class GoogleFirestoreAdminV1Stats(typing_extensions.TypedDict, total=False): documentCount: str diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index c6873977..e7bcf26b 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -203,6 +203,8 @@ class FindNearest(typing_extensions.TypedDict, total=False): distanceMeasure: typing_extensions.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] + distanceResultField: str + distanceThreshold: float limit: int queryVector: Value vectorField: FieldReference diff --git a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi index 59805a76..d42cb8fd 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi @@ -147,6 +147,15 @@ class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=Fals mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec +@typing.type_check_only +class CompliancePostureConfig(typing_extensions.TypedDict, total=False): + complianceStandards: _list[ComplianceStandard] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class ComplianceStandard(typing_extensions.TypedDict, total=False): + standard: str + @typing.type_check_only class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): allowVerticalScale: bool @@ -420,6 +429,7 @@ class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): @typing.type_check_only class DefaultClusterConfig(typing_extensions.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig + compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only @@ -578,6 +588,11 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): tenant: str userClaim: str +@typing.type_check_only +class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): + enabled: bool + expirationTime: str + @typing.type_check_only class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): disable: bool @@ -590,6 +605,7 @@ class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): + diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only @@ -1096,11 +1112,13 @@ class ServiceMeshCondition(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", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "CONFIG_APPLY_INTERNAL_ERROR", diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index 7cf2fc0a..d19678ee 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -263,6 +263,14 @@ class GKEHubResource(googleapiclient.discovery.Resource): version: str = ..., **kwargs: typing.Any, ) -> GenerateConnectManifestResponseHttpRequest: ... + def generateExclusivityManifest( + self, + *, + name: str, + crManifest: str = ..., + crdManifest: str = ..., + **kwargs: typing.Any, + ) -> GenerateExclusivityManifestResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> MembershipHttpRequest: ... @@ -333,6 +341,14 @@ class GKEHubResource(googleapiclient.discovery.Resource): body: ValidateCreateMembershipRequest = ..., **kwargs: typing.Any, ) -> ValidateCreateMembershipResponseHttpRequest: ... + def validateExclusivity( + self, + *, + parent: str, + crManifest: str = ..., + intendedMembership: str = ..., + **kwargs: typing.Any, + ) -> ValidateExclusivityResponseHttpRequest: ... def bindings(self) -> BindingsResource: ... def rbacrolebindings(self) -> RbacrolebindingsResource: ... @@ -602,6 +618,14 @@ class GenerateConnectManifestResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> GenerateConnectManifestResponse: ... +@typing.type_check_only +class GenerateExclusivityManifestResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateExclusivityManifestResponse: ... + @typing.type_check_only class GenerateMembershipRBACRoleBindingYAMLResponseHttpRequest( googleapiclient.http.HttpRequest @@ -797,3 +821,11 @@ class ValidateCreateMembershipResponseHttpRequest(googleapiclient.http.HttpReque http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ValidateCreateMembershipResponse: ... + +@typing.type_check_only +class ValidateExclusivityResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ValidateExclusivityResponse: ... diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index f661e9d8..2cc354ed 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -187,6 +187,15 @@ class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=Fals mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec +@typing.type_check_only +class CompliancePostureConfig(typing_extensions.TypedDict, total=False): + complianceStandards: _list[ComplianceStandard] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class ComplianceStandard(typing_extensions.TypedDict, total=False): + standard: str + @typing.type_check_only class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -477,6 +486,7 @@ class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): @typing.type_check_only class DefaultClusterConfig(typing_extensions.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig + compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only @@ -609,6 +619,11 @@ class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): manifest: _list[ConnectAgentResource] +@typing.type_check_only +class GenerateExclusivityManifestResponse(typing_extensions.TypedDict, total=False): + crManifest: str + crdManifest: str + @typing.type_check_only class GenerateMembershipRBACRoleBindingYAMLResponse( typing_extensions.TypedDict, total=False @@ -646,6 +661,11 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): tenant: str userClaim: str +@typing.type_check_only +class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): + enabled: bool + expirationTime: str + @typing.type_check_only class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): disable: bool @@ -658,6 +678,7 @@ class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): + diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only @@ -1222,11 +1243,13 @@ class ServiceMeshCondition(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", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "CONFIG_APPLY_INTERNAL_ERROR", @@ -1354,6 +1377,10 @@ class ValidateCreateMembershipRequest(typing_extensions.TypedDict, total=False): class ValidateCreateMembershipResponse(typing_extensions.TypedDict, total=False): validationResults: _list[ValidationResult] +@typing.type_check_only +class ValidateExclusivityResponse(typing_extensions.TypedDict, total=False): + status: GoogleRpcStatus + @typing.type_check_only class ValidationResult(typing_extensions.TypedDict, total=False): result: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 1ce03968..6902beea 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -158,6 +158,15 @@ class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=Fals mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec +@typing.type_check_only +class CompliancePostureConfig(typing_extensions.TypedDict, total=False): + complianceStandards: _list[ComplianceStandard] + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class ComplianceStandard(typing_extensions.TypedDict, total=False): + standard: str + @typing.type_check_only class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -448,6 +457,7 @@ class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): @typing.type_check_only class DefaultClusterConfig(typing_extensions.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig + compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only @@ -606,6 +616,11 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): tenant: str userClaim: str +@typing.type_check_only +class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): + enabled: bool + expirationTime: str + @typing.type_check_only class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): disable: bool @@ -618,6 +633,7 @@ class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): + diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only @@ -1142,11 +1158,13 @@ class ServiceMeshCondition(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", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", "VPCSC_GA_SUPPORTED", "CONFIG_APPLY_INTERNAL_ERROR", diff --git a/googleapiclient-stubs/_apis/gkehub/v2/__init__.pyi b/googleapiclient-stubs/_apis/gkehub/v2/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi new file mode 100644 index 00000000..73f1ea0c --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi @@ -0,0 +1,120 @@ +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 GKEHubResource(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 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, + 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: ... + + 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: ... diff --git a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi new file mode 100644 index 00000000..e3e66c67 --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi @@ -0,0 +1,43 @@ +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 GoogleRpcStatus(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: 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 Operation(typing_extensions.TypedDict, total=False): + done: bool + error: GoogleRpcStatus + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/__init__.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi new file mode 100644 index 00000000..73f1ea0c --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi @@ -0,0 +1,120 @@ +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 GKEHubResource(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 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, + 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: ... + + 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: ... diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi new file mode 100644 index 00000000..e3e66c67 --- /dev/null +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi @@ -0,0 +1,43 @@ +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 GoogleRpcStatus(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: 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 Operation(typing_extensions.TypedDict, total=False): + done: bool + error: GoogleRpcStatus + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi index b3bbde74..17b853f0 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi @@ -44,6 +44,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, parent: str, body: BareMetalAdminCluster = ..., + allowPreflightFailure: bool = ..., bareMetalAdminClusterId: str = ..., validateOnly: bool = ..., **kwargs: typing.Any, @@ -59,6 +60,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, + allowMissing: bool = ..., view: typing_extensions.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" ] = ..., @@ -75,6 +77,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, parent: str, + allowMissing: bool = ..., pageSize: int = ..., pageToken: str = ..., view: typing_extensions.Literal[ @@ -271,6 +274,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, parent: str, body: BareMetalCluster = ..., + allowPreflightFailure: bool = ..., bareMetalClusterId: str = ..., validateOnly: bool = ..., **kwargs: typing.Any, @@ -297,6 +301,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, + allowMissing: bool = ..., view: typing_extensions.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" ] = ..., @@ -313,6 +318,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, parent: str, + allowMissing: bool = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., @@ -435,6 +441,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, + allowMissing: bool = ..., view: typing_extensions.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" ] = ..., @@ -451,6 +458,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, parent: str, + allowMissing: bool = ..., pageSize: int = ..., pageToken: str = ..., view: typing_extensions.Literal[ @@ -638,6 +646,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, parent: str, body: VmwareCluster = ..., + allowPreflightFailure: bool = ..., validateOnly: bool = ..., vmwareClusterId: str = ..., **kwargs: typing.Any, @@ -664,6 +673,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, + allowMissing: bool = ..., view: typing_extensions.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" ] = ..., @@ -680,6 +690,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, parent: str, + allowMissing: bool = ..., 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 d0b12ec9..9717fd7d 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi @@ -210,6 +210,7 @@ class BareMetalClusterOperationsConfig(typing_extensions.TypedDict, total=False) @typing.type_check_only class BareMetalClusterUpgradePolicy(typing_extensions.TypedDict, total=False): + pause: bool policy: typing_extensions.Literal[ "NODE_POOL_POLICY_UNSPECIFIED", "SERIAL", "CONCURRENT" ] @@ -633,6 +634,8 @@ class ResourceCondition(typing_extensions.TypedDict, total=False): class ResourceStatus(typing_extensions.TypedDict, total=False): conditions: _list[ResourceCondition] errorMessage: str + version: str + versions: Versions @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): @@ -685,6 +688,15 @@ class ValidationCheckResult(typing_extensions.TypedDict, total=False): class ValidationCheckStatus(typing_extensions.TypedDict, total=False): result: _list[ValidationCheckResult] +@typing.type_check_only +class Version(typing_extensions.TypedDict, total=False): + count: str + version: str + +@typing.type_check_only +class Versions(typing_extensions.TypedDict, total=False): + versions: _list[Version] + @typing.type_check_only class VmwareAAGConfig(typing_extensions.TypedDict, total=False): aagConfigDisabled: bool @@ -739,6 +751,7 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): status: ResourceStatus uid: str updateTime: str + validationCheck: ValidationCheck vcenter: VmwareAdminVCenterConfig @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index 69d56f47..6be145eb 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -333,13 +333,29 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class StudiesResource(googleapiclient.discovery.Resource): @typing.type_check_only class SeriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InstancesResource( + googleapiclient.discovery.Resource + ): + def getStorageInfo( + self, *, resource: str, **kwargs: typing.Any + ) -> StorageInfoHttpRequest: ... + def getSeriesMetrics( self, *, series: str, **kwargs: typing.Any ) -> SeriesMetricsHttpRequest: ... + def instances(self) -> InstancesResource: ... def getStudyMetrics( self, *, study: str, **kwargs: typing.Any ) -> StudyMetricsHttpRequest: ... + def setBlobStorageSettings( + self, + *, + resource: str, + body: SetBlobStorageSettingsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def series(self) -> SeriesResource: ... def studies(self) -> StudiesResource: ... @@ -550,6 +566,13 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): def searchForStudies( self, *, parent: str, dicomWebPath: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... + def setBlobStorageSettings( + self, + *, + resource: str, + body: SetBlobStorageSettingsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def setIamPolicy( self, *, @@ -579,6 +602,26 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class FhirStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only class FhirResource(googleapiclient.discovery.Resource): + def Binary_create( + self, + *, + parent: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def Binary_read( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def Binary_update( + self, + *, + name: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def Binary_vread( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... def Patient_everything( self, *, @@ -1364,6 +1407,14 @@ class SeriesMetricsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SeriesMetrics: ... +@typing.type_check_only +class StorageInfoHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StorageInfo: ... + @typing.type_check_only class StudyMetricsHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index b2f61460..0a5f62bf 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -67,6 +67,20 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class BlobStorageInfo(typing_extensions.TypedDict, total=False): + sizeBytes: str + storageClass: typing_extensions.Literal[ + "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" + ] + storageClassUpdateTime: str + +@typing.type_check_only +class BlobStorageSettings(typing_extensions.TypedDict, total=False): + blobStorageClass: typing_extensions.Literal[ + "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" + ] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -520,6 +534,7 @@ class ImageConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImportDicomDataRequest(typing_extensions.TypedDict, total=False): + blobStorageSettings: BlobStorageSettings gcsSource: GoogleCloudHealthcareV1DicomGcsSource @typing.type_check_only @@ -846,6 +861,14 @@ class SeriesMetrics(typing_extensions.TypedDict, total=False): series: str structuredStorageSizeBytes: str +@typing.type_check_only +class SetBlobStorageSettingsRequest(typing_extensions.TypedDict, total=False): + blobStorageSettings: BlobStorageSettings + filterConfig: DicomFilterConfig + +@typing.type_check_only +class SetBlobStorageSettingsResponse(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -864,12 +887,22 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StorageInfo(typing_extensions.TypedDict, total=False): + blobStorageInfo: BlobStorageInfo + referencedResource: str + structuredStorageInfo: StructuredStorageInfo + @typing.type_check_only class StreamConfig(typing_extensions.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1FhirBigQueryDestination deidentifiedStoreDestination: DeidentifiedStoreDestination resourceTypes: _list[str] +@typing.type_check_only +class StructuredStorageInfo(typing_extensions.TypedDict, total=False): + sizeBytes: str + @typing.type_check_only class StudyMetrics(typing_extensions.TypedDict, total=False): blobStorageSizeBytes: str diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index 7141d71c..a0d8b2c3 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -740,6 +740,26 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): class FhirStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only class FhirResource(googleapiclient.discovery.Resource): + def Binary_create( + self, + *, + parent: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def Binary_read( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + def Binary_update( + self, + *, + name: str, + body: HttpBody = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... + def Binary_vread( + self, *, name: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... def ConceptMap_search_translate( self, *, @@ -764,6 +784,16 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): def Consent_enforcement_status( self, *, name: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... + def Encounter_everything( + self, + *, + name: str, + x_count: int = ..., + x_page_token: str = ..., + x_since: str = ..., + x_type: str = ..., + **kwargs: typing.Any, + ) -> HttpBodyHttpRequest: ... def Observation_lastn( self, *, parent: str, **kwargs: typing.Any ) -> HttpBodyHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi index 8192f9ce..11cdb8bf 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi @@ -350,15 +350,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): GoogleCloudIntegrationsV1alphaListExecutionsResponseHttpRequest | None ): ... - def replay( - self, - *, - name: str, - body: GoogleCloudIntegrationsV1alphaReplayExecutionRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudIntegrationsV1alphaReplayExecutionResponseHttpRequest - ): ... def suspensions(self) -> SuspensionsResource: ... @typing.type_check_only @@ -674,13 +665,6 @@ class IntegrationsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudIntegrationsV1alphaResolveSuspensionResponseHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudIntegrationsV1alphaCancelExecutionRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudIntegrationsV1alphaCancelExecutionResponseHttpRequest: ... def download( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudIntegrationsV1alphaDownloadExecutionResponseHttpRequest: ... @@ -1202,16 +1186,6 @@ class GoogleCloudIntegrationsV1alphaAuthConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaAuthConfig: ... -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaCancelExecutionResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaCancelExecutionResponse: ... - @typing.type_check_only class GoogleCloudIntegrationsV1alphaCertificateHttpRequest( googleapiclient.http.HttpRequest @@ -1532,16 +1506,6 @@ class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponseHttpRequest num_retries: int = 0, ) -> GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse: ... -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaReplayExecutionResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudIntegrationsV1alphaReplayExecutionResponse: ... - @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi index 9b56e699..8d326008 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi @@ -275,6 +275,7 @@ class EnterpriseCrmEventbusProtoConnectorsConnection( ): connectionName: str connectorVersion: str + host: str serviceName: str @typing.type_check_only @@ -382,6 +383,7 @@ class EnterpriseCrmEventbusProtoEventBusProperties( class EnterpriseCrmEventbusProtoEventExecutionDetails( typing_extensions.TypedDict, total=False ): + cancelReason: str eventAttemptStats: _list[ EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats ] @@ -624,14 +626,12 @@ class EnterpriseCrmEventbusProtoJsonFunction(typing_extensions.TypedDict, total= @typing.type_check_only class EnterpriseCrmEventbusProtoLogSettings(typing_extensions.TypedDict, total=False): logFieldName: str - sanitizeOptions: EnterpriseCrmLoggingGwsSanitizeOptions seedPeriod: typing_extensions.Literal[ "SEED_PERIOD_UNSPECIFIED", "DAY", "WEEK", "MONTH" ] seedScope: typing_extensions.Literal[ "SEED_SCOPE_UNSPECIFIED", "EVENT_NAME", "TIME_PERIOD", "PARAM_NAME" ] - shorteningLimits: EnterpriseCrmLoggingGwsFieldLimits @typing.type_check_only class EnterpriseCrmEventbusProtoLoopMetadata(typing_extensions.TypedDict, total=False): @@ -1301,6 +1301,7 @@ class EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray( class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( typing_extensions.TypedDict, total=False ): + cancelReason: str eventAttemptStats: _list[ EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats ] @@ -1336,6 +1337,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( eventExecutionDetails: EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails eventExecutionInfoId: str executionTraceInfo: EnterpriseCrmEventbusProtoExecutionTraceInfo + integrationVersionUserLabel: str lastModifiedTime: str postMethod: typing_extensions.Literal[ "UNSPECIFIED", @@ -1713,43 +1715,6 @@ class EnterpriseCrmFrontendsEventbusProtoWorkflowParameters( ): parameters: _list[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] -@typing.type_check_only -class EnterpriseCrmLoggingGwsFieldLimits(typing_extensions.TypedDict, total=False): - logAction: typing_extensions.Literal["LOG_ACTION_UNSPECIFIED", "DONT_LOG", "LOG"] - logType: _list[ - typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"] - ] - maxArraySize: int - maxStringLength: int - shortenerType: typing_extensions.Literal[ - "SHORTENER_TYPE_UNSPECIFIED", - "SHORTEN", - "HASH", - "SHORTEN_WITH_HASH", - "SHORTEN_EMAIL", - "SHORTEN_EMAIL_WITH_HASH", - "SHORTEN_DOMAIN", - ] - -@typing.type_check_only -class EnterpriseCrmLoggingGwsSanitizeOptions(typing_extensions.TypedDict, total=False): - isAlreadySanitized: bool - logType: _list[ - typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"] - ] - privacy: typing_extensions.Literal[ - "PRIVACY_TYPE_UNSPECIFIED", "NOT_PII", "PII", "SPII", "UNSURE" - ] - sanitizeType: typing_extensions.Literal[ - "SANITIZE_TYPE_UNSPECIFIED", - "SCRUB", - "ANONYMIZE", - "ANONYMIZE_LIMITED_REPEATABLE", - "OBFUSCATE", - "ENCRYPT", - "DO_NOT_SANITIZE", - ] - @typing.type_check_only class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] @@ -1762,8 +1727,12 @@ class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION", + "OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED", ] oauth2AuthCodeFlow: GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow + oauth2AuthCodeFlowGoogleManaged: ( + GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged + ) oauth2ClientCredentials: GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials oauth2JwtBearer: GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer sshPublicKey: GoogleCloudConnectorsV1AuthConfigSshPublicKey @@ -1782,6 +1751,14 @@ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( redirectUri: str scopes: _list[str] +@typing.type_check_only +class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged( + typing_extensions.TypedDict, total=False +): + authCode: str + redirectUri: str + scopes: _list[str] + @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials( typing_extensions.TypedDict, total=False @@ -1839,7 +1816,9 @@ class GoogleCloudConnectorsV1ConfigVariable(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False): + asyncOperationsEnabled: bool authConfig: GoogleCloudConnectorsV1AuthConfig + authOverrideEnabled: bool billingConfig: GoogleCloudConnectorsV1BillingConfig configVariables: _list[GoogleCloudConnectorsV1ConfigVariable] connectionRevision: str @@ -1859,6 +1838,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False "ONLY_EVENTING", ] eventingRuntimeData: GoogleCloudConnectorsV1EventingRuntimeData + host: str imageLocation: str isTrustedTester: bool labels: dict[str, typing.Any] @@ -1874,6 +1854,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID" ] suspended: bool + tlsServiceDirectory: str updateTime: str @typing.type_check_only @@ -1899,12 +1880,25 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig( deploymentModel: typing_extensions.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" ] + deploymentModelMigrationState: typing_extensions.Literal[ + "DEPLOYMENT_MODEL_MIGRATION_STATE_UNSPECIFIED", + "IN_PROGRESS", + "COMPLETED", + "ROLLEDBACK", + "ROLLBACK_IN_PROGRESS", + ] hpaConfig: GoogleCloudConnectorsV1HPAConfig internalclientRatelimitThreshold: str + maxInstanceRequestConcurrency: int ratelimitThreshold: str resourceLimits: GoogleCloudConnectorsV1ResourceLimits resourceRequests: GoogleCloudConnectorsV1ResourceRequests sharedDeployment: str + tlsMigrationState: typing_extensions.Literal[ + "TLS_MIGRATION_STATE_UNSPECIFIED", + "TLS_MIGRATION_NOT_STARTED", + "TLS_MIGRATION_COMPLETED", + ] @typing.type_check_only class GoogleCloudConnectorsV1Destination(typing_extensions.TypedDict, total=False): @@ -2092,17 +2086,6 @@ class GoogleCloudIntegrationsV1alphaBooleanParameterArray( ): booleanValues: _list[bool] -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaCancelExecutionRequest( - typing_extensions.TypedDict, total=False -): ... - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaCancelExecutionResponse( - typing_extensions.TypedDict, total=False -): - isCanceled: bool - @typing.type_check_only class GoogleCloudIntegrationsV1alphaCertificate( typing_extensions.TypedDict, total=False @@ -2556,8 +2539,15 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( "JSON_VALUE", "PROTO_VALUE", "PROTO_ARRAY", + "NON_SERIALIZABLE_OBJECT", + "PROTO_ENUM", + "SERIALIZED_OBJECT_VALUE", + "PROTO_ENUM_ARRAY", + "BYTES", + "BYTES_ARRAY", ] defaultValue: GoogleCloudIntegrationsV1alphaValueType + description: str displayName: str inputOutputType: typing_extensions.Literal[ "IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT" @@ -2822,6 +2812,12 @@ class GoogleCloudIntegrationsV1alphaParameterMap( "JSON_VALUE", "PROTO_VALUE", "PROTO_ARRAY", + "NON_SERIALIZABLE_OBJECT", + "PROTO_ENUM", + "SERIALIZED_OBJECT_VALUE", + "PROTO_ENUM_ARRAY", + "BYTES", + "BYTES_ARRAY", ] valueType: typing_extensions.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", @@ -2836,6 +2832,12 @@ class GoogleCloudIntegrationsV1alphaParameterMap( "JSON_VALUE", "PROTO_VALUE", "PROTO_ARRAY", + "NON_SERIALIZABLE_OBJECT", + "PROTO_ENUM", + "SERIALIZED_OBJECT_VALUE", + "PROTO_ENUM_ARRAY", + "BYTES", + "BYTES_ARRAY", ] @typing.type_check_only @@ -2899,20 +2901,6 @@ class GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest( ): runAsServiceAccount: str -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaReplayExecutionRequest( - typing_extensions.TypedDict, total=False -): - replayReason: str - -@typing.type_check_only -class GoogleCloudIntegrationsV1alphaReplayExecutionResponse( - typing_extensions.TypedDict, total=False -): - executionId: str - outputParameters: dict[str, typing.Any] - replayedExecutionId: str - @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest( typing_extensions.TypedDict, total=False @@ -3175,7 +3163,6 @@ class GoogleCloudIntegrationsV1alphaTemplate(typing_extensions.TypedDict, total= "OTHERS", ] ] - clientId: str components: _list[GoogleCloudIntegrationsV1alphaTemplateComponent] createTime: str description: str diff --git a/googleapiclient-stubs/_apis/logging/v2/resources.pyi b/googleapiclient-stubs/_apis/logging/v2/resources.pyi index b2610290..32e0dff1 100644 --- a/googleapiclient-stubs/_apis/logging/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/resources.pyi @@ -645,6 +645,44 @@ class LoggingResource(googleapiclient.discovery.Resource): def links(self) -> LinksResource: ... def views(self) -> ViewsResource: ... + @typing.type_check_only + class LogScopesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LogScope = ..., + logScopeId: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LogScopeHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLogScopesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLogScopesResponseHttpRequest, + previous_response: ListLogScopesResponse, + ) -> ListLogScopesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LogScope = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -746,6 +784,7 @@ class LoggingResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def buckets(self) -> BucketsResource: ... + def logScopes(self) -> LogScopesResource: ... def operations(self) -> OperationsResource: ... def recentQueries(self) -> RecentQueriesResource: ... def savedQueries(self) -> SavedQueriesResource: ... @@ -1276,6 +1315,44 @@ class LoggingResource(googleapiclient.discovery.Resource): def links(self) -> LinksResource: ... def views(self) -> ViewsResource: ... + @typing.type_check_only + class LogScopesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LogScope = ..., + logScopeId: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LogScopeHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLogScopesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLogScopesResponseHttpRequest, + previous_response: ListLogScopesResponse, + ) -> ListLogScopesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LogScope = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1377,6 +1454,7 @@ class LoggingResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def buckets(self) -> BucketsResource: ... + def logScopes(self) -> LogScopesResource: ... def operations(self) -> OperationsResource: ... def recentQueries(self) -> RecentQueriesResource: ... def savedQueries(self) -> SavedQueriesResource: ... @@ -1687,6 +1765,44 @@ class LoggingResource(googleapiclient.discovery.Resource): def links(self) -> LinksResource: ... def views(self) -> ViewsResource: ... + @typing.type_check_only + class LogScopesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LogScope = ..., + logScopeId: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LogScopeHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLogScopesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLogScopesResponseHttpRequest, + previous_response: ListLogScopesResponse, + ) -> ListLogScopesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LogScope = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> LogScopeHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1788,6 +1904,7 @@ class LoggingResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def buckets(self) -> BucketsResource: ... + def logScopes(self) -> LogScopesResource: ... def operations(self) -> OperationsResource: ... def recentQueries(self) -> RecentQueriesResource: ... def savedQueries(self) -> SavedQueriesResource: ... @@ -2065,6 +2182,14 @@ class ListLogMetricsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLogMetricsResponse: ... +@typing.type_check_only +class ListLogScopesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLogScopesResponse: ... + @typing.type_check_only class ListLogsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2155,6 +2280,14 @@ class LogMetricHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LogMetric: ... +@typing.type_check_only +class LogScopeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LogScope: ... + @typing.type_check_only class LogSinkHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi index cc0a81bc..04fa908c 100644 --- a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi @@ -257,6 +257,11 @@ class ListLogMetricsResponse(typing_extensions.TypedDict, total=False): metrics: _list[LogMetric] nextPageToken: str +@typing.type_check_only +class ListLogScopesResponse(typing_extensions.TypedDict, total=False): + logScopes: _list[LogScope] + nextPageToken: str + @typing.type_check_only class ListLogsResponse(typing_extensions.TypedDict, total=False): logNames: _list[str] @@ -420,6 +425,14 @@ class LogMetric(typing_extensions.TypedDict, total=False): valueExtractor: str version: typing_extensions.Literal["V2", "V1"] +@typing.type_check_only +class LogScope(typing_extensions.TypedDict, total=False): + createTime: str + description: str + name: str + resourceNames: _list[str] + updateTime: str + @typing.type_check_only class LogSink(typing_extensions.TypedDict, total=False): bigqueryOptions: BigQueryOptions @@ -507,6 +520,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MonitoredResource(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi index 0019c92d..1d599225 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -111,6 +111,8 @@ class Instance(typing_extensions.TypedDict, total=False): denyMaintenancePeriod: DenyMaintenancePeriod egressPublicIp: str encryptionConfig: EncryptionConfig + fipsEnabled: bool + geminiEnabled: bool ingressPrivateIp: str ingressPublicIp: str lastDenyMaintenancePeriod: DenyMaintenancePeriod @@ -130,6 +132,8 @@ class Instance(typing_extensions.TypedDict, total=False): "LOOKER_CORE_EMBED_ANNUAL", ] privateIpEnabled: bool + pscConfig: PscConfig + pscEnabled: bool publicIpEnabled: bool reservedRange: str state: typing_extensions.Literal[ @@ -219,9 +223,23 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class PscConfig(typing_extensions.TypedDict, total=False): + allowedVpcs: _list[str] + lookerServiceAttachmentUri: str + serviceAttachments: _list[ServiceAttachment] + @typing.type_check_only class RestartInstanceRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ServiceAttachment(typing_extensions.TypedDict, total=False): + connectionStatus: typing_extensions.Literal[ + "UNKNOWN", "ACCEPTED", "PENDING", "REJECTED", "NEEDS_ATTENTION", "CLOSED" + ] + localFqdn: str + targetServiceAttachmentUri: str + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy diff --git a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi index f1e91729..afe6e980 100644 --- a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi @@ -24,6 +24,7 @@ class Attributes(typing_extensions.TypedDict, total=False): gtin: _list[str] imageLink: Image includedDestination: _list[str] + intendedCountry: _list[str] itemGroupId: str material: str mpn: str @@ -70,7 +71,10 @@ class Count(typing_extensions.TypedDict, total=False): @typing.type_check_only class DestinationStatus(typing_extensions.TypedDict, total=False): + approvedCountries: _list[str] destination: str + disapprovedCountries: _list[str] + pendingCountries: _list[str] status: typing_extensions.Literal["UNKNOWN", "ACTIVE", "PENDING", "DISAPPROVED"] @typing.type_check_only @@ -209,6 +213,7 @@ class Product(typing_extensions.TypedDict, total=False): attributes: Attributes contentLanguage: str destinationStatuses: _list[DestinationStatus] + feedLabel: str issues: _list[Issue] name: str parent: str diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi index b9aba89e..78e90d0e 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi @@ -15,6 +15,20 @@ _list = list class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AutofeedSettingsResource(googleapiclient.discovery.Resource): + def getAutofeedSettings( + self, *, name: str, **kwargs: typing.Any + ) -> AutofeedSettingsHttpRequest: ... + def updateAutofeedSettings( + self, + *, + name: str, + body: AutofeedSettings = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AutofeedSettingsHttpRequest: ... + @typing.type_check_only class BusinessIdentityResource(googleapiclient.discovery.Resource): def getBusinessIdentity( @@ -44,7 +58,7 @@ class MerchantResource(googleapiclient.discovery.Resource): ) -> BusinessInfoHttpRequest: ... @typing.type_check_only - class EmailpreferencesResource(googleapiclient.discovery.Resource): + class EmailPreferencesResource(googleapiclient.discovery.Resource): def getEmailPreferences( self, *, name: str, **kwargs: typing.Any ) -> EmailPreferencesHttpRequest: ... @@ -283,9 +297,10 @@ class MerchantResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> AccountHttpRequest: ... + def autofeedSettings(self) -> AutofeedSettingsResource: ... def businessIdentity(self) -> BusinessIdentityResource: ... def businessInfo(self) -> BusinessInfoResource: ... - def emailpreferences(self) -> EmailpreferencesResource: ... + def emailPreferences(self) -> EmailPreferencesResource: ... def homepage(self) -> HomepageResource: ... def issues(self) -> IssuesResource: ... def onlineReturnPolicies(self) -> OnlineReturnPoliciesResource: ... @@ -343,6 +358,14 @@ class AccountHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Account: ... +@typing.type_check_only +class AutofeedSettingsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutofeedSettings: ... + @typing.type_check_only class BusinessIdentityHttpRequest(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 cc38b76e..b2669595 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi @@ -49,6 +49,12 @@ class Address(typing_extensions.TypedDict, total=False): regionCode: str streetAddress: str +@typing.type_check_only +class AutofeedSettings(typing_extensions.TypedDict, total=False): + eligible: bool + enableProducts: bool + name: str + @typing.type_check_only class BusinessDayConfig(typing_extensions.TypedDict, total=False): businessDays: _list[ @@ -82,6 +88,7 @@ class BusinessIdentity(typing_extensions.TypedDict, total=False): class BusinessInfo(typing_extensions.TypedDict, total=False): address: PostalAddress customerService: CustomerService + koreanBusinessRegistrationNumber: str name: str phone: PhoneNumber phoneVerificationState: typing_extensions.Literal[ @@ -224,6 +231,8 @@ class ImpactedDestination(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only @@ -371,6 +380,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi index 67f7a312..3828c3f2 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi @@ -79,6 +79,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi index 8bc8c91c..b0407ea7 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi @@ -17,6 +17,12 @@ class MerchantResource(googleapiclient.discovery.Resource): class AccountsResource(googleapiclient.discovery.Resource): @typing.type_check_only class DataSourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FileUploadsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FileUploadHttpRequest: ... + def create( self, *, parent: str, body: DataSource = ..., **kwargs: typing.Any ) -> DataSourceHttpRequest: ... @@ -54,6 +60,7 @@ class MerchantResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> DataSourceHttpRequest: ... + def fileUploads(self) -> FileUploadsResource: ... def dataSources(self) -> DataSourcesResource: ... @@ -87,6 +94,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class FileUploadHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FileUpload: ... + @typing.type_check_only class ListDataSourcesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi index 34e0002d..cb767492 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi @@ -19,6 +19,16 @@ class DataSource(typing_extensions.TypedDict, total=False): regionalInventoryDataSource: RegionalInventoryDataSource supplementalProductDataSource: SupplementalProductDataSource +@typing.type_check_only +class DataSourceReference(typing_extensions.TypedDict, total=False): + primaryDataSourceName: str + self: bool + supplementalDataSourceName: str + +@typing.type_check_only +class DefaultRule(typing_extensions.TypedDict, total=False): + takeFromDataSources: _list[DataSourceReference] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -59,6 +69,28 @@ class FileInput(typing_extensions.TypedDict, total=False): ] fileName: str +@typing.type_check_only +class FileUpload(typing_extensions.TypedDict, total=False): + dataSourceId: str + issues: _list[Issue] + itemsCreated: str + itemsTotal: str + itemsUpdated: str + name: str + processingState: typing_extensions.Literal[ + "PROCESSING_STATE_UNSPECIFIED", "FAILED", "IN_PROGRESS", "SUCCEEDED" + ] + uploadTime: str + +@typing.type_check_only +class Issue(typing_extensions.TypedDict, total=False): + code: str + count: str + description: str + documentationUri: str + severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + title: str + @typing.type_check_only class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): dataSources: _list[DataSource] @@ -76,6 +108,7 @@ class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): ] contentLanguage: str countries: _list[str] + defaultRule: DefaultRule feedLabel: str @typing.type_check_only @@ -99,6 +132,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only @@ -125,6 +160,7 @@ class RegionalInventoryDataSource(typing_extensions.TypedDict, total=False): class SupplementalProductDataSource(typing_extensions.TypedDict, total=False): contentLanguage: str feedLabel: str + referencingPrimaryDataSources: _list[DataSourceReference] @typing.type_check_only class TimeOfDay(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi index febffd9b..e408bfa6 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi @@ -69,6 +69,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi index 0c97c3af..e183f2be 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi @@ -88,6 +88,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi index 1f476a58..329b2288 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi @@ -43,6 +43,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi index 0279e99a..caddbd46 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi @@ -41,7 +41,7 @@ class Attributes(typing_extensions.TypedDict, total=False): freeShippingThreshold: _list[FreeShippingThreshold] gender: str googleProductCategory: str - gtin: str + gtin: _list[str] identifierExists: bool imageLink: str includedDestinations: _list[str] @@ -144,6 +144,8 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only @@ -190,6 +192,8 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] resolution: str severity: typing_extensions.Literal[ @@ -255,6 +259,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi index 7b4cfb7f..0627186d 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi @@ -91,6 +91,8 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] status: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -136,6 +138,8 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] resolution: str severity: typing_extensions.Literal[ @@ -173,6 +177,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi index 1bc6d4f4..c476505b 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi @@ -37,6 +37,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi index 49767b56..a4caf710 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi @@ -147,6 +147,8 @@ class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False) "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only @@ -248,6 +250,8 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_SHOPPING", "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi index e4a2dfc9..6c5ec83b 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi @@ -459,10 +459,21 @@ class ImportJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class ImportRowError(typing_extensions.TypedDict, total=False): + csvError: ImportRowErrorCsvErrorDetails errors: _list[ImportError] rowNumber: int vmName: str vmUuid: str + xlsxError: ImportRowErrorXlsxErrorDetails + +@typing.type_check_only +class ImportRowErrorCsvErrorDetails(typing_extensions.TypedDict, total=False): + rowNumber: int + +@typing.type_check_only +class ImportRowErrorXlsxErrorDetails(typing_extensions.TypedDict, total=False): + rowNumber: int + sheet: str @typing.type_check_only class Insight(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi index 52c89a27..21266a71 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi @@ -417,6 +417,27 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RelationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RelationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRelationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRelationsResponseHttpRequest, + previous_response: ListRelationsResponse, + ) -> ListRelationsResponseHttpRequest | None: ... + @typing.type_check_only class ReportConfigsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -615,6 +636,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): def importJobs(self) -> ImportJobsResource: ... def operations(self) -> OperationsResource: ... def preferenceSets(self) -> PreferenceSetsResource: ... + def relations(self) -> RelationsResource: ... def reportConfigs(self) -> ReportConfigsResource: ... def sources(self) -> SourcesResource: ... @@ -794,6 +816,14 @@ class ListPreferenceSetsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListPreferenceSetsResponse: ... +@typing.type_check_only +class ListRelationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRelationsResponse: ... + @typing.type_check_only class ListReportConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -842,6 +872,14 @@ class PreferenceSetHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> PreferenceSet: ... +@typing.type_check_only +class RelationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Relation: ... + @typing.type_check_only class ReportHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi index e16fb2fa..01f70450 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi @@ -121,10 +121,13 @@ class AssetPerformanceData(typing_extensions.TypedDict, total=False): class AssetsExportJob(typing_extensions.TypedDict, total=False): condition: AssetsExportJobExportCondition createTime: str + inventory: AssetsExportJobInventory labels: dict[str, typing.Any] name: str networkDependencies: AssetsExportJobNetworkDependencies + performanceData: AssetsExportJobPerformanceData recentExecutions: _list[AssetsExportJobExecution] + showHidden: bool signedUriDestination: SignedUriDestination updateTime: str @@ -133,22 +136,31 @@ class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): endTime: str executionId: str expireTime: str + requestedAssetCount: int result: AssetsExportJobExecutionResult startTime: str @typing.type_check_only class AssetsExportJobExecutionResult(typing_extensions.TypedDict, total=False): error: Status + outputFiles: OutputFileList signedUris: SignedUris @typing.type_check_only class AssetsExportJobExportCondition(typing_extensions.TypedDict, total=False): filter: str +@typing.type_check_only +class AssetsExportJobInventory(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): maxDays: int +@typing.type_check_only +class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): + maxDays: int + @typing.type_check_only class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): location: str @@ -163,6 +175,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 @@ -184,6 +197,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 CloudDatabaseMigrationTarget(typing_extensions.TypedDict, total=False): cloudSqlForMysqlShape: CloudSqlForMySqlShape @@ -331,6 +351,12 @@ class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): class CpuUsageSample(typing_extensions.TypedDict, total=False): utilizedPercentage: float +@typing.type_check_only +class CsvOutputFile(typing_extensions.TypedDict, total=False): + columnsCount: int + rowCount: int + signedUri: SignedUri + @typing.type_check_only class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): cpu: DailyResourceUsageAggregationCPU @@ -392,6 +418,8 @@ class DatabaseDeploymentTopology(typing_extensions.TypedDict, total=False): instances: _list[DatabaseInstance] memoryBytes: str memoryLimitBytes: str + physicalCoreCount: int + physicalCoreLimit: int @typing.type_check_only class DatabaseDetails(typing_extensions.TypedDict, total=False): @@ -408,10 +436,17 @@ class DatabaseDetailsParentDatabaseDeployment(typing_extensions.TypedDict, total @typing.type_check_only class DatabaseInstance(typing_extensions.TypedDict, total=False): instanceName: str + network: DatabaseInstanceNetwork role: typing_extensions.Literal[ "ROLE_UNSPECIFIED", "PRIMARY", "SECONDARY", "ARBITER" ] +@typing.type_check_only +class DatabaseInstanceNetwork(typing_extensions.TypedDict, total=False): + hostNames: _list[str] + ipAddresses: _list[str] + primaryMacAddress: str + @typing.type_check_only class DatabaseObjects(typing_extensions.TypedDict, total=False): category: typing_extensions.Literal[ @@ -777,7 +812,6 @@ class ImportRowError(typing_extensions.TypedDict, total=False): assetTitle: str csvError: ImportRowErrorCsvErrorDetails errors: _list[ImportError] - jsonError: ImportRowErrorJsonErrorDetails rowNumber: int vmName: str vmUuid: str @@ -792,9 +826,6 @@ class ImportRowErrorArchiveErrorDetails(typing_extensions.TypedDict, total=False class ImportRowErrorCsvErrorDetails(typing_extensions.TypedDict, total=False): rowNumber: int -@typing.type_check_only -class ImportRowErrorJsonErrorDetails(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class ImportRowErrorXlsxErrorDetails(typing_extensions.TypedDict, total=False): rowNumber: int @@ -899,6 +930,11 @@ class ListPreferenceSetsResponse(typing_extensions.TypedDict, total=False): preferenceSets: _list[PreferenceSet] unreachable: _list[str] +@typing.type_check_only +class ListRelationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + relations: _list[Relation] + @typing.type_check_only class ListReportConfigsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -1108,6 +1144,15 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class OutputFile(typing_extensions.TypedDict, total=False): + csvOutputFile: CsvOutputFile + fileSizeBytes: int + +@typing.type_check_only +class OutputFileList(typing_extensions.TypedDict, total=False): + entries: _list[OutputFile] + @typing.type_check_only class PayloadFile(typing_extensions.TypedDict, total=False): data: str @@ -1179,6 +1224,16 @@ class PreferenceSet(typing_extensions.TypedDict, total=False): class RegionPreferences(typing_extensions.TypedDict, total=False): preferredRegions: _list[str] +@typing.type_check_only +class Relation(typing_extensions.TypedDict, total=False): + createTime: str + dstAsset: str + name: str + srcAsset: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "LOGICAL_DATABASE", "DATABASE_DEPLOYMENT_HOSTING_SERVER" + ] + @typing.type_check_only class RemoveAssetsFromGroupRequest(typing_extensions.TypedDict, total=False): allowMissing: bool @@ -1280,9 +1335,11 @@ class ReportSummaryGroupPreferenceSetFinding(typing_extensions.TypedDict, total= monthlyCostCompute: Money monthlyCostDatabaseBackup: Money monthlyCostDatabaseLicensing: Money + monthlyCostGcveProtected: Money monthlyCostNetworkEgress: Money monthlyCostOsLicense: Money monthlyCostOther: Money + monthlyCostPortableVmwareLicense: Money monthlyCostStorage: Money monthlyCostTotal: Money preferenceSet: PreferenceSet @@ -1489,7 +1546,8 @@ class SqlServerFeature(typing_extensions.TypedDict, total=False): featureName: str @typing.type_check_only -class SqlServerSchemaDetails(typing_extensions.TypedDict, total=False): ... +class SqlServerSchemaDetails(typing_extensions.TypedDict, total=False): + clrObjectCount: int @typing.type_check_only class SqlServerServerFlag(typing_extensions.TypedDict, total=False): @@ -1525,6 +1583,20 @@ class UploadFileInfo(typing_extensions.TypedDict, total=False): signedUri: str uriExpirationTime: str +@typing.type_check_only +class VMwareEngineMachinePreferences(typing_extensions.TypedDict, total=False): + allowedMachineSeries: _list[MachineSeries] + protectedNodes: typing_extensions.Literal[ + "PROTECTED_NODES_UNSPECIFIED", + "PROTECTED_NODES_ENABLED", + "PROTECTED_NODES_DISABLED", + ] + storageOnlyNodes: typing_extensions.Literal[ + "STORAGE_ONLY_NODES_UNSPECIFIED", + "STORAGE_ONLY_NODES_ENABLED", + "STORAGE_ONLY_NODES_DISABLED", + ] + @typing.type_check_only class ValidateImportJobRequest(typing_extensions.TypedDict, total=False): requestId: str @@ -1673,7 +1745,14 @@ class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): "COMMITMENT_FLEXIBLE_3_YEAR_UPFRONT_PAYMENT", ] cpuOvercommitRatio: float + licenseDiscountPercentage: float + machinePreferences: VMwareEngineMachinePreferences memoryOvercommitRatio: float + serviceType: typing_extensions.Literal[ + "SERVICE_TYPE_UNSPECIFIED", + "SERVICE_TYPE_FULLY_LICENSED", + "SERVICE_TYPE_PORTABLE_LICENSE", + ] storageDeduplicationCompressionRatio: float @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index bab5e4e0..a0fd1b22 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -92,7 +92,12 @@ class ColumnLayout(typing_extensions.TypedDict, total=False): @typing.type_check_only class ColumnSettings(typing_extensions.TypedDict, total=False): + alignment: typing_extensions.Literal[ + "CELL_ALIGNMENT_UNSPECIFIED", "LEFT", "CENTER", "RIGHT" + ] column: str + displayName: str + thresholds: _list[Threshold] visible: bool @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi index b5d9e81e..dbdf69a6 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi @@ -561,6 +561,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRange(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi index 8d965d28..3a746e80 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi @@ -41,6 +41,7 @@ class ConsumerPscConfig(typing_extensions.TypedDict, total=False): disableGlobalAccess: bool network: str producerInstanceId: str + producerInstanceMetadata: dict[str, typing.Any] project: str serviceAttachmentIpAddressMap: dict[str, typing.Any] state: typing_extensions.Literal[ @@ -48,6 +49,7 @@ class ConsumerPscConfig(typing_extensions.TypedDict, total=False): "VALID", "CONNECTION_POLICY_MISSING", "POLICY_LIMIT_REACHED", + "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED", ] @typing.type_check_only @@ -65,6 +67,7 @@ class ConsumerPscConnection(typing_extensions.TypedDict, total=False): ip: str network: str producerInstanceId: str + producerInstanceMetadata: dict[str, typing.Any] project: str pscConnectionId: str selectedSubnetwork: str @@ -180,6 +183,7 @@ class InternalRange(typing_extensions.TypedDict, total=False): description: str ipCidrRange: str labels: dict[str, typing.Any] + migration: Migration name: str network: str overlaps: _list[ @@ -195,7 +199,9 @@ class InternalRange(typing_extensions.TypedDict, total=False): prefixLength: int targetCidrRange: _list[str] updateTime: str - usage: typing_extensions.Literal["USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC"] + usage: typing_extensions.Literal[ + "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC", "FOR_MIGRATION" + ] users: _list[str] @typing.type_check_only @@ -216,6 +222,7 @@ class LinkedRouterApplianceInstances(typing_extensions.TypedDict, total=False): class LinkedVpcNetwork(typing_extensions.TypedDict, total=False): excludeExportRanges: _list[str] includeExportRanges: _list[str] + producerVpcSpokes: _list[str] uri: str @typing.type_check_only @@ -326,6 +333,11 @@ class LocationMetadata(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class Migration(typing_extensions.TypedDict, total=False): + source: str + target: str + @typing.type_check_only class NextHopInterconnectAttachment(typing_extensions.TypedDict, total=False): siteToSiteDataTransfer: bool @@ -413,8 +425,10 @@ class PscConnection(typing_extensions.TypedDict, total=False): ] gceOperation: str producerInstanceId: str + producerInstanceMetadata: dict[str, typing.Any] pscConnectionId: str selectedSubnetwork: str + serviceClass: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "CREATING", "DELETING" ] diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi index 79d7b63a..182169de 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi @@ -75,6 +75,7 @@ class InternalRange(typing_extensions.TypedDict, total=False): description: str ipCidrRange: str labels: dict[str, typing.Any] + migration: Migration name: str network: str overlaps: _list[ @@ -90,7 +91,9 @@ class InternalRange(typing_extensions.TypedDict, total=False): prefixLength: int targetCidrRange: _list[str] updateTime: str - usage: typing_extensions.Literal["USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC"] + usage: typing_extensions.Literal[ + "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC", "FOR_MIGRATION" + ] users: _list[str] @typing.type_check_only @@ -124,6 +127,11 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class Migration(typing_extensions.TypedDict, total=False): + source: str + target: str + @typing.type_check_only class OperationMetadata(typing_extensions.TypedDict, total=False): apiVersion: str diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index ed3e1a1e..0c1ccb04 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -36,6 +36,8 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "ROUTE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", + "SOURCE_REDIS_CLUSTER_UNSUPPORTED", + "SOURCE_REDIS_INSTANCE_UNSUPPORTED", "SOURCE_FORWARDING_RULE_UNSUPPORTED", "NON_ROUTABLE_IP_ADDRESS", "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", @@ -147,6 +149,8 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "APP_ENGINE_VERSION", "CLOUD_RUN_REVISION", "GOOGLE_MANAGED_SERVICE", + "REDIS_INSTANCE", + "REDIS_CLUSTER", ] @typing.type_check_only @@ -180,6 +184,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", + "REDIS_INSTANCE_NOT_RUNNING", + "REDIS_CLUSTER_NOT_RUNNING", "TRAFFIC_TYPE_BLOCKED", "GKE_MASTER_UNAUTHORIZED_ACCESS", "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", @@ -218,6 +224,20 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTING_LOOP", "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE", "LOAD_BALANCER_BACKEND_INVALID_NETWORK", + "BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED", + "DESTINATION_IS_PRIVATE_NAT_IP_RANGE", + "DROPPED_INSIDE_REDIS_INSTANCE_SERVICE", + "REDIS_INSTANCE_UNSUPPORTED_PORT", + "REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS", + "REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK", + "REDIS_INSTANCE_NO_EXTERNAL_IP", + "REDIS_INSTANCE_UNSUPPORTED_PROTOCOL", + "DROPPED_INSIDE_REDIS_CLUSTER_SERVICE", + "REDIS_CLUSTER_UNSUPPORTED_PORT", + "REDIS_CLUSTER_NO_EXTERNAL_IP", + "REDIS_CLUSTER_UNSUPPORTED_PROTOCOL", + "NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION", + "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", ] destinationIp: str region: str @@ -479,6 +499,8 @@ class NatInfo(typing_extensions.TypedDict, total=False): class NetworkInfo(typing_extensions.TypedDict, total=False): displayName: str matchedIpRange: str + matchedSubnetUri: str + region: str uri: str @typing.type_check_only @@ -549,11 +571,31 @@ class ReachabilityDetails(typing_extensions.TypedDict, total=False): traces: _list[Trace] verifyTime: str +@typing.type_check_only +class RedisClusterInfo(typing_extensions.TypedDict, total=False): + discoveryEndpointIpAddress: str + displayName: str + location: str + networkUri: str + secondaryEndpointIpAddress: str + uri: str + +@typing.type_check_only +class RedisInstanceInfo(typing_extensions.TypedDict, total=False): + displayName: str + networkUri: str + primaryEndpointIp: str + readEndpointIp: str + region: str + uri: str + @typing.type_check_only class RerunConnectivityTestRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class RouteInfo(typing_extensions.TypedDict, total=False): + advertisedRouteNextHopUri: str + advertisedRouteSourceRouterUri: str destIpRange: str destPortRanges: _list[str] displayName: str @@ -579,6 +621,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): ] priority: int protocols: _list[str] + region: str routeScope: typing_extensions.Literal[ "ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB" ] @@ -635,6 +678,8 @@ class Step(typing_extensions.TypedDict, total=False): network: NetworkInfo projectId: str proxyConnection: ProxyConnectionInfo + redisCluster: RedisClusterInfo + redisInstance: RedisInstanceInfo route: RouteInfo serverlessNeg: ServerlessNegInfo state: typing_extensions.Literal[ @@ -645,6 +690,8 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_PRIVATE_NETWORK", "START_FROM_GKE_MASTER", "START_FROM_CLOUD_SQL_INSTANCE", + "START_FROM_REDIS_INSTANCE", + "START_FROM_REDIS_CLUSTER", "START_FROM_CLOUD_FUNCTION", "START_FROM_APP_ENGINE_VERSION", "START_FROM_CLOUD_RUN_REVISION", diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi index 448b3ac9..8d34e6f1 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi @@ -120,6 +120,46 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): def connectivityTests(self) -> ConnectivityTestsResource: ... 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: ... @@ -138,6 +178,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def global_(self) -> GlobalResource: ... + def vpcFlowLogsConfigs(self) -> VpcFlowLogsConfigsResource: ... def locations(self) -> LocationsResource: ... @@ -195,6 +236,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListVpcFlowLogsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListVpcFlowLogsConfigsResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -226,3 +275,11 @@ class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> TestIamPermissionsResponse: ... + +@typing.type_check_only +class VpcFlowLogsConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VpcFlowLogsConfig: ... diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index cc6e8aaa..f77e5a3f 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -36,6 +36,8 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "ROUTE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", + "SOURCE_REDIS_CLUSTER_UNSUPPORTED", + "SOURCE_REDIS_INSTANCE_UNSUPPORTED", "SOURCE_FORWARDING_RULE_UNSUPPORTED", "NON_ROUTABLE_IP_ADDRESS", "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", @@ -148,6 +150,8 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "APP_ENGINE_VERSION", "CLOUD_RUN_REVISION", "GOOGLE_MANAGED_SERVICE", + "REDIS_INSTANCE", + "REDIS_CLUSTER", ] @typing.type_check_only @@ -181,6 +185,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", + "REDIS_INSTANCE_NOT_RUNNING", + "REDIS_CLUSTER_NOT_RUNNING", "TRAFFIC_TYPE_BLOCKED", "GKE_MASTER_UNAUTHORIZED_ACCESS", "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", @@ -219,6 +225,20 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTING_LOOP", "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE", "LOAD_BALANCER_BACKEND_INVALID_NETWORK", + "BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED", + "DESTINATION_IS_PRIVATE_NAT_IP_RANGE", + "DROPPED_INSIDE_REDIS_INSTANCE_SERVICE", + "REDIS_INSTANCE_UNSUPPORTED_PORT", + "REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS", + "REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK", + "REDIS_INSTANCE_NO_EXTERNAL_IP", + "REDIS_INSTANCE_UNSUPPORTED_PROTOCOL", + "DROPPED_INSIDE_REDIS_CLUSTER_SERVICE", + "REDIS_CLUSTER_UNSUPPORTED_PORT", + "REDIS_CLUSTER_NO_EXTERNAL_IP", + "REDIS_CLUSTER_UNSUPPORTED_PROTOCOL", + "NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION", + "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", ] destinationIp: str region: str @@ -269,6 +289,8 @@ class Endpoint(typing_extensions.TypedDict, total=False): ] port: int projectId: str + redisCluster: str + redisInstance: str @typing.type_check_only class EndpointInfo(typing_extensions.TypedDict, total=False): @@ -400,6 +422,12 @@ class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] +@typing.type_check_only +class ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] + @typing.type_check_only class LoadBalancerBackend(typing_extensions.TypedDict, total=False): displayName: str @@ -480,6 +508,8 @@ class NatInfo(typing_extensions.TypedDict, total=False): class NetworkInfo(typing_extensions.TypedDict, total=False): displayName: str matchedIpRange: str + matchedSubnetUri: str + region: str uri: str @typing.type_check_only @@ -550,11 +580,31 @@ class ReachabilityDetails(typing_extensions.TypedDict, total=False): traces: _list[Trace] verifyTime: str +@typing.type_check_only +class RedisClusterInfo(typing_extensions.TypedDict, total=False): + discoveryEndpointIpAddress: str + displayName: str + location: str + networkUri: str + secondaryEndpointIpAddress: str + uri: str + +@typing.type_check_only +class RedisInstanceInfo(typing_extensions.TypedDict, total=False): + displayName: str + networkUri: str + primaryEndpointIp: str + readEndpointIp: str + region: str + uri: str + @typing.type_check_only class RerunConnectivityTestRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class RouteInfo(typing_extensions.TypedDict, total=False): + advertisedRouteNextHopUri: str + advertisedRouteSourceRouterUri: str destIpRange: str destPortRanges: _list[str] displayName: str @@ -580,6 +630,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): ] priority: int protocols: _list[str] + region: str routeScope: typing_extensions.Literal[ "ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB" ] @@ -636,6 +687,8 @@ class Step(typing_extensions.TypedDict, total=False): network: NetworkInfo projectId: str proxyConnection: ProxyConnectionInfo + redisCluster: RedisClusterInfo + redisInstance: RedisInstanceInfo route: RouteInfo serverlessNeg: ServerlessNegInfo state: typing_extensions.Literal[ @@ -646,6 +699,8 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_PRIVATE_NETWORK", "START_FROM_GKE_MASTER", "START_FROM_CLOUD_SQL_INSTANCE", + "START_FROM_REDIS_INSTANCE", + "START_FROM_REDIS_CLUSTER", "START_FROM_CLOUD_FUNCTION", "START_FROM_APP_ENGINE_VERSION", "START_FROM_CLOUD_RUN_REVISION", @@ -701,6 +756,35 @@ class VpcConnectorInfo(typing_extensions.TypedDict, total=False): location: str uri: str +@typing.type_check_only +class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): + aggregationInterval: typing_extensions.Literal[ + "AGGREGATION_INTERVAL_UNSPECIFIED", + "INTERVAL_5_SEC", + "INTERVAL_30_SEC", + "INTERVAL_1_MIN", + "INTERVAL_5_MIN", + "INTERVAL_10_MIN", + "INTERVAL_15_MIN", + ] + createTime: str + description: str + filterExpr: str + flowSampling: float + interconnectAttachment: str + labels: dict[str, typing.Any] + metadata: typing_extensions.Literal[ + "METADATA_UNSPECIFIED", + "INCLUDE_ALL_METADATA", + "EXCLUDE_ALL_METADATA", + "CUSTOM_METADATA", + ] + metadataFields: _list[str] + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + updateTime: str + vpnTunnel: str + @typing.type_check_only class VpnGatewayInfo(typing_extensions.TypedDict, total=False): displayName: str diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index 55b2ebba..8075e5fd 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -99,7 +99,7 @@ class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): network: str reconciling: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "ORPHAN" ] tlsInspectionPolicy: str updateTime: str diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index 6b246956..ae770bdf 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -648,6 +648,178 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def rules(self) -> RulesResource: ... + @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( @@ -838,6 +1010,14 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, ) -> FirewallEndpointAssociationsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... + 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: ... @@ -1034,6 +1214,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 +1306,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/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi index 51ca463c..174c801b 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi @@ -200,7 +200,7 @@ class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): network: str reconciling: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "ORPHAN" ] tlsInspectionPolicy: str updateTime: str @@ -356,6 +356,29 @@ 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 @@ -406,6 +429,88 @@ class MTLSPolicy(typing_extensions.TypedDict, total=False): ] clientValidationTrustConfig: str +@typing.type_check_only +class MirroringDeployment(typing_extensions.TypedDict, total=False): + createTime: 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 + labels: dict[str, typing.Any] + name: str + 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 MirroringEndpointGroup(typing_extensions.TypedDict, total=False): + createTime: 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] + 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 MirroringEndpointGroupAssociationLocationDetails( + 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 diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index 858701f3..9ef2d088 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -114,6 +114,9 @@ class Gateway(typing_extensions.TypedDict, total=False): name: str network: str ports: _list[int] + routingMode: typing_extensions.Literal[ + "EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE" + ] scope: str selfLink: str serverTlsPolicy: str @@ -449,6 +452,21 @@ 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): + logSeverity: typing_extensions.Literal[ + "LOG_SEVERITY_UNSPECIFIED", + "NONE", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY", + ] + @typing.type_check_only class Mesh(typing_extensions.TypedDict, total=False): createTime: str @@ -487,6 +505,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class RetryFilterPerRouteConfig(typing_extensions.TypedDict, total=False): + cryptoKeyName: str + @typing.type_check_only class ServiceBinding(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index ead47812..15354d87 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -118,6 +118,9 @@ class Gateway(typing_extensions.TypedDict, total=False): name: str network: str ports: _list[int] + routingMode: typing_extensions.Literal[ + "EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE" + ] scope: str selfLink: str serverTlsPolicy: str @@ -459,6 +462,21 @@ 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): + logSeverity: typing_extensions.Literal[ + "LOG_SEVERITY_UNSPECIFIED", + "NONE", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY", + ] + @typing.type_check_only class Mesh(typing_extensions.TypedDict, total=False): createTime: str @@ -509,6 +527,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class RetryFilterPerRouteConfig(typing_extensions.TypedDict, total=False): + cryptoKeyName: str + @typing.type_check_only class ServiceBinding(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi index 964e24ea..d7b463a1 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi @@ -20,6 +20,8 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS", + "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", "TPU_V2", "TPU_V3", ] @@ -589,6 +591,8 @@ class SetInstanceAcceleratorRequest(typing_extensions.TypedDict, total=False): "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS", + "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", "TPU_V2", "TPU_V3", ] diff --git a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi index cbb48eeb..be86c481 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi @@ -99,6 +99,13 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): body: ResizeDiskRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def restore( + self, + *, + name: str, + body: RestoreInstanceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def rollback( self, *, diff --git a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi index 994274b0..f3585aa6 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi @@ -249,6 +249,10 @@ class ResizeDiskRequest(typing_extensions.TypedDict, total=False): bootDisk: BootDisk dataDisk: DataDisk +@typing.type_check_only +class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): + snapshot: Snapshot + @typing.type_check_only class RollbackInstanceRequest(typing_extensions.TypedDict, total=False): revisionId: str @@ -269,6 +273,11 @@ class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): enableSecureBoot: bool enableVtpm: bool +@typing.type_check_only +class Snapshot(typing_extensions.TypedDict, total=False): + projectId: str + snapshotId: str + @typing.type_check_only class StartInstanceRequest(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/oracledatabase/__init__.pyi b/googleapiclient-stubs/_apis/oracledatabase/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/__init__.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/__init__.pyi new file mode 100644 index 00000000..238e1644 --- /dev/null +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi new file mode 100644 index 00000000..8fa4b535 --- /dev/null +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi @@ -0,0 +1,522 @@ +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 OracleDatabaseResource(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 AutonomousDatabaseBackupsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAutonomousDatabaseBackupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAutonomousDatabaseBackupsResponseHttpRequest, + previous_response: ListAutonomousDatabaseBackupsResponse, + ) -> ListAutonomousDatabaseBackupsResponseHttpRequest | None: ... + + @typing.type_check_only + class AutonomousDatabaseCharacterSetsResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAutonomousDatabaseCharacterSetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAutonomousDatabaseCharacterSetsResponseHttpRequest, + previous_response: ListAutonomousDatabaseCharacterSetsResponse, + ) -> ListAutonomousDatabaseCharacterSetsResponseHttpRequest | None: ... + + @typing.type_check_only + class AutonomousDatabasesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: AutonomousDatabase = ..., + autonomousDatabaseId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def generateWallet( + self, + *, + name: str, + body: GenerateAutonomousDatabaseWalletRequest = ..., + **kwargs: typing.Any, + ) -> GenerateAutonomousDatabaseWalletResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AutonomousDatabaseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAutonomousDatabasesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAutonomousDatabasesResponseHttpRequest, + previous_response: ListAutonomousDatabasesResponse, + ) -> ListAutonomousDatabasesResponseHttpRequest | None: ... + def restore( + self, + *, + name: str, + body: RestoreAutonomousDatabaseRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class AutonomousDbVersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAutonomousDbVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAutonomousDbVersionsResponseHttpRequest, + previous_response: ListAutonomousDbVersionsResponse, + ) -> ListAutonomousDbVersionsResponseHttpRequest | None: ... + + @typing.type_check_only + class CloudExadataInfrastructuresResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbServersResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbServersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbServersResponseHttpRequest, + previous_response: ListDbServersResponse, + ) -> ListDbServersResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: CloudExadataInfrastructure = ..., + cloudExadataInfrastructureId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CloudExadataInfrastructureHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCloudExadataInfrastructuresResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCloudExadataInfrastructuresResponseHttpRequest, + previous_response: ListCloudExadataInfrastructuresResponse, + ) -> ListCloudExadataInfrastructuresResponseHttpRequest | None: ... + def dbServers(self) -> DbServersResource: ... + + @typing.type_check_only + class CloudVmClustersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DbNodesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbNodesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbNodesResponseHttpRequest, + previous_response: ListDbNodesResponse, + ) -> ListDbNodesResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: CloudVmCluster = ..., + cloudVmClusterId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CloudVmClusterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCloudVmClustersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCloudVmClustersResponseHttpRequest, + previous_response: ListCloudVmClustersResponse, + ) -> ListCloudVmClustersResponseHttpRequest | None: ... + def dbNodes(self) -> DbNodesResource: ... + + @typing.type_check_only + class DbSystemShapesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDbSystemShapesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDbSystemShapesResponseHttpRequest, + previous_response: ListDbSystemShapesResponse, + ) -> ListDbSystemShapesResponseHttpRequest | None: ... + + @typing.type_check_only + class EntitlementsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEntitlementsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEntitlementsResponseHttpRequest, + previous_response: ListEntitlementsResponse, + ) -> ListEntitlementsResponseHttpRequest | None: ... + + @typing.type_check_only + class GiVersionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListGiVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGiVersionsResponseHttpRequest, + previous_response: ListGiVersionsResponse, + ) -> ListGiVersionsResponseHttpRequest | 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, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def autonomousDatabaseBackups( + self, + ) -> AutonomousDatabaseBackupsResource: ... + def autonomousDatabaseCharacterSets( + self, + ) -> AutonomousDatabaseCharacterSetsResource: ... + def autonomousDatabases(self) -> AutonomousDatabasesResource: ... + def autonomousDbVersions(self) -> AutonomousDbVersionsResource: ... + def cloudExadataInfrastructures( + self, + ) -> CloudExadataInfrastructuresResource: ... + def cloudVmClusters(self) -> CloudVmClustersResource: ... + def dbSystemShapes(self) -> DbSystemShapesResource: ... + def entitlements(self) -> EntitlementsResource: ... + def giVersions(self) -> GiVersionsResource: ... + 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 AutonomousDatabaseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutonomousDatabase: ... + +@typing.type_check_only +class CloudExadataInfrastructureHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CloudExadataInfrastructure: ... + +@typing.type_check_only +class CloudVmClusterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CloudVmCluster: ... + +@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 GenerateAutonomousDatabaseWalletResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateAutonomousDatabaseWalletResponse: ... + +@typing.type_check_only +class ListAutonomousDatabaseBackupsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAutonomousDatabaseBackupsResponse: ... + +@typing.type_check_only +class ListAutonomousDatabaseCharacterSetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAutonomousDatabaseCharacterSetsResponse: ... + +@typing.type_check_only +class ListAutonomousDatabasesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAutonomousDatabasesResponse: ... + +@typing.type_check_only +class ListAutonomousDbVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAutonomousDbVersionsResponse: ... + +@typing.type_check_only +class ListCloudExadataInfrastructuresResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCloudExadataInfrastructuresResponse: ... + +@typing.type_check_only +class ListCloudVmClustersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCloudVmClustersResponse: ... + +@typing.type_check_only +class ListDbNodesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbNodesResponse: ... + +@typing.type_check_only +class ListDbServersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbServersResponse: ... + +@typing.type_check_only +class ListDbSystemShapesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDbSystemShapesResponse: ... + +@typing.type_check_only +class ListEntitlementsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEntitlementsResponse: ... + +@typing.type_check_only +class ListGiVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGiVersionsResponse: ... + +@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/oracledatabase/v1/schemas.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi new file mode 100644 index 00000000..78065faa --- /dev/null +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi @@ -0,0 +1,696 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AllConnectionStrings(typing_extensions.TypedDict, total=False): + high: str + low: str + medium: str + +@typing.type_check_only +class AutonomousDatabase(typing_extensions.TypedDict, total=False): + adminPassword: str + cidr: str + createTime: str + database: str + displayName: str + entitlementId: str + labels: dict[str, typing.Any] + name: str + network: str + properties: AutonomousDatabaseProperties + +@typing.type_check_only +class AutonomousDatabaseApex(typing_extensions.TypedDict, total=False): + apexVersion: str + ordsVersion: str + +@typing.type_check_only +class AutonomousDatabaseBackup(typing_extensions.TypedDict, total=False): + autonomousDatabase: str + displayName: str + labels: dict[str, typing.Any] + name: str + properties: AutonomousDatabaseBackupProperties + +@typing.type_check_only +class AutonomousDatabaseBackupProperties(typing_extensions.TypedDict, total=False): + availableTillTime: str + compartmentId: str + databaseSizeTb: float + dbVersion: str + endTime: str + isAutomaticBackup: bool + isLongTermBackup: bool + isRestorable: bool + keyStoreId: str + keyStoreWallet: str + kmsKeyId: str + kmsKeyVersionId: str + lifecycleDetails: str + lifecycleState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "DELETED", + "FAILED", + "UPDATING", + ] + ocid: str + retentionPeriodDays: int + sizeTb: float + startTime: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "INCREMENTAL", "FULL", "LONG_TERM" + ] + vaultId: str + +@typing.type_check_only +class AutonomousDatabaseCharacterSet(typing_extensions.TypedDict, total=False): + characterSet: str + characterSetType: typing_extensions.Literal[ + "CHARACTER_SET_TYPE_UNSPECIFIED", "DATABASE", "NATIONAL" + ] + name: str + +@typing.type_check_only +class AutonomousDatabaseConnectionStrings(typing_extensions.TypedDict, total=False): + allConnectionStrings: AllConnectionStrings + dedicated: str + high: str + low: str + medium: str + profiles: _list[DatabaseConnectionStringProfile] + +@typing.type_check_only +class AutonomousDatabaseConnectionUrls(typing_extensions.TypedDict, total=False): + apexUri: str + databaseTransformsUri: str + graphStudioUri: str + machineLearningNotebookUri: str + machineLearningUserManagementUri: str + mongoDbUri: str + ordsUri: str + sqlDevWebUri: str + +@typing.type_check_only +class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): + actualUsedDataStorageSizeTb: float + allocatedStorageSizeTb: float + apexDetails: AutonomousDatabaseApex + arePrimaryAllowlistedIpsUsed: bool + autonomousContainerDatabaseId: str + availableUpgradeVersions: _list[str] + backupRetentionPeriodDays: int + characterSet: str + computeCount: float + connectionStrings: AutonomousDatabaseConnectionStrings + connectionUrls: AutonomousDatabaseConnectionUrls + cpuCoreCount: int + customerContacts: _list[CustomerContact] + dataSafeState: typing_extensions.Literal[ + "DATA_SAFE_STATE_UNSPECIFIED", + "REGISTERING", + "REGISTERED", + "DEREGISTERING", + "NOT_REGISTERED", + "FAILED", + ] + dataStorageSizeGb: int + dataStorageSizeTb: int + databaseManagementState: typing_extensions.Literal[ + "DATABASE_MANAGEMENT_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING", + ] + dbEdition: typing_extensions.Literal[ + "DATABASE_EDITION_UNSPECIFIED", "STANDARD_EDITION", "ENTERPRISE_EDITION" + ] + dbVersion: str + dbWorkload: typing_extensions.Literal[ + "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" + ] + failedDataRecoveryDuration: str + isAutoScalingEnabled: bool + isLocalDataGuardEnabled: bool + isStorageAutoScalingEnabled: bool + licenseType: typing_extensions.Literal[ + "LICENSE_TYPE_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" + ] + lifecycleDetails: str + localAdgAutoFailoverMaxDataLossLimit: int + localDisasterRecoveryType: typing_extensions.Literal[ + "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED", "ADG", "BACKUP_BASED" + ] + localStandbyDb: AutonomousDatabaseStandbySummary + maintenanceBeginTime: str + maintenanceEndTime: str + maintenanceScheduleType: typing_extensions.Literal[ + "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED", "EARLY", "REGULAR" + ] + memoryPerOracleComputeUnitGbs: int + memoryTableGbs: int + mtlsConnectionRequired: bool + nCharacterSet: str + nextLongTermBackupTime: str + ociUrl: str + ocid: str + openMode: typing_extensions.Literal[ + "OPEN_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" + ] + operationsInsightsState: typing_extensions.Literal[ + "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING", + ] + peerDbIds: _list[str] + permissionLevel: typing_extensions.Literal[ + "PERMISSION_LEVEL_UNSPECIFIED", "RESTRICTED", "UNRESTRICTED" + ] + privateEndpoint: str + privateEndpointIp: str + privateEndpointLabel: str + refreshableMode: typing_extensions.Literal[ + "REFRESHABLE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" + ] + refreshableState: typing_extensions.Literal[ + "REFRESHABLE_STATE_UNSPECIFIED", "REFRESHING", "NOT_REFRESHING" + ] + role: typing_extensions.Literal[ + "ROLE_UNSPECIFIED", + "PRIMARY", + "STANDBY", + "DISABLED_STANDBY", + "BACKUP_COPY", + "SNAPSHOT_STANDBY", + ] + scheduledOperationDetails: _list[ScheduledOperationDetails] + secretId: str + sqlWebDeveloperUrl: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "UNAVAILABLE", + "RESTORE_IN_PROGRESS", + "RESTORE_FAILED", + "BACKUP_IN_PROGRESS", + "SCALE_IN_PROGRESS", + "AVAILABLE_NEEDS_ATTENTION", + "UPDATING", + "MAINTENANCE_IN_PROGRESS", + "RESTARTING", + "RECREATING", + "ROLE_CHANGE_IN_PROGRESS", + "UPGRADING", + "INACCESSIBLE", + "STANDBY", + ] + supportedCloneRegions: _list[str] + totalAutoBackupStorageSizeGbs: float + usedDataStorageSizeTbs: int + vaultId: str + +@typing.type_check_only +class AutonomousDatabaseStandbySummary(typing_extensions.TypedDict, total=False): + dataGuardRoleChangedTime: str + disasterRecoveryRoleChangedTime: str + lagTimeDuration: str + lifecycleDetails: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "UNAVAILABLE", + "RESTORE_IN_PROGRESS", + "RESTORE_FAILED", + "BACKUP_IN_PROGRESS", + "SCALE_IN_PROGRESS", + "AVAILABLE_NEEDS_ATTENTION", + "UPDATING", + "MAINTENANCE_IN_PROGRESS", + "RESTARTING", + "RECREATING", + "ROLE_CHANGE_IN_PROGRESS", + "UPGRADING", + "INACCESSIBLE", + "STANDBY", + ] + +@typing.type_check_only +class AutonomousDbVersion(typing_extensions.TypedDict, total=False): + dbWorkload: typing_extensions.Literal[ + "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" + ] + name: str + version: str + workloadUri: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CloudAccountDetails(typing_extensions.TypedDict, total=False): + accountCreationUri: str + cloudAccount: str + cloudAccountHomeRegion: str + linkExistingAccountUri: str + +@typing.type_check_only +class CloudExadataInfrastructure(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + entitlementId: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + properties: CloudExadataInfrastructureProperties + +@typing.type_check_only +class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=False): + activatedStorageCount: int + additionalStorageCount: int + availableStorageSizeGb: int + computeCount: int + cpuCount: int + customerContacts: _list[CustomerContact] + dataStorageSizeTb: float + dbNodeStorageSizeGb: int + dbServerVersion: str + maintenanceWindow: MaintenanceWindow + maxCpuCount: int + maxDataStorageTb: float + maxDbNodeStorageSizeGb: int + maxMemoryGb: int + memorySizeGb: int + monthlyDbServerVersion: str + monthlyStorageServerVersion: str + nextMaintenanceRunId: str + nextMaintenanceRunTime: str + nextSecurityMaintenanceRunTime: str + ociUrl: str + ocid: str + shape: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS", + ] + storageCount: int + storageServerVersion: str + totalStorageSizeGb: int + +@typing.type_check_only +class CloudVmCluster(typing_extensions.TypedDict, total=False): + backupSubnetCidr: str + cidr: str + createTime: str + displayName: str + exadataInfrastructure: str + gcpOracleZone: str + labels: dict[str, typing.Any] + name: str + network: str + properties: CloudVmClusterProperties + +@typing.type_check_only +class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): + clusterName: str + compartmentId: str + cpuCoreCount: int + dataStorageSizeTb: float + dbNodeStorageSizeGb: int + dbServerOcids: _list[str] + diagnosticsDataCollectionOptions: DataCollectionOptions + diskRedundancy: typing_extensions.Literal[ + "DISK_REDUNDANCY_UNSPECIFIED", "HIGH", "NORMAL" + ] + dnsListenerIp: str + domain: str + giVersion: str + hostname: str + hostnamePrefix: str + licenseType: typing_extensions.Literal[ + "LICENSE_TYPE_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" + ] + localBackupEnabled: bool + memorySizeGb: int + nodeCount: int + ociUrl: str + ocid: str + ocpuCount: float + scanDns: str + scanDnsRecordId: str + scanIpIds: _list[str] + scanListenerPortTcp: int + scanListenerPortTcpSsl: int + shape: str + sparseDiskgroupEnabled: bool + sshPublicKeys: _list[str] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS", + ] + storageSizeGb: int + systemVersion: str + timeZone: TimeZone + +@typing.type_check_only +class CustomerContact(typing_extensions.TypedDict, total=False): + email: str + +@typing.type_check_only +class DataCollectionOptions(typing_extensions.TypedDict, total=False): + diagnosticsEventsEnabled: bool + healthMonitoringEnabled: bool + incidentLogsEnabled: bool + +@typing.type_check_only +class DatabaseConnectionStringProfile(typing_extensions.TypedDict, total=False): + consumerGroup: typing_extensions.Literal[ + "CONSUMER_GROUP_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "TP", "TPURGENT" + ] + displayName: str + hostFormat: typing_extensions.Literal["HOST_FORMAT_UNSPECIFIED", "FQDN", "IP"] + isRegional: bool + protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "TCP", "TCPS"] + sessionMode: typing_extensions.Literal[ + "SESSION_MODE_UNSPECIFIED", "DIRECT", "INDIRECT" + ] + syntaxFormat: typing_extensions.Literal[ + "SYNTAX_FORMAT_UNSPECIFIED", "LONG", "EZCONNECT", "EZCONNECTPLUS" + ] + tlsAuthentication: typing_extensions.Literal[ + "TLS_AUTHENTICATION_UNSPECIFIED", "SERVER", "MUTUAL" + ] + value: str + +@typing.type_check_only +class DbNode(typing_extensions.TypedDict, total=False): + name: str + properties: DbNodeProperties + +@typing.type_check_only +class DbNodeProperties(typing_extensions.TypedDict, total=False): + dbNodeStorageSizeGb: int + dbServerOcid: str + hostname: str + memorySizeGb: int + ocid: str + ocpuCount: int + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "FAILED", + ] + totalCpuCoreCount: int + +@typing.type_check_only +class DbServer(typing_extensions.TypedDict, total=False): + displayName: str + name: str + properties: DbServerProperties + +@typing.type_check_only +class DbServerProperties(typing_extensions.TypedDict, total=False): + dbNodeIds: _list[str] + dbNodeStorageSizeGb: int + maxDbNodeStorageSizeGb: int + maxMemorySizeGb: int + maxOcpuCount: int + memorySizeGb: int + ocid: str + ocpuCount: int + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "AVAILABLE", + "UNAVAILABLE", + "DELETING", + "DELETED", + ] + vmCount: int + +@typing.type_check_only +class DbSystemShape(typing_extensions.TypedDict, total=False): + availableCoreCountPerNode: int + availableDataStorageTb: int + availableMemoryPerNodeGb: int + maxNodeCount: int + maxStorageCount: int + minCoreCountPerNode: int + minDbNodeStoragePerNodeGb: int + minMemoryPerNodeGb: int + minNodeCount: int + minStorageCount: int + name: str + shape: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Entitlement(typing_extensions.TypedDict, total=False): + cloudAccountDetails: CloudAccountDetails + entitlementId: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACCOUNT_NOT_LINKED", "ACCOUNT_NOT_ACTIVE", "ACTIVE" + ] + +@typing.type_check_only +class GenerateAutonomousDatabaseWalletRequest(typing_extensions.TypedDict, total=False): + isRegional: bool + password: str + type: typing_extensions.Literal["GENERATE_TYPE_UNSPECIFIED", "ALL", "SINGLE"] + +@typing.type_check_only +class GenerateAutonomousDatabaseWalletResponse( + typing_extensions.TypedDict, total=False +): + archiveContent: str + +@typing.type_check_only +class GiVersion(typing_extensions.TypedDict, total=False): + name: str + version: str + +@typing.type_check_only +class ListAutonomousDatabaseBackupsResponse(typing_extensions.TypedDict, total=False): + autonomousDatabaseBackups: _list[AutonomousDatabaseBackup] + nextPageToken: str + +@typing.type_check_only +class ListAutonomousDatabaseCharacterSetsResponse( + typing_extensions.TypedDict, total=False +): + autonomousDatabaseCharacterSets: _list[AutonomousDatabaseCharacterSet] + nextPageToken: str + +@typing.type_check_only +class ListAutonomousDatabasesResponse(typing_extensions.TypedDict, total=False): + autonomousDatabases: _list[AutonomousDatabase] + nextPageToken: str + +@typing.type_check_only +class ListAutonomousDbVersionsResponse(typing_extensions.TypedDict, total=False): + autonomousDbVersions: _list[AutonomousDbVersion] + nextPageToken: str + +@typing.type_check_only +class ListCloudExadataInfrastructuresResponse(typing_extensions.TypedDict, total=False): + cloudExadataInfrastructures: _list[CloudExadataInfrastructure] + nextPageToken: str + +@typing.type_check_only +class ListCloudVmClustersResponse(typing_extensions.TypedDict, total=False): + cloudVmClusters: _list[CloudVmCluster] + nextPageToken: str + +@typing.type_check_only +class ListDbNodesResponse(typing_extensions.TypedDict, total=False): + dbNodes: _list[DbNode] + nextPageToken: str + +@typing.type_check_only +class ListDbServersResponse(typing_extensions.TypedDict, total=False): + dbServers: _list[DbServer] + nextPageToken: str + +@typing.type_check_only +class ListDbSystemShapesResponse(typing_extensions.TypedDict, total=False): + dbSystemShapes: _list[DbSystemShape] + nextPageToken: str + +@typing.type_check_only +class ListEntitlementsResponse(typing_extensions.TypedDict, total=False): + entitlements: _list[Entitlement] + nextPageToken: str + +@typing.type_check_only +class ListGiVersionsResponse(typing_extensions.TypedDict, total=False): + giVersions: _list[GiVersion] + 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 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 LocationMetadata(typing_extensions.TypedDict, total=False): + gcpOracleZones: _list[str] + +@typing.type_check_only +class MaintenanceWindow(typing_extensions.TypedDict, total=False): + customActionTimeoutMins: int + daysOfWeek: _list[ + typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + ] + hoursOfDay: _list[int] + isCustomActionTimeoutEnabled: bool + leadTimeWeek: int + months: _list[ + typing_extensions.Literal[ + "MONTH_UNSPECIFIED", + "JANUARY", + "FEBRUARY", + "MARCH", + "APRIL", + "MAY", + "JUNE", + "JULY", + "AUGUST", + "SEPTEMBER", + "OCTOBER", + "NOVEMBER", + "DECEMBER", + ] + ] + patchingMode: typing_extensions.Literal[ + "PATCHING_MODE_UNSPECIFIED", "ROLLING", "NON_ROLLING" + ] + preference: typing_extensions.Literal[ + "MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED", + "CUSTOM_PREFERENCE", + "NO_PREFERENCE", + ] + weeksOfMonth: _list[int] + +@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 + percentComplete: float + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class RestoreAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): + restoreTime: str + +@typing.type_check_only +class ScheduledOperationDetails(typing_extensions.TypedDict, total=False): + dayOfWeek: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + startTime: TimeOfDay + stopTime: TimeOfDay + +@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 TimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int + +@typing.type_check_only +class TimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str diff --git a/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi b/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi index c53399bc..0f927d20 100644 --- a/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi @@ -74,6 +74,7 @@ class LighthouseAuditResultV5(typing_extensions.TypedDict, total=False): errorMessage: str explanation: str id: str + metricSavings: MetricSavings numericUnit: str numericValue: float score: typing.Any @@ -112,6 +113,14 @@ class LighthouseResultV5(typing_extensions.TypedDict, total=False): timing: Timing userAgent: str +@typing.type_check_only +class MetricSavings(typing_extensions.TypedDict, total=False): + CLS: float + FCP: float + INP: float + LCP: float + TBT: float + @typing.type_check_only class PagespeedApiLoadingExperienceV5(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index 31820448..f96f42cb 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -415,6 +415,10 @@ class GoogleMapsPlacesV1PlaceSubDestination(typing_extensions.TypedDict, total=F id: str name: str +@typing.type_check_only +class GoogleMapsPlacesV1Polyline(typing_extensions.TypedDict, total=False): + encodedPolyline: str + @typing.type_check_only class GoogleMapsPlacesV1References(typing_extensions.TypedDict, total=False): places: _list[str] @@ -430,6 +434,36 @@ class GoogleMapsPlacesV1Review(typing_extensions.TypedDict, total=False): relativePublishTimeDescription: str text: GoogleTypeLocalizedText +@typing.type_check_only +class GoogleMapsPlacesV1RouteModifiers(typing_extensions.TypedDict, total=False): + avoidFerries: bool + avoidHighways: bool + avoidIndoor: bool + avoidTolls: bool + +@typing.type_check_only +class GoogleMapsPlacesV1RoutingParameters(typing_extensions.TypedDict, total=False): + origin: GoogleTypeLatLng + routeModifiers: GoogleMapsPlacesV1RouteModifiers + routingPreference: typing_extensions.Literal[ + "ROUTING_PREFERENCE_UNSPECIFIED", + "TRAFFIC_UNAWARE", + "TRAFFIC_AWARE", + "TRAFFIC_AWARE_OPTIMAL", + ] + travelMode: typing_extensions.Literal[ + "TRAVEL_MODE_UNSPECIFIED", "DRIVE", "BICYCLE", "WALK", "TWO_WHEELER" + ] + +@typing.type_check_only +class GoogleMapsPlacesV1RoutingSummary(typing_extensions.TypedDict, total=False): + legs: _list[GoogleMapsPlacesV1RoutingSummaryLeg] + +@typing.type_check_only +class GoogleMapsPlacesV1RoutingSummaryLeg(typing_extensions.TypedDict, total=False): + distanceMeters: int + duration: str + @typing.type_check_only class GoogleMapsPlacesV1SearchNearbyRequest(typing_extensions.TypedDict, total=False): excludedPrimaryTypes: _list[str] @@ -443,6 +477,7 @@ class GoogleMapsPlacesV1SearchNearbyRequest(typing_extensions.TypedDict, total=F "RANK_PREFERENCE_UNSPECIFIED", "DISTANCE", "POPULARITY" ] regionCode: str + routingParameters: GoogleMapsPlacesV1RoutingParameters @typing.type_check_only class GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction( @@ -453,6 +488,7 @@ class GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction( @typing.type_check_only class GoogleMapsPlacesV1SearchNearbyResponse(typing_extensions.TypedDict, total=False): places: _list[GoogleMapsPlacesV1Place] + routingSummaries: _list[GoogleMapsPlacesV1RoutingSummary] @typing.type_check_only class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=False): @@ -480,6 +516,10 @@ class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=Fal "RANK_PREFERENCE_UNSPECIFIED", "DISTANCE", "RELEVANCE" ] regionCode: str + routingParameters: GoogleMapsPlacesV1RoutingParameters + searchAlongRouteParameters: ( + GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters + ) strictTypeFiltering: bool textQuery: str @@ -516,11 +556,18 @@ class GoogleMapsPlacesV1SearchTextRequestLocationRestriction( ): rectangle: GoogleGeoTypeViewport +@typing.type_check_only +class GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters( + typing_extensions.TypedDict, total=False +): + polyline: GoogleMapsPlacesV1Polyline + @typing.type_check_only class GoogleMapsPlacesV1SearchTextResponse(typing_extensions.TypedDict, total=False): contextualContents: _list[GoogleMapsPlacesV1ContextualContent] nextPageToken: str places: _list[GoogleMapsPlacesV1Place] + routingSummaries: _list[GoogleMapsPlacesV1RoutingSummary] @typing.type_check_only class GoogleTypeDate(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi b/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi index bc1ca30a..e23f794e 100644 --- a/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi @@ -74,6 +74,8 @@ class PlantInfo(typing_extensions.TypedDict, total=False): "GRAMINALES", "RAGWEED", "MUGWORT", + "JAPANESE_CEDAR", + "JAPANESE_CYPRESS", ] displayName: str inSeason: bool diff --git a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi index 1d28a220..9eace21e 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi @@ -126,6 +126,7 @@ class CertificateDescription(typing_extensions.TypedDict, total=False): publicKey: PublicKey subjectDescription: SubjectDescription subjectKeyId: KeyId + tbsCertificateDigest: str x509Description: X509Parameters @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi index f941b848..9fd04fbb 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi @@ -121,6 +121,22 @@ class RecaptchaEnterpriseResource(googleapiclient.discovery.Resource): previous_request: GoogleCloudRecaptchaenterpriseV1ListKeysResponseHttpRequest, previous_response: GoogleCloudRecaptchaenterpriseV1ListKeysResponse, ) -> GoogleCloudRecaptchaenterpriseV1ListKeysResponseHttpRequest | None: ... + def listIpOverrides( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponseHttpRequest: ... + def listIpOverrides_next( + self, + previous_request: GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponseHttpRequest, + previous_response: GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse, + ) -> ( + GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponseHttpRequest + | None + ): ... def migrate( self, *, @@ -136,6 +152,15 @@ class RecaptchaEnterpriseResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudRecaptchaenterpriseV1KeyHttpRequest: ... + def removeIpOverride( + self, + *, + name: str, + body: GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponseHttpRequest + ): ... def retrieveLegacySecretKey( self, *, key: str, **kwargs: typing.Any ) -> GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponseHttpRequest: ... @@ -279,6 +304,16 @@ class GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse: ... +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse: ... + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListKeysResponseHttpRequest( googleapiclient.http.HttpRequest @@ -319,6 +354,16 @@ class GoogleCloudRecaptchaenterpriseV1MetricsHttpRequest( num_retries: int = 0, ) -> GoogleCloudRecaptchaenterpriseV1Metrics: ... +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse: ... + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi index eaa27a6e..2ad78458 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi @@ -168,6 +168,11 @@ class GoogleCloudRecaptchaenterpriseV1Event(typing_extensions.TypedDict, total=F userIpAddress: str wafTokenAssessment: bool +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallAction( typing_extensions.TypedDict, total=False @@ -308,6 +313,7 @@ class GoogleCloudRecaptchaenterpriseV1Key(typing_extensions.TypedDict, total=Fal androidSettings: GoogleCloudRecaptchaenterpriseV1AndroidKeySettings createTime: str displayName: str + expressSettings: GoogleCloudRecaptchaenterpriseV1ExpressKeySettings iosSettings: GoogleCloudRecaptchaenterpriseV1IOSKeySettings labels: dict[str, typing.Any] name: str @@ -322,6 +328,13 @@ class GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse( firewallPolicies: _list[GoogleCloudRecaptchaenterpriseV1FirewallPolicy] nextPageToken: str +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse( + typing_extensions.TypedDict, total=False +): + ipOverrides: _list[GoogleCloudRecaptchaenterpriseV1IpOverrideData] + nextPageToken: str + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListKeysResponse( typing_extensions.TypedDict, total=False @@ -387,6 +400,17 @@ class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership( hashedAccountId: str name: str +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest( + typing_extensions.TypedDict, total=False +): + ipOverrideData: GoogleCloudRecaptchaenterpriseV1IpOverrideData + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest( typing_extensions.TypedDict, total=False @@ -607,7 +631,7 @@ class GoogleCloudRecaptchaenterpriseV1WafSettings( "EXPRESS", ] wafService: typing_extensions.Literal[ - "WAF_SERVICE_UNSPECIFIED", "CA", "FASTLY", "CLOUDFLARE" + "WAF_SERVICE_UNSPECIFIED", "CA", "FASTLY", "CLOUDFLARE", "AKAMAI" ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/redis/v1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1/resources.pyi index 8a2fcea5..49b92585 100644 --- a/googleapiclient-stubs/_apis/redis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/resources.pyi @@ -59,6 +59,13 @@ class CloudRedisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def rescheduleClusterMaintenance( + self, + *, + name: str, + body: RescheduleClusterMaintenanceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index 3de8dd3a..40f6e6d8 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -10,8 +10,17 @@ class AOFConfig(typing_extensions.TypedDict, total=False): "APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS" ] +@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 AvailabilityConfiguration(typing_extensions.TypedDict, total=False): + automaticFailoverRoutingConfigured: bool availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", @@ -36,6 +45,10 @@ class BackupRun(typing_extensions.TypedDict, total=False): startTime: str status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] +@typing.type_check_only +class BlobstoreLocation(typing_extensions.TypedDict, total=False): + policyId: _list[str] + @typing.type_check_only class CertChain(typing_extensions.TypedDict, total=False): certificates: _list[str] @@ -45,14 +58,26 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): managedServerCa: ManagedCertificateAuthority name: 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 Cluster(typing_extensions.TypedDict, total=False): authorizationMode: typing_extensions.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" ] createTime: str + crossClusterReplicationConfig: CrossClusterReplicationConfig deletionProtectionEnabled: bool discoveryEndpoints: _list[DiscoveryEndpoint] + maintenancePolicy: ClusterMaintenancePolicy + maintenanceSchedule: ClusterMaintenanceSchedule name: str nodeType: typing_extensions.Literal[ "NODE_TYPE_UNSPECIFIED", @@ -81,6 +106,17 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str zoneDistributionConfig: ZoneDistributionConfig +@typing.type_check_only +class ClusterMaintenancePolicy(typing_extensions.TypedDict, total=False): + createTime: str + updateTime: str + weeklyMaintenanceWindow: _list[ClusterWeeklyMaintenanceWindow] + +@typing.type_check_only +class ClusterMaintenanceSchedule(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): aofConfig: AOFConfig @@ -89,22 +125,38 @@ class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): ] rdbConfig: RDBConfig +@typing.type_check_only +class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + startTime: TimeOfDay + @typing.type_check_only class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str @typing.type_check_only -class CustomMetadataData(typing_extensions.TypedDict, total=False): - databaseMetadata: _list[DatabaseMetadata] +class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): + clusterRole: typing_extensions.Literal[ + "CLUSTER_ROLE_UNSPECIFIED", "NONE", "PRIMARY", "SECONDARY" + ] + membership: Membership + primaryCluster: RemoteCluster + secondaryClusters: _list[RemoteCluster] + updateTime: str @typing.type_check_only -class DatabaseMetadata(typing_extensions.TypedDict, total=False): - backupConfiguration: BackupConfiguration - backupRun: BackupRun - product: Product - resourceId: DatabaseResourceId - resourceName: str +class CustomMetadataData(typing_extensions.TypedDict, total=False): + internalResourceMetadata: _list[InternalResourceMetadata] @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): @@ -150,6 +202,9 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "ERROR", ] signalId: str + signalSeverity: typing_extensions.Literal[ + "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] signalType: typing_extensions.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", @@ -291,6 +346,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): product: Product resourceContainer: str resourceName: str + tagsSet: Tags updationTime: str userLabelSet: UserLabels @@ -389,6 +445,10 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", ] +@typing.type_check_only +class DirectLocationAssignment(typing_extensions.TypedDict, total=False): + location: _list[LocationAssignment] + @typing.type_check_only class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): address: str @@ -409,6 +469,10 @@ class Entitlement(typing_extensions.TypedDict, total=False): class ExportInstanceRequest(typing_extensions.TypedDict, total=False): outputConfig: OutputConfig +@typing.type_check_only +class ExtraParameter(typing_extensions.TypedDict, total=False): + regionalMigDistributionPolicy: RegionalMigDistributionPolicy + @typing.type_check_only class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): dataProtectionMode: typing_extensions.Literal[ @@ -514,6 +578,49 @@ class Instance(typing_extensions.TypedDict, total=False): class InstanceAuthString(typing_extensions.TypedDict, total=False): authString: str +@typing.type_check_only +class InternalResourceMetadata(typing_extensions.TypedDict, total=False): + backupConfiguration: BackupConfiguration + backupRun: BackupRun + product: Product + resourceId: DatabaseResourceId + resourceName: 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 ListClustersResponse(typing_extensions.TypedDict, total=False): clusters: _list[Cluster] @@ -544,10 +651,35 @@ 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 MachineConfiguration(typing_extensions.TypedDict, total=False): cpuCount: int memorySizeInBytes: str + shardCount: int @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): @@ -567,6 +699,11 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): class ManagedCertificateAuthority(typing_extensions.TypedDict, total=False): caCerts: _list[CertChain] +@typing.type_check_only +class Membership(typing_extensions.TypedDict, total=False): + primaryCluster: RemoteCluster + secondaryClusters: _list[RemoteCluster] + @typing.type_check_only class NodeInfo(typing_extensions.TypedDict, total=False): id: str @@ -640,6 +777,10 @@ class PersistenceConfig(typing_extensions.TypedDict, total=False): ] rdbSnapshotStartTime: str +@typing.type_check_only +class PlacerLocation(typing_extensions.TypedDict, total=False): + placerConfig: str + @typing.type_check_only class Product(typing_extensions.TypedDict, total=False): engine: typing_extensions.Literal[ @@ -657,6 +798,8 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER", + "ENGINE_FIRESTORE_WITH_NATIVE_MODE", + "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -670,6 +813,7 @@ class Product(typing_extensions.TypedDict, total=False): "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", "PRODUCT_TYPE_OTHER", + "PRODUCT_TYPE_FIRESTORE", ] version: str @@ -684,6 +828,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): network: str projectId: str pscConnectionId: str + serviceAttachment: str @typing.type_check_only class RDBConfig(typing_extensions.TypedDict, total=False): @@ -703,6 +848,32 @@ 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 RemoteCluster(typing_extensions.TypedDict, total=False): + cluster: str + uid: str + +@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 RescheduleClusterMaintenanceRequest(typing_extensions.TypedDict, total=False): + rescheduleType: typing_extensions.Literal[ + "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "SPECIFIC_TIME" + ] + scheduleTime: str + @typing.type_check_only class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): rescheduleType: typing_extensions.Literal[ @@ -721,6 +892,11 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): ] timeBasedRetention: str +@typing.type_check_only +class SpannerLocation(typing_extensions.TypedDict, total=False): + backupName: _list[str] + dbName: _list[str] + @typing.type_check_only class StateInfo(typing_extensions.TypedDict, total=False): updateInfo: UpdateInfo @@ -731,6 +907,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class Tags(typing_extensions.TypedDict, total=False): + tags: dict[str, typing.Any] + +@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 @@ -781,6 +965,10 @@ 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 ZoneDistributionConfig(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi index 8a2fcea5..49b92585 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi @@ -59,6 +59,13 @@ class CloudRedisResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def rescheduleClusterMaintenance( + self, + *, + name: str, + body: RescheduleClusterMaintenanceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index b211fc29..fbc35a71 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -10,8 +10,17 @@ class AOFConfig(typing_extensions.TypedDict, total=False): "APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS" ] +@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 AvailabilityConfiguration(typing_extensions.TypedDict, total=False): + automaticFailoverRoutingConfigured: bool availabilityType: typing_extensions.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", @@ -36,6 +45,10 @@ class BackupRun(typing_extensions.TypedDict, total=False): startTime: str status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] +@typing.type_check_only +class BlobstoreLocation(typing_extensions.TypedDict, total=False): + policyId: _list[str] + @typing.type_check_only class CertChain(typing_extensions.TypedDict, total=False): certificates: _list[str] @@ -45,14 +58,26 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): managedServerCa: ManagedCertificateAuthority name: 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 Cluster(typing_extensions.TypedDict, total=False): authorizationMode: typing_extensions.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED" ] createTime: str + crossClusterReplicationConfig: CrossClusterReplicationConfig deletionProtectionEnabled: bool discoveryEndpoints: _list[DiscoveryEndpoint] + maintenancePolicy: ClusterMaintenancePolicy + maintenanceSchedule: ClusterMaintenanceSchedule name: str nodeType: typing_extensions.Literal[ "NODE_TYPE_UNSPECIFIED", @@ -81,6 +106,17 @@ class Cluster(typing_extensions.TypedDict, total=False): uid: str zoneDistributionConfig: ZoneDistributionConfig +@typing.type_check_only +class ClusterMaintenancePolicy(typing_extensions.TypedDict, total=False): + createTime: str + updateTime: str + weeklyMaintenanceWindow: _list[ClusterWeeklyMaintenanceWindow] + +@typing.type_check_only +class ClusterMaintenanceSchedule(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): aofConfig: AOFConfig @@ -89,22 +125,38 @@ class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): ] rdbConfig: RDBConfig +@typing.type_check_only +class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): + day: typing_extensions.Literal[ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + ] + startTime: TimeOfDay + @typing.type_check_only class Compliance(typing_extensions.TypedDict, total=False): standard: str version: str @typing.type_check_only -class CustomMetadataData(typing_extensions.TypedDict, total=False): - databaseMetadata: _list[DatabaseMetadata] +class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): + clusterRole: typing_extensions.Literal[ + "CLUSTER_ROLE_UNSPECIFIED", "NONE", "PRIMARY", "SECONDARY" + ] + membership: Membership + primaryCluster: RemoteCluster + secondaryClusters: _list[RemoteCluster] + updateTime: str @typing.type_check_only -class DatabaseMetadata(typing_extensions.TypedDict, total=False): - backupConfiguration: BackupConfiguration - backupRun: BackupRun - product: Product - resourceId: DatabaseResourceId - resourceName: str +class CustomMetadataData(typing_extensions.TypedDict, total=False): + internalResourceMetadata: _list[InternalResourceMetadata] @typing.type_check_only class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): @@ -150,6 +202,9 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "ERROR", ] signalId: str + signalSeverity: typing_extensions.Literal[ + "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] signalType: typing_extensions.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", @@ -291,6 +346,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): product: Product resourceContainer: str resourceName: str + tagsSet: Tags updationTime: str userLabelSet: UserLabels @@ -389,6 +445,10 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", ] +@typing.type_check_only +class DirectLocationAssignment(typing_extensions.TypedDict, total=False): + location: _list[LocationAssignment] + @typing.type_check_only class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): address: str @@ -409,6 +469,10 @@ class Entitlement(typing_extensions.TypedDict, total=False): class ExportInstanceRequest(typing_extensions.TypedDict, total=False): outputConfig: OutputConfig +@typing.type_check_only +class ExtraParameter(typing_extensions.TypedDict, total=False): + regionalMigDistributionPolicy: RegionalMigDistributionPolicy + @typing.type_check_only class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): dataProtectionMode: typing_extensions.Literal[ @@ -514,6 +578,49 @@ class Instance(typing_extensions.TypedDict, total=False): class InstanceAuthString(typing_extensions.TypedDict, total=False): authString: str +@typing.type_check_only +class InternalResourceMetadata(typing_extensions.TypedDict, total=False): + backupConfiguration: BackupConfiguration + backupRun: BackupRun + product: Product + resourceId: DatabaseResourceId + resourceName: 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 ListClustersResponse(typing_extensions.TypedDict, total=False): clusters: _list[Cluster] @@ -544,10 +651,35 @@ 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 MachineConfiguration(typing_extensions.TypedDict, total=False): cpuCount: int memorySizeInBytes: str + shardCount: int @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): @@ -567,6 +699,11 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): class ManagedCertificateAuthority(typing_extensions.TypedDict, total=False): caCerts: _list[CertChain] +@typing.type_check_only +class Membership(typing_extensions.TypedDict, total=False): + primaryCluster: RemoteCluster + secondaryClusters: _list[RemoteCluster] + @typing.type_check_only class NodeInfo(typing_extensions.TypedDict, total=False): id: str @@ -640,6 +777,10 @@ class PersistenceConfig(typing_extensions.TypedDict, total=False): ] rdbSnapshotStartTime: str +@typing.type_check_only +class PlacerLocation(typing_extensions.TypedDict, total=False): + placerConfig: str + @typing.type_check_only class Product(typing_extensions.TypedDict, total=False): engine: typing_extensions.Literal[ @@ -657,6 +798,8 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER", + "ENGINE_FIRESTORE_WITH_NATIVE_MODE", + "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", ] type: typing_extensions.Literal[ "PRODUCT_TYPE_UNSPECIFIED", @@ -670,6 +813,7 @@ class Product(typing_extensions.TypedDict, total=False): "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", "PRODUCT_TYPE_OTHER", + "PRODUCT_TYPE_FIRESTORE", ] version: str @@ -684,6 +828,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): network: str projectId: str pscConnectionId: str + serviceAttachment: str @typing.type_check_only class RDBConfig(typing_extensions.TypedDict, total=False): @@ -703,6 +848,32 @@ 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 RemoteCluster(typing_extensions.TypedDict, total=False): + cluster: str + uid: str + +@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 RescheduleClusterMaintenanceRequest(typing_extensions.TypedDict, total=False): + rescheduleType: typing_extensions.Literal[ + "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "SPECIFIC_TIME" + ] + scheduleTime: str + @typing.type_check_only class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): rescheduleType: typing_extensions.Literal[ @@ -721,6 +892,11 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): ] timeBasedRetention: str +@typing.type_check_only +class SpannerLocation(typing_extensions.TypedDict, total=False): + backupName: _list[str] + dbName: _list[str] + @typing.type_check_only class StateInfo(typing_extensions.TypedDict, total=False): updateInfo: UpdateInfo @@ -731,6 +907,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class Tags(typing_extensions.TypedDict, total=False): + tags: dict[str, typing.Any] + +@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 @@ -781,6 +965,10 @@ 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 ZoneDistributionConfig(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi index e9c3990a..b089401f 100644 --- a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi @@ -642,6 +642,20 @@ class GoogleCloudRetailV2Product(typing_extensions.TypedDict, total=False): uri: str variants: _list[GoogleCloudRetailV2Product] +@typing.type_check_only +class GoogleCloudRetailV2ProductAttributeInterval( + typing_extensions.TypedDict, total=False +): + interval: GoogleCloudRetailV2Interval + name: str + +@typing.type_check_only +class GoogleCloudRetailV2ProductAttributeValue( + typing_extensions.TypedDict, total=False +): + name: str + value: str + @typing.type_check_only class GoogleCloudRetailV2ProductDetail(typing_extensions.TypedDict, total=False): product: GoogleCloudRetailV2Product @@ -882,6 +896,7 @@ class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False) boostSpec: GoogleCloudRetailV2SearchRequestBoostSpec branch: str canonicalFilter: str + conversationalSearchSpec: GoogleCloudRetailV2SearchRequestConversationalSearchSpec dynamicFacetSpec: GoogleCloudRetailV2SearchRequestDynamicFacetSpec entity: str facetSpecs: _list[GoogleCloudRetailV2SearchRequestFacetSpec] @@ -899,6 +914,7 @@ class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False) "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2SearchRequestSpellCorrectionSpec + tileNavigationSpec: GoogleCloudRetailV2SearchRequestTileNavigationSpec userInfo: GoogleCloudRetailV2UserInfo variantRollupKeys: _list[str] visitorId: str @@ -919,6 +935,30 @@ class GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec( boost: float condition: str +@typing.type_check_only +class GoogleCloudRetailV2SearchRequestConversationalSearchSpec( + typing_extensions.TypedDict, total=False +): + conversationId: str + followupConversationRequested: bool + userAnswer: GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: ( + GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer + ) + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + productAttributeValues: _list[GoogleCloudRetailV2ProductAttributeValue] + @typing.type_check_only class GoogleCloudRetailV2SearchRequestDynamicFacetSpec( typing_extensions.TypedDict, total=False @@ -967,10 +1007,20 @@ class GoogleCloudRetailV2SearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudRetailV2SearchRequestTileNavigationSpec( + typing_extensions.TypedDict, total=False +): + appliedTiles: _list[GoogleCloudRetailV2Tile] + tileNavigationRequested: bool + @typing.type_check_only class GoogleCloudRetailV2SearchResponse(typing_extensions.TypedDict, total=False): appliedControls: _list[str] attributionToken: str + conversationalSearchResult: ( + GoogleCloudRetailV2SearchResponseConversationalSearchResult + ) correctedQuery: str experimentInfo: _list[GoogleCloudRetailV2ExperimentInfo] facets: _list[GoogleCloudRetailV2SearchResponseFacet] @@ -981,8 +1031,38 @@ class GoogleCloudRetailV2SearchResponse(typing_extensions.TypedDict, total=False queryExpansionInfo: GoogleCloudRetailV2SearchResponseQueryExpansionInfo redirectUri: str results: _list[GoogleCloudRetailV2SearchResponseSearchResult] + tileNavigationResult: GoogleCloudRetailV2SearchResponseTileNavigationResult totalSize: int +@typing.type_check_only +class GoogleCloudRetailV2SearchResponseConversationalSearchResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: ( + GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter + ) + additionalFilters: _list[ + GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter + ] + conversationId: str + followupQuestion: str + refinedQuery: str + suggestedAnswers: _list[ + GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + @typing.type_check_only class GoogleCloudRetailV2SearchResponseFacet(typing_extensions.TypedDict, total=False): dynamicFacet: bool @@ -1017,6 +1097,12 @@ class GoogleCloudRetailV2SearchResponseSearchResult( product: GoogleCloudRetailV2Product variantRollupValues: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudRetailV2SearchResponseTileNavigationResult( + typing_extensions.TypedDict, total=False +): + tiles: _list[GoogleCloudRetailV2Tile] + @typing.type_check_only class GoogleCloudRetailV2ServingConfig(typing_extensions.TypedDict, total=False): boostControlIds: _list[str] @@ -1073,6 +1159,12 @@ class GoogleCloudRetailV2SetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2Tile(typing_extensions.TypedDict, total=False): + productAttributeInterval: GoogleCloudRetailV2ProductAttributeInterval + productAttributeValue: GoogleCloudRetailV2ProductAttributeValue + representativeProductId: str + @typing.type_check_only class GoogleCloudRetailV2TuneModelMetadata(typing_extensions.TypedDict, total=False): model: str diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi index ca7b2cd4..e0b69b4d 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi @@ -1176,6 +1176,20 @@ class GoogleCloudRetailV2alphaProduct(typing_extensions.TypedDict, total=False): uri: str variants: _list[GoogleCloudRetailV2alphaProduct] +@typing.type_check_only +class GoogleCloudRetailV2alphaProductAttributeInterval( + typing_extensions.TypedDict, total=False +): + interval: GoogleCloudRetailV2alphaInterval + name: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaProductAttributeValue( + typing_extensions.TypedDict, total=False +): + name: str + value: str + @typing.type_check_only class GoogleCloudRetailV2alphaProductDetail(typing_extensions.TypedDict, total=False): product: GoogleCloudRetailV2alphaProduct @@ -1447,6 +1461,9 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F boostSpec: GoogleCloudRetailV2alphaSearchRequestBoostSpec branch: str canonicalFilter: str + conversationalSearchSpec: ( + GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec + ) dynamicFacetSpec: GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec entity: str facetSpecs: _list[GoogleCloudRetailV2alphaSearchRequestFacetSpec] @@ -1467,6 +1484,7 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec + tileNavigationSpec: GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec userInfo: GoogleCloudRetailV2alphaUserInfo variantRollupKeys: _list[str] visitorId: str @@ -1487,6 +1505,28 @@ class GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec( boost: float condition: str +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec( + typing_extensions.TypedDict, total=False +): + conversationId: str + followupConversationRequested: bool + userAnswer: GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + productAttributeValues: _list[GoogleCloudRetailV2alphaProductAttributeValue] + @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec( typing_extensions.TypedDict, total=False @@ -1535,10 +1575,20 @@ class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec( + typing_extensions.TypedDict, total=False +): + appliedTiles: _list[GoogleCloudRetailV2alphaTile] + tileNavigationRequested: bool + @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponse(typing_extensions.TypedDict, total=False): appliedControls: _list[str] attributionToken: str + conversationalSearchResult: ( + GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult + ) correctedQuery: str experimentInfo: _list[GoogleCloudRetailV2alphaExperimentInfo] facets: _list[GoogleCloudRetailV2alphaSearchResponseFacet] @@ -1549,8 +1599,38 @@ class GoogleCloudRetailV2alphaSearchResponse(typing_extensions.TypedDict, total= queryExpansionInfo: GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo redirectUri: str results: _list[GoogleCloudRetailV2alphaSearchResponseSearchResult] + tileNavigationResult: GoogleCloudRetailV2alphaSearchResponseTileNavigationResult totalSize: int +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: ( + GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter + ) + additionalFilters: _list[ + GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter + ] + conversationId: str + followupQuestion: str + refinedQuery: str + suggestedAnswers: _list[ + GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseFacet( typing_extensions.TypedDict, total=False @@ -1587,6 +1667,12 @@ class GoogleCloudRetailV2alphaSearchResponseSearchResult( product: GoogleCloudRetailV2alphaProduct variantRollupValues: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudRetailV2alphaSearchResponseTileNavigationResult( + typing_extensions.TypedDict, total=False +): + tiles: _list[GoogleCloudRetailV2alphaTile] + @typing.type_check_only class GoogleCloudRetailV2alphaServingConfig(typing_extensions.TypedDict, total=False): boostControlIds: _list[str] @@ -1645,6 +1731,12 @@ class GoogleCloudRetailV2alphaSetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2alphaTile(typing_extensions.TypedDict, total=False): + productAttributeInterval: GoogleCloudRetailV2alphaProductAttributeInterval + productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue + representativeProductId: str + @typing.type_check_only class GoogleCloudRetailV2alphaTransformedUserEventsMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi index 64e9d6a4..cc224f08 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi @@ -1332,6 +1332,20 @@ class GoogleCloudRetailV2betaProduct(typing_extensions.TypedDict, total=False): uri: str variants: _list[GoogleCloudRetailV2betaProduct] +@typing.type_check_only +class GoogleCloudRetailV2betaProductAttributeInterval( + typing_extensions.TypedDict, total=False +): + interval: GoogleCloudRetailV2betaInterval + name: str + +@typing.type_check_only +class GoogleCloudRetailV2betaProductAttributeValue( + typing_extensions.TypedDict, total=False +): + name: str + value: str + @typing.type_check_only class GoogleCloudRetailV2betaProductDetail(typing_extensions.TypedDict, total=False): product: GoogleCloudRetailV2betaProduct @@ -1588,6 +1602,9 @@ class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=Fa boostSpec: GoogleCloudRetailV2betaSearchRequestBoostSpec branch: str canonicalFilter: str + conversationalSearchSpec: ( + GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec + ) dynamicFacetSpec: GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec entity: str facetSpecs: _list[GoogleCloudRetailV2betaSearchRequestFacetSpec] @@ -1605,6 +1622,7 @@ class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=Fa "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec + tileNavigationSpec: GoogleCloudRetailV2betaSearchRequestTileNavigationSpec userInfo: GoogleCloudRetailV2betaUserInfo variantRollupKeys: _list[str] visitorId: str @@ -1625,6 +1643,28 @@ class GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec( boost: float condition: str +@typing.type_check_only +class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec( + typing_extensions.TypedDict, total=False +): + conversationId: str + followupConversationRequested: bool + userAnswer: GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer + +@typing.type_check_only +class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer( + typing_extensions.TypedDict, total=False +): + selectedAnswer: GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer + textAnswer: str + +@typing.type_check_only +class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + productAttributeValues: _list[GoogleCloudRetailV2betaProductAttributeValue] + @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec( typing_extensions.TypedDict, total=False @@ -1673,10 +1713,20 @@ class GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] +@typing.type_check_only +class GoogleCloudRetailV2betaSearchRequestTileNavigationSpec( + typing_extensions.TypedDict, total=False +): + appliedTiles: _list[GoogleCloudRetailV2betaTile] + tileNavigationRequested: bool + @typing.type_check_only class GoogleCloudRetailV2betaSearchResponse(typing_extensions.TypedDict, total=False): appliedControls: _list[str] attributionToken: str + conversationalSearchResult: ( + GoogleCloudRetailV2betaSearchResponseConversationalSearchResult + ) correctedQuery: str experimentInfo: _list[GoogleCloudRetailV2betaExperimentInfo] facets: _list[GoogleCloudRetailV2betaSearchResponseFacet] @@ -1687,8 +1737,38 @@ class GoogleCloudRetailV2betaSearchResponse(typing_extensions.TypedDict, total=F queryExpansionInfo: GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo redirectUri: str results: _list[GoogleCloudRetailV2betaSearchResponseSearchResult] + tileNavigationResult: GoogleCloudRetailV2betaSearchResponseTileNavigationResult totalSize: int +@typing.type_check_only +class GoogleCloudRetailV2betaSearchResponseConversationalSearchResult( + typing_extensions.TypedDict, total=False +): + additionalFilter: ( + GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter + ) + additionalFilters: _list[ + GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter + ] + conversationId: str + followupQuestion: str + refinedQuery: str + suggestedAnswers: _list[ + GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer + ] + +@typing.type_check_only +class GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + +@typing.type_check_only +class GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer( + typing_extensions.TypedDict, total=False +): + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseFacet( typing_extensions.TypedDict, total=False @@ -1725,6 +1805,12 @@ class GoogleCloudRetailV2betaSearchResponseSearchResult( product: GoogleCloudRetailV2betaProduct variantRollupValues: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudRetailV2betaSearchResponseTileNavigationResult( + typing_extensions.TypedDict, total=False +): + tiles: _list[GoogleCloudRetailV2betaTile] + @typing.type_check_only class GoogleCloudRetailV2betaServingConfig(typing_extensions.TypedDict, total=False): boostControlIds: _list[str] @@ -1783,6 +1869,12 @@ class GoogleCloudRetailV2betaSetInventoryResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudRetailV2betaTile(typing_extensions.TypedDict, total=False): + productAttributeInterval: GoogleCloudRetailV2betaProductAttributeInterval + productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue + representativeProductId: str + @typing.type_check_only class GoogleCloudRetailV2betaTuneModelMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index 4d62d84f..207fb674 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -17,6 +17,16 @@ class CloudRunResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BuildsResource(googleapiclient.discovery.Resource): + def submit( + self, + *, + parent: str, + body: GoogleCloudRunV2SubmitBuildRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRunV2SubmitBuildResponseHttpRequest: ... + @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -297,6 +307,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def exportProjectMetadata( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRunV2MetadataHttpRequest: ... + def builds(self) -> BuildsResource: ... def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... def services(self) -> ServicesResource: ... @@ -417,6 +428,14 @@ class GoogleCloudRunV2ServiceHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleCloudRunV2Service: ... +@typing.type_check_only +class GoogleCloudRunV2SubmitBuildResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2SubmitBuildResponse: ... + @typing.type_check_only class GoogleCloudRunV2TaskHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 4feeca3c..ff3e7f61 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -10,6 +10,15 @@ class GoogleCloudRunV2BinaryAuthorization(typing_extensions.TypedDict, total=Fal policy: str useDefault: bool +@typing.type_check_only +class GoogleCloudRunV2BuildpacksBuild(typing_extensions.TypedDict, total=False): + baseImage: str + cacheImageUri: str + enableAutomaticUpdates: bool + environmentVariables: dict[str, typing.Any] + functionTarget: str + runtime: str + @typing.type_check_only class GoogleCloudRunV2CancelExecutionRequest(typing_extensions.TypedDict, total=False): etag: str @@ -102,6 +111,9 @@ class GoogleCloudRunV2ContainerPort(typing_extensions.TypedDict, total=False): containerPort: int name: str +@typing.type_check_only +class GoogleCloudRunV2DockerBuild(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GoogleCloudRunV2EmptyDirVolumeSource(typing_extensions.TypedDict, total=False): medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "MEMORY"] @@ -478,6 +490,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): uid: str updateTime: str uri: str + urls: _list[str] @typing.type_check_only class GoogleCloudRunV2ServiceMesh(typing_extensions.TypedDict, total=False): @@ -486,6 +499,31 @@ class GoogleCloudRunV2ServiceMesh(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRunV2ServiceScaling(typing_extensions.TypedDict, total=False): minInstanceCount: int + scalingMode: typing_extensions.Literal[ + "SCALING_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" + ] + +@typing.type_check_only +class GoogleCloudRunV2StorageSource(typing_extensions.TypedDict, total=False): + bucket: str + generation: str + object: str + +@typing.type_check_only +class GoogleCloudRunV2SubmitBuildRequest(typing_extensions.TypedDict, total=False): + buildpackBuild: GoogleCloudRunV2BuildpacksBuild + dockerBuild: GoogleCloudRunV2DockerBuild + imageUri: str + serviceAccount: str + storageSource: GoogleCloudRunV2StorageSource + tags: _list[str] + workerPool: str + +@typing.type_check_only +class GoogleCloudRunV2SubmitBuildResponse(typing_extensions.TypedDict, total=False): + baseImageUri: str + baseImageWarning: str + buildOperation: GoogleLongrunningOperation @typing.type_check_only class GoogleCloudRunV2TCPSocketAction(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi index 278d0503..68591d6a 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi @@ -28,6 +28,12 @@ class GoogleAdsSearchads360V0Common__AdScheduleInfo( "UNSPECIFIED", "UNKNOWN", "ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE" ] +@typing.type_check_only +class GoogleAdsSearchads360V0Common__AdTextAsset( + typing_extensions.TypedDict, total=False +): + text: str + @typing.type_check_only class GoogleAdsSearchads360V0Common__AgeRangeInfo( typing_extensions.TypedDict, total=False @@ -290,6 +296,7 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= averageCost: float averageCpc: float averageCpm: float + averageQualityScore: float clicks: str clientAccountConversions: float clientAccountConversionsValue: float @@ -421,6 +428,8 @@ class GoogleAdsSearchads360V0Common__SearchAds360ResponsiveSearchAdInfo( typing_extensions.TypedDict, total=False ): adTrackingId: str + descriptions: _list[GoogleAdsSearchads360V0Common__AdTextAsset] + headlines: _list[GoogleAdsSearchads360V0Common__AdTextAsset] path1: str path2: str @@ -492,6 +501,11 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total device: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] + geoTargetCity: str + geoTargetCountry: str + geoTargetMetro: str + geoTargetRegion: str + hour: int keyword: GoogleAdsSearchads360V0Common__Keyword month: str productBiddingCategoryLevel1: str @@ -1295,6 +1309,7 @@ class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=Fa "DISCOVERY_CAROUSEL_AD", "TRAVEL_AD", "DISCOVERY_VIDEO_RESPONSIVE_AD", + "MULTIMEDIA_AD", ] @typing.type_check_only @@ -1396,6 +1411,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupAdLabel( ): adGroupAd: str label: str + ownerCustomerId: str resourceName: str @typing.type_check_only @@ -1536,6 +1552,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel( ): adGroupCriterion: str label: str + ownerCustomerId: str resourceName: str @typing.type_check_only @@ -1544,6 +1561,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupLabel( ): adGroup: str label: str + ownerCustomerId: str resourceName: str @typing.type_check_only @@ -1830,6 +1848,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "APP_CAMPAIGN_FOR_PRE_REGISTRATION", "VIDEO_REACH_TARGET_FREQUENCY", "TRAVEL_ACTIVITIES", + "SOCIAL_FACEBOOK_TRACKING_ONLY", ] advertisingChannelType: typing_extensions.Literal[ "UNSPECIFIED", @@ -1846,6 +1865,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "LOCAL_SERVICES", "DISCOVERY", "TRAVEL", + "SOCIAL", ] biddingStrategy: str biddingStrategySystemStatus: typing_extensions.Literal[ @@ -2090,6 +2110,7 @@ class GoogleAdsSearchads360V0Resources__CampaignLabel( ): campaign: str label: str + ownerCustomerId: str resourceName: str @typing.type_check_only @@ -2313,9 +2334,19 @@ class GoogleAdsSearchads360V0Resources__CustomColumn( referencedSystemColumns: _list[str] referencesAttributes: bool referencesMetrics: bool + renderType: typing_extensions.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "NUMBER", + "PERCENT", + "MONEY", + "STRING", + "BOOLEAN", + "DATE", + ] resourceName: str valueType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "STRING", "INT64", "DOUBLE", "BOOLEAN" + "UNSPECIFIED", "UNKNOWN", "STRING", "INT64", "DOUBLE", "BOOLEAN", "DATE" ] @typing.type_check_only @@ -2404,6 +2435,7 @@ class GoogleAdsSearchads360V0Resources__CustomerManagerLink( managerCustomer: str managerLinkId: str resourceName: str + startTime: str status: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVE", "INACTIVE", "PENDING", "REFUSED", "CANCELED" ] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi index fb843f43..e200d5d3 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi @@ -1213,6 +1213,24 @@ class SecurityCommandCenterResource(googleapiclient.discovery.Resource): ) -> TestIamPermissionsResponseHttpRequest: ... def findings(self) -> FindingsResource: ... + @typing.type_check_only + class ValuedResourcesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListValuedResourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListValuedResourcesResponseHttpRequest, + previous_response: ListValuedResourcesResponse, + ) -> ListValuedResourcesResponseHttpRequest | None: ... + def getOrganizationSettings( self, *, name: str, **kwargs: typing.Any ) -> OrganizationSettingsHttpRequest: ... @@ -1240,6 +1258,7 @@ class SecurityCommandCenterResource(googleapiclient.discovery.Resource): ) -> SecurityHealthAnalyticsSettingsResource: ... def simulations(self) -> SimulationsResource: ... def sources(self) -> SourcesResource: ... + def valuedResources(self) -> ValuedResourcesResource: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index af969219..3f2aa6d1 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -150,6 +150,7 @@ class AzureMetadata(typing_extensions.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription + tenant: AzureTenant @typing.type_check_only class AzureResourceGroup(typing_extensions.TypedDict, total=False): @@ -160,6 +161,11 @@ class AzureSubscription(typing_extensions.TypedDict, total=False): displayName: str id: str +@typing.type_check_only +class AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): appliance: str @@ -299,6 +305,7 @@ class Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -347,6 +354,25 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class DataAccessEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class DataFlowEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class Database(typing_extensions.TypedDict, total=False): displayName: str @@ -450,6 +476,8 @@ class Finding(typing_extensions.TypedDict, total=False): contacts: dict[str, typing.Any] containers: _list[Container] createTime: str + dataAccessEvents: _list[DataAccessEvent] + dataFlowEvents: _list[DataFlowEvent] database: Database description: str eventTime: str @@ -466,6 +494,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -873,6 +902,7 @@ class GoogleCloudSecuritycenterV2AzureMetadata( managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription + tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only class GoogleCloudSecuritycenterV2AzureResourceGroup( @@ -887,6 +917,11 @@ class GoogleCloudSecuritycenterV2AzureSubscription( displayName: str id: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class GoogleCloudSecuritycenterV2BackupDisasterRecovery( typing_extensions.TypedDict, total=False @@ -1009,6 +1044,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -1057,6 +1093,29 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataAccessEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataFlowEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): displayName: str @@ -1145,6 +1204,8 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] + dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] database: GoogleCloudSecuritycenterV2Database description: str eventTime: str @@ -1161,6 +1222,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index 50f0fb42..f9603f2b 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -113,6 +113,7 @@ class AzureMetadata(typing_extensions.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription + tenant: AzureTenant @typing.type_check_only class AzureResourceGroup(typing_extensions.TypedDict, total=False): @@ -123,6 +124,11 @@ class AzureSubscription(typing_extensions.TypedDict, total=False): displayName: str id: str +@typing.type_check_only +class AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): appliance: str @@ -235,6 +241,7 @@ class Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -283,6 +290,25 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class DataAccessEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class DataFlowEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class Database(typing_extensions.TypedDict, total=False): displayName: str @@ -359,6 +385,8 @@ class Finding(typing_extensions.TypedDict, total=False): contacts: dict[str, typing.Any] containers: _list[Container] createTime: str + dataAccessEvents: _list[DataAccessEvent] + dataFlowEvents: _list[DataFlowEvent] database: Database description: str eventTime: str @@ -375,6 +403,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -802,6 +831,7 @@ class GoogleCloudSecuritycenterV2AzureMetadata( managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription + tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only class GoogleCloudSecuritycenterV2AzureResourceGroup( @@ -816,6 +846,11 @@ class GoogleCloudSecuritycenterV2AzureSubscription( displayName: str id: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class GoogleCloudSecuritycenterV2BackupDisasterRecovery( typing_extensions.TypedDict, total=False @@ -938,6 +973,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -986,6 +1022,29 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataAccessEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataFlowEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): displayName: str @@ -1074,6 +1133,8 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] + dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] database: GoogleCloudSecuritycenterV2Database description: str eventTime: str @@ -1090,6 +1151,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index 85b4ab62..16caba3c 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -85,6 +85,7 @@ class AzureMetadata(typing_extensions.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription + tenant: AzureTenant @typing.type_check_only class AzureResourceGroup(typing_extensions.TypedDict, total=False): @@ -95,6 +96,11 @@ class AzureSubscription(typing_extensions.TypedDict, total=False): displayName: str id: str +@typing.type_check_only +class AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): appliance: str @@ -215,6 +221,7 @@ class Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -263,6 +270,25 @@ class Cvssv3(typing_extensions.TypedDict, total=False): "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class DataAccessEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class DataFlowEvent(typing_extensions.TypedDict, total=False): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class Database(typing_extensions.TypedDict, total=False): displayName: str @@ -353,6 +379,8 @@ class Finding(typing_extensions.TypedDict, total=False): contacts: dict[str, typing.Any] containers: _list[Container] createTime: str + dataAccessEvents: _list[DataAccessEvent] + dataFlowEvents: _list[DataFlowEvent] database: Database description: str eventTime: str @@ -369,6 +397,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -768,6 +797,7 @@ class GoogleCloudSecuritycenterV2AzureMetadata( managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription + tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only class GoogleCloudSecuritycenterV2AzureResourceGroup( @@ -782,6 +812,11 @@ class GoogleCloudSecuritycenterV2AzureSubscription( displayName: str id: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): + displayName: str + id: str + @typing.type_check_only class GoogleCloudSecuritycenterV2BackupDisasterRecovery( typing_extensions.TypedDict, total=False @@ -904,6 +939,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): "ANTICIPATED", "NO_KNOWN", ] + firstExploitationDate: str id: str impact: typing_extensions.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -952,6 +988,29 @@ class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False "USER_INTERACTION_REQUIRED", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataAccessEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DataFlowEvent( + typing_extensions.TypedDict, total=False +): + eventId: str + eventTime: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" + ] + principalEmail: str + violatedLocation: str + @typing.type_check_only class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): displayName: str @@ -1040,6 +1099,8 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals contacts: dict[str, typing.Any] containers: _list[GoogleCloudSecuritycenterV2Container] createTime: str + dataAccessEvents: _list[GoogleCloudSecuritycenterV2DataAccessEvent] + dataFlowEvents: _list[GoogleCloudSecuritycenterV2DataFlowEvent] database: GoogleCloudSecuritycenterV2Database description: str eventTime: str @@ -1056,6 +1117,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SCC_ERROR", "POSTURE_VIOLATION", "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 6a57780e..c6b0aace 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -222,6 +222,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -411,6 +415,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -512,6 +524,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index cb7ee3b6..25d15a18 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -191,6 +191,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -370,6 +374,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -466,6 +478,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi index c795e2f4..5e974aad 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi @@ -258,6 +258,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -494,6 +498,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -609,6 +621,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi index bee1f302..2807d9de 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi @@ -57,6 +57,7 @@ class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): requestedRanges: _list[str] role: str secondaryIpRangeSpecs: _list[SecondaryIpRangeSpec] + skipRequestedAddressValidation: bool subnetwork: str subnetworkUsers: _list[str] useCustomComputeIdempotencyWindow: bool @@ -167,6 +168,7 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): ] ] referenceDocsUri: str + selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): @@ -322,6 +324,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -553,6 +559,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -665,6 +679,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): @@ -747,6 +762,10 @@ class SecondaryIpRangeSpec(typing_extensions.TypedDict, total=False): rangeName: str requestedAddress: str +@typing.type_check_only +class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + methods: _list[str] + @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi index 12384ce3..9adf48be 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi @@ -136,6 +136,7 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): ] ] referenceDocsUri: str + selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): @@ -267,6 +268,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -476,6 +481,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -588,6 +601,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): @@ -645,6 +659,10 @@ class SecondaryIpRange(typing_extensions.TypedDict, total=False): ipCidrRange: str rangeName: str +@typing.type_check_only +class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): + methods: _list[str] + @typing.type_check_only class Service(typing_extensions.TypedDict, total=False): apis: _list[Api] diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index 87f1115c..904c46dd 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -21,6 +21,29 @@ class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): policyValue: str unit: str +@typing.type_check_only +class Analysis(typing_extensions.TypedDict, total=False): + analysis: AnalysisResult + analysisType: typing_extensions.Literal[ + "ANALYSIS_TYPE_UNSPECIFIED", + "ANALYSIS_TYPE_DEPENDENCY", + "ANALYSIS_TYPE_RESOURCE_USAGE", + ] + displayName: str + service: str + +@typing.type_check_only +class AnalysisResult(typing_extensions.TypedDict, total=False): + blockers: _list[Impact] + warnings: _list[Impact] + +@typing.type_check_only +class AnalyzeConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): + analysis: _list[Analysis] + @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): methods: _list[Method] @@ -278,6 +301,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -443,6 +470,13 @@ class HttpRule(typing_extensions.TypedDict, total=False): responseBody: str selector: str +@typing.type_check_only +class Impact(typing_extensions.TypedDict, total=False): + detail: str + impactType: typing_extensions.Literal[ + "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" + ] + @typing.type_check_only class ImportAdminOverridesMetadata(typing_extensions.TypedDict, total=False): ... @@ -587,6 +621,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -687,6 +729,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index 575e511c..26b35bcc 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -21,6 +21,29 @@ class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): policyValue: str unit: str +@typing.type_check_only +class Analysis(typing_extensions.TypedDict, total=False): + analysis: AnalysisResult + analysisType: typing_extensions.Literal[ + "ANALYSIS_TYPE_UNSPECIFIED", + "ANALYSIS_TYPE_DEPENDENCY", + "ANALYSIS_TYPE_RESOURCE_USAGE", + ] + displayName: str + service: str + +@typing.type_check_only +class AnalysisResult(typing_extensions.TypedDict, total=False): + blockers: _list[Impact] + warnings: _list[Impact] + +@typing.type_check_only +class AnalyzeConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): + analysis: _list[Analysis] + @typing.type_check_only class Api(typing_extensions.TypedDict, total=False): methods: _list[Method] @@ -286,6 +309,10 @@ class EnumValue(typing_extensions.TypedDict, total=False): number: int options: _list[Option] +@typing.type_check_only +class ExperimentalFeatures(typing_extensions.TypedDict, total=False): + restAsyncIoEnabled: bool + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): cardinality: typing_extensions.Literal[ @@ -451,6 +478,13 @@ class HttpRule(typing_extensions.TypedDict, total=False): responseBody: str selector: str +@typing.type_check_only +class Impact(typing_extensions.TypedDict, total=False): + detail: str + impactType: typing_extensions.Literal[ + "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" + ] + @typing.type_check_only class ImportAdminOverridesMetadata(typing_extensions.TypedDict, total=False): ... @@ -634,6 +668,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): "DEPRECATED", ] samplePeriod: str + timeSeriesResourceHierarchyLevel: _list[ + typing_extensions.Literal[ + "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", + "PROJECT", + "ORGANIZATION", + "FOLDER", + ] + ] @typing.type_check_only class MetricRule(typing_extensions.TypedDict, total=False): @@ -747,6 +789,7 @@ class Publishing(typing_extensions.TypedDict, total=False): @typing.type_check_only class PythonSettings(typing_extensions.TypedDict, total=False): common: CommonLanguageSettings + experimentalFeatures: ExperimentalFeatures @typing.type_check_only class Quota(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/solar/v1/resources.pyi b/googleapiclient-stubs/_apis/solar/v1/resources.pyi index 715afb1a..6bbd1373 100644 --- a/googleapiclient-stubs/_apis/solar/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/resources.pyi @@ -18,10 +18,16 @@ class SolarResource(googleapiclient.discovery.Resource): def findClosest( self, *, + experiments: typing_extensions.Literal[ + "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" + ] + | _list[ + typing_extensions.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] + ] = ..., location_latitude: float = ..., location_longitude: float = ..., requiredQuality: typing_extensions.Literal[ - "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] = ..., **kwargs: typing.Any, ) -> BuildingInsightsHttpRequest: ... @@ -32,12 +38,18 @@ class SolarResource(googleapiclient.discovery.Resource): self, *, exactQualityRequired: bool = ..., + experiments: typing_extensions.Literal[ + "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" + ] + | _list[ + typing_extensions.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] + ] = ..., location_latitude: float = ..., location_longitude: float = ..., pixelSizeMeters: float = ..., radiusMeters: float = ..., requiredQuality: typing_extensions.Literal[ - "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] = ..., view: typing_extensions.Literal[ "DATA_LAYER_VIEW_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi index 5d516c2e..f5b1f416 100644 --- a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi @@ -12,7 +12,7 @@ class BuildingInsights(typing_extensions.TypedDict, total=False): imageryDate: Date imageryProcessedDate: Date imageryQuality: typing_extensions.Literal[ - "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] name: str postalCode: str @@ -36,7 +36,7 @@ class DataLayers(typing_extensions.TypedDict, total=False): imageryDate: Date imageryProcessedDate: Date imageryQuality: typing_extensions.Literal[ - "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" + "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] maskUrl: str monthlyFluxUrl: str diff --git a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi index cb1fd100..1db8ff82 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi @@ -31,9 +31,13 @@ class Backup(typing_extensions.TypedDict, total=False): ] encryptionInfo: EncryptionInfo encryptionInformation: _list[EncryptionInfo] + exclusiveSizeBytes: str expireTime: str + freeableSizeBytes: str + incrementalBackupChainId: str maxExpireTime: str name: str + oldestVersionTime: str referencingBackups: _list[str] referencingDatabases: _list[str] sizeBytes: str @@ -51,6 +55,7 @@ class BackupInfo(typing_extensions.TypedDict, total=False): class BackupSchedule(typing_extensions.TypedDict, total=False): encryptionConfig: CreateBackupEncryptionConfig fullBackupSpec: FullBackupSpec + incrementalBackupSpec: IncrementalBackupSpec name: str retentionDuration: str spec: BackupScheduleSpec @@ -393,6 +398,9 @@ class IncludeReplicas(typing_extensions.TypedDict, total=False): autoFailoverDisabled: bool replicaSelections: _list[ReplicaSelection] +@typing.type_check_only +class IncrementalBackupSpec(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class IndexAdvice(typing_extensions.TypedDict, total=False): ddl: _list[str] @@ -412,6 +420,9 @@ class Instance(typing_extensions.TypedDict, total=False): config: str createTime: str displayName: str + edition: typing_extensions.Literal[ + "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" + ] endpointUris: _list[str] freeInstanceMetadata: FreeInstanceMetadata instanceType: typing_extensions.Literal[ @@ -607,6 +618,11 @@ class MetricMatrixRow(typing_extensions.TypedDict, total=False): class MoveInstanceRequest(typing_extensions.TypedDict, total=False): targetConfig: str +@typing.type_check_only +class MultiplexedSessionPrecommitToken(typing_extensions.TypedDict, total=False): + precommitToken: str + seqNum: int + @typing.type_check_only class Mutation(typing_extensions.TypedDict, total=False): delete: Delete @@ -903,6 +919,7 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Transaction(typing_extensions.TypedDict, total=False): id: str + precommitToken: MultiplexedSessionPrecommitToken readTimestamp: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index d068171c..77c10a02 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -109,6 +109,17 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + def ListServerCertificates( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> InstancesListServerCertificatesResponseHttpRequest: ... + def RotateServerCertificate( + self, + *, + project: str, + instance: str, + body: InstancesRotateServerCertificateRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def acquireSsrsLease( self, *, @@ -120,6 +131,9 @@ class SQLAdminResource(googleapiclient.discovery.Resource): def addServerCa( self, *, project: str, instance: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def addServerCertificate( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def clone( self, *, @@ -542,6 +556,16 @@ class InstancesListServerCasResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> InstancesListServerCasResponse: ... +@typing.type_check_only +class InstancesListServerCertificatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstancesListServerCertificatesResponse: ... + @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 92e8c57d..913a938c 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -133,6 +133,7 @@ class CloneContext(typing_extensions.TypedDict, total=False): kind: str pitrTimestampMs: str pointInTime: str + preferredSecondaryZone: str preferredZone: str @typing.type_check_only @@ -158,6 +159,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -176,7 +178,6 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -245,6 +246,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -263,7 +265,6 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -431,6 +432,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -449,7 +451,6 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -570,6 +571,13 @@ class InstancesListServerCasResponse(typing_extensions.TypedDict, total=False): certs: _list[SslCert] kind: str +@typing.type_check_only +class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total=False): + activeVersion: str + caCerts: _list[SslCert] + kind: str + serverCerts: _list[SslCert] + @typing.type_check_only class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @@ -582,6 +590,10 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext +@typing.type_check_only +class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total=False): + rotateServerCertificateContext: RotateServerCertificateContext + @typing.type_check_only class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): truncateLogContext: TruncateLogContext @@ -821,6 +833,11 @@ class RotateServerCaContext(typing_extensions.TypedDict, total=False): kind: str nextVersion: str +@typing.type_check_only +class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): + kind: str + nextVersion: str + @typing.type_check_only class Settings(typing_extensions.TypedDict, total=False): activationPolicy: typing_extensions.Literal[ @@ -932,6 +949,9 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "PG_CRON_FLAG_ENABLED_IN_REPLICA", "EXTENSIONS_NOT_ENABLED_IN_REPLICA", "UNSUPPORTED_COLUMNS", + "USERS_NOT_CREATED_IN_REPLICA", + "UNSUPPORTED_SYSTEM_OBJECTS", + "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index d068171c..77c10a02 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -109,6 +109,17 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + def ListServerCertificates( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> InstancesListServerCertificatesResponseHttpRequest: ... + def RotateServerCertificate( + self, + *, + project: str, + instance: str, + body: InstancesRotateServerCertificateRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def acquireSsrsLease( self, *, @@ -120,6 +131,9 @@ class SQLAdminResource(googleapiclient.discovery.Resource): def addServerCa( self, *, project: str, instance: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def addServerCertificate( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def clone( self, *, @@ -542,6 +556,16 @@ class InstancesListServerCasResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> InstancesListServerCasResponse: ... +@typing.type_check_only +class InstancesListServerCertificatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstancesListServerCertificatesResponse: ... + @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 92e8c57d..913a938c 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -133,6 +133,7 @@ class CloneContext(typing_extensions.TypedDict, total=False): kind: str pitrTimestampMs: str pointInTime: str + preferredSecondaryZone: str preferredZone: str @typing.type_check_only @@ -158,6 +159,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -176,7 +178,6 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -245,6 +246,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -263,7 +265,6 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -431,6 +432,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_14", "POSTGRES_15", "POSTGRES_16", + "POSTGRES_17", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -449,7 +451,6 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_39", "MYSQL_8_0_40", "MYSQL_8_4", - "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -570,6 +571,13 @@ class InstancesListServerCasResponse(typing_extensions.TypedDict, total=False): certs: _list[SslCert] kind: str +@typing.type_check_only +class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total=False): + activeVersion: str + caCerts: _list[SslCert] + kind: str + serverCerts: _list[SslCert] + @typing.type_check_only class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @@ -582,6 +590,10 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext +@typing.type_check_only +class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total=False): + rotateServerCertificateContext: RotateServerCertificateContext + @typing.type_check_only class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): truncateLogContext: TruncateLogContext @@ -821,6 +833,11 @@ class RotateServerCaContext(typing_extensions.TypedDict, total=False): kind: str nextVersion: str +@typing.type_check_only +class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): + kind: str + nextVersion: str + @typing.type_check_only class Settings(typing_extensions.TypedDict, total=False): activationPolicy: typing_extensions.Literal[ @@ -932,6 +949,9 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): "PG_CRON_FLAG_ENABLED_IN_REPLICA", "EXTENSIONS_NOT_ENABLED_IN_REPLICA", "UNSUPPORTED_COLUMNS", + "USERS_NOT_CREATED_IN_REPLICA", + "UNSUPPORTED_SYSTEM_OBJECTS", + "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index 383607d6..958bb810 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -616,6 +616,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationMatch: str = ..., ifMetagenerationNotMatch: str = ..., projection: typing_extensions.Literal["full", "noAcl"] = ..., + restoreToken: str = ..., softDeleted: bool = ..., userProject: str = ..., **kwargs: typing.Any, @@ -631,6 +632,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationMatch: str = ..., ifMetagenerationNotMatch: str = ..., projection: typing_extensions.Literal["full", "noAcl"] = ..., + restoreToken: str = ..., softDeleted: bool = ..., userProject: str = ..., **kwargs: typing.Any, @@ -726,6 +728,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationMatch: str = ..., ifMetagenerationNotMatch: str = ..., projection: typing_extensions.Literal["full", "noAcl"] = ..., + restoreToken: str = ..., 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 b7fbc081..fdcc8b04 100644 --- a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi @@ -37,6 +37,7 @@ class Bucket(typing_extensions.TypedDict, total=False): encryption: dict[str, typing.Any] etag: str generation: str + hardDeleteTime: str hierarchicalNamespace: dict[str, typing.Any] iamConfiguration: dict[str, typing.Any] id: str @@ -58,6 +59,7 @@ class Bucket(typing_extensions.TypedDict, total=False): satisfiesPZS: bool selfLink: str softDeletePolicy: dict[str, typing.Any] + softDeleteTime: str storageClass: str timeCreated: str updated: str @@ -257,6 +259,7 @@ class Object(typing_extensions.TypedDict, total=False): metageneration: str name: str owner: dict[str, typing.Any] + restoreToken: str retention: dict[str, typing.Any] retentionExpirationTime: str selfLink: str diff --git a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi index 83c0d958..60fcfcbf 100644 --- a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi @@ -57,6 +57,7 @@ class AndroidModel(typing_extensions.TypedDict, total=False): "DEVICE_FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", "WEARABLE" ] id: str + labInfo: LabInfo lowFpsVideoRecording: bool manufacturer: str name: str @@ -338,6 +339,10 @@ class IosXcTest(typing_extensions.TypedDict, total=False): xcodeVersion: str xctestrun: FileReference +@typing.type_check_only +class LabInfo(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class LauncherActivityIntent(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi index 2a7f9dfb..3b5d3868 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi @@ -191,6 +191,7 @@ class Node(typing_extensions.TypedDict, total=False): multisliceNode: bool name: str networkConfig: NetworkConfig + networkConfigs: _list[NetworkConfig] networkEndpoints: _list[NetworkEndpoint] queuedResource: str runtimeVersion: str diff --git a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi index 6036cc7d..b53d247a 100644 --- a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi @@ -34,7 +34,7 @@ class AdaptiveMtSentence(typing_extensions.TypedDict, total=False): class AdaptiveMtTranslateRequest(typing_extensions.TypedDict, total=False): content: _list[str] dataset: str - glossaryConfig: TranslateTextGlossaryConfig + glossaryConfig: GlossaryConfig referenceSentenceConfig: ReferenceSentenceConfig @typing.type_check_only @@ -182,6 +182,11 @@ class Glossary(typing_extensions.TypedDict, total=False): name: str submitTime: str +@typing.type_check_only +class GlossaryConfig(typing_extensions.TypedDict, total=False): + glossary: str + ignoreCase: bool + @typing.type_check_only class GlossaryEntry(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi index ad7b9613..01af2920 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi @@ -207,23 +207,6 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... - @typing.type_check_only - class DiskMigrationJobsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: CancelDiskMigrationJobRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def run( - self, - *, - name: str, - body: RunDiskMigrationJobRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - @typing.type_check_only class MigratingVmsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -501,7 +484,6 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def datacenterConnectors(self) -> DatacenterConnectorsResource: ... - def diskMigrationJobs(self) -> DiskMigrationJobsResource: ... def migratingVms(self) -> MigratingVmsResource: ... def utilizationReports(self) -> UtilizationReportsResource: ... diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi index 464976d8..766deaa1 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi @@ -53,7 +53,6 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): inventorySecurityGroupNames: _list[str] inventoryTagList: _list[Tag] migrationResourcesUserTags: dict[str, typing.Any] - networkInsights: NetworkInsights publicIp: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] @@ -167,9 +166,6 @@ class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... @@ -229,6 +225,9 @@ class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] appliedLicense: AppliedLicense + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] bootOption: typing_extensions.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -242,6 +241,8 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", ] + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -265,6 +266,9 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] appliedLicense: AppliedLicense + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] bootOption: typing_extensions.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -278,6 +282,8 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", ] + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -412,6 +418,8 @@ class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] bootDiskDefaults: BootDiskDefaults computeScheduling: ComputeScheduling + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -703,11 +711,6 @@ class MigrationWarning(typing_extensions.TypedDict, total=False): warningMessage: LocalizedMessage warningTime: str -@typing.type_check_only -class NetworkInsights(typing_extensions.TypedDict, total=False): - sourceNetworkConfig: str - sourceNetworkTerraform: str - @typing.type_check_only class NetworkInterface(typing_extensions.TypedDict, total=False): externalIp: str @@ -813,9 +816,6 @@ class ReplicationSync(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class SchedulePolicy(typing_extensions.TypedDict, total=False): idleDuration: str diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi index ad7b9613..01af2920 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi @@ -207,23 +207,6 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... - @typing.type_check_only - class DiskMigrationJobsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: CancelDiskMigrationJobRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - def run( - self, - *, - name: str, - body: RunDiskMigrationJobRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... - @typing.type_check_only class MigratingVmsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -501,7 +484,6 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def datacenterConnectors(self) -> DatacenterConnectorsResource: ... - def diskMigrationJobs(self) -> DiskMigrationJobsResource: ... def migratingVms(self) -> MigratingVmsResource: ... def utilizationReports(self) -> UtilizationReportsResource: ... diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index 9ab92bf6..df296965 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -53,7 +53,6 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): inventorySecurityGroupNames: _list[str] inventoryTagList: _list[Tag] migrationResourcesUserTags: dict[str, typing.Any] - networkInsights: NetworkInsights publicIp: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] @@ -167,9 +166,6 @@ class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... @@ -231,6 +227,9 @@ class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] appliedLicense: AppliedLicense + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] bootOption: typing_extensions.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -244,6 +243,8 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", ] + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -267,6 +268,9 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] appliedLicense: AppliedLicense + bootConversion: typing_extensions.Literal[ + "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" + ] bootOption: typing_extensions.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -280,6 +284,8 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", ] + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -418,6 +424,8 @@ class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): additionalLicenses: _list[str] bootDiskDefaults: BootDiskDefaults computeScheduling: ComputeScheduling + enableIntegrityMonitoring: bool + enableVtpm: bool encryption: Encryption hostname: str labels: dict[str, typing.Any] @@ -711,11 +719,6 @@ class MigrationWarning(typing_extensions.TypedDict, total=False): warningMessage: LocalizedMessage warningTime: str -@typing.type_check_only -class NetworkInsights(typing_extensions.TypedDict, total=False): - sourceNetworkConfig: str - sourceNetworkTerraform: str - @typing.type_check_only class NetworkInterface(typing_extensions.TypedDict, total=False): externalIp: str @@ -822,9 +825,6 @@ class ReplicationSync(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class SchedulePolicy(typing_extensions.TypedDict, total=False): idleDuration: str diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi index 3c4c37ce..655b99f4 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi @@ -40,7 +40,15 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): @typing.type_check_only class StepEntriesResource(googleapiclient.discovery.Resource): def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "EXECUTION_ENTRY_VIEW_UNSPECIFIED", + "EXECUTION_ENTRY_VIEW_BASIC", + "EXECUTION_ENTRY_VIEW_DETAILED", + ] = ..., + **kwargs: typing.Any, ) -> StepEntryHttpRequest: ... def list( self, @@ -51,6 +59,11 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., skip: int = ..., + view: typing_extensions.Literal[ + "EXECUTION_ENTRY_VIEW_UNSPECIFIED", + "EXECUTION_ENTRY_VIEW_BASIC", + "EXECUTION_ENTRY_VIEW_DETAILED", + ] = ..., **kwargs: typing.Any, ) -> ListStepEntriesResponseHttpRequest: ... def list_next( @@ -73,6 +86,13 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): body: Execution = ..., **kwargs: typing.Any, ) -> ExecutionHttpRequest: ... + def deleteExecutionHistory( + self, + *, + name: str, + body: DeleteExecutionHistoryRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... def exportData( self, *, name: str, **kwargs: typing.Any ) -> ExportDataResponseHttpRequest: ... @@ -133,6 +153,14 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): ) -> 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 ExecutionHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi index 7e33e2dc..804c9410 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi @@ -14,6 +14,12 @@ class Callback(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelExecutionRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class DeleteExecutionHistoryRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Error(typing_extensions.TypedDict, total=False): context: str @@ -131,7 +137,11 @@ class StepEntry(typing_extensions.TypedDict, total=False): navigationInfo: NavigationInfo routine: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STATE_IN_PROGRESS", "STATE_SUCCEEDED", "STATE_FAILED" + "STATE_UNSPECIFIED", + "STATE_IN_PROGRESS", + "STATE_SUCCEEDED", + "STATE_FAILED", + "STATE_CANCELLED", ] step: str stepEntryMetadata: StepEntryMetadata @@ -158,6 +168,7 @@ class StepEntry(typing_extensions.TypedDict, total=False): "STEP_GOTO", ] updateTime: str + variableData: VariableData @typing.type_check_only class StepEntryMetadata(typing_extensions.TypedDict, total=False): @@ -179,3 +190,7 @@ class TriggerPubsubExecutionRequest(typing_extensions.TypedDict, total=False): deliveryAttempt: int message: PubsubMessage subscription: str + +@typing.type_check_only +class VariableData(typing_extensions.TypedDict, total=False): + variables: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi index ce6a9bd5..f1ef1e38 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi @@ -74,6 +74,11 @@ class Workflow(typing_extensions.TypedDict, total=False): cryptoKeyName: str cryptoKeyVersion: str description: str + executionHistoryLevel: typing_extensions.Literal[ + "EXECUTION_HISTORY_LEVEL_UNSPECIFIED", + "EXECUTION_HISTORY_BASIC", + "EXECUTION_HISTORY_DETAILED", + ] labels: dict[str, typing.Any] name: str revisionCreateTime: str diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index a7cca1ba..057981e5 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -305,9 +305,11 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): encryptionKey: CustomerEncryptionKey ephemeralDirectories: _list[EphemeralDirectory] etag: str + grantWorkstationAdminRoleOnCreate: bool host: Host idleTimeout: str labels: dict[str, typing.Any] + maxUsableWorkstations: int name: str persistentDirectories: _list[PersistentDirectory] readinessChecks: _list[ReadinessCheck] diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index 1e6a7cf6..86af1354 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -317,6 +317,7 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): encryptionKey: CustomerEncryptionKey ephemeralDirectories: _list[EphemeralDirectory] etag: str + grantWorkstationAdminRoleOnCreate: bool host: Host httpOptions: HttpOptions idleTimeout: str diff --git a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi index e7614361..81b70a74 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi @@ -1850,6 +1850,7 @@ class PlaylistSnippet(typing_extensions.TypedDict, total=False): @typing.type_check_only class PlaylistStatus(typing_extensions.TypedDict, total=False): + podcastStatus: typing_extensions.Literal["enabled", "disabled"] privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] @typing.type_check_only @@ -2052,6 +2053,7 @@ class Video(typing_extensions.TypedDict, total=False): liveStreamingDetails: VideoLiveStreamingDetails localizations: dict[str, typing.Any] monetizationDetails: VideoMonetizationDetails + paidProductPlacementDetails: VideoPaidProductPlacementDetails player: VideoPlayer processingDetails: VideoProcessingDetails projectDetails: VideoProjectDetails @@ -2218,6 +2220,10 @@ class VideoLocalization(typing_extensions.TypedDict, total=False): class VideoMonetizationDetails(typing_extensions.TypedDict, total=False): access: AccessPolicy +@typing.type_check_only +class VideoPaidProductPlacementDetails(typing_extensions.TypedDict, total=False): + hasPaidProductPlacement: bool + @typing.type_check_only class VideoPlayer(typing_extensions.TypedDict, total=False): embedHeight: str diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 4fd2a8d3..f9cc6c25 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -278,7 +278,9 @@ import googleapiclient._apis.gkehub.v1alpha import googleapiclient._apis.gkehub.v1alpha2 import googleapiclient._apis.gkehub.v1beta import googleapiclient._apis.gkehub.v1beta1 +import googleapiclient._apis.gkehub.v2 import googleapiclient._apis.gkehub.v2alpha +import googleapiclient._apis.gkehub.v2beta import googleapiclient._apis.gkeonprem.v1 import googleapiclient._apis.gmail.v1 import googleapiclient._apis.gmailpostmastertools.v1 @@ -367,6 +369,7 @@ import googleapiclient._apis.notebooks.v2 import googleapiclient._apis.oauth2.v2 import googleapiclient._apis.ondemandscanning.v1 import googleapiclient._apis.ondemandscanning.v1beta1 +import googleapiclient._apis.oracledatabase.v1 import googleapiclient._apis.orgpolicy.v2 import googleapiclient._apis.osconfig.v1 import googleapiclient._apis.osconfig.v1alpha @@ -5986,6 +5989,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.gkehub.v1beta1.GKEHubResource: ... @overload +def build( + serviceName: Literal["gkehub"], + 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.gkehub.v2.GKEHubResource: ... +@overload def build( serviceName: Literal["gkehub"], version: Literal["v2alpha"], @@ -6006,6 +6029,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.gkehub.v2alpha.GKEHubResource: ... @overload +def build( + serviceName: Literal["gkehub"], + version: Literal["v2beta"], + 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.gkehub.v2beta.GKEHubResource: ... +@overload def build( serviceName: Literal["gkeonprem"], version: Literal["v1"], @@ -7770,6 +7813,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.ondemandscanning.v1beta1.OnDemandScanningResource: ... @overload +def build( + serviceName: Literal["oracledatabase"], + 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.oracledatabase.v1.OracleDatabaseResource: ... +@overload def build( serviceName: Literal["orgpolicy"], version: Literal["v2"], diff --git a/pyproject.toml b/pyproject.toml index a3d8dce9..5d07e36b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.141.0", + "google-api-python-client>=2.147.0", "types-httplib2>=0.22.0.2", "typing-extensions>=3.10.0", ] diff --git a/uv.lock b/uv.lock index c7cfd410..c0b5c879 100644 --- a/uv.lock +++ b/uv.lock @@ -171,7 +171,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.141.0" }, + { name = "google-api-python-client", specifier = ">=2.147.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, { name = "typing-extensions", specifier = ">=3.10.0" }, ]