diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index 791f7ea19..149bfa150 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -58,6 +58,8 @@ class ReportsResource(googleapiclient.discovery.Resource): "contacts", "takeout", "graduation", + "voice", + "chrome_sync", ], actorIpAddress: str = ..., applicationInfoFilter: str = ..., diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index 767f214eb..b56a633be 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -5521,6 +5521,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): def events(self) -> EventsResource: ... def operations(self) -> OperationsResource: ... + def asyncQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancelAsyncQuery( + self, *, name: str, operationName: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponseHttpRequest: ... def create( self, *, @@ -5697,6 +5707,40 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleProtobufEmptyHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class SkillsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class SpecialistPoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -6619,6 +6663,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... def schedules(self) -> SchedulesResource: ... + def skills(self) -> SkillsResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... def tensorboards(self) -> TensorboardsResource: ... @@ -7083,6 +7128,18 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + def asyncQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancelAsyncQuery( + self, *, name: str, operationName: str = ..., **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponseHttpRequest + ): ... def create( self, *, @@ -7185,6 +7242,40 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + @typing.type_check_only + class SkillsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class SpecialistPoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -7558,6 +7649,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... def schedules(self) -> SchedulesResource: ... + def skills(self) -> SkillsResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... def tensorboards(self) -> TensorboardsResource: ... @@ -7717,6 +7809,16 @@ class GoogleCloudAiplatformV1CachedContentHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> GoogleCloudAiplatformV1CachedContent: ... +@typing.type_check_only +class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index d94e218d5..434466b10 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -16,6 +16,7 @@ class CloudAiLargeModelsVisionGenerateVideoExperiments( numDiffusionSteps: int promptInputs: CloudAiLargeModelsVisionPromptInputs requestOriginTag: str + truncateInputVideo: bool videoTransformMaskGcsUri: str videoTransformStrength: float @@ -353,6 +354,13 @@ class GoogleCloudAiplatformV1AssignNotebookRuntimeRequest( notebookRuntimeId: str notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest( + typing_extensions.TypedDict, total=False +): + inputGcsUri: str + outputGcsUri: str + @typing.type_check_only class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest( typing_extensions.TypedDict, total=False @@ -822,6 +830,11 @@ class GoogleCloudAiplatformV1CachedContentUsageMetadata( totalTokenCount: int videoDurationSeconds: int +@typing.type_check_only +class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest( typing_extensions.TypedDict, total=False @@ -1120,6 +1133,7 @@ class GoogleCloudAiplatformV1CopyModelOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1CopyModelRequest(typing_extensions.TypedDict, total=False): + customServiceAccount: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec modelId: str parentModel: str @@ -8187,7 +8201,6 @@ class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo( loadBalancerHostname: str loadBalancerIp: str routingToken: str - sandboxHostname: str sandboxInternalIp: str @typing.type_check_only @@ -8247,7 +8260,6 @@ class GoogleCloudAiplatformV1SandboxEnvironmentTemplate( "UNSPECIFIED", "PROVISIONING", "ACTIVE", "DEPROVISIONING", "DELETED", "FAILED" ] updateTime: str - warmPoolConfig: GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment( @@ -8294,12 +8306,6 @@ class GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements( limits: dict[str, typing.Any] requests: dict[str, typing.Any] -@typing.type_check_only -class GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig( - typing_extensions.TypedDict, total=False -): - targetInstanceCount: int - @typing.type_check_only class GoogleCloudAiplatformV1SavedQuery(typing_extensions.TypedDict, total=False): annotationFilter: str diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index 394455ee8..8e2cbd8c1 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -7713,6 +7713,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): def events(self) -> EventsResource: ... def operations(self) -> OperationsResource: ... + def asyncQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancelAsyncQuery( + self, *, name: str, operationName: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponseHttpRequest: ... def create( self, *, @@ -7971,6 +7981,40 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + @typing.type_check_only + class SkillsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class SolversResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -8969,6 +9013,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def semanticGovernancePolicyEngine( self, ) -> SemanticGovernancePolicyEngineResource: ... + def skills(self) -> SkillsResource: ... def solvers(self) -> SolversResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... @@ -10128,6 +10173,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): def events(self) -> EventsResource: ... def operations(self) -> OperationsResource: ... + def asyncQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancelAsyncQuery( + self, *, name: str, operationName: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponseHttpRequest: ... def create( self, *, @@ -10303,6 +10358,40 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + @typing.type_check_only + class SkillsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class SolversResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -10640,6 +10729,27 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponseHttpRequest: ... + @typing.type_check_only + class VertexExpressResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EligibilityResource(googleapiclient.discovery.Resource): + def check( + self, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1CheckSignUpEligibilityResponseHttpRequest + ): ... + + def retrieveExpressProject( + self, *, getDefaultApiKey: bool = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1RetrieveExpressProjectResponseHttpRequest: ... + def signUp( + self, + *, + body: GoogleCloudAiplatformV1beta1SignUpRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExpressProjectHttpRequest: ... + def Eligibility(self) -> EligibilityResource: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -10700,6 +10810,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def semanticGovernancePolicyEngine( self, ) -> SemanticGovernancePolicyEngineResource: ... + def skills(self) -> SkillsResource: ... def solvers(self) -> SolversResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... @@ -10707,6 +10818,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def trainingPipelines(self) -> TrainingPipelinesResource: ... def tuningJobs(self) -> TuningJobsResource: ... def v1beta1(self) -> V1beta1Resource: ... + def vertexExpress(self) -> VertexExpressResource: ... @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): @@ -10882,6 +10994,26 @@ class GoogleCloudAiplatformV1beta1CachedContentHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1CachedContent: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CheckSignUpEligibilityResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1CheckSignUpEligibilityResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest( googleapiclient.http.HttpRequest @@ -11146,6 +11278,16 @@ class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpReq num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExpressProjectHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ExpressProject: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExtensionHttpRequest( googleapiclient.http.HttpRequest @@ -12594,6 +12736,16 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1RetrieveContextsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveExpressProjectResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1RetrieveExpressProjectResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index 7c8bd9453..8e4749338 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -16,6 +16,7 @@ class CloudAiLargeModelsVisionGenerateVideoExperiments( numDiffusionSteps: int promptInputs: CloudAiLargeModelsVisionPromptInputs requestOriginTag: str + truncateInputVideo: bool videoTransformMaskGcsUri: str videoTransformStrength: float @@ -486,6 +487,13 @@ class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest( notebookRuntimeId: str notebookRuntimeTemplate: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest( + typing_extensions.TypedDict, total=False +): + inputGcsUri: str + outputGcsUri: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1AsyncRetrieveContextsRequest( typing_extensions.TypedDict, total=False @@ -1011,6 +1019,11 @@ class GoogleCloudAiplatformV1beta1CachedContentUsageMetadata( totalTokenCount: int videoDurationSeconds: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest( typing_extensions.TypedDict, total=False @@ -1115,6 +1128,14 @@ class GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest( ): publisherModel: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CheckSignUpEligibilityResponse( + typing_extensions.TypedDict, total=False +): + eligibility: typing_extensions.Literal[ + "ELIGIBILITY_STATUS_UNSPECIFIED", "ELIGIBLE", "IN_SCOPE", "INELIGIBLE" + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata( typing_extensions.TypedDict, total=False @@ -1356,6 +1377,7 @@ class GoogleCloudAiplatformV1beta1CopyModelOperationMetadata( class GoogleCloudAiplatformV1beta1CopyModelRequest( typing_extensions.TypedDict, total=False ): + customServiceAccount: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec modelId: str parentModel: str @@ -7877,7 +7899,7 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluator( metricSources: _list[GoogleCloudAiplatformV1beta1MetricSource] name: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "FAILED" + "STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "FAILED", "WARNING" ] stateDetails: _list[GoogleCloudAiplatformV1beta1OnlineEvaluatorStateDetails] updateTime: str @@ -10108,6 +10130,12 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsResponse( ): contexts: GoogleCloudAiplatformV1beta1RagContexts +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RetrieveExpressProjectResponse( + typing_extensions.TypedDict, total=False +): + expressProject: GoogleCloudAiplatformV1beta1ExpressProject + @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest( typing_extensions.TypedDict, total=False @@ -10487,7 +10515,6 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo( loadBalancerHostname: str loadBalancerIp: str routingToken: str - sandboxHostname: str sandboxInternalIp: str @typing.type_check_only @@ -10553,7 +10580,6 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate( "UNSPECIFIED", "PROVISIONING", "ACTIVE", "DEPROVISIONING", "DELETED", "FAILED" ] updateTime: str - warmPoolConfig: GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateWarmPoolConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateCustomContainerEnvironment( @@ -10602,12 +10628,6 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements limits: dict[str, typing.Any] requests: dict[str, typing.Any] -@typing.type_check_only -class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateWarmPoolConfig( - typing_extensions.TypedDict, total=False -): - targetInstanceCount: int - @typing.type_check_only class GoogleCloudAiplatformV1beta1SavedQuery(typing_extensions.TypedDict, total=False): annotationFilter: str @@ -11074,6 +11094,28 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoObjectTrackin GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetrics ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadata( + typing_extensions.TypedDict, total=False +): + geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig + inputConfig: GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataMultimodalDatasetInputConfig + keyColumnName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataBigQuerySource( + typing_extensions.TypedDict, total=False +): + uri: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataMultimodalDatasetInputConfig( + typing_extensions.TypedDict, total=False +): + bigquerySource: ( + GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataBigQuerySource + ) + @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceImageClassificationPredictionInstance( typing_extensions.TypedDict, total=False @@ -12610,6 +12652,14 @@ class GoogleCloudAiplatformV1beta1ShieldedVmConfig( ): enableSecureBoot: bool +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SignUpRequest( + typing_extensions.TypedDict, total=False +): + getDefaultApiKey: bool + region: str + tosAccepted: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1SlackSource(typing_extensions.TypedDict, total=False): channels: _list[GoogleCloudAiplatformV1beta1SlackSourceSlackChannels] @@ -14132,6 +14182,7 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F "TUNING_JOB_STATE_POST_PROCESSING", ] updateTime: str + veoLoraTuningSpec: GoogleCloudAiplatformV1beta1VeoLoraTuningSpec veoTuningSpec: GoogleCloudAiplatformV1beta1VeoTuningSpec @typing.type_check_only @@ -14488,6 +14539,17 @@ class GoogleCloudAiplatformV1beta1VeoHyperParameters( ] veoDataMixtureRatio: float +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VeoLoraTuningSpec( + typing_extensions.TypedDict, total=False +): + hyperParameters: GoogleCloudAiplatformV1beta1VeoHyperParameters + trainingDatasetUri: str + validationDatasetUri: str + videoOrientation: typing_extensions.Literal[ + "VIDEO_ORIENTATION_UNSPECIFIED", "LANDSCAPE", "PORTRAIT" + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1VeoTuningSpec( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index 957e5a22e..598ae3cf8 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -1066,7 +1066,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ typing_extensions.Literal[ - "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE" + "MODE_UNSPECIFIED", + "MODE_NATIVE", + "MODE_MONGODB_COMPATIBLE", + "MODE_DATASTORE", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 7adcb7e25..f5108f01a 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -1147,7 +1147,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ typing_extensions.Literal[ - "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE" + "MODE_UNSPECIFIED", + "MODE_NATIVE", + "MODE_MONGODB_COMPATIBLE", + "MODE_DATASTORE", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index c0a6c6e50..5b6e6bb94 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -1141,7 +1141,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ typing_extensions.Literal[ - "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE" + "MODE_UNSPECIFIED", + "MODE_NATIVE", + "MODE_MONGODB_COMPATIBLE", + "MODE_DATASTORE", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index ed9d501f7..a261009b3 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -1475,6 +1475,9 @@ class Policy(typing_extensions.TypedDict, total=False): "AUTO_DATE_AND_TIME_ZONE_ENFORCED", ] autoTimeRequired: bool + autofillPolicy: typing_extensions.Literal[ + "AUTOFILL_POLICY_UNSPECIFIED", "AUTOFILL_USER_CHOICE", "AUTOFILL_DISABLED" + ] blockApplicationsEnabled: bool bluetoothConfigDisabled: bool bluetoothContactSharingDisabled: bool diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index e50100ef4..81116cad1 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -764,6 +764,8 @@ class GeneratedApksPerSigningKey(typing_extensions.TypedDict, total=False): generatedStandaloneApks: _list[GeneratedStandaloneApk] generatedUniversalApk: GeneratedUniversalApk targetingInfo: TargetingInfo + unprotectedGeneratedSplitApks: _list[GeneratedSplitApk] + unprotectedGeneratedStandaloneApks: _list[GeneratedStandaloneApk] @typing.type_check_only class GeneratedAssetPackSlice(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi index 9931b7621..ac6dfb6ec 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi @@ -13,6 +13,23 @@ _list = list @typing.type_check_only class AssuredworkloadsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssuredworkloadsResource(googleapiclient.discovery.Resource): + def archiveResourceEvents( + self, + *, + body: GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponseHttpRequest: ... + def revertArchivedResourceEvents( + self, + *, + body: GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponseHttpRequest + ): ... + @typing.type_check_only class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -198,6 +215,7 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def assuredworkloads(self) -> AssuredworkloadsResource: ... def organizations(self) -> OrganizationsResource: ... @typing.type_check_only @@ -220,6 +238,16 @@ class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -280,6 +308,16 @@ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ViolationHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index 859f336d0..a3825b733 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -48,6 +48,23 @@ class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse( ): appliedUpdate: GoogleCloudAssuredworkloadsV1WorkloadUpdate +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest( + typing_extensions.TypedDict, total=False +): + archiveTime: str + batchSize: int + eventCutoffTime: str + maxEventsMove: int + organizationId: str + region: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse( + typing_extensions.TypedDict, total=False +): + movedEventsCount: int + @typing.type_check_only class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis( typing_extensions.TypedDict, total=False @@ -216,6 +233,23 @@ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest( + typing_extensions.TypedDict, total=False +): + archiveEndTime: str + archiveStartTime: str + batchSize: int + maxEventsMove: int + organizationId: str + region: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse( + typing_extensions.TypedDict, total=False +): + movedEventsCount: int + @typing.type_check_only class GoogleCloudAssuredworkloadsV1UpdateDetails( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi index 543764492..775afb9f4 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi @@ -13,6 +13,23 @@ _list = list @typing.type_check_only class AssuredworkloadsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AssuredworkloadsResource(googleapiclient.discovery.Resource): + def archiveResourceEvents( + self, + *, + body: GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponseHttpRequest + ): ... + def revertArchivedResourceEvents( + self, + *, + body: GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponseHttpRequest: ... + @typing.type_check_only class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -190,6 +207,7 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def assuredworkloads(self) -> AssuredworkloadsResource: ... def organizations(self) -> OrganizationsResource: ... @typing.type_check_only @@ -212,6 +230,16 @@ class GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -272,6 +300,16 @@ class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index 3d70a0d52..3388b07a9 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -48,6 +48,23 @@ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse( ): appliedUpdate: GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest( + typing_extensions.TypedDict, total=False +): + archiveTime: str + batchSize: int + eventCutoffTime: str + maxEventsMove: int + organizationId: str + region: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse( + typing_extensions.TypedDict, total=False +): + movedEventsCount: int + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis( typing_extensions.TypedDict, total=False @@ -213,6 +230,23 @@ class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest( + typing_extensions.TypedDict, total=False +): + archiveEndTime: str + archiveStartTime: str + batchSize: int + maxEventsMove: int + organizationId: str + region: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse( + typing_extensions.TypedDict, total=False +): + movedEventsCount: int + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1UpdateDetails( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index e473ea9d2..29de1b6ae 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -13,6 +13,58 @@ _list = list @typing.type_check_only class BackupdrResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FoldersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResourceBackupConfigsResource(googleapiclient.discovery.Resource): + def fetch( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> FetchResourceBackupConfigsResponseHttpRequest: ... + def fetch_next( + self, + previous_request: FetchResourceBackupConfigsResponseHttpRequest, + previous_response: FetchResourceBackupConfigsResponse, + ) -> FetchResourceBackupConfigsResponseHttpRequest | None: ... + + def resourceBackupConfigs(self) -> ResourceBackupConfigsResource: ... + + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResourceBackupConfigsResource(googleapiclient.discovery.Resource): + def fetch( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> FetchResourceBackupConfigsResponseHttpRequest: ... + def fetch_next( + self, + previous_request: FetchResourceBackupConfigsResponseHttpRequest, + previous_response: FetchResourceBackupConfigsResponse, + ) -> FetchResourceBackupConfigsResponseHttpRequest | None: ... + + def resourceBackupConfigs(self) -> ResourceBackupConfigsResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -521,6 +573,21 @@ class BackupdrResource(googleapiclient.discovery.Resource): @typing.type_check_only class ResourceBackupConfigsResource(googleapiclient.discovery.Resource): + def fetch( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> FetchResourceBackupConfigsResponseHttpRequest: ... + def fetch_next( + self, + previous_request: FetchResourceBackupConfigsResponseHttpRequest, + previous_response: FetchResourceBackupConfigsResponse, + ) -> FetchResourceBackupConfigsResponseHttpRequest | None: ... def list( self, *, @@ -609,6 +676,8 @@ class BackupdrResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def folders(self) -> FoldersResource: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... @typing.type_check_only @@ -719,6 +788,14 @@ class FetchMsComplianceMetadataResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> FetchMsComplianceMetadataResponse: ... +@typing.type_check_only +class FetchResourceBackupConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchResourceBackupConfigsResponse: ... + @typing.type_check_only class FetchUsableBackupVaultsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index 6c1accd6d..cd8ba1dfb 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -682,6 +682,11 @@ class FetchMsComplianceMetadataRequest(typing_extensions.TypedDict, total=False) class FetchMsComplianceMetadataResponse(typing_extensions.TypedDict, total=False): isAssuredWorkload: bool +@typing.type_check_only +class FetchResourceBackupConfigsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + resourceBackupConfigs: _list[ResourceBackupConfig] + @typing.type_check_only class FetchUsableBackupVaultsResponse(typing_extensions.TypedDict, total=False): backupVaults: _list[BackupVault] @@ -978,6 +983,17 @@ class Operation(typing_extensions.TypedDict, total=False): name: str response: dict[str, typing.Any] +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + additionalInfo: dict[str, typing.Any] + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class PitrSettings(typing_extensions.TypedDict, total=False): retentionDays: int diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi index 80d54006d..b7703bc2c 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi @@ -31,6 +31,11 @@ class CreateDataPolicyRequest(typing_extensions.TypedDict, total=False): dataPolicy: DataPolicy dataPolicyId: str +@typing.type_check_only +class DataGovernanceTag(typing_extensions.TypedDict, total=False): + key: str + value: str + @typing.type_check_only class DataMaskingPolicy(typing_extensions.TypedDict, total=False): predefinedExpression: typing_extensions.Literal[ @@ -48,6 +53,7 @@ class DataMaskingPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class DataPolicy(typing_extensions.TypedDict, total=False): + dataGovernanceTag: DataGovernanceTag dataMaskingPolicy: DataMaskingPolicy dataPolicyId: str dataPolicyType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi index dc9d6dede..14c2d81ee 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi @@ -224,14 +224,6 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): def update( self, *, name: str, body: Cluster = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... - def updateMemoryLayer( - self, - *, - name: str, - body: MemoryLayer = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... def hotTablets(self) -> HotTabletsResource: ... def memoryLayers(self) -> MemoryLayersResource: ... diff --git a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi index d5d543298..5198024b7 100644 --- a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi @@ -42,12 +42,28 @@ class Agent(typing_extensions.TypedDict, total=False): toolsets: _list[AgentAgentToolset] transferRules: _list[TransferRule] updateTime: str + validationErrors: _list[str] @typing.type_check_only class AgentAgentToolset(typing_extensions.TypedDict, total=False): toolIds: _list[str] toolset: str +@typing.type_check_only +class AgentCard(typing_extensions.TypedDict, total=False): + description: str + name: str + skills: _list[AgentSkill] + supportedInterfaces: _list[AgentInterface] + version: str + +@typing.type_check_only +class AgentInterface(typing_extensions.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + @typing.type_check_only class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... @@ -60,6 +76,16 @@ class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): outputVariableMapping: dict[str, typing.Any] respectResponseInterruptionSettings: bool +@typing.type_check_only +class AgentSkill(typing_extensions.TypedDict, total=False): + description: str + examples: _list[str] + id: str + inputModes: _list[str] + name: str + outputModes: _list[str] + tags: _list[str] + @typing.type_check_only class AgentTool(typing_extensions.TypedDict, total=False): agent: str @@ -129,7 +155,9 @@ class App(typing_extensions.TypedDict, total=False): "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" ] updateTime: str + validationErrors: _list[str] variableDeclarations: _list[AppVariableDeclaration] + vpcScSettings: VpcScSettings @typing.type_check_only class AppSnapshot(typing_extensions.TypedDict, total=False): @@ -1074,6 +1102,12 @@ class RedactionConfig(typing_extensions.TypedDict, total=False): enableRedaction: bool inspectTemplate: str +@typing.type_check_only +class RemoteAgentTool(typing_extensions.TypedDict, total=False): + agentCard: AgentCard + description: str + name: str + @typing.type_check_only class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... @@ -1257,7 +1291,9 @@ class Tool(typing_extensions.TypedDict, total=False): name: str openApiTool: OpenApiTool pythonFunction: PythonFunction + remoteAgentTool: RemoteAgentTool systemTool: SystemTool + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str widgetTool: WidgetTool @@ -1353,6 +1389,10 @@ class TriggerActionResponse(typing_extensions.TypedDict, total=False): class TriggerActionTransferAgent(typing_extensions.TypedDict, total=False): agent: str +@typing.type_check_only +class VpcScSettings(typing_extensions.TypedDict, total=False): + allowedOrigins: _list[str] + @typing.type_check_only class WebSearchQuery(typing_extensions.TypedDict, total=False): query: str diff --git a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi index 445e76ea7..7e2ac9404 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi @@ -291,6 +291,13 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def export( + self, + *, + parent: str, + body: ExportEvaluationRunsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> EvaluationRunHttpRequest: ... @@ -317,6 +324,13 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def export( + self, + *, + parent: str, + body: ExportEvaluationResultsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> EvaluationResultHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi index c38e270fa..c1c226817 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi @@ -42,12 +42,28 @@ class Agent(typing_extensions.TypedDict, total=False): toolsets: _list[AgentAgentToolset] transferRules: _list[TransferRule] updateTime: str + validationErrors: _list[str] @typing.type_check_only class AgentAgentToolset(typing_extensions.TypedDict, total=False): toolIds: _list[str] toolset: str +@typing.type_check_only +class AgentCard(typing_extensions.TypedDict, total=False): + description: str + name: str + skills: _list[AgentSkill] + supportedInterfaces: _list[AgentInterface] + version: str + +@typing.type_check_only +class AgentInterface(typing_extensions.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + @typing.type_check_only class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... @@ -60,6 +76,16 @@ class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): outputVariableMapping: dict[str, typing.Any] respectResponseInterruptionSettings: bool +@typing.type_check_only +class AgentSkill(typing_extensions.TypedDict, total=False): + description: str + examples: _list[str] + id: str + inputModes: _list[str] + name: str + outputModes: _list[str] + tags: _list[str] + @typing.type_check_only class AgentTool(typing_extensions.TypedDict, total=False): agent: str @@ -181,7 +207,9 @@ class App(typing_extensions.TypedDict, total=False): "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" ] updateTime: str + validationErrors: _list[str] variableDeclarations: _list[AppVariableDeclaration] + vpcScSettings: VpcScSettings @typing.type_check_only class AppSnapshot(typing_extensions.TypedDict, total=False): @@ -806,6 +834,7 @@ class EvaluationResultGoldenExpectationOutcome( expectation: EvaluationGoldenExpectation observedAgentResponse: Message observedAgentTransfer: AgentTransfer + observedPayload: dict[str, typing.Any] observedToolCall: ToolCall observedToolResponse: ToolResponse outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] @@ -1103,11 +1132,21 @@ class ExportAppResponse(typing_extensions.TypedDict, total=False): appContent: str appUri: str +@typing.type_check_only +class ExportEvaluationResultsRequest(typing_extensions.TypedDict, total=False): + exportOptions: ExportOptions + names: _list[str] + @typing.type_check_only class ExportEvaluationResultsResponse(typing_extensions.TypedDict, total=False): evaluationResultsContent: str evaluationResultsUri: str +@typing.type_check_only +class ExportEvaluationRunsRequest(typing_extensions.TypedDict, total=False): + exportOptions: ExportOptions + names: _list[str] + @typing.type_check_only class ExportEvaluationRunsResponse(typing_extensions.TypedDict, total=False): evaluationRunsContent: str @@ -1828,6 +1867,12 @@ class RedactionConfig(typing_extensions.TypedDict, total=False): enableRedaction: bool inspectTemplate: str +@typing.type_check_only +class RemoteAgentTool(typing_extensions.TypedDict, total=False): + agentCard: AgentCard + description: str + name: str + @typing.type_check_only class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... @@ -2062,7 +2107,9 @@ class Tool(typing_extensions.TypedDict, total=False): name: str openApiTool: OpenApiTool pythonFunction: PythonFunction + remoteAgentTool: RemoteAgentTool systemTool: SystemTool + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str widgetTool: WidgetTool @@ -2169,6 +2216,10 @@ class UploadEvaluationAudioResponse(typing_extensions.TypedDict, total=False): duration: str transcript: str +@typing.type_check_only +class VpcScSettings(typing_extensions.TypedDict, total=False): + allowedOrigins: _list[str] + @typing.type_check_only class WebSearchQuery(typing_extensions.TypedDict, total=False): query: str diff --git a/googleapiclient-stubs/_apis/chat/v1/resources.pyi b/googleapiclient-stubs/_apis/chat/v1/resources.pyi index c3d39691a..af0ac62d0 100644 --- a/googleapiclient-stubs/_apis/chat/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/resources.pyi @@ -131,6 +131,11 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): *, parent: str, body: Message = ..., + createMessageNotificationOptions_notificationType: typing_extensions.Literal[ + "NOTIFICATION_TYPE_NONE", + "NOTIFICATION_TYPE_FORCE_NOTIFY", + "NOTIFICATION_TYPE_SILENT", + ] = ..., messageId: str = ..., messageReplyOption: typing_extensions.Literal[ "MESSAGE_REPLY_OPTION_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index e931c1d3b..682e4515f 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -944,6 +944,7 @@ class Message(typing_extensions.TypedDict, total=False): privateMessageViewer: User quotedMessageMetadata: QuotedMessageMetadata sender: User + silent: bool slashCommand: SlashCommand space: Space text: str diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi index a79c9d0d4..014be7aea 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi @@ -425,6 +425,36 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): GoogleChromeManagementV1FindInstalledAppDevicesResponseHttpRequest | None ): ... + def findInstalledAppProfiles( + self, + *, + customer: str, + appId: str = ..., + appType: typing_extensions.Literal[ + "APP_TYPE_UNSPECIFIED", + "EXTENSION", + "APP", + "THEME", + "HOSTED_APP", + "ANDROID_APP", + ] = ..., + filter: str = ..., + orderBy: str = ..., + orgUnitId: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleChromeManagementV1FindInstalledAppProfilesResponseHttpRequest + ): ... + def findInstalledAppProfiles_next( + self, + previous_request: GoogleChromeManagementV1FindInstalledAppProfilesResponseHttpRequest, + previous_response: GoogleChromeManagementV1FindInstalledAppProfilesResponse, + ) -> ( + GoogleChromeManagementV1FindInstalledAppProfilesResponseHttpRequest + | None + ): ... @typing.type_check_only class TelemetryResource(googleapiclient.discovery.Resource): @@ -775,6 +805,16 @@ class GoogleChromeManagementV1FindInstalledAppDevicesResponseHttpRequest( num_retries: int = 0, ) -> GoogleChromeManagementV1FindInstalledAppDevicesResponse: ... +@typing.type_check_only +class GoogleChromeManagementV1FindInstalledAppProfilesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementV1FindInstalledAppProfilesResponse: ... + @typing.type_check_only class GoogleChromeManagementV1ListTelemetryDevicesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi index 31d515c47..2b0b8746b 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi @@ -457,6 +457,14 @@ class GoogleChromeManagementV1FindInstalledAppDevicesResponse( nextPageToken: str totalSize: int +@typing.type_check_only +class GoogleChromeManagementV1FindInstalledAppProfilesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + profiles: _list[GoogleChromeManagementV1ProfileAppInstallInstance] + totalSize: int + @typing.type_check_only class GoogleChromeManagementV1GraphicsAdapterInfo( typing_extensions.TypedDict, total=False @@ -700,6 +708,15 @@ class GoogleChromeManagementV1PrinterReport(typing_extensions.TypedDict, total=F printerModel: str userCount: str +@typing.type_check_only +class GoogleChromeManagementV1ProfileAppInstallInstance( + typing_extensions.TypedDict, total=False +): + email: str + profileId: str + profileOrgUnitId: str + profilePermanentId: str + @typing.type_check_only class GoogleChromeManagementV1RiskAssessment(typing_extensions.TypedDict, total=False): assessment: str @@ -1360,6 +1377,7 @@ class GoogleChromeManagementVersionsV1ConnectorConfig( "IDENTITY_BASED_ENROLLMENT", "CERTIFICATE_AUTHORITY", "ROOT_STORE", + "CONTENT_ANALYSIS", ] @typing.type_check_only @@ -1373,6 +1391,7 @@ class GoogleChromeManagementVersionsV1ConnectorConfigDetails( crowdStrikeXdrConfig: GoogleChromeManagementVersionsV1CrowdStrikeXdrConfig deviceTrustConfig: GoogleChromeManagementVersionsV1DeviceTrustConfig googleSecOpsConfig: GoogleChromeManagementVersionsV1GoogleSecOpsConfig + mipLabelConfig: GoogleChromeManagementVersionsV1MipLabelConfig paloAltoNetworksConfig: GoogleChromeManagementVersionsV1PaloAltoNetworksConfig pubSubConfig: GoogleChromeManagementVersionsV1PubSubConfig pubSubXdrConfig: GoogleChromeManagementVersionsV1PubSubXdrConfig @@ -1490,6 +1509,13 @@ class GoogleChromeManagementVersionsV1ListConnectorConfigsResponse( connectorConfigs: _list[GoogleChromeManagementVersionsV1ConnectorConfig] nextPageToken: str +@typing.type_check_only +class GoogleChromeManagementVersionsV1MipLabelConfig( + typing_extensions.TypedDict, total=False +): + domains: _list[str] + microsoftTenantId: str + @typing.type_check_only class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi index c53da4c0c..f842eb70a 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi @@ -107,6 +107,7 @@ class Course(typing_extensions.TypedDict, total=False): gradebookSettings: GradebookSettings guardiansEnabled: bool id: str + levels: str name: str ownerId: str room: str diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi index 1e8581462..06746b91f 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi @@ -292,6 +292,7 @@ class ContainerTask(typing_extensions.TypedDict, total=False): command: _list[str] env: dict[str, typing.Any] image: str + script: str @typing.type_check_only class CreateChildRolloutJob(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi index cef53790a..6ddd1c6ec 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi @@ -28,6 +28,18 @@ class AndroidAttributes(typing_extensions.TypedDict, total=False): verifiedBoot: bool verifyAppsEnabled: bool +@typing.type_check_only +class AntivirusInfo(typing_extensions.TypedDict, total=False): + displayName: str + productGuid: str + productState: typing_extensions.Literal[ + "PRODUCT_STATE_UNSPECIFIED", + "PRODUCT_STATE_ON", + "PRODUCT_STATE_OFF", + "PRODUCT_STATE_SNOOZED", + "PRODUCT_STATE_EXPIRED", + ] + @typing.type_check_only class ApproveDeviceUserRequest(typing_extensions.TypedDict, total=False): customer: str @@ -220,6 +232,7 @@ class DeleteInboundSsoAssignmentOperationMetadata( @typing.type_check_only class Device(typing_extensions.TypedDict, total=False): androidSpecificAttributes: AndroidAttributes + antivirusInfo: _list[AntivirusInfo] assetTag: str basebandVersion: str bootloaderVersion: str @@ -278,6 +291,12 @@ class Device(typing_extensions.TypedDict, total=False): model: str name: str networkOperator: str + osFirewallStatus: typing_extensions.Literal[ + "OS_FIREWALL_STATUS_UNSPECIFIED", + "OS_FIREWALL_STATUS_UNKNOWN", + "OS_FIREWALL_STATUS_ENABLED", + "OS_FIREWALL_STATUS_DISABLED", + ] osVersion: str otherAccounts: _list[str] ownerType: typing_extensions.Literal[ @@ -288,6 +307,7 @@ class Device(typing_extensions.TypedDict, total=False): serialNumber: str unifiedDeviceId: str wifiMacAddresses: _list[str] + windowsSpecificDeviceAttributes: WindowsSpecificDeviceAttributes @typing.type_check_only class DeviceUser(typing_extensions.TypedDict, total=False): @@ -1084,6 +1104,18 @@ class UserInvitation(typing_extensions.TypedDict, total=False): ] updateTime: str +@typing.type_check_only +class WindowsSpecificDeviceAttributes(typing_extensions.TypedDict, total=False): + hotfixes: _list[str] + secureBootMode: typing_extensions.Literal[ + "SECURE_BOOT_MODE_UNSPECIFIED", + "SECURE_BOOT_MODE_UNKNOWN", + "SECURE_BOOT_MODE_ENABLED", + "SECURE_BOOT_MODE_DISABLED", + ] + windowsMachineDomain: str + windowsUserDomain: str + @typing.type_check_only class WipeDeviceRequest(typing_extensions.TypedDict, total=False): customer: str diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/__init__.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi new file mode 100644 index 000000000..25edbbbca --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi @@ -0,0 +1,548 @@ +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 CloudNumberRegistryResource(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 CustomRangesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: CustomRange = ..., + customRangeId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def findFreeIpRanges( + self, + *, + name: str, + cidrPrefixLength: int = ..., + rangeCount: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> FindCustomRangeFreeIpRangesResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CustomRangeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCustomRangesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCustomRangesResponseHttpRequest, + previous_response: ListCustomRangesResponse, + ) -> ListCustomRangesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: CustomRange = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def showUtilization( + self, *, name: str, **kwargs: typing.Any + ) -> ShowCustomRangeUtilizationResponseHttpRequest: ... + + @typing.type_check_only + class DiscoveredRangesResource(googleapiclient.discovery.Resource): + def findFreeIpRanges( + self, + *, + name: str, + cidrPrefixLength: int = ..., + rangeCount: int = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> FindDiscoveredRangeFreeIpRangesResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DiscoveredRangeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDiscoveredRangesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDiscoveredRangesResponseHttpRequest, + previous_response: ListDiscoveredRangesResponse, + ) -> ListDiscoveredRangesResponseHttpRequest | None: ... + def showUtilization( + self, *, name: str, **kwargs: typing.Any + ) -> ShowDiscoveredRangeUtilizationResponseHttpRequest: ... + + @typing.type_check_only + class IpamAdminScopesResource(googleapiclient.discovery.Resource): + def checkAvailability( + self, + *, + parent: str, + scopes: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> CheckAvailabilityIpamAdminScopesResponseHttpRequest: ... + def cleanup( + self, + *, + name: str, + body: CleanupIpamAdminScopeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: IpamAdminScope = ..., + ipamAdminScopeId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def disable( + self, + *, + name: str, + body: DisableIpamAdminScopeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> IpamAdminScopeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListIpamAdminScopesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListIpamAdminScopesResponseHttpRequest, + previous_response: ListIpamAdminScopesResponse, + ) -> ListIpamAdminScopesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: IpamAdminScope = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + @typing.type_check_only + class RealmsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Realm = ..., + realmId: 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, + view: typing_extensions.Literal[ + "REALM_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" + ] = ..., + **kwargs: typing.Any, + ) -> RealmHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "REALM_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" + ] = ..., + **kwargs: typing.Any, + ) -> ListRealmsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRealmsResponseHttpRequest, + previous_response: ListRealmsResponse, + ) -> ListRealmsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Realm = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RegistryBooksResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: RegistryBook = ..., + registryBookId: 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, + view: typing_extensions.Literal[ + "REGISTRY_BOOK_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" + ] = ..., + **kwargs: typing.Any, + ) -> RegistryBookHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "REGISTRY_BOOK_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" + ] = ..., + **kwargs: typing.Any, + ) -> ListRegistryBooksResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRegistryBooksResponseHttpRequest, + previous_response: ListRegistryBooksResponse, + ) -> ListRegistryBooksResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: RegistryBook = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def searchIpResources( + self, + *, + name: str, + body: SearchIpResourcesRequest = ..., + **kwargs: typing.Any, + ) -> SearchIpResourcesResponseHttpRequest: ... + def searchIpResources_next( + self, + previous_request: SearchIpResourcesResponseHttpRequest, + previous_response: SearchIpResourcesResponse, + ) -> SearchIpResourcesResponseHttpRequest | None: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def customRanges(self) -> CustomRangesResource: ... + def discoveredRanges(self) -> DiscoveredRangesResource: ... + def ipamAdminScopes(self) -> IpamAdminScopesResource: ... + def operations(self) -> OperationsResource: ... + def realms(self) -> RealmsResource: ... + def registryBooks(self) -> RegistryBooksResource: ... + + 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 CheckAvailabilityIpamAdminScopesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CheckAvailabilityIpamAdminScopesResponse: ... + +@typing.type_check_only +class CustomRangeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomRange: ... + +@typing.type_check_only +class DiscoveredRangeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DiscoveredRange: ... + +@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 FindCustomRangeFreeIpRangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FindCustomRangeFreeIpRangesResponse: ... + +@typing.type_check_only +class FindDiscoveredRangeFreeIpRangesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FindDiscoveredRangeFreeIpRangesResponse: ... + +@typing.type_check_only +class IpamAdminScopeHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> IpamAdminScope: ... + +@typing.type_check_only +class ListCustomRangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomRangesResponse: ... + +@typing.type_check_only +class ListDiscoveredRangesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDiscoveredRangesResponse: ... + +@typing.type_check_only +class ListIpamAdminScopesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListIpamAdminScopesResponse: ... + +@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 ListRealmsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRealmsResponse: ... + +@typing.type_check_only +class ListRegistryBooksResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRegistryBooksResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + +@typing.type_check_only +class RealmHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Realm: ... + +@typing.type_check_only +class RegistryBookHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RegistryBook: ... + +@typing.type_check_only +class SearchIpResourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchIpResourcesResponse: ... + +@typing.type_check_only +class ShowCustomRangeUtilizationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShowCustomRangeUtilizationResponse: ... + +@typing.type_check_only +class ShowDiscoveredRangeUtilizationResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ShowDiscoveredRangeUtilizationResponse: ... diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi new file mode 100644 index 000000000..fb3ffe8e2 --- /dev/null +++ b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi @@ -0,0 +1,274 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class AggregatedData(typing_extensions.TypedDict, total=False): + customRangesCount: int + customRealmsCount: int + discoveredRangesCount: int + discoveredRealmsCount: int + uniqueScopesCount: int + +@typing.type_check_only +class Attribute(typing_extensions.TypedDict, total=False): + key: str + value: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckAvailabilityIpamAdminScopesResponse( + typing_extensions.TypedDict, total=False +): + scopeAvailabilities: _list[IpamAdminScopeAvailability] + +@typing.type_check_only +class CleanupIpamAdminScopeRequest(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class CustomRange(typing_extensions.TypedDict, total=False): + attributes: _list[Attribute] + description: str + ipv4CidrRange: str + ipv6CidrRange: str + labels: dict[str, typing.Any] + name: str + parentRange: str + realm: str + registryBook: str + +@typing.type_check_only +class DisableIpamAdminScopeRequest(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class DiscoveredRange(typing_extensions.TypedDict, total=False): + attributes: _list[Attribute] + childCidrOverlapAllowed: bool + createTime: str + description: str + discoveryMetadata: DiscoveryMetadata + ipv4CidrRange: str + ipv6CidrRange: str + labels: dict[str, typing.Any] + name: str + parentRange: str + realm: str + registryBook: str + updateTime: str + +@typing.type_check_only +class DiscoveryMetadata(typing_extensions.TypedDict, total=False): + createTime: str + eventTime: str + resource: str + resourceUri: str + sourceId: str + sourceSubId: str + state: typing_extensions.Literal[ + "RESOURCE_STATE_UNSPECIFIED", "INVALID", "EXISTS", "DOES_NOT_EXIST", "ERROR" + ] + updateTime: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FindCustomRangeFreeIpRangesResponse(typing_extensions.TypedDict, total=False): + freeIpCidrRanges: _list[str] + +@typing.type_check_only +class FindDiscoveredRangeFreeIpRangesResponse(typing_extensions.TypedDict, total=False): + freeIpCidrRanges: _list[str] + +@typing.type_check_only +class IpamAdminScope(typing_extensions.TypedDict, total=False): + createTime: str + enabledAddonPlatforms: _list[ + typing_extensions.Literal[ + "ADD_ON_PLATFORM_UNSPECIFIED", "COMPUTE_ENGINE", "GCE" + ] + ] + labels: dict[str, typing.Any] + name: str + scopes: _list[str] + state: typing_extensions.Literal[ + "DISCOVERY_PIPELINE_STATE_UNSPECIFIED", + "INTERNAL_FAILURE", + "FAILED", + "SETUP_IN_PROGRESS", + "READY_FOR_USE", + "DELETING_IN_PROGRESS", + "UPDATING", + "RECOVERING", + "DISABLED", + "DELETION_COMPLETED", + "CLEANUP_IN_PROGRESS", + "READY_FOR_DELETION", + ] + updateTime: str + +@typing.type_check_only +class IpamAdminScopeAvailability(typing_extensions.TypedDict, total=False): + adminProject: str + availability: typing_extensions.Literal[ + "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE" + ] + scope: str + +@typing.type_check_only +class ListCustomRangesResponse(typing_extensions.TypedDict, total=False): + customRanges: _list[CustomRange] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListDiscoveredRangesResponse(typing_extensions.TypedDict, total=False): + discoveredRanges: _list[DiscoveredRange] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListIpamAdminScopesResponse(typing_extensions.TypedDict, total=False): + ipamAdminScopes: _list[IpamAdminScope] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListLocationsResponse(typing_extensions.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class ListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + unreachable: _list[str] + +@typing.type_check_only +class ListRealmsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + realms: _list[Realm] + unreachable: _list[str] + +@typing.type_check_only +class ListRegistryBooksResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + registryBooks: _list[RegistryBook] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class Range(typing_extensions.TypedDict, total=False): + customRange: CustomRange + discoveredRange: DiscoveredRange + utilization: RangeUtilization + +@typing.type_check_only +class RangeUtilization(typing_extensions.TypedDict, total=False): + totalConsumed: str + totalProduced: str + usage: float + +@typing.type_check_only +class Realm(typing_extensions.TypedDict, total=False): + aggregatedData: RealmAggregatedData + createTime: str + discoveryMetadata: DiscoveryMetadata + ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + labels: dict[str, typing.Any] + managementType: typing_extensions.Literal[ + "MANAGEMENT_TYPE_UNSPECIFIED", "CNR", "USER" + ] + name: str + registryBook: str + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", "UNSET", "INTERNET", "PRIVATE", "LINKLOCAL" + ] + updateTime: str + +@typing.type_check_only +class RealmAggregatedData(typing_extensions.TypedDict, total=False): + customRangesCount: int + discoveredRangesCount: int + +@typing.type_check_only +class RegistryBook(typing_extensions.TypedDict, total=False): + aggregatedData: AggregatedData + claimedScopes: _list[str] + createTime: str + isDefault: bool + labels: dict[str, typing.Any] + name: str + updateTime: str + +@typing.type_check_only +class SearchIpResourcesRequest(typing_extensions.TypedDict, total=False): + orderBy: str + pageSize: int + pageToken: str + query: str + searchResourceTypes: _list[ + typing_extensions.Literal[ + "SEARCH_RESOURCE_TYPE_UNSPECIFIED", "RANGES", "REALMS" + ] + ] + showUtilization: bool + +@typing.type_check_only +class SearchIpResourcesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + ranges: _list[Range] + results: _list[SearchIpResourcesResult] + unreachable: _list[str] + +@typing.type_check_only +class SearchIpResourcesResult(typing_extensions.TypedDict, total=False): + range: Range + realm: Realm + +@typing.type_check_only +class ShowCustomRangeUtilizationResponse(typing_extensions.TypedDict, total=False): + customRange: CustomRange + rangeUtilization: RangeUtilization + +@typing.type_check_only +class ShowDiscoveredRangeUtilizationResponse(typing_extensions.TypedDict, total=False): + discoveredRange: DiscoveredRange + rangeUtilization: RangeUtilization + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi index 7145838a9..058f62ef2 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi @@ -259,6 +259,7 @@ class CloudSearchResource(googleapiclient.discovery.Resource): self, *, pageToken: str = ..., + requestOptions_clientDisplayLanguageCode: str = ..., requestOptions_debugOptions_enableDebugging: bool = ..., requestOptions_languageCode: str = ..., requestOptions_searchApplicationId: str = ..., diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi index dbc78d9b3..16ed12448 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi @@ -1401,6 +1401,7 @@ class RepositoryError(typing_extensions.TypedDict, total=False): @typing.type_check_only class RequestOptions(typing_extensions.TypedDict, total=False): + clientDisplayLanguageCode: str debugOptions: DebugOptions languageCode: str searchApplicationId: str diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi index 65f66d635..4ca7dd637 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi @@ -27,12 +27,6 @@ class CloudTasksResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - @typing.type_check_only class QueuesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -221,7 +215,6 @@ class CloudTasksResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> CmekConfigHttpRequest: ... - def operations(self) -> OperationsResource: ... def queues(self) -> QueuesResource: ... def locations(self) -> LocationsResource: ... @@ -305,14 +298,6 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... -@typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> Operation: ... - @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi index 612656845..8b80f34d1 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi @@ -184,14 +184,6 @@ class OidcToken(typing_extensions.TypedDict, total=False): audience: str serviceAccountEmail: str -@typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): - done: bool - error: Status - metadata: dict[str, typing.Any] - name: str - response: dict[str, typing.Any] - @typing.type_check_only class PathOverride(typing_extensions.TypedDict, total=False): path: str diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi index cf05d285b..723172e33 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi @@ -281,6 +281,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): serviceAccount: str subnetwork: str tags: _list[str] + trafficRoutingConfig: TrafficRoutingConfig @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): @@ -419,6 +420,12 @@ class TaskLogsRetentionConfig(typing_extensions.TypedDict, total=False): "CLOUD_LOGGING_ONLY", ] +@typing.type_check_only +class TrafficRoutingConfig(typing_extensions.TypedDict, total=False): + cloudRunFunctionsRouting: typing_extensions.Literal[ + "ROUTING_MODE_UNSPECIFIED", "DIRECT", "VIA_NETWORK_ATTACHMENT" + ] + @typing.type_check_only class TriggererResource(typing_extensions.TypedDict, total=False): count: int diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 84c252aa9..f68e0eec1 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -1836,6 +1836,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, haController: str, + force: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2147,6 +2148,29 @@ class ComputeResource(googleapiclient.discovery.Resource): self, *, project: str, zone: str, family: str, **kwargs: typing.Any ) -> ImageFamilyViewHttpRequest: ... + @typing.type_check_only + class ImageViewsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, region: str, resourceId: str, **kwargs: typing.Any + ) -> ImageViewHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ImageViewsListResponseHttpRequest: ... + def list_next( + self, + previous_request: ImageViewsListResponseHttpRequest, + previous_response: ImageViewsListResponse, + ) -> ImageViewsListResponseHttpRequest | None: ... + @typing.type_check_only class ImagesResource(googleapiclient.discovery.Resource): def delete( @@ -2365,6 +2389,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instanceGroupManager: str, + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2375,6 +2400,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersDeleteInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2507,6 +2533,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersRecreateInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2587,6 +2614,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersStopInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -5468,6 +5496,12 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ProjectViewsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, region: str, **kwargs: typing.Any + ) -> ProjectViewHttpRequest: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): def disableXpnHost( @@ -6970,6 +7004,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceGroupManager: str, + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6980,6 +7015,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersDeleteInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -7107,6 +7143,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersRecreateRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -7187,6 +7224,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersStopInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -9276,6 +9314,15 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class RolloutsResource(googleapiclient.discovery.Resource): + def advance( + self, + *, + project: str, + rollout: str, + currentWaveNumber: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def cancel( self, *, @@ -9330,15 +9377,6 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... - def startNextWave( - self, - *, - project: str, - rollout: str, - requestId: str = ..., - waveNumber: str = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... @typing.type_check_only class RoutersResource(googleapiclient.discovery.Resource): @@ -11858,6 +11896,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def httpHealthChecks(self) -> HttpHealthChecksResource: ... def httpsHealthChecks(self) -> HttpsHealthChecksResource: ... def imageFamilyViews(self) -> ImageFamilyViewsResource: ... + def imageViews(self) -> ImageViewsResource: ... def images(self) -> ImagesResource: ... def instanceGroupManagerResizeRequests( self, @@ -11894,6 +11933,7 @@ class ComputeResource(googleapiclient.discovery.Resource): ) -> OrganizationSnapshotRecycleBinPolicyResource: ... def packetMirrorings(self) -> PacketMirroringsResource: ... def previewFeatures(self) -> PreviewFeaturesResource: ... + def projectViews(self) -> ProjectViewsResource: ... def projects(self) -> ProjectsResource: ... def publicAdvertisedPrefixes(self) -> PublicAdvertisedPrefixesResource: ... def publicDelegatedPrefixes(self) -> PublicDelegatedPrefixesResource: ... @@ -12678,6 +12718,22 @@ class ImageListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ImageList: ... +@typing.type_check_only +class ImageViewHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ImageView: ... + +@typing.type_check_only +class ImageViewsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ImageViewsListResponse: ... + @typing.type_check_only class InstanceHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13562,6 +13618,14 @@ class ProjectHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Project: ... +@typing.type_check_only +class ProjectViewHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ProjectView: ... + @typing.type_check_only class ProjectsGetXpnResourcesHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index 6788c26fc..efe351604 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -3534,6 +3534,21 @@ class ImageOptimizationPolicy(typing_extensions.TypedDict, total=False): class ImageParams(typing_extensions.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] +@typing.type_check_only +class ImageView(typing_extensions.TypedDict, total=False): + image: Image + +@typing.type_check_only +class ImageViewsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[ImageView] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class InitialStateConfig(typing_extensions.TypedDict, total=False): dbs: _list[FileContentBuffer] @@ -3656,6 +3671,7 @@ class InstanceFlexibilityPolicyInstanceSelection( ): disks: _list[AttachedDisk] machineTypes: _list[str] + minCpuPlatform: str rank: str @typing.type_check_only @@ -4288,6 +4304,7 @@ class InstanceManagedByIgmErrorInstanceActionDetails( "RECREATING", "REFRESHING", "RESTARTING", + "RESTARTING_IN_PLACE", "RESUMING", "STARTING", "STOPPING", @@ -5839,6 +5856,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): "RECREATING", "REFRESHING", "RESTARTING", + "RESTARTING_IN_PLACE", "RESUMING", "STARTING", "STOPPING", @@ -5871,6 +5889,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy scheduling: ManagedInstanceScheduling + shutdownDetails: ManagedInstanceShutdownDetails sizeInUnit: float tag: str targetStatus: typing_extensions.Literal[ @@ -5935,8 +5954,14 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( @typing.type_check_only class ManagedInstanceScheduling(typing_extensions.TypedDict, total=False): + gracefulShutdownTimestamp: str terminationTimestamp: str +@typing.type_check_only +class ManagedInstanceShutdownDetails(typing_extensions.TypedDict, total=False): + maxDuration: Duration + requestTimestamp: str + @typing.type_check_only class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): instanceTemplate: str @@ -6221,6 +6246,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): network: str networkEndpointType: typing_extensions.Literal[ "GCE_VM_IP", + "GCE_VM_IP_DEDICATED_BACKEND", "GCE_VM_IP_PORT", "GCE_VM_IP_PORTMAP", "INTERNET_FQDN_PORT", @@ -6371,6 +6397,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] aliasIpv6Ranges: _list[AliasIpRange] + dns64Eligible: bool enableVpcScopedDns: bool fingerprint: str igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] @@ -6381,6 +6408,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): kind: str macAddress: str name: str + nat64Eligible: bool network: str networkAttachment: str networkIP: str @@ -6431,7 +6459,9 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): network: str peerMtu: int stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal["ACTIVE", "INACTIVE"] + state: typing_extensions.Literal[ + "ACTIVE", "INACTIVE", "NCC_MIGRATION_COMPLETE", "NCC_MIGRATION_IN_PROGRESS" + ] stateDetails: str updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @@ -7427,6 +7457,10 @@ class Project(typing_extensions.TypedDict, total=False): "HOST", "UNSPECIFIED_XPN_PROJECT_STATUS" ] +@typing.type_check_only +class ProjectView(typing_extensions.TypedDict, total=False): + project: Project + @typing.type_check_only class ProjectsDisableXpnResourceRequest(typing_extensions.TypedDict, total=False): xpnResource: XpnResourceId @@ -10630,6 +10664,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): resourceStatus: StoragePoolResourceStatus selfLink: str selfLinkWithId: str + shareSettings: StoragePoolShareSettings sizeGb: str state: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] status: StoragePoolResourceStatus @@ -10719,6 +10754,14 @@ class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): usedReducedBytes: str usedThroughput: str +@typing.type_check_only +class StoragePoolShareSettings(typing_extensions.TypedDict, total=False): + projectMap: dict[str, typing.Any] + +@typing.type_check_only +class StoragePoolShareSettingsProjectConfig(typing_extensions.TypedDict, total=False): + projectId: str + @typing.type_check_only class StoragePoolType(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -10832,7 +10875,12 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] region: str reservedInternalRange: str - resolveSubnetMask: typing_extensions.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] + resolveSubnetMask: typing_extensions.Literal[ + "ARP_ALL_RANGES", + "ARP_BROADCAST_PRIMARY_RANGE", + "ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING", + "ARP_PRIMARY_RANGE", + ] role: typing_extensions.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[SubnetworkSecondaryRange] selfLink: str diff --git a/googleapiclient-stubs/_apis/compute/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index 04d68b6f5..80565d9f4 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -152,6 +152,22 @@ class ComputeResource(googleapiclient.discovery.Resource): body: CalendarModeAdviceRequest = ..., **kwargs: typing.Any, ) -> CalendarModeAdviceResponseHttpRequest: ... + def capacity( + self, + *, + project: str, + region: str, + body: CapacityAdviceRequest = ..., + **kwargs: typing.Any, + ) -> CapacityAdviceResponseHttpRequest: ... + def capacityHistory( + self, + *, + project: str, + region: str, + body: CapacityHistoryRequest = ..., + **kwargs: typing.Any, + ) -> CapacityHistoryResponseHttpRequest: ... @typing.type_check_only class AutoscalersResource(googleapiclient.discovery.Resource): @@ -1169,6 +1185,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, forwardingRule: str, + view: typing_extensions.Literal["BASIC", "FULL"] = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -1395,7 +1412,12 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, project: str, forwardingRule: str, **kwargs: typing.Any + self, + *, + project: str, + forwardingRule: str, + view: typing_extensions.Literal["BASIC", "FULL"] = ..., + **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( self, @@ -2147,6 +2169,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instanceGroupManager: str, + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2157,6 +2180,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersDeleteInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2289,6 +2313,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersRecreateInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2369,6 +2394,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersStopInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -3751,6 +3777,22 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, licenseCode: str, **kwargs: typing.Any ) -> LicenseCodeHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def testIamPermissions( self, *, @@ -6479,6 +6521,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceGroupManager: str, + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6489,6 +6532,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersDeleteInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6616,6 +6660,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersRecreateRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6696,6 +6741,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersStopInstancesRequest = ..., + noGracefulShutdown: bool = ..., requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -11413,6 +11459,22 @@ class CalendarModeAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CalendarModeAdviceResponse: ... +@typing.type_check_only +class CapacityAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CapacityAdviceResponse: ... + +@typing.type_check_only +class CapacityHistoryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CapacityHistoryResponse: ... + @typing.type_check_only class CommitmentHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index 9e95ed021..84652b1c0 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -113,6 +113,8 @@ class Address(typing_extensions.TypedDict, total=False): "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -400,6 +402,7 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): scaleDownControl: AutoscalingPolicyScaleDownControl scaleInControl: AutoscalingPolicyScaleInControl scalingSchedules: dict[str, typing.Any] + stabilizationPeriodSec: int @typing.type_check_only class AutoscalingPolicyCpuUtilization(typing_extensions.TypedDict, total=False): @@ -621,6 +624,7 @@ class BackendService(typing_extensions.TypedDict, total=False): loadBalancingScheme: typing_extensions.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", + "EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -1112,6 +1116,131 @@ class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): recommendationsPerSpec: dict[str, typing.Any] +@typing.type_check_only +class CapacityAdviceRequest(typing_extensions.TypedDict, total=False): + distributionPolicy: CapacityAdviceRequestDistributionPolicy + instanceFlexibilityPolicy: CapacityAdviceRequestInstanceFlexibilityPolicy + instanceProperties: CapacityAdviceRequestInstanceProperties + size: int + +@typing.type_check_only +class CapacityAdviceRequestDistributionPolicy(typing_extensions.TypedDict, total=False): + targetShape: typing_extensions.Literal[ + "ANY", "ANY_SINGLE_ZONE", "BALANCED", "TARGET_SHAPE_UNSPECIFIED" + ] + zones: _list[CapacityAdviceRequestDistributionPolicyZoneConfiguration] + +@typing.type_check_only +class CapacityAdviceRequestDistributionPolicyZoneConfiguration( + typing_extensions.TypedDict, total=False +): + zone: str + +@typing.type_check_only +class CapacityAdviceRequestInstanceFlexibilityPolicy( + typing_extensions.TypedDict, total=False +): + instanceSelections: dict[str, typing.Any] + +@typing.type_check_only +class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( + typing_extensions.TypedDict, total=False +): + disks: _list[ + CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk + ] + guestAccelerators: _list[AcceleratorConfig] + machineTypes: _list[str] + +@typing.type_check_only +class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH"] + +@typing.type_check_only +class CapacityAdviceRequestInstanceProperties(typing_extensions.TypedDict, total=False): + scheduling: CapacityAdviceRequestInstancePropertiesScheduling + +@typing.type_check_only +class CapacityAdviceRequestInstancePropertiesScheduling( + typing_extensions.TypedDict, total=False +): + provisioningModel: typing_extensions.Literal[ + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" + ] + +@typing.type_check_only +class CapacityAdviceResponse(typing_extensions.TypedDict, total=False): + recommendations: _list[CapacityAdviceResponseRecommendation] + +@typing.type_check_only +class CapacityAdviceResponseRecommendation(typing_extensions.TypedDict, total=False): + scores: CapacityAdviceResponseRecommendationScores + shards: _list[CapacityAdviceResponseRecommendationShard] + +@typing.type_check_only +class CapacityAdviceResponseRecommendationScores( + typing_extensions.TypedDict, total=False +): + estimatedUptime: str + obtainability: float + +@typing.type_check_only +class CapacityAdviceResponseRecommendationShard( + typing_extensions.TypedDict, total=False +): + instanceCount: int + machineType: str + provisioningModel: typing_extensions.Literal[ + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" + ] + zone: str + +@typing.type_check_only +class CapacityHistoryRequest(typing_extensions.TypedDict, total=False): + instanceProperties: CapacityHistoryRequestInstanceProperties + locationPolicy: CapacityHistoryRequestLocationPolicy + types: _list[ + typing_extensions.Literal["HISTORY_TYPE_UNSPECIFIED", "PREEMPTION", "PRICE"] + ] + +@typing.type_check_only +class CapacityHistoryRequestInstanceProperties( + typing_extensions.TypedDict, total=False +): + machineType: str + scheduling: CapacityHistoryRequestInstancePropertiesScheduling + +@typing.type_check_only +class CapacityHistoryRequestInstancePropertiesScheduling( + typing_extensions.TypedDict, total=False +): + provisioningModel: typing_extensions.Literal[ + "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" + ] + +@typing.type_check_only +class CapacityHistoryRequestLocationPolicy(typing_extensions.TypedDict, total=False): + location: str + +@typing.type_check_only +class CapacityHistoryResponse(typing_extensions.TypedDict, total=False): + location: str + machineType: str + preemptionHistory: _list[CapacityHistoryResponsePreemptionRecord] + priceHistory: _list[CapacityHistoryResponsePriceRecord] + +@typing.type_check_only +class CapacityHistoryResponsePreemptionRecord(typing_extensions.TypedDict, total=False): + interval: Interval + preemptionRate: float + +@typing.type_check_only +class CapacityHistoryResponsePriceRecord(typing_extensions.TypedDict, total=False): + interval: Interval + listPrice: Money + @typing.type_check_only class CircuitBreakers(typing_extensions.TypedDict, total=False): connectTimeout: Duration @@ -1173,6 +1302,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", "GRAPHICS_OPTIMIZED_G4", + "GRAPHICS_OPTIMIZED_G4_VGPU", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", @@ -1852,14 +1982,20 @@ class FlexibleTimeRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class ForwardingRule(typing_extensions.TypedDict, total=False): IPAddress: str + IPAddresses: _list[str] IPProtocol: typing_extensions.Literal[ "AH", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP" ] allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool + attachedExtensions: _list[ForwardingRuleAttachedExtension] + availabilityGroup: typing_extensions.Literal[ + "AVAILABILITY_GROUP0", "AVAILABILITY_GROUP1", "AVAILABILITY_GROUP_UNSPECIFIED" + ] backendService: str baseForwardingRule: str + childForwardingRules: _list[str] creationTimestamp: str description: str externalManagedBackendBucketMigrationState: typing_extensions.Literal[ @@ -1877,6 +2013,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): loadBalancingScheme: typing_extensions.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", + "EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -1889,6 +2026,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] noAutomateDnsZone: bool + parentForwardingRule: str portRange: str ports: _list[str] pscConnectionId: str @@ -1920,6 +2058,10 @@ class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ForwardingRuleAttachedExtension(typing_extensions.TypedDict, total=False): + reference: str + @typing.type_check_only class ForwardingRuleList(typing_extensions.TypedDict, total=False): id: str @@ -4754,6 +4896,11 @@ class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=Fa etag: str result: InterconnectMacsecConfig +@typing.type_check_only +class Interval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class License(typing_extensions.TypedDict, total=False): allowedReplacementLicenses: _list[str] @@ -4781,17 +4928,27 @@ class License(typing_extensions.TypedDict, total=False): @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): @@ -4999,6 +5156,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy scheduling: ManagedInstanceScheduling + shutdownDetails: ManagedInstanceShutdownDetails targetStatus: typing_extensions.Literal[ "ABANDONED", "DELETED", "RUNNING", "STOPPED", "SUSPENDED" ] @@ -5032,8 +5190,14 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( @typing.type_check_only class ManagedInstanceScheduling(typing_extensions.TypedDict, total=False): + gracefulShutdownTimestamp: str terminationTimestamp: str +@typing.type_check_only +class ManagedInstanceShutdownDetails(typing_extensions.TypedDict, total=False): + maxDuration: Duration + requestTimestamp: str + @typing.type_check_only class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): instanceTemplate: str @@ -5055,6 +5219,12 @@ class MetadataFilterLabelMatch(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class Money(typing_extensions.TypedDict, total=False): + currencyCode: str + nanos: int + units: str + @typing.type_check_only class MultiMig(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -5447,6 +5617,7 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] + aliasIpv6Ranges: _list[AliasIpRange] enableVpcScopedDns: bool fingerprint: str igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] @@ -5651,6 +5822,8 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -5757,6 +5930,7 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] subnetworkPurposes: _list[ typing_extensions.Literal[ + "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", @@ -6523,6 +6697,11 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): name: str parentPrefix: str publicDelegatedSubPrefixs: _list[PublicDelegatedPrefixPublicDelegatedSubPrefix] + purpose: typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", + ] region: str selfLink: str status: typing_extensions.Literal[ @@ -6572,6 +6751,11 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str + purpose: typing_extensions.Literal[ + "APPLICATION_AND_PROXY_LOAD_BALANCERS", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", + "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", + ] region: str status: typing_extensions.Literal["ACTIVE", "INACTIVE"] @@ -7161,6 +7345,7 @@ class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=Fa class ReservationAffinity(typing_extensions.TypedDict, total=False): consumeReservationType: typing_extensions.Literal[ "ANY_RESERVATION", + "ANY_RESERVATION_THEN_FAIL", "NO_RESERVATION", "SPECIFIC_RESERVATION", "SPECIFIC_THEN_ANY_RESERVATION", @@ -7766,6 +7951,7 @@ class RolloutWaveDetailsOrchestratedWaveDetails( typing_extensions.TypedDict, total=False ): completedResourcesCount: str + estimatedCompletionTime: str estimatedTotalResourcesCount: str failedLocations: _list[str] failedResourcesCount: str @@ -9062,6 +9248,7 @@ class SslPolicy(typing_extensions.TypedDict, total=False): kind: str minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str + postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] profile: typing_extensions.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] @@ -9281,6 +9468,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", ] purpose: typing_extensions.Literal[ + "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", @@ -9346,6 +9534,8 @@ class SubnetworkParams(typing_extensions.TypedDict, total=False): @typing.type_check_only class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ipCidrRange: str + ipCollection: str + ipVersion: typing_extensions.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] rangeName: str reservedInternalRange: str @@ -9959,6 +10149,7 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] network: str purpose: typing_extensions.Literal[ + "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 96eb31f12..c95226fbf 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -1586,6 +1586,72 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class GlobalVmExtensionPoliciesResource(googleapiclient.discovery.Resource): + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> VmExtensionPolicyAggregatedListResponseHttpRequest: ... + def aggregatedList_next( + self, + previous_request: VmExtensionPolicyAggregatedListResponseHttpRequest, + previous_response: VmExtensionPolicyAggregatedListResponse, + ) -> VmExtensionPolicyAggregatedListResponseHttpRequest | None: ... + def delete( + self, + *, + project: str, + globalVmExtensionPolicy: str, + body: GlobalVmExtensionPolicyRolloutOperationRolloutInput = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, globalVmExtensionPolicy: str, **kwargs: typing.Any + ) -> GlobalVmExtensionPolicyHttpRequest: ... + def insert( + self, + *, + project: str, + body: GlobalVmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GlobalVmExtensionPolicyListHttpRequest: ... + def list_next( + self, + previous_request: GlobalVmExtensionPolicyListHttpRequest, + previous_response: GlobalVmExtensionPolicyList, + ) -> GlobalVmExtensionPolicyListHttpRequest | None: ... + def update( + self, + *, + project: str, + globalVmExtensionPolicy: str, + body: GlobalVmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class HealthChecksResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -3486,6 +3552,22 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, licenseCode: str, **kwargs: typing.Any ) -> LicenseCodeHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def testIamPermissions( self, *, @@ -4186,6 +4268,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def cancelRequestRemovePeering( + self, + *, + project: str, + network: str, + body: NetworksCancelRequestRemovePeeringRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, *, @@ -8040,6 +8131,83 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RolloutPlansResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + rolloutPlan: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rolloutPlan: str, **kwargs: typing.Any + ) -> RolloutPlanHttpRequest: ... + def insert( + self, + *, + project: str, + body: RolloutPlan = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutPlansListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutPlansListResponseHttpRequest, + previous_response: RolloutPlansListResponse, + ) -> RolloutPlansListResponseHttpRequest | None: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + rollback: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rollout: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutsListResponseHttpRequest, + previous_response: RolloutsListResponse, + ) -> RolloutsListResponseHttpRequest | None: ... + @typing.type_check_only class RoutersResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -10175,6 +10343,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def globalPublicDelegatedPrefixes( self, ) -> GlobalPublicDelegatedPrefixesResource: ... + def globalVmExtensionPolicies(self) -> GlobalVmExtensionPoliciesResource: ... def healthChecks(self) -> HealthChecksResource: ... def httpHealthChecks(self) -> HttpHealthChecksResource: ... def httpsHealthChecks(self) -> HttpsHealthChecksResource: ... @@ -10259,6 +10428,8 @@ class ComputeResource(googleapiclient.discovery.Resource): def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... + def rolloutPlans(self) -> RolloutPlansResource: ... + def rollouts(self) -> RolloutsResource: ... def routers(self) -> RoutersResource: ... def routes(self) -> RoutesResource: ... def securityPolicies(self) -> SecurityPoliciesResource: ... @@ -10690,6 +10861,22 @@ class FutureReservationsListResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> FutureReservationsListResponse: ... +@typing.type_check_only +class GlobalVmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalVmExtensionPolicy: ... + +@typing.type_check_only +class GlobalVmExtensionPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalVmExtensionPolicyList: ... + @typing.type_check_only class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11862,6 +12049,38 @@ class ResourcePolicyListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ResourcePolicyList: ... +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutPlanHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlan: ... + +@typing.type_check_only +class RolloutPlansListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlansListResponse: ... + +@typing.type_check_only +class RolloutsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutsListResponse: ... + @typing.type_check_only class RouteHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12450,6 +12669,16 @@ class VmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VmExtensionPolicy: ... +@typing.type_check_only +class VmExtensionPolicyAggregatedListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtensionPolicyAggregatedListResponse: ... + @typing.type_check_only class VmExtensionPolicyListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 07204436f..28b17c4ec 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -390,6 +390,7 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] scaleInControl: AutoscalingPolicyScaleInControl scalingSchedules: dict[str, typing.Any] + stabilizationPeriodSec: int @typing.type_check_only class AutoscalingPolicyCpuUtilization(typing_extensions.TypedDict, total=False): @@ -1128,6 +1129,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", "GRAPHICS_OPTIMIZED_G4", + "GRAPHICS_OPTIMIZED_G4_VGPU", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", @@ -1673,7 +1675,9 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str - policyType: typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + policyType: typing_extensions.Literal[ + "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + ] region: str ruleTupleCount: int rules: _list[FirewallPolicyRule] @@ -2166,6 +2170,102 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): etag: str policy: Policy +@typing.type_check_only +class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + extensionPolicies: dict[str, typing.Any] + id: str + instanceSelectors: _list[GlobalVmExtensionPolicyInstanceSelector] + kind: str + name: str + priority: int + rolloutOperation: GlobalVmExtensionPolicyRolloutOperation + scopedResourceStatus: typing_extensions.Literal[ + "SCOPED_RESOURCE_STATUS_DELETING", "SCOPED_RESOURCE_STATUS_UNSPECIFIED" + ] + selfLink: str + selfLinkWithId: str + updateTimestamp: str + +@typing.type_check_only +class GlobalVmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): + pinnedVersion: str + stringConfig: str + +@typing.type_check_only +class GlobalVmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): + labelSelector: GlobalVmExtensionPolicyLabelSelector + +@typing.type_check_only +class GlobalVmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): + inclusionLabels: dict[str, typing.Any] + +@typing.type_check_only +class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[GlobalVmExtensionPolicy] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperation(typing_extensions.TypedDict, total=False): + rolloutInput: GlobalVmExtensionPolicyRolloutOperationRolloutInput + rolloutStatus: GlobalVmExtensionPolicyRolloutOperationRolloutStatus + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutInput( + typing_extensions.TypedDict, total=False +): + conflictBehavior: str + name: str + predefinedRolloutPlan: typing_extensions.Literal[ + "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" + ] + retryUuid: str + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( + typing_extensions.TypedDict, total=False +): + currentRollouts: _list[ + GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata + ] + previousRollout: GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( + typing_extensions.TypedDict, total=False +): + locationRolloutStatus: dict[str, typing.Any] + rollout: str + rolloutPlan: str + state: typing_extensions.Literal[ + "STATE_CANCELLED", + "STATE_COMPLETED", + "STATE_FAILED", + "STATE_PAUSED", + "STATE_PROCESSING", + "STATE_UNKNOWN", + "STATE_UNSPECIFIED", + ] + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal[ + "LOCATION_ROLLOUT_STATE_COMPLETED", + "LOCATION_ROLLOUT_STATE_FAILED", + "LOCATION_ROLLOUT_STATE_NOT_STARTED", + "LOCATION_ROLLOUT_STATE_SKIPPED", + "LOCATION_ROLLOUT_STATE_UNSPECIFIED", + ] + @typing.type_check_only class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): instanceMaintenanceOngoingCount: int @@ -4449,17 +4549,27 @@ class License(typing_extensions.TypedDict, total=False): @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): @@ -5038,7 +5148,9 @@ class NetworkPeeringConnectionStatusConsensusState( deleteStatus: typing_extensions.Literal[ "DELETE_ACKNOWLEDGED", "DELETE_STATUS_UNSPECIFIED", + "LOCAL_CANCEL_REQUESTED", "LOCAL_DELETE_REQUESTED", + "PEER_CANCEL_REQUESTED", "PEER_DELETE_REQUESTED", ] updateStatus: typing_extensions.Literal[ @@ -5166,7 +5278,7 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + typing_extensions.Literal["RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY"] ] interfaceTypes: _list[ typing_extensions.Literal[ @@ -5248,6 +5360,12 @@ class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): networkPeering: NetworkPeering peerNetwork: str +@typing.type_check_only +class NetworksCancelRequestRemovePeeringRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): firewallPolicys: _list[NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy] @@ -6983,6 +7101,169 @@ class ResourceStatusReservationConsumptionInfo( class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + cancellationTime: str + completionTime: str + creationTimestamp: str + currentWaveNumber: str + description: str + etag: str + id: str + kind: str + name: str + rolloutEntity: RolloutRolloutEntity + rolloutPlan: str + selfLink: str + selfLinkWithId: str + state: typing_extensions.Literal[ + "CANCELLED", + "CANCELLING", + "CANCEL_FAILED", + "COMPLETED", + "COMPLETE_FAILED", + "COMPLETING", + "FAILED", + "PAUSED", + "PAUSE_FAILED", + "PAUSING", + "PROCESSING", + "READY", + "RESUMING", + "ROLLBACK_WAVE_FAILED", + "ROLLING_BACK", + "STATE_UNSPECIFIED", + "UNINITIALIZED", + "WAVE_FAILED", + ] + waveDetails: _list[RolloutWaveDetails] + +@typing.type_check_only +class RolloutPlan(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + locationScope: typing_extensions.Literal[ + "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" + ] + name: str + selfLink: str + selfLinkWithId: str + waves: _list[RolloutPlanWave] + +@typing.type_check_only +class RolloutPlanWave(typing_extensions.TypedDict, total=False): + displayName: str + number: str + orchestrationOptions: RolloutPlanWaveOrchestrationOptions + selectors: _list[RolloutPlanWaveSelector] + validation: RolloutPlanWaveValidation + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): + delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] + maxConcurrentLocations: str + maxConcurrentResourcesPerLocation: str + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptionsDelay( + typing_extensions.TypedDict, total=False +): + delimiter: typing_extensions.Literal[ + "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" + ] + duration: str + type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): + locationSelector: RolloutPlanWaveSelectorLocationSelector + resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector + +@typing.type_check_only +class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): + includedLocations: _list[str] + +@typing.type_check_only +class RolloutPlanWaveSelectorResourceHierarchySelector( + typing_extensions.TypedDict, total=False +): + includedFolders: _list[str] + includedOrganizations: _list[str] + includedProjects: _list[str] + +@typing.type_check_only +class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): + timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata + type: str + +@typing.type_check_only +class RolloutPlanWaveValidationTimeBasedValidationMetadata( + typing_extensions.TypedDict, total=False +): + waitDuration: str + +@typing.type_check_only +class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[RolloutPlan] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): + orchestratedEntity: RolloutRolloutEntityOrchestratedEntity + +@typing.type_check_only +class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): + conflictBehavior: str + orchestrationAction: str + orchestrationSource: str + +@typing.type_check_only +class RolloutWaveDetails(typing_extensions.TypedDict, total=False): + orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails + waveDisplayName: str + waveNumber: str + +@typing.type_check_only +class RolloutWaveDetailsOrchestratedWaveDetails( + typing_extensions.TypedDict, total=False +): + completedResourcesCount: str + estimatedCompletionTime: str + estimatedTotalResourcesCount: str + failedLocations: _list[str] + failedResourcesCount: str + locationStatus: dict[str, typing.Any] + +@typing.type_check_only +class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal[ + "STATE_FAILED", + "STATE_IN_PROGRESS", + "STATE_PENDING", + "STATE_SKIPPED", + "STATE_SUCCEEDED", + "STATE_UNSPECIFIED", + ] + +@typing.type_check_only +class RolloutsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[Rollout] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): asPaths: _list[RouteAsPath] @@ -8108,6 +8389,7 @@ class SslPolicy(typing_extensions.TypedDict, total=False): kind: str minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str + postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] profile: typing_extensions.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] @@ -9052,6 +9334,11 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): + vmExtensionPolicies: _list[VmExtensionPolicy] + warning: dict[str, typing.Any] + @typing.type_check_only class VmExtensionPolicy(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -9069,6 +9356,17 @@ class VmExtensionPolicy(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] updateTimestamp: str +@typing.type_check_only +class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class VmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): pinnedVersion: str diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index 2134e56df..568dbd442 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -4,6 +4,16 @@ import typing_extensions _list = list +@typing.type_check_only +class AdminFilters(typing_extensions.TypedDict, total=False): + filterKey: str + filterType: typing_extensions.Literal[ + "FILTER_TYPE_UNSPECIFIED", "INCLUSION", "EXCLUSION" + ] + intValue: str + stringListValues: StringListValues + stringValue: str + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -161,6 +171,7 @@ class ConfigVariableTemplate(typing_extensions.TypedDict, total=False): @typing.type_check_only class Connection(typing_extensions.TypedDict, total=False): + adminFilters: _list[AdminFilters] asyncOperationsEnabled: bool authConfig: AuthConfig authOverrideEnabled: bool @@ -713,6 +724,7 @@ class EventingConfig(typing_extensions.TypedDict, total=False): enrichmentConfig: EnrichmentConfig enrichmentEnabled: bool eventsListenerIngressEndpoint: str + globalEventFilter: str listenerAuthConfig: AuthConfig privateConnectivityAllowlistedProjects: _list[str] privateConnectivityEnabled: bool @@ -754,6 +766,9 @@ class EventingDetails(typing_extensions.TypedDict, total=False): ] name: str searchTags: _list[str] + subscriptionType: typing_extensions.Literal[ + "SUBSCRIPTION_TYPE_UNSPECIFIED", "SHARED", "USER_SPECIFIC" + ] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "WEBHOOK", "JMS"] @typing.type_check_only @@ -992,74 +1007,110 @@ AlternativeJsonAuthSchema = typing_extensions.TypedDict( @typing.type_check_only class JsonAuthSchema(AlternativeJsonAuthSchema): ... +AlternativeJsonSchema = typing_extensions.TypedDict( + "AlternativeJsonSchema", + { + "$comment": str, + "$defs": dict[str, typing.Any], + "$id": str, + "$ref": str, + "$schema": str, + "additionalDetails": dict[str, typing.Any], + "additionalItems": JsonSchema, + "additionalProperties": JsonSchema, + "allOf": _list[JsonSchema], + "anyOf": _list[JsonSchema], + "const": typing.Any, + "contains": JsonSchema, + "contentEncoding": str, + "contentMediaType": str, + "default": typing.Any, + "definitions": dict[str, typing.Any], + "dependencies": dict[str, typing.Any], + "description": str, + "else": JsonSchema, + "enum": _list[typing.Any], + "examples": _list[typing.Any], + "exclusiveMaximum": typing.Any, + "exclusiveMinimum": typing.Any, + "format": str, + "if": JsonSchema, + "items": JsonSchema, + "jdbcType": typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", + "DATA_TYPE_INT", + "DATA_TYPE_SMALLINT", + "DATA_TYPE_DOUBLE", + "DATA_TYPE_DATE", + "DATA_TYPE_DATETIME", + "DATA_TYPE_TIME", + "DATA_TYPE_STRING", + "DATA_TYPE_LONG", + "DATA_TYPE_BOOLEAN", + "DATA_TYPE_DECIMAL", + "DATA_TYPE_UUID", + "DATA_TYPE_BLOB", + "DATA_TYPE_BIT", + "DATA_TYPE_TINYINT", + "DATA_TYPE_INTEGER", + "DATA_TYPE_BIGINT", + "DATA_TYPE_FLOAT", + "DATA_TYPE_REAL", + "DATA_TYPE_NUMERIC", + "DATA_TYPE_CHAR", + "DATA_TYPE_VARCHAR", + "DATA_TYPE_LONGVARCHAR", + "DATA_TYPE_TIMESTAMP", + "DATA_TYPE_NCHAR", + "DATA_TYPE_NVARCHAR", + "DATA_TYPE_LONGNVARCHAR", + "DATA_TYPE_NULL", + "DATA_TYPE_OTHER", + "DATA_TYPE_JAVA_OBJECT", + "DATA_TYPE_DISTINCT", + "DATA_TYPE_STRUCT", + "DATA_TYPE_ARRAY", + "DATA_TYPE_CLOB", + "DATA_TYPE_REF", + "DATA_TYPE_DATALINK", + "DATA_TYPE_ROWID", + "DATA_TYPE_BINARY", + "DATA_TYPE_VARBINARY", + "DATA_TYPE_LONGVARBINARY", + "DATA_TYPE_NCLOB", + "DATA_TYPE_SQLXML", + "DATA_TYPE_REF_CURSOR", + "DATA_TYPE_TIME_WITH_TIMEZONE", + "DATA_TYPE_TIMESTAMP_WITH_TIMEZONE", + ], + "maxItems": int, + "maxLength": int, + "maxProperties": int, + "maximum": typing.Any, + "minItems": int, + "minLength": int, + "minProperties": int, + "minimum": typing.Any, + "multipleOf": float, + "not": JsonSchema, + "oneOf": _list[JsonSchema], + "pattern": str, + "patternProperties": dict[str, typing.Any], + "properties": dict[str, typing.Any], + "propertyNames": JsonSchema, + "readOnly": bool, + "required": _list[str], + "then": JsonSchema, + "title": str, + "type": _list[str], + "uniqueItems": bool, + "writeOnly": bool, + }, + total=False, +) + @typing.type_check_only -class JsonSchema(typing_extensions.TypedDict, total=False): - additionalDetails: dict[str, typing.Any] - default: typing.Any - description: str - enum: _list[typing.Any] - exclusiveMaximum: bool - exclusiveMinimum: bool - format: str - items: JsonSchema - jdbcType: typing_extensions.Literal[ - "DATA_TYPE_UNSPECIFIED", - "DATA_TYPE_INT", - "DATA_TYPE_SMALLINT", - "DATA_TYPE_DOUBLE", - "DATA_TYPE_DATE", - "DATA_TYPE_DATETIME", - "DATA_TYPE_TIME", - "DATA_TYPE_STRING", - "DATA_TYPE_LONG", - "DATA_TYPE_BOOLEAN", - "DATA_TYPE_DECIMAL", - "DATA_TYPE_UUID", - "DATA_TYPE_BLOB", - "DATA_TYPE_BIT", - "DATA_TYPE_TINYINT", - "DATA_TYPE_INTEGER", - "DATA_TYPE_BIGINT", - "DATA_TYPE_FLOAT", - "DATA_TYPE_REAL", - "DATA_TYPE_NUMERIC", - "DATA_TYPE_CHAR", - "DATA_TYPE_VARCHAR", - "DATA_TYPE_LONGVARCHAR", - "DATA_TYPE_TIMESTAMP", - "DATA_TYPE_NCHAR", - "DATA_TYPE_NVARCHAR", - "DATA_TYPE_LONGNVARCHAR", - "DATA_TYPE_NULL", - "DATA_TYPE_OTHER", - "DATA_TYPE_JAVA_OBJECT", - "DATA_TYPE_DISTINCT", - "DATA_TYPE_STRUCT", - "DATA_TYPE_ARRAY", - "DATA_TYPE_CLOB", - "DATA_TYPE_REF", - "DATA_TYPE_DATALINK", - "DATA_TYPE_ROWID", - "DATA_TYPE_BINARY", - "DATA_TYPE_VARBINARY", - "DATA_TYPE_LONGVARBINARY", - "DATA_TYPE_NCLOB", - "DATA_TYPE_SQLXML", - "DATA_TYPE_REF_CURSOR", - "DATA_TYPE_TIME_WITH_TIMEZONE", - "DATA_TYPE_TIMESTAMP_WITH_TIMEZONE", - ] - maxItems: int - maxLength: int - maximum: typing.Any - minItems: int - minLength: int - minimum: typing.Any - pattern: str - properties: dict[str, typing.Any] - required: _list[str] - type: _list[str] - uniqueItems: bool +class JsonSchema(AlternativeJsonSchema): ... @typing.type_check_only class JwtClaims(typing_extensions.TypedDict, total=False): @@ -1426,6 +1477,7 @@ class RefreshConnectionSchemaMetadataRequest( @typing.type_check_only class RegionalSettings(typing_extensions.TypedDict, total=False): + client: str encryptionConfig: EncryptionConfig name: str networkConfig: NetworkConfig @@ -1677,6 +1729,10 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StringListValues(typing_extensions.TypedDict, total=False): + listValues: _list[str] + @typing.type_check_only class SupportedRuntimeFeatures(typing_extensions.TypedDict, total=False): actionApis: bool @@ -1709,6 +1765,7 @@ class ToolName(typing_extensions.TypedDict, total=False): @typing.type_check_only class ToolspecOverride(typing_extensions.TypedDict, total=False): + baseVersion: str createTime: str tools: _list[dict[str, typing.Any]] updateTime: str @@ -1752,6 +1809,8 @@ class VpcscConfig(typing_extensions.TypedDict, total=False): class WebhookData(typing_extensions.TypedDict, total=False): additionalVariables: _list[ConfigVariable] createTime: str + eventSubscriptions: _list[str] + eventTypes: _list[str] id: str name: str nextRefreshTime: str diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index 7edaed841..1c4728250 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -287,74 +287,110 @@ class Instance(typing_extensions.TypedDict, total=False): tenantProjectId: str updateTime: str -@typing.type_check_only -class JsonSchema(typing_extensions.TypedDict, total=False): - additionalDetails: dict[str, typing.Any] - default: typing.Any - description: str - enum: _list[typing.Any] - exclusiveMaximum: bool - exclusiveMinimum: bool - format: str - items: JsonSchema - jdbcType: typing_extensions.Literal[ - "DATA_TYPE_UNSPECIFIED", - "INT", - "SMALLINT", - "DOUBLE", - "DATE", - "DATETIME", - "TIME", - "STRING", - "LONG", - "BOOLEAN", - "DECIMAL", - "UUID", - "BLOB", - "BIT", - "TINYINT", - "INTEGER", - "BIGINT", - "FLOAT", - "REAL", - "NUMERIC", - "CHAR", - "VARCHAR", - "LONGVARCHAR", - "TIMESTAMP", - "NCHAR", - "NVARCHAR", - "LONGNVARCHAR", - "NULL", - "OTHER", - "JAVA_OBJECT", - "DISTINCT", - "STRUCT", - "ARRAY", - "CLOB", - "REF", - "DATALINK", - "ROWID", - "BINARY", - "VARBINARY", - "LONGVARBINARY", - "NCLOB", - "SQLXML", - "REF_CURSOR", - "TIME_WITH_TIMEZONE", - "TIMESTAMP_WITH_TIMEZONE", - ] - maxItems: int - maxLength: int - maximum: typing.Any - minItems: int - minLength: int - minimum: typing.Any - pattern: str - properties: dict[str, typing.Any] - required: _list[str] - type: _list[str] - uniqueItems: bool +AlternativeJsonSchema = typing_extensions.TypedDict( + "AlternativeJsonSchema", + { + "$comment": str, + "$defs": dict[str, typing.Any], + "$id": str, + "$ref": str, + "$schema": str, + "additionalDetails": dict[str, typing.Any], + "additionalItems": JsonSchema, + "additionalProperties": JsonSchema, + "allOf": _list[JsonSchema], + "anyOf": _list[JsonSchema], + "const": typing.Any, + "contains": JsonSchema, + "contentEncoding": str, + "contentMediaType": str, + "default": typing.Any, + "definitions": dict[str, typing.Any], + "dependencies": dict[str, typing.Any], + "description": str, + "else": JsonSchema, + "enum": _list[typing.Any], + "examples": _list[typing.Any], + "exclusiveMaximum": typing.Any, + "exclusiveMinimum": typing.Any, + "format": str, + "if": JsonSchema, + "items": JsonSchema, + "jdbcType": typing_extensions.Literal[ + "DATA_TYPE_UNSPECIFIED", + "INT", + "SMALLINT", + "DOUBLE", + "DATE", + "DATETIME", + "TIME", + "STRING", + "LONG", + "BOOLEAN", + "DECIMAL", + "UUID", + "BLOB", + "BIT", + "TINYINT", + "INTEGER", + "BIGINT", + "FLOAT", + "REAL", + "NUMERIC", + "CHAR", + "VARCHAR", + "LONGVARCHAR", + "TIMESTAMP", + "NCHAR", + "NVARCHAR", + "LONGNVARCHAR", + "NULL", + "OTHER", + "JAVA_OBJECT", + "DISTINCT", + "STRUCT", + "ARRAY", + "CLOB", + "REF", + "DATALINK", + "ROWID", + "BINARY", + "VARBINARY", + "LONGVARBINARY", + "NCLOB", + "SQLXML", + "REF_CURSOR", + "TIME_WITH_TIMEZONE", + "TIMESTAMP_WITH_TIMEZONE", + ], + "maxItems": int, + "maxLength": int, + "maxProperties": int, + "maximum": typing.Any, + "minItems": int, + "minLength": int, + "minProperties": int, + "minimum": typing.Any, + "multipleOf": float, + "not": JsonSchema, + "oneOf": _list[JsonSchema], + "pattern": str, + "patternProperties": dict[str, typing.Any], + "properties": dict[str, typing.Any], + "propertyNames": JsonSchema, + "readOnly": bool, + "required": _list[str], + "then": JsonSchema, + "title": str, + "type": _list[str], + "uniqueItems": bool, + "writeOnly": bool, + }, + total=False, +) + +@typing.type_check_only +class JsonSchema(AlternativeJsonSchema): ... @typing.type_check_only class ListActionsResponse(typing_extensions.TypedDict, total=False): @@ -391,6 +427,7 @@ class ListToolsPostRequest(typing_extensions.TypedDict, total=False): executionConfig: ExecutionConfig pageSize: int pageToken: str + toolNames: _list[str] toolSpec: ToolSpec @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index 279119d68..a48a557af 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -54,6 +54,7 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): kubernetesDashboard: KubernetesDashboard lustreCsiDriverConfig: LustreCsiDriverConfig networkPolicyConfig: NetworkPolicyConfig + nodeReadinessConfig: NodeReadinessConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig podSnapshotConfig: PodSnapshotConfig rayOperatorConfig: RayOperatorConfig @@ -553,6 +554,10 @@ class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): projectId: str zone: str +@typing.type_check_only +class CustomNodeInit(typing_extensions.TypedDict, total=False): + initScript: InitScript + @typing.type_check_only class DNSConfig(typing_extensions.TypedDict, total=False): additiveVpcScopeDnsDomain: str @@ -597,6 +602,12 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): "UNKNOWN", "ENCRYPTED", "DECRYPTED", "ALL_OBJECTS_ENCRYPTION_ENABLED" ] +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class DedicatedLocalSsdProfile(typing_extensions.TypedDict, total=False): diskCount: str @@ -875,6 +886,13 @@ class IPEndpointsConfig(typing_extensions.TypedDict, total=False): class IdentityServiceConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class InitScript(typing_extensions.TypedDict, total=False): + args: _list[str] + gcpSecretManagerSecretUri: str + gcsGeneration: str + gcsUri: str + @typing.type_check_only class IntraNodeVisibilityConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -909,6 +927,7 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): cgroupMode: typing_extensions.Literal[ "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] + customNodeInit: CustomNodeInit hugepages: HugepagesConfig nodeKernelModuleLoading: NodeKernelModuleLoading swapConfig: SwapConfig @@ -1002,6 +1021,7 @@ class MaintenancePolicy(typing_extensions.TypedDict, total=False): class MaintenanceWindow(typing_extensions.TypedDict, total=False): dailyMaintenanceWindow: DailyMaintenanceWindow maintenanceExclusions: dict[str, typing.Any] + recurringMaintenanceWindow: RecurringMaintenanceWindow recurringWindow: RecurringTimeWindow @typing.type_check_only @@ -1355,6 +1375,10 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): ] upgradeDetails: _list[UpgradeDetails] +@typing.type_check_only +class NodeReadinessConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class NodeTaint(typing_extensions.TypedDict, total=False): effect: typing_extensions.Literal[ @@ -1518,6 +1542,13 @@ class RayOperatorConfig(typing_extensions.TypedDict, total=False): rayClusterLoggingConfig: RayClusterLoggingConfig rayClusterMonitoringConfig: RayClusterMonitoringConfig +@typing.type_check_only +class RecurringMaintenanceWindow(typing_extensions.TypedDict, total=False): + delayUntil: Date + recurrence: str + windowDuration: str + windowStartTime: TimeOfDay + @typing.type_check_only class RecurringTimeWindow(typing_extensions.TypedDict, total=False): recurrence: str @@ -1857,6 +1888,13 @@ class TaintConfig(typing_extensions.TypedDict, total=False): "ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", "NONE", "ARM" ] +@typing.type_check_only +class TimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int + @typing.type_check_only class TimeWindow(typing_extensions.TypedDict, total=False): endTime: str @@ -1922,6 +1960,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): resourceManagerTags: ResourceManagerTags storagePools: _list[str] tags: NetworkTags + taintConfig: TaintConfig taints: NodeTaints upgradeSettings: UpgradeSettings windowsNodeConfig: WindowsNodeConfig diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 5b835e2fb..318273550 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -58,6 +58,7 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): kubernetesDashboard: KubernetesDashboard lustreCsiDriverConfig: LustreCsiDriverConfig networkPolicyConfig: NetworkPolicyConfig + nodeReadinessConfig: NodeReadinessConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig podSnapshotConfig: PodSnapshotConfig rayOperatorConfig: RayOperatorConfig @@ -328,6 +329,7 @@ class Cluster(typing_extensions.TypedDict, total=False): nodeIpv4CidrSize: int nodePoolAutoConfig: NodePoolAutoConfig nodePoolDefaults: NodePoolDefaults + nodePoolUpgradeConcurrencyConfig: NodePoolUpgradeConcurrencyConfig nodePools: _list[NodePool] notificationConfig: NotificationConfig parentProductConfig: ParentProductConfig @@ -467,6 +469,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredNodePoolAutoscaling: NodePoolAutoscaling desiredNodePoolId: str desiredNodePoolLoggingConfig: NodePoolLoggingConfig + desiredNodePoolUpgradeConcurrencyConfig: NodePoolUpgradeConcurrencyConfig desiredNodeVersion: str desiredNotificationConfig: NotificationConfig desiredParentProductConfig: ParentProductConfig @@ -613,6 +616,10 @@ class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): projectId: str zone: str +@typing.type_check_only +class CustomNodeInit(typing_extensions.TypedDict, total=False): + initScript: InitScript + @typing.type_check_only class DNSConfig(typing_extensions.TypedDict, total=False): additiveVpcScopeDnsDomain: str @@ -953,6 +960,13 @@ class IPEndpointsConfig(typing_extensions.TypedDict, total=False): class IdentityServiceConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class InitScript(typing_extensions.TypedDict, total=False): + args: _list[str] + gcpSecretManagerSecretUri: str + gcsGeneration: str + gcsUri: str + @typing.type_check_only class IntraNodeVisibilityConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -996,6 +1010,7 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): cgroupMode: typing_extensions.Literal[ "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] + customNodeInit: CustomNodeInit hugepages: HugepagesConfig nodeKernelModuleLoading: NodeKernelModuleLoading swapConfig: SwapConfig @@ -1100,6 +1115,7 @@ class MaintenancePolicy(typing_extensions.TypedDict, total=False): class MaintenanceWindow(typing_extensions.TypedDict, total=False): dailyMaintenanceWindow: DailyMaintenanceWindow maintenanceExclusions: dict[str, typing.Any] + recurringMaintenanceWindow: RecurringMaintenanceWindow recurringWindow: RecurringTimeWindow @typing.type_check_only @@ -1442,6 +1458,10 @@ class NodePoolDefaults(typing_extensions.TypedDict, total=False): class NodePoolLoggingConfig(typing_extensions.TypedDict, total=False): variantConfig: LoggingVariantConfig +@typing.type_check_only +class NodePoolUpgradeConcurrencyConfig(typing_extensions.TypedDict, total=False): + maxCount: str + @typing.type_check_only class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): autoUpgradeStatus: _list[ @@ -1464,6 +1484,10 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): ] upgradeDetails: _list[UpgradeDetails] +@typing.type_check_only +class NodeReadinessConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class NodeTaint(typing_extensions.TypedDict, total=False): effect: typing_extensions.Literal[ @@ -1648,6 +1672,13 @@ class RayOperatorConfig(typing_extensions.TypedDict, total=False): rayClusterLoggingConfig: RayClusterLoggingConfig rayClusterMonitoringConfig: RayClusterMonitoringConfig +@typing.type_check_only +class RecurringMaintenanceWindow(typing_extensions.TypedDict, total=False): + delayUntil: Date + recurrence: str + windowDuration: str + windowStartTime: TimeOfDay + @typing.type_check_only class RecurringTimeWindow(typing_extensions.TypedDict, total=False): recurrence: str @@ -2002,6 +2033,13 @@ class TaintConfig(typing_extensions.TypedDict, total=False): "ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", "NONE", "ARM" ] +@typing.type_check_only +class TimeOfDay(typing_extensions.TypedDict, total=False): + hours: int + minutes: int + nanos: int + seconds: int + @typing.type_check_only class TimeWindow(typing_extensions.TypedDict, total=False): endTime: str @@ -2073,6 +2111,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): resourceManagerTags: ResourceManagerTags storagePools: _list[str] tags: NetworkTags + taintConfig: TaintConfig taints: NodeTaints upgradeSettings: UpgradeSettings windowsNodeConfig: WindowsNodeConfig diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index d7593c5e2..4e8f5df22 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -4,6 +4,15 @@ import typing_extensions _list = list +@typing.type_check_only +class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): + findings: _list[Finding] + maxSeverity: str + skillName: str + @typing.type_check_only class AliasContext(typing_extensions.TypedDict, total=False): kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] @@ -339,6 +348,9 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ @@ -359,6 +371,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( + typing_extensions.TypedDict, total=False +): + folder: str + registryPath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( typing_extensions.TypedDict, total=False @@ -542,6 +561,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( id: str name: str pullTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -561,6 +581,12 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] waitFor: _list[str] +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( + typing_extensions.TypedDict, total=False +): + results: dict[str, typing.Any] + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( typing_extensions.TypedDict, total=False @@ -595,8 +621,18 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( typing_extensions.TypedDict, total=False ): empty: bool + genericArtifact: ( + ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency + ) gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( + typing_extensions.TypedDict, total=False +): + destPath: str + resource: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( typing_extensions.TypedDict, total=False @@ -685,6 +721,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + buildStepResults: dict[str, typing.Any] + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ @@ -747,6 +787,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest ) +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( + typing_extensions.TypedDict, total=False +): + attestationContent: str + attestationType: str + name: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( typing_extensions.TypedDict, total=False @@ -773,6 +821,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( + typing_extensions.TypedDict, total=False +): + artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + artifactRegistryPackage: str + fileHashes: dict[str, typing.Any] + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False @@ -882,6 +940,7 @@ class DiscoveryNote(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] @typing.type_check_only @@ -960,6 +1019,18 @@ class File(typing_extensions.TypedDict, total=False): class FileHashes(typing_extensions.TypedDict, total=False): fileHash: _list[Hash] +@typing.type_check_only +class Finding(typing_extensions.TypedDict, total=False): + category: str + location: FindingLocation + scanner: str + severity: str + +@typing.type_check_only +class FindingLocation(typing_extensions.TypedDict, total=False): + filePath: str + lineNumber: str + @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): v1Name: str @@ -1187,6 +1258,7 @@ class NonCompliantFile(typing_extensions.TypedDict, total=False): @typing.type_check_only class Note(typing_extensions.TypedDict, total=False): + aiSkillAnalysis: AISkillAnalysisNote attestation: AttestationNote build: BuildNote compliance: ComplianceNote @@ -1211,6 +1283,7 @@ class Note(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] longDescription: str name: str @@ -1228,6 +1301,7 @@ class Note(typing_extensions.TypedDict, total=False): @typing.type_check_only class Occurrence(typing_extensions.TypedDict, total=False): advisoryPublishTime: str + aiSkillAnalysis: AISkillAnalysisOccurrence attestation: AttestationOccurrence build: BuildOccurrence compliance: ComplianceOccurrence @@ -1252,6 +1326,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] name: str noteName: str diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi index 0c9e99bcf..6cda465d9 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi @@ -146,6 +146,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] = ..., name: str = ..., pageSize: int = ..., diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index 4b2681630..570dbe54d 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -4,6 +4,15 @@ import typing_extensions _list = list +@typing.type_check_only +class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): + findings: _list[Finding] + maxSeverity: str + skillName: str + @typing.type_check_only class AnalysisCompleted(typing_extensions.TypedDict, total=False): analysisType: _list[str] @@ -161,6 +170,11 @@ class CVSS(typing_extensions.TypedDict, total=False): "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] + attackRequirements: typing_extensions.Literal[ + "ATTACK_REQUIREMENTS_UNSPECIFIED", + "ATTACK_REQUIREMENTS_NONE", + "ATTACK_REQUIREMENTS_PRESENT", + ] attackVector: typing_extensions.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", @@ -210,10 +224,60 @@ class CVSS(typing_extensions.TypedDict, total=False): scope: typing_extensions.Literal[ "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" ] + subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", + ] + subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", + ] + subsequentSystemIntegrityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", + ] userInteraction: typing_extensions.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", + "USER_INTERACTION_PASSIVE", + "USER_INTERACTION_ACTIVE", + ] + vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", + ] + vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", + ] + vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE", ] @typing.type_check_only @@ -281,6 +345,9 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ @@ -301,6 +368,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( + typing_extensions.TypedDict, total=False +): + folder: str + registryPath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( typing_extensions.TypedDict, total=False @@ -484,6 +558,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( id: str name: str pullTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -503,6 +578,12 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] waitFor: _list[str] +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( + typing_extensions.TypedDict, total=False +): + results: dict[str, typing.Any] + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( typing_extensions.TypedDict, total=False @@ -537,8 +618,18 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( typing_extensions.TypedDict, total=False ): empty: bool + genericArtifact: ( + ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency + ) gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( + typing_extensions.TypedDict, total=False +): + destPath: str + resource: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( typing_extensions.TypedDict, total=False @@ -627,6 +718,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + buildStepResults: dict[str, typing.Any] + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ @@ -689,6 +784,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest ) +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( + typing_extensions.TypedDict, total=False +): + attestationContent: str + attestationType: str + name: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( typing_extensions.TypedDict, total=False @@ -715,6 +818,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( + typing_extensions.TypedDict, total=False +): + artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + artifactRegistryPackage: str + fileHashes: dict[str, typing.Any] + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False @@ -863,6 +976,7 @@ class Discovery(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] @typing.type_check_only @@ -971,6 +1085,18 @@ class FileOccurrence(typing_extensions.TypedDict, total=False): licenseConcluded: License notice: str +@typing.type_check_only +class Finding(typing_extensions.TypedDict, total=False): + category: str + location: FindingLocation + scanner: str + severity: str + +@typing.type_check_only +class FindingLocation(typing_extensions.TypedDict, total=False): + filePath: str + lineNumber: str + @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): v1Name: str @@ -1242,6 +1368,7 @@ class NonCompliantFile(typing_extensions.TypedDict, total=False): @typing.type_check_only class Note(typing_extensions.TypedDict, total=False): + aiSkillAnalysis: AISkillAnalysisNote attestationAuthority: AttestationAuthority baseImage: Basis buildType: BuildType @@ -1270,6 +1397,7 @@ class Note(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] longDescription: str name: str @@ -1289,6 +1417,7 @@ class Note(typing_extensions.TypedDict, total=False): @typing.type_check_only class Occurrence(typing_extensions.TypedDict, total=False): + aiSkillAnalysis: AISkillAnalysisOccurrence attestation: Attestation buildDetails: BuildDetails compliance: ComplianceOccurrence @@ -1318,6 +1447,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] name: str noteName: str @@ -1864,7 +1994,7 @@ class VulnerabilityDetails(typing_extensions.TypedDict, total=False): cvssV2: CVSS cvssV3: CVSS cvssVersion: typing_extensions.Literal[ - "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3" + "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] effectiveSeverity: typing_extensions.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" @@ -1891,7 +2021,7 @@ class VulnerabilityType(typing_extensions.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssVersion: typing_extensions.Literal[ - "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3" + "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cwe: _list[str] details: _list[Detail] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index a67da6a06..bd73aa2be 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi @@ -4,6 +4,15 @@ import typing_extensions _list = list +@typing.type_check_only +class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): + findings: _list[Finding] + maxSeverity: str + skillName: str + @typing.type_check_only class AliasContext(typing_extensions.TypedDict, total=False): kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] @@ -298,6 +307,9 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( typing_extensions.TypedDict, total=False ): + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule] images: _list[str] mavenArtifacts: _list[ @@ -318,6 +330,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( paths: _list[str] timing: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( + typing_extensions.TypedDict, total=False +): + folder: str + registryPath: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( typing_extensions.TypedDict, total=False @@ -501,6 +520,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( id: str name: str pullTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -520,6 +540,12 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] waitFor: _list[str] +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( + typing_extensions.TypedDict, total=False +): + results: dict[str, typing.Any] + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( typing_extensions.TypedDict, total=False @@ -554,8 +580,18 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( typing_extensions.TypedDict, total=False ): empty: bool + genericArtifact: ( + ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency + ) gitSource: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( + typing_extensions.TypedDict, total=False +): + destPath: str + resource: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( typing_extensions.TypedDict, total=False @@ -644,6 +680,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + buildStepResults: dict[str, typing.Any] + genericArtifacts: _list[ + ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact + ] goModules: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage] mavenArtifacts: _list[ @@ -706,6 +746,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest ) +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( + typing_extensions.TypedDict, total=False +): + attestationContent: str + attestationType: str + name: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( typing_extensions.TypedDict, total=False @@ -732,6 +780,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( endTime: str startTime: str +@typing.type_check_only +class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( + typing_extensions.TypedDict, total=False +): + artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes + artifactRegistryPackage: str + fileHashes: dict[str, typing.Any] + pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan + uri: str + @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False @@ -862,6 +920,7 @@ class Discovery(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] @typing.type_check_only @@ -974,6 +1033,18 @@ class FileOccurrence(typing_extensions.TypedDict, total=False): licenseConcluded: License notice: str +@typing.type_check_only +class Finding(typing_extensions.TypedDict, total=False): + category: str + location: FindingLocation + scanner: str + severity: str + +@typing.type_check_only +class FindingLocation(typing_extensions.TypedDict, total=False): + filePath: str + lineNumber: str + @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): v1Name: str @@ -1207,6 +1278,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class Note(typing_extensions.TypedDict, total=False): + aiSkillAnalysis: AISkillAnalysisNote attestationAuthority: Authority baseImage: Basis build: Build @@ -1232,6 +1304,7 @@ class Note(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] longDescription: str name: str @@ -1251,6 +1324,7 @@ class Note(typing_extensions.TypedDict, total=False): @typing.type_check_only class Occurrence(typing_extensions.TypedDict, total=False): + aiSkillAnalysis: AISkillAnalysisOccurrence attestation: Details build: GrafeasV1beta1BuildDetails createTime: str @@ -1277,6 +1351,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): "VULNERABILITY_ASSESSMENT", "SBOM_REFERENCE", "SECRET", + "AI_SKILL_ANALYSIS", ] name: str noteName: str diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 8b5a573ee..218a22aef 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -790,6 +790,7 @@ class OutlierStats(typing_extensions.TypedDict, total=False): class Package(typing_extensions.TypedDict, total=False): location: str name: str + sha256: str @typing.type_check_only class ParDoInstruction(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi index 6be990849..4016c236c 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi @@ -268,6 +268,15 @@ class DatalineageResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponseHttpRequest: ... + def searchLineageStreaming( + self, + *, + parent: str, + body: GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponseHttpRequest + ): ... def searchLinks( self, *, @@ -392,6 +401,16 @@ class GoogleCloudDatacatalogLineageV1RunHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> GoogleCloudDatacatalogLineageV1Run: ... +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse: ... + @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLinksResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi index 5f603252d..2a5e326d5 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi @@ -56,16 +56,26 @@ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse( nextPageToken: str processLinks: _list[GoogleCloudDatacatalogLineageV1ProcessLinks] +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1DependencyInfo( + typing_extensions.TypedDict, total=False +): + dependencyType: typing_extensions.Literal[ + "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" + ] + @typing.type_check_only class GoogleCloudDatacatalogLineageV1EntityReference( typing_extensions.TypedDict, total=False ): + field: _list[str] fullyQualifiedName: str @typing.type_check_only class GoogleCloudDatacatalogLineageV1EventLink( typing_extensions.TypedDict, total=False ): + dependencyInfo: GoogleCloudDatacatalogLineageV1DependencyInfo source: GoogleCloudDatacatalogLineageV1EntityReference target: GoogleCloudDatacatalogLineageV1EntityReference @@ -78,14 +88,48 @@ class GoogleCloudDatacatalogLineageV1LineageEvent( name: str startTime: str +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1LineageLink( + typing_extensions.TypedDict, total=False +): + dependencyInfo: _list[GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo] + depth: int + location: str + processes: _list[GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess] + source: GoogleCloudDatacatalogLineageV1EntityReference + target: GoogleCloudDatacatalogLineageV1EntityReference + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo( + typing_extensions.TypedDict, total=False +): + dependencyType: typing_extensions.Literal[ + "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" + ] + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess( + typing_extensions.TypedDict, total=False +): + process: GoogleCloudDatacatalogLineageV1Process + @typing.type_check_only class GoogleCloudDatacatalogLineageV1Link(typing_extensions.TypedDict, total=False): + dependencyInfo: _list[GoogleCloudDatacatalogLineageV1LinkDependencyInfo] endTime: str name: str source: GoogleCloudDatacatalogLineageV1EntityReference startTime: str target: GoogleCloudDatacatalogLineageV1EntityReference +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1LinkDependencyInfo( + typing_extensions.TypedDict, total=False +): + dependencyType: typing_extensions.Literal[ + "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" + ] + @typing.type_check_only class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse( typing_extensions.TypedDict, total=False @@ -107,6 +151,12 @@ class GoogleCloudDatacatalogLineageV1ListRunsResponse( nextPageToken: str runs: _list[GoogleCloudDatacatalogLineageV1Run] +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1MultipleEntityReference( + typing_extensions.TypedDict, total=False +): + entities: _list[GoogleCloudDatacatalogLineageV1EntityReference] + @typing.type_check_only class GoogleCloudDatacatalogLineageV1OperationMetadata( typing_extensions.TypedDict, total=False @@ -177,6 +227,51 @@ class GoogleCloudDatacatalogLineageV1Run(typing_extensions.TypedDict, total=Fals "UNKNOWN", "STARTED", "COMPLETED", "FAILED", "ABORTED" ] +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest( + typing_extensions.TypedDict, total=False +): + direction: typing_extensions.Literal[ + "SEARCH_DIRECTION_UNSPECIFIED", "DOWNSTREAM", "UPSTREAM" + ] + filters: GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters + limits: GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits + locations: _list[str] + rootCriteria: ( + GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria + ) + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria( + typing_extensions.TypedDict, total=False +): + entities: GoogleCloudDatacatalogLineageV1MultipleEntityReference + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters( + typing_extensions.TypedDict, total=False +): + dependencyTypes: _list[ + typing_extensions.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] + ] + entitySet: typing_extensions.Literal["ENTITY_SET_UNSPECIFIED", "ENTITIES"] + timeRange: GoogleTypeInterval + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits( + typing_extensions.TypedDict, total=False +): + maxDepth: int + maxProcessPerLink: int + maxResults: int + +@typing.type_check_only +class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse( + typing_extensions.TypedDict, total=False +): + links: _list[GoogleCloudDatacatalogLineageV1LineageLink] + unreachable: _list[str] + @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLinksRequest( typing_extensions.TypedDict, total=False @@ -184,7 +279,9 @@ class GoogleCloudDatacatalogLineageV1SearchLinksRequest( pageSize: int pageToken: str source: GoogleCloudDatacatalogLineageV1EntityReference + sources: GoogleCloudDatacatalogLineageV1MultipleEntityReference target: GoogleCloudDatacatalogLineageV1EntityReference + targets: GoogleCloudDatacatalogLineageV1MultipleEntityReference @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLinksResponse( @@ -220,3 +317,8 @@ class GoogleRpcStatus(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class GoogleTypeInterval(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi index 381c22c1c..12bf818f1 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -9,6 +9,7 @@ class AdIdentifiers(typing_extensions.TypedDict, total=False): gbraid: str gclid: str landingPageDeviceInfo: DeviceInfo + mobileDeviceId: str sessionAttributes: str wbraid: str @@ -43,6 +44,7 @@ class Baseline(typing_extensions.TypedDict, total=False): @typing.type_check_only class CartData(typing_extensions.TypedDict, total=False): + couponCodes: _list[str] items: _list[Item] merchantFeedLabel: str merchantFeedLanguageCode: str @@ -85,7 +87,17 @@ class Destination(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeviceInfo(typing_extensions.TypedDict, total=False): + brand: str + browser: str + browserVersion: str + category: str ipAddress: str + languageCode: str + model: str + operatingSystem: str + operatingSystemVersion: str + screenHeight: int + screenWidth: int userAgent: str @typing.type_check_only @@ -139,6 +151,7 @@ class ErrorInfo(typing_extensions.TypedDict, total=False): class Event(typing_extensions.TypedDict, total=False): adIdentifiers: AdIdentifiers additionalEventParameters: _list[EventParameter] + appInstanceId: str cartData: CartData clientId: str consent: Consent @@ -147,18 +160,35 @@ class Event(typing_extensions.TypedDict, total=False): customVariables: _list[CustomVariable] destinationReferences: _list[str] eventDeviceInfo: DeviceInfo + eventLocation: EventLocation eventName: str eventSource: typing_extensions.Literal[ - "EVENT_SOURCE_UNSPECIFIED", "WEB", "APP", "IN_STORE", "PHONE", "OTHER" + "EVENT_SOURCE_UNSPECIFIED", + "WEB", + "APP", + "IN_STORE", + "PHONE", + "MESSAGE", + "OTHER", ] eventTimestamp: str experimentalFields: _list[ExperimentalField] lastUpdatedTimestamp: str + thirdPartyUserData: UserData transactionId: str userData: UserData userId: str userProperties: UserProperties +@typing.type_check_only +class EventLocation(typing_extensions.TypedDict, total=False): + city: str + continentCode: str + regionCode: str + storeId: str + subcontinentCode: str + subdivisionCode: str + @typing.type_check_only class EventParameter(typing_extensions.TypedDict, total=False): parameterName: str @@ -275,11 +305,22 @@ class IngestedUserListInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class Item(typing_extensions.TypedDict, total=False): additionalItemParameters: _list[ItemParameter] + conversionValue: float + customVariables: _list[ItemCustomVariable] itemId: str + merchantFeedLabel: str + merchantFeedLanguageCode: str + merchantId: str merchantProductId: str quantity: str unitPrice: float +@typing.type_check_only +class ItemCustomVariable(typing_extensions.TypedDict, total=False): + destinationReferences: _list[str] + value: str + variable: str + @typing.type_check_only class ItemParameter(typing_extensions.TypedDict, total=False): parameterName: str @@ -495,7 +536,9 @@ class SearchPartnerLinksResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class SizeInfo(typing_extensions.TypedDict, total=False): displayNetworkMembersCount: str + gmailMembersCount: str searchNetworkMembersCount: str + youtubeMembersCount: str @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index a937796cc..1dd320461 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -818,6 +818,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): "PREPARING_THE_DUMP", "READY_FOR_PROMOTE", ] + postgresHomogeneousConfig: PostgresHomogeneousConfig postgresToSqlserverConfig: PostgresToSqlServerConfig purpose: typing_extensions.Literal["PURPOSE_UNSPECIFIED", "MIGRATE", "FAILBACK"] reverseSshConnectivity: ReverseSshConnectivity @@ -1056,6 +1057,11 @@ class PostgresDestinationConfig(typing_extensions.TypedDict, total=False): maxConcurrentConnections: int transactionTimeout: str +@typing.type_check_only +class PostgresHomogeneousConfig(typing_extensions.TypedDict, total=False): + isNativeLogical: bool + maxAdditionalSubscriptions: int + @typing.type_check_only class PostgresSourceConfig(typing_extensions.TypedDict, total=False): skipFullDump: bool diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index e37c75034..822f021e3 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -1684,30 +1684,6 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - @typing.type_check_only - class PolicyIntentsResource(googleapiclient.discovery.Resource): - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudLocationLocationHttpRequest: ... @@ -1803,7 +1779,6 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def metadataFeeds(self) -> MetadataFeedsResource: ... def metadataJobs(self) -> MetadataJobsResource: ... def operations(self) -> OperationsResource: ... - def policyIntents(self) -> PolicyIntentsResource: ... def locations(self) -> LocationsResource: ... diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index bba92753a..5278b55ea 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -1808,6 +1808,7 @@ class GoogleCloudDataplexV1ListZonesResponse(typing_extensions.TypedDict, total= class GoogleCloudDataplexV1LookupContextRequest( typing_extensions.TypedDict, total=False ): + context: str options: dict[str, typing.Any] resources: _list[str] diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index 1f2cd1c2f..fa7d15dfd 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -475,6 +475,7 @@ class ExecutionConfig(typing_extensions.TypedDict, total=False): kmsKey: str networkTags: _list[str] networkUri: str + resourceManagerTags: dict[str, typing.Any] serviceAccount: str stagingBucket: str subnetworkUri: str diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index 9db8d5627..c26d828fc 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -23,6 +23,7 @@ class BackfillAllStrategy(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackfillJob(typing_extensions.TypedDict, total=False): errors: _list[Error] + eventFilter: EventFilter lastEndTime: str lastStartTime: str state: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index a0a0da4f1..7af9e5475 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -1506,6 +1506,7 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class DependentFieldValue(typing_extensions.TypedDict, total=False): + dynamicFeedId: str elementId: str fieldId: int diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi index 388440bbb..fb9a49f84 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi @@ -1492,6 +1492,7 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class DependentFieldValue(typing_extensions.TypedDict, total=False): + dynamicFeedId: str elementId: str fieldId: int diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 924975e34..10f88f4f0 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -2111,6 +2111,8 @@ class GoogleCloudDialogflowV2CesAppSpec(typing_extensions.TypedDict, total=False confirmationRequirement: typing_extensions.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] + proactiveEnabled: bool + reactiveEnabled: bool @typing.type_check_only class GoogleCloudDialogflowV2CesToolSpec(typing_extensions.TypedDict, total=False): @@ -3584,10 +3586,23 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource faqSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( @@ -4022,7 +4037,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeAnswer( answerRecord: str answerSources: _list[GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource] answerType: typing_extensions.Literal[ - "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT" + "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT", "PLAYBOOK", "EVENT" ] @typing.type_check_only @@ -5729,10 +5744,25 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource + ) faqSource: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index d723c3a25..13515ad7e 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -2519,10 +2519,23 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource faqSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( @@ -3262,6 +3275,8 @@ class GoogleCloudDialogflowV2beta1CesAppSpec(typing_extensions.TypedDict, total= confirmationRequirement: typing_extensions.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] + proactiveEnabled: bool + reactiveEnabled: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1CesToolSpec(typing_extensions.TypedDict, total=False): @@ -4761,10 +4776,25 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource + ) faqSource: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( @@ -5270,7 +5300,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer( answerRecord: str answerSources: _list[GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource] answerType: typing_extensions.Literal[ - "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT" + "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT", "PLAYBOOK", "EVENT" ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index 4edadd75a..d926a8968 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -4288,10 +4288,23 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource faqSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( @@ -5463,10 +5476,25 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource + ) faqSource: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index f6a2d1bfa..cbc4b09aa 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -4711,10 +4711,23 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource faqSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( @@ -5886,10 +5899,25 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( typing_extensions.TypedDict, total=False ): answerText: str + eventSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource + ) faqSource: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource generativeSource: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource ) + playbookSource: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( + typing_extensions.TypedDict, total=False +): + event: str + snippets: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + ) @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 01d896e57..6e297d73e 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -1269,11 +1269,15 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata( segments: _list[ GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment ] + visualSegments: _list[ + GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference( typing_extensions.TypedDict, total=False ): + codeSnippet: str content: str documentMetadata: GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata @@ -1283,6 +1287,7 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataR ): document: str domain: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -1298,6 +1303,13 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataS startIndex: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment( + typing_extensions.TypedDict, total=False +): + contentId: str + referenceIndices: _list[int] + @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantToolInfo( typing_extensions.TypedDict, total=False @@ -3082,6 +3094,9 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @@ -3951,6 +3966,7 @@ class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total answer: str detailedAnswer: GoogleCloudDiscoveryengineV1Answer detailedAssistAnswer: GoogleCloudDiscoveryengineV1AssistAnswer + live: bool query: GoogleCloudDiscoveryengineV1Query queryConfig: dict[str, typing.Any] @@ -4955,11 +4971,15 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta segments: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment ] + visualSegments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( typing_extensions.TypedDict, total=False ): + codeSnippet: str content: str documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata @@ -4969,6 +4989,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta ): document: str domain: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -4984,6 +5005,13 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta startIndex: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( + typing_extensions.TypedDict, total=False +): + contentId: str + referenceIndices: _list[int] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False @@ -6412,6 +6440,9 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @@ -7075,6 +7106,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer + live: bool query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -8227,6 +8259,9 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 51d16e094..2089db17f 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -1311,6 +1311,9 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @@ -1716,7 +1719,8 @@ class GoogleCloudDiscoveryengineV1alphaAclConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest( typing_extensions.TypedDict, total=False -): ... +): + scope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse( @@ -2742,11 +2746,15 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta segments: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment ] + visualSegments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( typing_extensions.TypedDict, total=False ): + codeSnippet: str content: str documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata @@ -2756,6 +2764,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta ): document: str domain: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -2771,6 +2780,13 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta startIndex: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( + typing_extensions.TypedDict, total=False +): + contentId: str + referenceIndices: _list[int] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo( typing_extensions.TypedDict, total=False @@ -5447,6 +5463,9 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @@ -6797,6 +6816,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer + live: bool query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -8457,6 +8477,9 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 0dbcdf5df..fe6858f02 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -1311,6 +1311,9 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @@ -2131,11 +2134,15 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta segments: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment ] + visualSegments: _list[ + GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( typing_extensions.TypedDict, total=False ): + codeSnippet: str content: str documentMetadata: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata @@ -2145,6 +2152,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta ): document: str domain: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -2160,6 +2168,13 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta startIndex: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( + typing_extensions.TypedDict, total=False +): + contentId: str + referenceIndices: _list[int] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False @@ -3588,6 +3603,9 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @@ -4251,6 +4269,7 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer + live: bool query: GoogleCloudDiscoveryengineV1alphaQuery queryConfig: dict[str, typing.Any] @@ -5339,11 +5358,15 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad segments: _list[ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment ] + visualSegments: _list[ + GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference( typing_extensions.TypedDict, total=False ): + codeSnippet: str content: str documentMetadata: GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata @@ -5353,6 +5376,7 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad ): document: str domain: str + language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -5368,6 +5392,13 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad startIndex: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment( + typing_extensions.TypedDict, total=False +): + contentId: str + referenceIndices: _list[int] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantToolInfo( typing_extensions.TypedDict, total=False @@ -7135,6 +7166,9 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str + updateType: typing_extensions.Literal[ + "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( @@ -8238,6 +8272,7 @@ class GoogleCloudDiscoveryengineV1betaSessionTurn( answer: str detailedAnswer: GoogleCloudDiscoveryengineV1betaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1betaAssistAnswer + live: bool query: GoogleCloudDiscoveryengineV1betaQuery queryConfig: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index cfdd1c8da..5dc8047e8 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -692,6 +692,7 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only @@ -2114,6 +2115,7 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] negative: bool targetingOptionId: str @@ -2165,6 +2167,7 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 280928e7e..9d3aad17f 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -1342,6 +1342,7 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only @@ -3096,6 +3097,7 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] negative: bool targetingOptionId: str @@ -3147,6 +3149,7 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 2f62f05d4..772b33b0a 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -1369,6 +1369,7 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only @@ -3167,6 +3168,7 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] negative: bool targetingOptionId: str @@ -3218,6 +3220,7 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COMMUNE", "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", + "GEO_REGION_TYPE_WARD", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi index 9457f0113..107a76a44 100644 --- a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi @@ -109,6 +109,14 @@ class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=Fa class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class GoogleLongrunningOperation(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 ManagedZone(typing_extensions.TypedDict, total=False): cloudLoggingConfig: ManagedZoneCloudLoggingConfig @@ -468,3 +476,9 @@ class ResponsePolicyRulesPatchResponse(typing_extensions.TypedDict, total=False) @typing.type_check_only class ResponsePolicyRulesUpdateResponse(typing_extensions.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi index 450f165bf..6d5ed962e 100644 --- a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi @@ -109,6 +109,14 @@ class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=Fa class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class GoogleLongrunningOperation(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 ManagedZone(typing_extensions.TypedDict, total=False): cloudLoggingConfig: ManagedZoneCloudLoggingConfig @@ -467,3 +475,9 @@ class ResponsePolicyRulesPatchResponse(typing_extensions.TypedDict, total=False) @typing.type_check_only class ResponsePolicyRulesUpdateResponse(typing_extensions.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str diff --git a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi index ad5446e39..a3accf7d3 100644 --- a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi @@ -47,6 +47,7 @@ class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str + validateOnly: bool @typing.type_check_only class Contact(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi index dc2b75ef1..4cca7db1b 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi @@ -47,6 +47,7 @@ class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str + validateOnly: bool @typing.type_check_only class Contact(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi index ad5446e39..a3accf7d3 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi @@ -47,6 +47,7 @@ class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str + validateOnly: bool @typing.type_check_only class Contact(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index 86e6e4b04..a61d6685d 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -46,6 +46,38 @@ class DriveResource(googleapiclient.discovery.Resource): @typing.type_check_only class ApprovalsResource(googleapiclient.discovery.Resource): + def approve( + self, + *, + fileId: str, + approvalId: str, + body: ApproveApprovalRequest = ..., + **kwargs: typing.Any, + ) -> ApprovalHttpRequest: ... + def cancel( + self, + *, + fileId: str, + approvalId: str, + body: CancelApprovalRequest = ..., + **kwargs: typing.Any, + ) -> ApprovalHttpRequest: ... + def comment( + self, + *, + fileId: str, + approvalId: str, + body: CommentApprovalRequest = ..., + **kwargs: typing.Any, + ) -> ApprovalHttpRequest: ... + def decline( + self, + *, + fileId: str, + approvalId: str, + body: DeclineApprovalRequest = ..., + **kwargs: typing.Any, + ) -> ApprovalHttpRequest: ... def get( self, *, fileId: str, approvalId: str, **kwargs: typing.Any ) -> ApprovalHttpRequest: ... @@ -62,6 +94,17 @@ class DriveResource(googleapiclient.discovery.Resource): previous_request: ApprovalListHttpRequest, previous_response: ApprovalList, ) -> ApprovalListHttpRequest | None: ... + def reassign( + self, + *, + fileId: str, + approvalId: str, + body: ReassignApprovalRequest = ..., + **kwargs: typing.Any, + ) -> ApprovalHttpRequest: ... + def start( + self, *, fileId: str, body: StartApprovalRequest = ..., **kwargs: typing.Any + ) -> ApprovalHttpRequest: ... @typing.type_check_only class AppsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index 8e5fb6fa8..6d4deecb5 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -35,6 +35,10 @@ class AccessProposalRoleAndView(typing_extensions.TypedDict, total=False): role: str view: str +@typing.type_check_only +class AddReviewer(typing_extensions.TypedDict, total=False): + addedReviewerEmail: str + @typing.type_check_only class App(typing_extensions.TypedDict, total=False): authorized: bool @@ -96,6 +100,14 @@ class ApprovalList(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str +@typing.type_check_only +class ApproveApprovalRequest(typing_extensions.TypedDict, total=False): + message: str + +@typing.type_check_only +class CancelApprovalRequest(typing_extensions.TypedDict, total=False): + message: str + @typing.type_check_only class Change(typing_extensions.TypedDict, total=False): changeType: str @@ -152,6 +164,10 @@ class Comment(typing_extensions.TypedDict, total=False): replies: _list[Reply] resolved: bool +@typing.type_check_only +class CommentApprovalRequest(typing_extensions.TypedDict, total=False): + message: str + @typing.type_check_only class CommentList(typing_extensions.TypedDict, total=False): comments: _list[Comment] @@ -168,6 +184,10 @@ class ContentRestriction(typing_extensions.TypedDict, total=False): systemRestricted: bool type: str +@typing.type_check_only +class DeclineApprovalRequest(typing_extensions.TypedDict, total=False): + message: str + @typing.type_check_only class DecryptionMetadata(typing_extensions.TypedDict, total=False): aes256GcmChunkSize: str @@ -388,6 +408,17 @@ class PermissionList(typing_extensions.TypedDict, total=False): nextPageToken: str permissions: _list[Permission] +@typing.type_check_only +class ReassignApprovalRequest(typing_extensions.TypedDict, total=False): + addReviewers: _list[AddReviewer] + message: str + replaceReviewers: _list[ReplaceReviewer] + +@typing.type_check_only +class ReplaceReviewer(typing_extensions.TypedDict, total=False): + addedReviewerEmail: str + removedReviewerEmail: str + @typing.type_check_only class Reply(typing_extensions.TypedDict, total=False): action: str @@ -446,6 +477,13 @@ class RevisionList(typing_extensions.TypedDict, total=False): nextPageToken: str revisions: _list[Revision] +@typing.type_check_only +class StartApprovalRequest(typing_extensions.TypedDict, total=False): + dueTime: str + lockFile: bool + message: str + reviewerEmails: _list[str] + @typing.type_check_only class StartPageToken(typing_extensions.TypedDict, total=False): kind: str diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi index 3a147b6dd..c32b3c33b 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi @@ -117,6 +117,7 @@ class GdataMedia(typing_extensions.TypedDict, total=False): ] sha1Hash: str sha256Hash: str + sha512Hash: str timestamp: str token: str @@ -136,6 +137,8 @@ class GoogleFirebaseAppdistroV1AabInfo(typing_extensions.TypedDict, total=False) "APP_NOT_PUBLISHED", "AAB_STATE_UNAVAILABLE", "PLAY_IAS_TERMS_NOT_ACCEPTED", + "ADHOC_SHARING_KEY_NOT_GENERATED", + "ADHOC_SHARING_KEY_NOT_REGISTERED", ] name: str testCertificate: GoogleFirebaseAppdistroV1TestCertificate diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index 1286c7e07..920456476 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -231,6 +231,10 @@ class GoogleFirebaseAppdistroV1alphaDeviceInteraction( screenshot: GoogleFirebaseAppdistroV1alphaScreenshot swipe: GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe tap: AndroidxCrawlerOutputPoint + targetFoldedState: str + targetOrientation: typing_extensions.Literal[ + "ORIENTATION_UNSPECIFIED", "PORTRAIT", "LANDSCAPE" + ] textInput: str wait: GoogleFirebaseAppdistroV1alphaDeviceInteractionWait @@ -320,6 +324,7 @@ class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( "AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT", "AAB_UPLOAD_ERROR", "APP_NOT_FOUND", + "AAB_ADHOC_SHARING_KEY_NOT_REGISTERED", ] message: str release: GoogleFirebaseAppdistroV1alphaRelease @@ -417,6 +422,7 @@ class GoogleFirebaseAppdistroV1alphaReleaseTest( displayName: str loginCredential: GoogleFirebaseAppdistroV1alphaLoginCredential name: str + resultsBucket: str testCase: str testState: typing_extensions.Literal[ "TEST_STATE_UNSPECIFIED", "IN_PROGRESS", "PASSED", "FAILED", "INCONCLUSIVE" @@ -468,6 +474,7 @@ class GoogleFirebaseAppdistroV1alphaTestConfig( ): displayName: str name: str + resultsBucket: str roboCrawler: GoogleFirebaseAppdistroV1alphaRoboCrawler testDevices: _list[GoogleFirebaseAppdistroV1alphaTestDevice] diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi index 56e79fbfd..075091245 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi @@ -60,6 +60,7 @@ class Build(typing_extensions.TypedDict, total=False): "READY", "FAILED", "SKIPPED", + "EXPIRED", ] uid: str updateTime: str diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi index 9fd4263cd..f5b8be7dd 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi @@ -242,6 +242,12 @@ class FirebaseAppHostingResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class SupportedRuntimesResource(googleapiclient.discovery.Resource): + def list( + self, *, parent: str, pageSize: int = ..., **kwargs: typing.Any + ) -> ListSupportedRuntimesResponseHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -262,6 +268,7 @@ class FirebaseAppHostingResource(googleapiclient.discovery.Resource): ) -> ListLocationsResponseHttpRequest | None: ... def backends(self) -> BackendsResource: ... def operations(self) -> OperationsResource: ... + def supportedRuntimes(self) -> SupportedRuntimesResource: ... def locations(self) -> LocationsResource: ... @@ -359,6 +366,14 @@ class ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListRolloutsResponse: ... +@typing.type_check_only +class ListSupportedRuntimesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSupportedRuntimesResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi index c834cdc11..d74b2885c 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi @@ -65,6 +65,7 @@ class Build(typing_extensions.TypedDict, total=False): "READY", "FAILED", "SKIPPED", + "EXPIRED", ] uid: str updateTime: str @@ -289,6 +290,10 @@ class ListRolloutsResponse(typing_extensions.TypedDict, total=False): rollouts: _list[Rollout] unreachable: _list[str] +@typing.type_check_only +class ListSupportedRuntimesResponse(typing_extensions.TypedDict, total=False): + supportedRuntimes: _list[SupportedRuntime] + @typing.type_check_only class LiveMigrationStep(typing_extensions.TypedDict, total=False): dnsUpdates: _list[DnsUpdates] @@ -412,6 +417,14 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class SupportedRuntime(typing_extensions.TypedDict, total=False): + automaticBaseImageUpdatesSupported: bool + decommissionTime: str + deprecateTime: str + name: str + runtimeId: str + @typing.type_check_only class Traffic(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi index e2f33aee0..dc6922a11 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi @@ -211,6 +211,20 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def executeGraphqlRead( self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any ) -> GraphqlResponseHttpRequest: ... + def generateQuery( + self, + *, + name: str, + body: GenerateQueryRequest = ..., + **kwargs: typing.Any, + ) -> GenerateQueryResponseHttpRequest: ... + def generateSchema( + self, + *, + name: str, + body: GenerateSchemaRequest = ..., + **kwargs: typing.Any, + ) -> GenerateSchemaResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ServiceHttpRequest: ... @@ -315,6 +329,22 @@ class ExecuteQueryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ExecuteQueryResponse: ... +@typing.type_check_only +class GenerateQueryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateQueryResponse: ... + +@typing.type_check_only +class GenerateSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateSchemaResponse: ... + @typing.type_check_only class GraphqlResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi index 255311736..09b9141c5 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi @@ -16,6 +16,11 @@ class ClientCache(typing_extensions.TypedDict, total=False): class CloudSqlInstance(typing_extensions.TypedDict, total=False): instance: str +@typing.type_check_only +class CodeChunk(typing_extensions.TypedDict, total=False): + code: str + languageCode: str + @typing.type_check_only class Connector(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -72,6 +77,32 @@ class File(typing_extensions.TypedDict, total=False): content: str path: str +@typing.type_check_only +class GenerateQueryRequest(typing_extensions.TypedDict, total=False): + prompt: str + schemas: _list[Schema] + +@typing.type_check_only +class GenerateQueryResponse(typing_extensions.TypedDict, total=False): + part: Part + status: GenerationStatus + +@typing.type_check_only +class GenerateSchemaRequest(typing_extensions.TypedDict, total=False): + prompt: str + +@typing.type_check_only +class GenerateSchemaResponse(typing_extensions.TypedDict, total=False): + part: Part + status: GenerationStatus + +@typing.type_check_only +class GenerationStatus(typing_extensions.TypedDict, total=False): + message: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ANALYZING_CODE", "GENERATING_CODE", "COMPLETED" + ] + @typing.type_check_only class GraphqlError(typing_extensions.TypedDict, total=False): extensions: GraphqlErrorExtensions @@ -204,6 +235,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Part(typing_extensions.TypedDict, total=False): + codeChunk: CodeChunk + textChunk: TextChunk + @typing.type_check_only class PostgreSql(typing_extensions.TypedDict, total=False): cloudSql: CloudSqlInstance @@ -259,6 +295,10 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class TextChunk(typing_extensions.TypedDict, total=False): + text: str + @typing.type_check_only class Workaround(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi index e2f33aee0..dc6922a11 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi @@ -211,6 +211,20 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): def executeGraphqlRead( self, *, name: str, body: GraphqlRequest = ..., **kwargs: typing.Any ) -> GraphqlResponseHttpRequest: ... + def generateQuery( + self, + *, + name: str, + body: GenerateQueryRequest = ..., + **kwargs: typing.Any, + ) -> GenerateQueryResponseHttpRequest: ... + def generateSchema( + self, + *, + name: str, + body: GenerateSchemaRequest = ..., + **kwargs: typing.Any, + ) -> GenerateSchemaResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ServiceHttpRequest: ... @@ -315,6 +329,22 @@ class ExecuteQueryResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ExecuteQueryResponse: ... +@typing.type_check_only +class GenerateQueryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateQueryResponse: ... + +@typing.type_check_only +class GenerateSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateSchemaResponse: ... + @typing.type_check_only class GraphqlResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi index 255311736..09b9141c5 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi @@ -16,6 +16,11 @@ class ClientCache(typing_extensions.TypedDict, total=False): class CloudSqlInstance(typing_extensions.TypedDict, total=False): instance: str +@typing.type_check_only +class CodeChunk(typing_extensions.TypedDict, total=False): + code: str + languageCode: str + @typing.type_check_only class Connector(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -72,6 +77,32 @@ class File(typing_extensions.TypedDict, total=False): content: str path: str +@typing.type_check_only +class GenerateQueryRequest(typing_extensions.TypedDict, total=False): + prompt: str + schemas: _list[Schema] + +@typing.type_check_only +class GenerateQueryResponse(typing_extensions.TypedDict, total=False): + part: Part + status: GenerationStatus + +@typing.type_check_only +class GenerateSchemaRequest(typing_extensions.TypedDict, total=False): + prompt: str + +@typing.type_check_only +class GenerateSchemaResponse(typing_extensions.TypedDict, total=False): + part: Part + status: GenerationStatus + +@typing.type_check_only +class GenerationStatus(typing_extensions.TypedDict, total=False): + message: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ANALYZING_CODE", "GENERATING_CODE", "COMPLETED" + ] + @typing.type_check_only class GraphqlError(typing_extensions.TypedDict, total=False): extensions: GraphqlErrorExtensions @@ -204,6 +235,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Part(typing_extensions.TypedDict, total=False): + codeChunk: CodeChunk + textChunk: TextChunk + @typing.type_check_only class PostgreSql(typing_extensions.TypedDict, total=False): cloudSql: CloudSqlInstance @@ -259,6 +295,10 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class TextChunk(typing_extensions.TypedDict, total=False): + text: str + @typing.type_check_only class Workaround(typing_extensions.TypedDict, total=False): description: str diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index b0f340176..1b48d6a16 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -253,6 +253,7 @@ class GoogleCloudAiplatformV1beta1FunctionCallingConfig( class GoogleCloudAiplatformV1beta1FunctionDeclaration( typing_extensions.TypedDict, total=False ): + behavior: typing_extensions.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] description: str name: str parameters: GoogleCloudAiplatformV1beta1Schema diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 01041a8a1..f599e8909 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -886,6 +886,9 @@ class ReadOnly(typing_extensions.TypedDict, total=False): @typing.type_check_only class ReadWrite(typing_extensions.TypedDict, total=False): + concurrencyMode: typing_extensions.Literal[ + "CONCURRENCY_MODE_UNSPECIFIED", "OPTIMISTIC", "PESSIMISTIC" + ] retryTransaction: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index a3e08883c..4798d10b3 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -522,6 +522,9 @@ class ReadOnly(typing_extensions.TypedDict, total=False): @typing.type_check_only class ReadWrite(typing_extensions.TypedDict, total=False): + concurrencyMode: typing_extensions.Literal[ + "CONCURRENCY_MODE_UNSPECIFIED", "OPTIMISTIC", "PESSIMISTIC" + ] retryTransaction: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index 9ad3de6f1..34ba5ac74 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -424,6 +424,13 @@ class GKEHubResource(googleapiclient.discovery.Resource): @typing.type_check_only class RolloutsResource(googleapiclient.discovery.Resource): + def forceCompleteStage( + self, + *, + name: str, + body: ForceCompleteRolloutStageRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> RolloutHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index e55f71dcb..4f6a31601 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -36,6 +36,10 @@ class Authority(typing_extensions.TypedDict, total=False): scopeTenancyWorkloadIdentityPool: str workloadIdentityPool: str +@typing.type_check_only +class AutoUpgradeConfig(typing_extensions.TypedDict, total=False): + rolloutCreationScope: RolloutCreationScope + @typing.type_check_only class BinaryAuthorizationConfig(typing_extensions.TypedDict, total=False): evaluationMode: typing_extensions.Literal[ @@ -637,6 +641,10 @@ class FleetObservabilityMembershipState(typing_extensions.TypedDict, total=False class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] +@typing.type_check_only +class ForceCompleteRolloutStageRequest(typing_extensions.TypedDict, total=False): + stageNumber: int + @typing.type_check_only class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): manifest: _list[ConnectAgentResource] @@ -1263,6 +1271,18 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str versionUpgrade: VersionUpgrade +@typing.type_check_only +class RolloutCreationScope(typing_extensions.TypedDict, total=False): + upgradeTypes: _list[ + typing_extensions.Literal[ + "UPGRADE_TYPE_UNSPECIFIED", + "CONTROL_PLANE_MINOR", + "CONTROL_PLANE_PATCH", + "NODE_MINOR", + "NODE_PATCH", + ] + ] + @typing.type_check_only class RolloutMembershipState(typing_extensions.TypedDict, total=False): lastUpdateTime: str @@ -1271,9 +1291,11 @@ class RolloutMembershipState(typing_extensions.TypedDict, total=False): @typing.type_check_only class RolloutSequence(typing_extensions.TypedDict, total=False): + autoUpgradeConfig: AutoUpgradeConfig createTime: str deleteTime: str displayName: str + effectiveAutoUpgradeConfig: AutoUpgradeConfig etag: str ignoredClustersSelector: ClusterSelector labels: dict[str, typing.Any] @@ -1291,6 +1313,7 @@ class RolloutSequenceState(typing_extensions.TypedDict, total=False): "LIFECYCLE_STATE_ACTIVE", "LIFECYCLE_STATE_WARNING", "LIFECYCLE_STATE_ERROR", + "LIFECYCLE_STATE_INITIALIZING", ] stateReasons: _list[ typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi index 77128a593..02421c54e 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi @@ -386,6 +386,13 @@ class GKEHubResource(googleapiclient.discovery.Resource): @typing.type_check_only class RolloutsResource(googleapiclient.discovery.Resource): + def forceCompleteStage( + self, + *, + name: str, + body: ForceCompleteRolloutStageRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> RolloutHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 24dbfd370..81b083647 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -36,6 +36,10 @@ class Authority(typing_extensions.TypedDict, total=False): scopeTenancyWorkloadIdentityPool: str workloadIdentityPool: str +@typing.type_check_only +class AutoUpgradeConfig(typing_extensions.TypedDict, total=False): + rolloutCreationScope: RolloutCreationScope + @typing.type_check_only class BinaryAuthorizationConfig(typing_extensions.TypedDict, total=False): evaluationMode: typing_extensions.Literal[ @@ -594,6 +598,10 @@ class FleetObservabilityMembershipState(typing_extensions.TypedDict, total=False class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] +@typing.type_check_only +class ForceCompleteRolloutStageRequest(typing_extensions.TypedDict, total=False): + stageNumber: int + @typing.type_check_only class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): manifest: _list[ConnectAgentResource] @@ -1190,6 +1198,18 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str versionUpgrade: VersionUpgrade +@typing.type_check_only +class RolloutCreationScope(typing_extensions.TypedDict, total=False): + upgradeTypes: _list[ + typing_extensions.Literal[ + "UPGRADE_TYPE_UNSPECIFIED", + "CONTROL_PLANE_MINOR", + "CONTROL_PLANE_PATCH", + "NODE_MINOR", + "NODE_PATCH", + ] + ] + @typing.type_check_only class RolloutMembershipState(typing_extensions.TypedDict, total=False): lastUpdateTime: str @@ -1198,9 +1218,11 @@ class RolloutMembershipState(typing_extensions.TypedDict, total=False): @typing.type_check_only class RolloutSequence(typing_extensions.TypedDict, total=False): + autoUpgradeConfig: AutoUpgradeConfig createTime: str deleteTime: str displayName: str + effectiveAutoUpgradeConfig: AutoUpgradeConfig etag: str ignoredClustersSelector: ClusterSelector labels: dict[str, typing.Any] @@ -1218,6 +1240,7 @@ class RolloutSequenceState(typing_extensions.TypedDict, total=False): "LIFECYCLE_STATE_ACTIVE", "LIFECYCLE_STATE_WARNING", "LIFECYCLE_STATE_ERROR", + "LIFECYCLE_STATE_INITIALIZING", ] stateReasons: _list[ typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/health/v4/schemas.pyi b/googleapiclient-stubs/_apis/health/v4/schemas.pyi index 8c88f355a..ed45beb54 100644 --- a/googleapiclient-stubs/_apis/health/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/health/v4/schemas.pyi @@ -84,6 +84,11 @@ class Application(typing_extensions.TypedDict, total=False): packageName: str webClientId: str +@typing.type_check_only +class BasalEnergyBurned(typing_extensions.TypedDict, total=False): + interval: ObservationTimeInterval + kcal: float + @typing.type_check_only class BatchDeleteDataPointsRequest(typing_extensions.TypedDict, total=False): names: _list[str] @@ -227,6 +232,7 @@ class DataPoint(typing_extensions.TypedDict, total=False): activeZoneMinutes: ActiveZoneMinutes activityLevel: ActivityLevel altitude: Altitude + basalEnergyBurned: BasalEnergyBurned bodyFat: BodyFat dailyHeartRateVariability: DailyHeartRateVariability dailyHeartRateZones: DailyHeartRateZones @@ -395,6 +401,12 @@ class GoogleDevicesandservicesHealthV4DataType( ): name: str +@typing.type_check_only +class GoogleDevicesandservicesHealthV4WebhookNotificationCloudLog( + typing_extensions.TypedDict, total=False +): + httpResponse: HttpResponse + @typing.type_check_only class HeartRate(typing_extensions.TypedDict, total=False): beatsPerMinute: str @@ -570,6 +582,7 @@ class ReconciledDataPoint(typing_extensions.TypedDict, total=False): activeZoneMinutes: ActiveZoneMinutes activityLevel: ActivityLevel altitude: Altitude + basalEnergyBurned: BasalEnergyBurned bodyFat: BodyFat dailyHeartRateVariability: DailyHeartRateVariability dailyHeartRateZones: DailyHeartRateZones @@ -950,10 +963,6 @@ class VolumeQuantityRollup(typing_extensions.TypedDict, total=False): "PINT_US", ] -@typing.type_check_only -class WebhookNotificationCloudLog(typing_extensions.TypedDict, total=False): - httpResponse: HttpResponse - @typing.type_check_only class Weight(typing_extensions.TypedDict, total=False): notes: str diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi index 9556c07b9..4673bbf17 100644 --- a/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi @@ -152,7 +152,7 @@ class FilestoreReference(typing_extensions.TypedDict, total=False): class GcsAutoclassConfig(typing_extensions.TypedDict, total=False): enabled: bool terminalStorageClass: typing_extensions.Literal[ - "TERMINAL_STORAGE_CLASS_UNSPECIFIED" + "TERMINAL_STORAGE_CLASS_UNSPECIFIED", "NEARLINE", "ARCHIVE" ] @typing.type_check_only @@ -232,6 +232,7 @@ class NewLustreConfig(typing_extensions.TypedDict, total=False): description: str filesystem: str lustre: str + perUnitStorageThroughput: str @typing.type_check_only class NewNetworkConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi index 03ffa825e..84bf2d932 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi @@ -141,6 +141,11 @@ class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): textValue: _list[str] unitCode: str +@typing.type_check_only +class Co2Emissions(typing_extensions.TypedDict, total=False): + unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "GPERKM"] + value: str + @typing.type_check_only class CustomAttribute(typing_extensions.TypedDict, total=False): groupValues: _list[CustomAttribute] @@ -178,11 +183,21 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EnergyConsumption(typing_extensions.TypedDict, total=False): + unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "KWHPER100KM"] + value: float + @typing.type_check_only class FreeShippingThreshold(typing_extensions.TypedDict, total=False): country: str priceThreshold: Price +@typing.type_check_only +class FuelConsumption(typing_extensions.TypedDict, total=False): + unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "LPER100KM", "KGPER100KM"] + value: float + @typing.type_check_only class HandlingCutoffTime(typing_extensions.TypedDict, total=False): country: str @@ -251,6 +266,16 @@ class LoyaltyProgram(typing_extensions.TypedDict, total=False): shippingLabel: str tierLabel: str +@typing.type_check_only +class Mileage(typing_extensions.TypedDict, total=False): + unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MILES", "KM"] + value: str + +@typing.type_check_only +class PickupCost(typing_extensions.TypedDict, total=False): + flatRate: Price + freeThreshold: Price + @typing.type_check_only class Price(typing_extensions.TypedDict, total=False): amountMicros: str @@ -291,11 +316,47 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "BACKORDER", ] availabilityDate: str + bodyStyle: typing_extensions.Literal[ + "VEHICLE_BODY_STYLE_UNSPECIFIED", + "ATV_SPORT", + "ATV_TOURING", + "ATV_UTILITY", + "ATV_YOUTH", + "CITY_CAR", + "CLASS_A_MOTORHOME", + "CLASS_B_MOTORHOME", + "CLASS_C_MOTORHOME", + "COMPACT_SUV", + "CONVERTIBLE", + "COUPE", + "CROSSOVER", + "FIFTH_WHEEL", + "FULL_SIZE_VAN", + "HATCHBACK", + "LIMOUSINE", + "MINIVAN", + "NOTCHBACK", + "POP_UP_CAMPER", + "SEDAN", + "SIDE_BY_SIDE", + "STATION_WAGON", + "SUV", + "TRAVEL_TRAILER", + "TRUCK", + "TRUCK_CAMPER", + "UTE", + "UTV_RECREATIONAL_UTILITY", + "UTV_SPORT", + "UTV_UTILITY", + "UTV_YOUTH", + ] brand: str canonicalLink: str carrierShipping: _list[CarrierShipping] certifications: _list[ProductCertification] + certifiedPreOwned: bool cloudExportAdditionalProperties: _list[CloudExportAdditionalProperties] + co2Emissions: Co2Emissions color: str condition: typing_extensions.Literal[ "CONDITION_UNSPECIFIED", "NEW", "USED", "REFURBISHED" @@ -306,6 +367,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): customLabel2: str customLabel3: str customLabel4: str + dateFirstRegistered: str description: str disclosureDate: str displayAdsId: str @@ -313,6 +375,23 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): displayAdsSimilarIds: _list[str] displayAdsTitle: str displayAdsValue: float + electricRange: Mileage + emissionsStandard: typing_extensions.Literal[ + "EMISSIONS_STANDARD_UNSPECIFIED", + "ZERO_EMISSIONS", + "EURO1", + "EURO2", + "EURO3", + "EURO4", + "EURO5", + "EURO5B", + "EURO6", + "EURO6C", + "EURO6D", + "EURO6D_TEMP", + "EURO6E", + ] + energyConsumption: EnergyConsumption energyEfficiencyClass: typing_extensions.Literal[ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", "APPP", @@ -326,6 +405,18 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "F", "G", ] + engine: typing_extensions.Literal[ + "ENGINE_TYPE_UNSPECIFIED", + "GASOLINE", + "DIESEL", + "ELECTRIC", + "HYBRID", + "PLUG_IN_HYBRID", + "NATURAL_GAS", + "LPG", + "METHANE", + "OTHER", + ] excludedDestinations: _list[ typing_extensions.Literal[ "DESTINATION_ENUM_UNSPECIFIED", @@ -346,6 +437,8 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): expirationDate: str externalSellerId: str freeShippingThreshold: _list[FreeShippingThreshold] + fuelConsumption: FuelConsumption + fuelConsumptionDischargedBattery: FuelConsumption gender: typing_extensions.Literal["GENDER_UNSPECIFIED", "MALE", "FEMALE", "UNISEX"] googleProductCategory: str gtins: _list[str] @@ -393,6 +486,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): ] maxHandlingTime: str maximumRetailPrice: Price + mileage: Mileage minEnergyEfficiencyClass: typing_extensions.Literal[ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", "APPP", @@ -410,10 +504,12 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): minimumOrderValues: _list[ProductMinimumOrderValue] mobileLink: str mobileLinkTemplate: str + model: str mpn: str multipack: str pattern: str pause: typing_extensions.Literal["PAUSE_UNSPECIFIED", "ADS", "ALL"] + pickupCost: PickupCost pickupMethod: typing_extensions.Literal[ "PICKUP_METHOD_UNSPECIFIED", "NOT_SUPPORTED", "BUY", "RESERVE", "SHIP_TO_STORE" ] @@ -482,10 +578,26 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): sustainabilityIncentives: _list[ProductSustainabilityIncentive] title: str transitTimeLabel: str + trim: str unitPricingBaseMeasure: UnitPricingBaseMeasure unitPricingMeasure: UnitPricingMeasure + vehicleAllInPrice: Price + vehicleExpenses: Price + vehicleMandatoryInspectionIncluded: bool + vehicleMsrp: Price + vehiclePriceType: typing_extensions.Literal[ + "VEHICLE_PRICE_TYPE_UNSPECIFIED", + "ALL_IN_PRICE", + "DRIVE_AWAY_PRICE", + "ESTIMATED_DRIVE_AWAY_PRICE", + "EXCLUDING_GOVERNMENT_CHARGES_PRICE", + "VEHICLE_BASE_PRICE", + ] videoLinks: _list[str] + vin: str virtualModelLink: str + warranty: Warranty + year: str @typing.type_check_only class ProductCertification(typing_extensions.TypedDict, total=False): @@ -564,6 +676,7 @@ class ProductInstallment(typing_extensions.TypedDict, total=False): creditType: typing_extensions.Literal["CREDIT_TYPE_UNSPECIFIED", "FINANCE", "LEASE"] downpayment: Price months: str + totalAmount: Price @typing.type_check_only class ProductMinimumOrderValue(typing_extensions.TypedDict, total=False): @@ -671,3 +784,8 @@ class UnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): class UnitPricingMeasure(typing_extensions.TypedDict, total=False): unit: str value: float + +@typing.type_check_only +class Warranty(typing_extensions.TypedDict, total=False): + duration: str + mileage: Mileage diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index 41837625d..3b1ea8ce1 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -51,6 +51,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "NO_SERVERLESS_IP_RANGES", "IP_VERSION_PROTOCOL_MISMATCH", "GKE_POD_UNKNOWN_ENDPOINT_LOCATION", + "RESPONSE_TOO_LARGE", ] ipAddress: str projectsMissingPermission: _list[str] @@ -290,6 +291,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "HYBRID_SUBNET_NO_ROUTE", "GKE_NETWORK_POLICY", "NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION", + "PRIVATE_CONNECTION_NO_RUNNING_INSTANCE", ] destinationGeolocationCode: str destinationIp: str @@ -715,6 +717,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class PrivateConnectionInfo(typing_extensions.TypedDict, total=False): + uri: str + @typing.type_check_only class ProbingDetails(typing_extensions.TypedDict, total=False): abortCause: typing_extensions.Literal[ @@ -889,9 +895,11 @@ class Step(typing_extensions.TypedDict, total=False): cloudFunction: CloudFunctionInfo cloudRunRevision: CloudRunRevisionInfo cloudSqlInstance: CloudSQLInstanceInfo + datastreamPrivateConnection: PrivateConnectionInfo deliver: DeliverInfo description: str directVpcEgressConnection: DirectVpcEgressConnectionInfo + dmsPrivateConnection: PrivateConnectionInfo drop: DropInfo endpoint: EndpointInfo firewall: FirewallInfo @@ -935,6 +943,8 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_STORAGE_BUCKET", "START_FROM_PSC_PUBLISHED_SERVICE", "START_FROM_SERVERLESS_NEG", + "START_FROM_DMS_PRIVATE_CONNECTION", + "START_FROM_DATASTREAM_PRIVATE_CONNECTION", "APPLY_INGRESS_FIREWALL_RULE", "APPLY_EGRESS_FIREWALL_RULE", "APPLY_ROUTE", diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index f7cb8f26f..d4b1c8761 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -51,6 +51,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "NO_SERVERLESS_IP_RANGES", "IP_VERSION_PROTOCOL_MISMATCH", "GKE_POD_UNKNOWN_ENDPOINT_LOCATION", + "RESPONSE_TOO_LARGE", ] ipAddress: str projectsMissingPermission: _list[str] @@ -290,6 +291,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "HYBRID_SUBNET_NO_ROUTE", "GKE_NETWORK_POLICY", "NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION", + "PRIVATE_CONNECTION_NO_RUNNING_INSTANCE", ] destinationGeolocationCode: str destinationIp: str @@ -717,6 +719,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class PrivateConnectionInfo(typing_extensions.TypedDict, total=False): + uri: str + @typing.type_check_only class ProbingDetails(typing_extensions.TypedDict, total=False): abortCause: typing_extensions.Literal[ @@ -891,9 +897,11 @@ class Step(typing_extensions.TypedDict, total=False): cloudFunction: CloudFunctionInfo cloudRunRevision: CloudRunRevisionInfo cloudSqlInstance: CloudSQLInstanceInfo + datastreamPrivateConnection: PrivateConnectionInfo deliver: DeliverInfo description: str directVpcEgressConnection: DirectVpcEgressConnectionInfo + dmsPrivateConnection: PrivateConnectionInfo drop: DropInfo endpoint: EndpointInfo firewall: FirewallInfo @@ -937,6 +945,8 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_STORAGE_BUCKET", "START_FROM_PSC_PUBLISHED_SERVICE", "START_FROM_SERVERLESS_NEG", + "START_FROM_DMS_PRIVATE_CONNECTION", + "START_FROM_DATASTREAM_PRIVATE_CONNECTION", "APPLY_INGRESS_FIREWALL_RULE", "APPLY_EGRESS_FIREWALL_RULE", "APPLY_ROUTE", diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi index 7856a246e..b8c7cf3c2 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi @@ -652,6 +652,48 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class FirewallEndpointsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: FirewallEndpoint = ..., + firewallEndpointId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FirewallEndpointHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListFirewallEndpointsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFirewallEndpointsResponseHttpRequest, + previous_response: ListFirewallEndpointsResponse, + ) -> ListFirewallEndpointsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: FirewallEndpoint = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaySecurityPoliciesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1104,6 +1146,82 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class SecurityProfileGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SecurityProfileGroup = ..., + securityProfileGroupId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SecurityProfileGroupHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSecurityProfileGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSecurityProfileGroupsResponseHttpRequest, + previous_response: ListSecurityProfileGroupsResponse, + ) -> ListSecurityProfileGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SecurityProfileGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class SecurityProfilesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SecurityProfile = ..., + securityProfileId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SecurityProfileHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSecurityProfilesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSecurityProfilesResponseHttpRequest, + previous_response: ListSecurityProfilesResponse, + ) -> ListSecurityProfilesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SecurityProfile = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ServerTlsPoliciesResource(googleapiclient.discovery.Resource): def create( @@ -1269,6 +1387,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... + def firewallEndpoints(self) -> FirewallEndpointsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... def interceptDeploymentGroups( self, @@ -1287,6 +1406,8 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): ) -> MirroringEndpointGroupAssociationsResource: ... def mirroringEndpointGroups(self) -> MirroringEndpointGroupsResource: ... def operations(self) -> OperationsResource: ... + def securityProfileGroups(self) -> SecurityProfileGroupsResource: ... + def securityProfiles(self) -> SecurityProfilesResource: ... def serverTlsPolicies(self) -> ServerTlsPoliciesResource: ... def tlsInspectionPolicies(self) -> TlsInspectionPoliciesResource: ... def urlLists(self) -> UrlListsResource: ... diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index 84bc6f3e0..00711fcec 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -652,6 +652,48 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class FirewallEndpointsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: FirewallEndpoint = ..., + firewallEndpointId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FirewallEndpointHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListFirewallEndpointsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFirewallEndpointsResponseHttpRequest, + previous_response: ListFirewallEndpointsResponse, + ) -> ListFirewallEndpointsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: FirewallEndpoint = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaySecurityPoliciesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1170,6 +1212,82 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): previous_response: ListSACRealmsResponse, ) -> ListSACRealmsResponseHttpRequest | None: ... + @typing.type_check_only + class SecurityProfileGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SecurityProfileGroup = ..., + securityProfileGroupId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SecurityProfileGroupHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSecurityProfileGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSecurityProfileGroupsResponseHttpRequest, + previous_response: ListSecurityProfileGroupsResponse, + ) -> ListSecurityProfileGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SecurityProfileGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class SecurityProfilesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SecurityProfile = ..., + securityProfileId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SecurityProfileHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListSecurityProfilesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSecurityProfilesResponseHttpRequest, + previous_response: ListSecurityProfilesResponse, + ) -> ListSecurityProfilesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SecurityProfile = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ServerTlsPoliciesResource(googleapiclient.discovery.Resource): def create( @@ -1335,6 +1453,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... + def firewallEndpoints(self) -> FirewallEndpointsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... def interceptDeploymentGroups( self, @@ -1355,6 +1474,8 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def sacAttachments(self) -> SacAttachmentsResource: ... def sacRealms(self) -> SacRealmsResource: ... + def securityProfileGroups(self) -> SecurityProfileGroupsResource: ... + def securityProfiles(self) -> SecurityProfilesResource: ... def serverTlsPolicies(self) -> ServerTlsPoliciesResource: ... def tlsInspectionPolicies(self) -> TlsInspectionPoliciesResource: ... def urlLists(self) -> UrlListsResource: ... diff --git a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi index 5efd78f4a..afe007fbe 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi @@ -275,6 +275,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, body: HttpRoute = ..., httpRouteId: str = ..., + requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -287,6 +288,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., returnPartialSuccess: bool = ..., diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi index a7a9cb860..2aaab664f 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi @@ -242,6 +242,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): parent: str, body: HttpRoute = ..., httpRouteId: str = ..., + requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -254,6 +255,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., returnPartialSuccess: bool = ..., diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index 3839c3ed6..bd8c4fe9c 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -51,6 +51,7 @@ class AgentGatewayNetworkConfigEgress(typing_extensions.TypedDict, total=False): @typing.type_check_only class AgentGatewaySelfManaged(typing_extensions.TypedDict, total=False): resourceUri: str + resourceUris: _list[str] @typing.type_check_only class AuthzExtension(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index 48348c648..b1eafb5ad 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -7,6 +7,7 @@ _list = list @typing.type_check_only class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): findings: _list[Finding] + maxSeverity: str skillName: str @typing.type_check_only @@ -283,16 +284,19 @@ class FileHashes(typing_extensions.TypedDict, total=False): class FileLocation(typing_extensions.TypedDict, total=False): filePath: str layerDetails: LayerDetails + lineNumber: int @typing.type_check_only class Finding(typing_extensions.TypedDict, total=False): category: str - description: str - filePath: str - ruleId: str + location: FindingLocation + scanner: str severity: str - snippet: str - title: str + +@typing.type_check_only +class FindingLocation(typing_extensions.TypedDict, total=False): + filePath: str + lineNumber: str @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index 39b192e97..22f0f2c61 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -7,6 +7,7 @@ _list = list @typing.type_check_only class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): findings: _list[Finding] + maxSeverity: str skillName: str @typing.type_check_only @@ -282,16 +283,19 @@ class FileHashes(typing_extensions.TypedDict, total=False): class FileLocation(typing_extensions.TypedDict, total=False): filePath: str layerDetails: LayerDetails + lineNumber: int @typing.type_check_only class Finding(typing_extensions.TypedDict, total=False): category: str - description: str - filePath: str - ruleId: str + location: FindingLocation + scanner: str severity: str - snippet: str - title: str + +@typing.type_check_only +class FindingLocation(typing_extensions.TypedDict, total=False): + filePath: str + lineNumber: str @typing.type_check_only class Fingerprint(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi index d1d0e4480..4bf54920f 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi @@ -936,6 +936,7 @@ class ListAutonomousDatabaseCharacterSetsResponse( class ListAutonomousDatabasesResponse(typing_extensions.TypedDict, total=False): autonomousDatabases: _list[AutonomousDatabase] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListAutonomousDbVersionsResponse(typing_extensions.TypedDict, total=False): @@ -946,11 +947,13 @@ class ListAutonomousDbVersionsResponse(typing_extensions.TypedDict, total=False) class ListCloudExadataInfrastructuresResponse(typing_extensions.TypedDict, total=False): cloudExadataInfrastructures: _list[CloudExadataInfrastructure] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListCloudVmClustersResponse(typing_extensions.TypedDict, total=False): cloudVmClusters: _list[CloudVmCluster] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListDatabaseCharacterSetsResponse(typing_extensions.TypedDict, total=False): @@ -986,6 +989,7 @@ class ListDbSystemShapesResponse(typing_extensions.TypedDict, total=False): class ListDbSystemsResponse(typing_extensions.TypedDict, total=False): dbSystems: _list[DbSystem] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListDbVersionsResponse(typing_extensions.TypedDict, total=False): @@ -1001,11 +1005,13 @@ class ListEntitlementsResponse(typing_extensions.TypedDict, total=False): class ListExadbVmClustersResponse(typing_extensions.TypedDict, total=False): exadbVmClusters: _list[ExadbVmCluster] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListExascaleDbStorageVaultsResponse(typing_extensions.TypedDict, total=False): exascaleDbStorageVaults: _list[ExascaleDbStorageVault] nextPageToken: str + unreachable: _list[str] @typing.type_check_only class ListGiVersionsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi index 24e2deae0..3c01ca4e8 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi @@ -112,37 +112,6 @@ class OSConfigResource(googleapiclient.discovery.Resource): def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def vulnerabilityReports(self) -> VulnerabilityReportsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: CancelOperationRequest = ..., - **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - def list( - self, - *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... - @typing.type_check_only class OsPolicyAssignmentsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -213,7 +182,6 @@ class OSConfigResource(googleapiclient.discovery.Resource): def global_(self) -> GlobalResource: ... def instances(self) -> InstancesResource: ... - def operations(self) -> OperationsResource: ... def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... @typing.type_check_only @@ -390,14 +358,6 @@ class ListOSPolicyAssignmentsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListOSPolicyAssignmentsResponse: ... -@typing.type_check_only -class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListOperationsResponse: ... - @typing.type_check_only class ListPatchDeploymentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi index b401228f9..8ec6ed3b7 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi @@ -104,42 +104,6 @@ class GcsObject(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooSettings(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class GoogleCloudOsconfigCommonV1__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1main__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False @@ -293,12 +257,6 @@ class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] -@typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - operations: _list[Operation] - unreachable: _list[str] - @typing.type_check_only class ListPatchDeploymentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi index 12049facd..a16f31e61 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi @@ -120,37 +120,6 @@ class OSConfigResource(googleapiclient.discovery.Resource): def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def vulnerabilityReports(self) -> VulnerabilityReportsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: CancelOperationRequest = ..., - **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - def list( - self, - *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... - @typing.type_check_only class OsPolicyAssignmentsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -223,7 +192,6 @@ class OSConfigResource(googleapiclient.discovery.Resource): self, ) -> InstanceOSPoliciesCompliancesResource: ... def instances(self) -> InstancesResource: ... - def operations(self) -> OperationsResource: ... def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def locations(self) -> LocationsResource: ... @@ -312,14 +280,6 @@ class ListOSPolicyAssignmentsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListOSPolicyAssignmentsResponse: ... -@typing.type_check_only -class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListOperationsResponse: ... - @typing.type_check_only class ListVulnerabilityReportsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi index 3f55a3765..443aee33f 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi @@ -62,42 +62,6 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int -@typing.type_check_only -class GoogleCloudOsconfigCommonV1__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1main__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False @@ -290,12 +254,6 @@ class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] -@typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - operations: _list[Operation] - unreachable: _list[str] - @typing.type_check_only class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi index ead0e78e2..5bb1eec21 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi @@ -110,42 +110,6 @@ class GooRepository(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooSettings(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class GoogleCloudOsconfigCommonV1__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1main__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi index 533c3d244..8af4d29ac 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi @@ -15,42 +15,6 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int -@typing.type_check_only -class GoogleCloudOsconfigCommonV1__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1main__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi index 280b41842..17234b06e 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi @@ -15,42 +15,6 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int -@typing.type_check_only -class GoogleCloudOsconfigCommonV1__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - -@typing.type_check_only -class GoogleCloudOsconfigCommonV1main__OperationMetadata( - typing_extensions.TypedDict, total=False -): - apiVersion: str - createTime: str - endTime: str - requestedCancellation: bool - statusMessage: str - target: str - verb: str - @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi index 5abe2e37d..55114f30e 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi @@ -239,6 +239,7 @@ class ResumeSubscriptionRequest(typing_extensions.TypedDict, total=False): "RESUME_MODE_UNSPECIFIED", "RESUME_MODE_CYCLE_OPTIONS", "RESUME_MODE_RESTORE_EXISTING_BILLING_SCHEDULE", + "RESUME_MODE_IMMEDIATE_NEW_CYCLE", ] @typing.type_check_only @@ -375,7 +376,12 @@ class SubscriptionUpgradeDowngradeDetails(typing_extensions.TypedDict, total=Fal previousSubscriptionId: str @typing.type_check_only -class SuspendSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class SuspendSubscriptionRequest(typing_extensions.TypedDict, total=False): + suspendMode: typing_extensions.Literal[ + "SUSPEND_MODE_UNSPECIFIED", + "SUSPEND_MODE_CANCEL_AFTER_GRACE_PERIOD", + "SUSPEND_MODE_CANCEL_AFTER_RETENTION_PERIOD", + ] @typing.type_check_only class SuspendSubscriptionResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi index e4c7020e3..0ed0ebd92 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi @@ -88,6 +88,7 @@ class Certificate(typing_extensions.TypedDict, total=False): pemCertificate: str pemCertificateChain: _list[str] pemCsr: str + requestedNotBeforeTime: str revocationDetails: RevocationDetails subjectMode: typing_extensions.Literal[ "SUBJECT_REQUEST_MODE_UNSPECIFIED", @@ -257,6 +258,7 @@ class IssuanceModes(typing_extensions.TypedDict, total=False): @typing.type_check_only class IssuancePolicy(typing_extensions.TypedDict, total=False): + allowRequesterSpecifiedNotBeforeTime: bool allowedIssuanceModes: IssuanceModes allowedKeyTypes: _list[AllowedKeyType] backdateDuration: str diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index 240e2fa66..b49fcc166 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -545,7 +545,10 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): maintenanceInfo: ResourceMaintenanceInfo modes: _list[ typing_extensions.Literal[ - "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE" + "MODE_UNSPECIFIED", + "MODE_NATIVE", + "MODE_MONGODB_COMPATIBLE", + "MODE_DATASTORE", ] ] primaryResourceId: DatabaseResourceId diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index 15eb6bde5..88548e43a 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -545,7 +545,10 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): maintenanceInfo: ResourceMaintenanceInfo modes: _list[ typing_extensions.Literal[ - "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE" + "MODE_UNSPECIFIED", + "MODE_NATIVE", + "MODE_MONGODB_COMPATIBLE", + "MODE_DATASTORE", ] ] primaryResourceId: DatabaseResourceId diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index 79653aada..334ec4838 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -384,6 +384,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal id: str name: str pullTiming: GoogleDevtoolsCloudbuildV1TimeSpan + results: _list[GoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -403,6 +404,12 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal volumes: _list[GoogleDevtoolsCloudbuildV1Volume] waitFor: _list[str] +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1BuildStepResults( + typing_extensions.TypedDict, total=False +): + results: dict[str, typing.Any] + @typing.type_check_only class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): artifactRegistryPackage: str @@ -564,6 +571,7 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + buildStepResults: dict[str, typing.Any] genericArtifacts: _list[GoogleDevtoolsCloudbuildV1UploadedGenericArtifact] goModules: _list[GoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[GoogleDevtoolsCloudbuildV1BuiltImage] @@ -609,6 +617,12 @@ class GoogleDevtoolsCloudbuildV1SourceProvenance( resolvedStorageSource: GoogleDevtoolsCloudbuildV1StorageSource resolvedStorageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1StepResult(typing_extensions.TypedDict, total=False): + attestationContent: str + attestationType: str + name: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1StorageSource(typing_extensions.TypedDict, total=False): bucket: str diff --git a/googleapiclient-stubs/_apis/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index 60e5af81a..b8da18912 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -49,6 +49,13 @@ class CloudRunResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRunV2InstanceHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -73,6 +80,13 @@ class CloudRunResource(googleapiclient.discovery.Resource): validateOnly: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def start( self, *, @@ -87,6 +101,13 @@ class CloudRunResource(googleapiclient.discovery.Resource): body: GoogleCloudRunV2StopInstanceRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 05bedc2f0..25dfb6a67 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -293,6 +293,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): containers: _list[GoogleCloudRunV2Container] createTime: str creator: str + defaultUriDisabled: bool deleteTime: str description: str encryptionKey: str @@ -1054,6 +1055,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal id: str name: str pullTiming: GoogleDevtoolsCloudbuildV1TimeSpan + results: _list[GoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] status: typing_extensions.Literal[ @@ -1073,6 +1075,12 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal volumes: _list[GoogleDevtoolsCloudbuildV1Volume] waitFor: _list[str] +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1BuildStepResults( + typing_extensions.TypedDict, total=False +): + results: dict[str, typing.Any] + @typing.type_check_only class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): artifactRegistryPackage: str @@ -1234,6 +1242,7 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] buildStepOutputs: _list[str] + buildStepResults: dict[str, typing.Any] genericArtifacts: _list[GoogleDevtoolsCloudbuildV1UploadedGenericArtifact] goModules: _list[GoogleDevtoolsCloudbuildV1UploadedGoModule] images: _list[GoogleDevtoolsCloudbuildV1BuiltImage] @@ -1279,6 +1288,12 @@ class GoogleDevtoolsCloudbuildV1SourceProvenance( resolvedStorageSource: GoogleDevtoolsCloudbuildV1StorageSource resolvedStorageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest +@typing.type_check_only +class GoogleDevtoolsCloudbuildV1StepResult(typing_extensions.TypedDict, total=False): + attestationContent: str + attestationType: str + name: str + @typing.type_check_only class GoogleDevtoolsCloudbuildV1StorageSource(typing_extensions.TypedDict, total=False): bucket: str diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi index d88efede6..1bd4e7ed2 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi @@ -329,6 +329,7 @@ class UnitCondition(typing_extensions.TypedDict, total=False): "TYPE_UPDATING", "TYPE_PROVISIONED", "TYPE_OPERATION_ERROR", + "TYPE_FLAGS_CONFIG_INITIALIZED", ] @typing.type_check_only @@ -407,6 +408,7 @@ class UnitOperationCondition(typing_extensions.TypedDict, total=False): "TYPE_CANCELLED", "TYPE_APP_CREATED", "TYPE_APP_COMPONENTS_REGISTERED", + "TYPE_WORKLOAD_SUCCEEDED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi index 2754e2ec1..61b87ef1b 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -62,15 +62,19 @@ class ErrorBudget(typing_extensions.TypedDict, total=False): @typing.type_check_only class EvaluationRule(typing_extensions.TypedDict, total=False): + allocationId: str condition: str id: str target: str + variantId: str @typing.type_check_only class EvaluationSpec(typing_extensions.TypedDict, total=False): allocations: _list[Allocation] attributes: _list[str] + defaultAllocation: str defaultTarget: str + defaultVariant: str rules: _list[EvaluationRule] variants: _list[Variant] @@ -519,6 +523,7 @@ class UnitCondition(typing_extensions.TypedDict, total=False): "TYPE_UPDATING", "TYPE_PROVISIONED", "TYPE_OPERATION_ERROR", + "TYPE_FLAGS_CONFIG_INITIALIZED", ] @typing.type_check_only @@ -599,6 +604,7 @@ class UnitOperationCondition(typing_extensions.TypedDict, total=False): "TYPE_CANCELLED", "TYPE_APP_CREATED", "TYPE_APP_COMPONENTS_REGISTERED", + "TYPE_WORKLOAD_SUCCEEDED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index 0d9e8bc6c..05bf9f840 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -587,15 +587,23 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExternalExposure(typing_extensions.TypedDict, total=False): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -667,6 +675,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1572,15 +1581,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total class GoogleCloudSecuritycenterV2ExternalExposure( typing_extensions.TypedDict, total=False ): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[GoogleCloudSecuritycenterV2HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -1673,6 +1690,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] @@ -1750,6 +1768,11 @@ class GoogleCloudSecuritycenterV2GroupMembership( "GROUP_TYPE_CHOKEPOINT", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] @@ -2821,6 +2844,11 @@ class GroupResult(typing_extensions.TypedDict, total=False): count: str properties: dict[str, typing.Any] +@typing.type_check_only +class HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index d60d78b86..c5634c718 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -484,15 +484,23 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExternalExposure(typing_extensions.TypedDict, total=False): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -564,6 +572,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1489,15 +1498,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total class GoogleCloudSecuritycenterV2ExternalExposure( typing_extensions.TypedDict, total=False ): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[GoogleCloudSecuritycenterV2HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -1590,6 +1607,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] @@ -1667,6 +1685,11 @@ class GoogleCloudSecuritycenterV2GroupMembership( "GROUP_TYPE_CHOKEPOINT", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] @@ -2735,6 +2758,11 @@ class GroupResult(typing_extensions.TypedDict, total=False): count: str properties: dict[str, typing.Any] +@typing.type_check_only +class HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index aca2cc9d4..97c008b72 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -478,15 +478,23 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExternalExposure(typing_extensions.TypedDict, total=False): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -558,6 +566,7 @@ class Finding(typing_extensions.TypedDict, total=False): "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1455,15 +1464,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total class GoogleCloudSecuritycenterV2ExternalExposure( typing_extensions.TypedDict, total=False ): + backendBucket: str backendService: str + exposedApplication: str exposedEndpoint: str exposedService: str forwardingRule: str + hostnameUri: str + httpResponse: _list[GoogleCloudSecuritycenterV2HttpResponse] instanceGroup: str + internalBackendService: str loadBalancerFirewallPolicy: str networkEndpointGroup: str + networkIngressFirewallPolicy: str privateIpAddress: str privatePort: str + pscNetworkAttachment: str + pscServiceAttachment: str publicIpAddress: str publicPort: str serviceFirewallPolicy: str @@ -1556,6 +1573,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "SENSITIVE_DATA_RISK", "CHOKEPOINT", "EXTERNAL_EXPOSURE", + "SECRET", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] @@ -1633,6 +1651,11 @@ class GoogleCloudSecuritycenterV2GroupMembership( "GROUP_TYPE_CHOKEPOINT", ] +@typing.type_check_only +class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] @@ -2667,6 +2690,11 @@ class GroupMembership(typing_extensions.TypedDict, total=False): "GROUP_TYPE_CHOKEPOINT", ] +@typing.type_check_only +class HttpResponse(typing_extensions.TypedDict, total=False): + path: str + statusCode: str + @typing.type_check_only class IamBinding(typing_extensions.TypedDict, total=False): action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 904772aa7..52c7ab684 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -563,6 +563,7 @@ class Publishing(typing_extensions.TypedDict, total=False): "SHOPPING", "GEO", "GENERATIVE_AI", + "HEALTH", ] protoReferenceDocumentationUri: str restReferenceDocumentationUri: str diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index b6dadadba..414a92195 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -516,6 +516,7 @@ class Publishing(typing_extensions.TypedDict, total=False): "SHOPPING", "GEO", "GENERATIVE_AI", + "HEALTH", ] protoReferenceDocumentationUri: str restReferenceDocumentationUri: str diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi index 7b0b16b78..d2998260d 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi @@ -34,6 +34,7 @@ class Attributes(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuditLog(typing_extensions.TypedDict, total=False): + apiVersionIdentifier: str authenticationInfo: AuthenticationInfo authorizationInfo: _list[AuthorizationInfo] metadata: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi index 4711c831d..dda23eb12 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi @@ -24,6 +24,7 @@ class AttributeContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuditLog(typing_extensions.TypedDict, total=False): + apiVersionIdentifier: str authenticationInfo: AuthenticationInfo authorizationInfo: _list[AuthorizationInfo] metadata: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index 26472c4f7..0124d049d 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -865,6 +865,7 @@ class Publishing(typing_extensions.TypedDict, total=False): "SHOPPING", "GEO", "GENERATIVE_AI", + "HEALTH", ] protoReferenceDocumentationUri: str restReferenceDocumentationUri: str diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index 6260c2409..7f299fe05 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -925,6 +925,7 @@ class Publishing(typing_extensions.TypedDict, total=False): "SHOPPING", "GEO", "GENERATIVE_AI", + "HEALTH", ] protoReferenceDocumentationUri: str restReferenceDocumentationUri: str diff --git a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi index e0b4188e4..df0e29f46 100644 --- a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi @@ -6,7 +6,6 @@ _list = list @typing.type_check_only class GoogleHomeEnterpriseSdmV1Device(typing_extensions.TypedDict, total=False): - ghpName: str name: str parentRelations: _list[GoogleHomeEnterpriseSdmV1ParentRelation] traits: dict[str, typing.Any] @@ -46,7 +45,6 @@ class GoogleHomeEnterpriseSdmV1ListStructuresResponse( @typing.type_check_only class GoogleHomeEnterpriseSdmV1ParentRelation(typing_extensions.TypedDict, total=False): displayName: str - ghpParent: str parent: str @typing.type_check_only @@ -56,6 +54,5 @@ class GoogleHomeEnterpriseSdmV1Room(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleHomeEnterpriseSdmV1Structure(typing_extensions.TypedDict, total=False): - ghpName: str name: str traits: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/solar/v1/resources.pyi b/googleapiclient-stubs/_apis/solar/v1/resources.pyi index 755543809..b1e7833fb 100644 --- a/googleapiclient-stubs/_apis/solar/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/resources.pyi @@ -18,6 +18,14 @@ class SolarResource(googleapiclient.discovery.Resource): def findClosest( self, *, + additionalInsights: typing_extensions.Literal[ + "ADDITIONAL_INSIGHTS_UNSPECIFIED", "DETECTED_ARRAYS" + ] + | _list[ + typing_extensions.Literal[ + "ADDITIONAL_INSIGHTS_UNSPECIFIED", "DETECTED_ARRAYS" + ] + ] = ..., exactQualityRequired: bool = ..., experiments: typing_extensions.Literal[ "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" diff --git a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi index f5b1f416b..f577fdf2c 100644 --- a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi @@ -9,6 +9,7 @@ class BuildingInsights(typing_extensions.TypedDict, total=False): administrativeArea: str boundingBox: LatLngBox center: LatLng + detectedArrays: BuildingInsightsDetectedArrays imageryDate: Date imageryProcessedDate: Date imageryQuality: typing_extensions.Literal[ @@ -20,6 +21,16 @@ class BuildingInsights(typing_extensions.TypedDict, total=False): solarPotential: SolarPotential statisticalArea: str +@typing.type_check_only +class BuildingInsightsDetectedArrays(typing_extensions.TypedDict, total=False): + detectionStatus: typing_extensions.Literal[ + "DETECTION_STATUS_UNSPECIFIED", + "DETECTION_STATUS_DATA_UNAVAILABLE", + "DETECTION_STATUS_ARRAYS_DETECTED", + "DETECTION_STATUS_NO_ARRAYS_DETECTED", + ] + latestCaptureDate: Date + @typing.type_check_only class CashPurchaseSavings(typing_extensions.TypedDict, total=False): outOfPocketCost: Money diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index 6bd76815b..ba9c119f8 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -91,6 +91,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -222,6 +223,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -354,6 +356,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -473,6 +476,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -551,6 +555,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "LEGAL_ISSUE", "OPERATIONAL_ISSUE", "KMS_KEY_ISSUE", + "PROJECT_ABUSE", ] ] switchTransactionLogsToCloudStorageEnabled: bool @@ -712,6 +717,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -1224,6 +1230,7 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index 6bd76815b..f73847534 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -91,6 +91,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -222,6 +223,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -354,6 +356,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -473,6 +476,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -551,6 +555,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "LEGAL_ISSUE", "OPERATIONAL_ISSUE", "KMS_KEY_ISSUE", + "PROJECT_ABUSE", ] ] switchTransactionLogsToCloudStorageEnabled: bool @@ -712,6 +717,7 @@ class Flag(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -1072,6 +1078,9 @@ class Operation(typing_extensions.TypedDict, total=False): "REPAIR_READ_POOL", "CREATE_READ_POOL", "PRE_CHECK_MAJOR_VERSION_UPGRADE", + "CREATE_BLUE_GREEN_DEPLOYMENT", + "SWITCHOVER_BLUE_GREEN_DEPLOYMENT", + "DELETE_BLUE_GREEN_DEPLOYMENT", ] preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str @@ -1224,6 +1233,7 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "POSTGRES_16", "POSTGRES_17", "POSTGRES_18", + "POSTGRES_19", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi index c376b29d9..ee39e4467 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -52,6 +52,7 @@ class Counters(typing_extensions.TypedDict, total=False): objectCustomContextsUpdated: str succeededObjectCount: str totalBytesFound: str + totalBytesTransformed: str totalObjectCount: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi index 5df409098..4e50b0fdd 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi @@ -1243,6 +1243,7 @@ class Media(typing_extensions.TypedDict, total=False): ] sha1Hash: str sha256Hash: str + sha512Hash: str timestamp: str token: str diff --git a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi index f8045ce7d..895c4b937 100644 --- a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi @@ -26,6 +26,10 @@ class CancelTaskRequest(typing_extensions.TypedDict, total=False): class DataPart(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] +@typing.type_check_only +class DriveOptions(typing_extensions.TypedDict, total=False): + includeDescendants: bool + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -121,6 +125,7 @@ class StreamResponse(typing_extensions.TypedDict, total=False): class Subscription(typing_extensions.TypedDict, total=False): authority: str createTime: str + driveOptions: DriveOptions etag: str eventTypes: _list[str] expireTime: str diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index 5d114858a..8042b8076 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -121,6 +121,7 @@ class GcePersistentDisk(typing_extensions.TypedDict, total=False): @typing.type_check_only class GceRegionalPersistentDisk(typing_extensions.TypedDict, total=False): + archiveTimeout: str diskType: str fsType: str reclaimPolicy: typing_extensions.Literal[ @@ -306,8 +307,6 @@ class Workstation(typing_extensions.TypedDict, total=False): "STATE_RUNNING", "STATE_STOPPING", "STATE_STOPPED", - "STATE_SUSPENDING", - "STATE_SUSPENDED", ] uid: str updateTime: str diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi index 25a5f53e0..1e7701a28 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi @@ -125,6 +125,13 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): validateOnly: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def pushCredentials( + self, + *, + workstation: str, + body: PushCredentialsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def setIamPolicy( self, *, diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index 0bd40f28f..c4f94c6ac 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -197,6 +197,13 @@ class ListWorkstationsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] workstations: _list[Workstation] +@typing.type_check_only +class OAuthToken(typing_extensions.TypedDict, total=False): + accessToken: str + email: str + expireTime: str + scopes: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -240,6 +247,10 @@ class PrivateClusterConfig(typing_extensions.TypedDict, total=False): enablePrivateEndpoint: bool serviceAttachmentUri: str +@typing.type_check_only +class PushCredentialsRequest(typing_extensions.TypedDict, total=False): + applicationDefaultCredentials: OAuthToken + @typing.type_check_only class ReadinessCheck(typing_extensions.TypedDict, total=False): path: str @@ -314,8 +325,6 @@ class Workstation(typing_extensions.TypedDict, total=False): "STATE_RUNNING", "STATE_STOPPING", "STATE_STOPPED", - "STATE_SUSPENDING", - "STATE_SUSPENDED", ] uid: str updateTime: str @@ -363,6 +372,7 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): disableTcpConnections: bool displayName: str enableAuditAgent: bool + enablePushingCredentials: bool encryptionKey: CustomerEncryptionKey ephemeralDirectories: _list[EphemeralDirectory] etag: str diff --git a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi index 557070fbb..cbdb36324 100644 --- a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi @@ -120,6 +120,7 @@ class GdataMedia(typing_extensions.TypedDict, total=False): ] sha1Hash: str sha256Hash: str + sha512Hash: str timestamp: str token: str diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index ca97b2406..a4616d448 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -147,6 +147,7 @@ import googleapiclient._apis.cloudiot.v1 import googleapiclient._apis.cloudkms.v1 import googleapiclient._apis.cloudlocationfinder.v1 import googleapiclient._apis.cloudlocationfinder.v1alpha +import googleapiclient._apis.cloudnumberregistry.v1alpha import googleapiclient._apis.cloudprofiler.v2 import googleapiclient._apis.cloudresourcemanager.v1 import googleapiclient._apis.cloudresourcemanager.v1beta1 @@ -3420,6 +3421,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.cloudlocationfinder.v1alpha.CloudLocationFinderResource: ... @overload +def build( + serviceName: Literal["cloudnumberregistry"], + version: Literal["v1alpha"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.cloudnumberregistry.v1alpha.CloudNumberRegistryResource: ... +@overload def build( serviceName: Literal["cloudprofiler"], version: Literal["v2"], diff --git a/pyproject.toml b/pyproject.toml index a97f817c4..3979dfbd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "google-api-python-client-stubs" -version = "1.36.0" +version = "1.37.0" description = "Type stubs for google-api-python-client" authors = [ { name = "Henrik BruÄsdal", email = "henrik.bruasdal@gmail.com" }, @@ -13,7 +13,7 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.195.0", + "google-api-python-client>=2.196.0", "types-httplib2>=0.22.0.2", "typing-extensions>=3.10.0", ] diff --git a/uv.lock b/uv.lock index 9efa6408d..e55f1c798 100644 --- a/uv.lock +++ b/uv.lock @@ -181,7 +181,7 @@ wheels = [ [[package]] name = "google-api-python-client" -version = "2.195.0" +version = "2.196.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-api-core" }, @@ -190,14 +190,14 @@ dependencies = [ { name = "httplib2" }, { name = "uritemplate" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/69/07/08d759b9cb10f48af14b25262dd0d6685ca8cda6c1f9e8a8109f57457205/google_api_python_client-2.195.0.tar.gz", hash = "sha256:c72cf2661c3addf01c880ce60541e83e1df354644b874f7f9d8d5ed2070446ae", size = 14584819, upload-time = "2026-04-30T21:51:50.638Z" } +sdist = { url = "https://files.pythonhosted.org/packages/6d/f3/34ef8aca7909675fe327f96c1ed927f0520e7acf68af19157e96acc05e76/google_api_python_client-2.196.0.tar.gz", hash = "sha256:9f335d38f6caaa2747bcf64335ed1a9a19047d53e86538eda6a1b17d37f1743d", size = 14628129, upload-time = "2026-05-06T23:47:35.655Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/21/b9/2c71095e31fff57668fec7c07ac897df065f15521d070e63229e13689590/google_api_python_client-2.195.0-py3-none-any.whl", hash = "sha256:753e62057f23049a89534bea0162b60fe391b85fb86d80bcdf884d05ec91c5bf", size = 15162418, upload-time = "2026-04-30T21:51:47.444Z" }, + { url = "https://files.pythonhosted.org/packages/99/c7/1817b4edf966d5afcac1c0781ca36d621bc0cb58104c4e7c2a475ab185f7/google_api_python_client-2.196.0-py3-none-any.whl", hash = "sha256:2591e9b47dcb17e4e62a09370aaee3bcf323af8f28ccecdabcd0a42a23ca4db5", size = 15206663, upload-time = "2026-05-06T23:47:32.886Z" }, ] [[package]] name = "google-api-python-client-stubs" -version = "1.36.0" +version = "1.37.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" }, @@ -214,7 +214,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.195.0" }, + { name = "google-api-python-client", specifier = ">=2.196.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, { name = "typing-extensions", specifier = ">=3.10.0" }, ]