From 59fecd9e1feb0b86ce1b294d03d9dff5c5bea0ae Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sun, 19 Jul 2026 02:45:45 +0000 Subject: [PATCH] Update stubs --- .../_apis/accessapproval/v1/schemas.pyi | 1 + .../_apis/accesscontextmanager/v1/schemas.pyi | 28 ++ .../_apis/aiplatform/v1/resources.pyi | 221 +++++++++++ .../_apis/aiplatform/v1/schemas.pyi | 89 +++++ .../_apis/aiplatform/v1beta1/resources.pyi | 178 +++++++++ .../_apis/aiplatform/v1beta1/schemas.pyi | 103 ++++- .../_apis/alertcenter/v1beta1/schemas.pyi | 4 +- .../_apis/alloydb/v1/schemas.pyi | 22 +- .../_apis/alloydb/v1alpha/schemas.pyi | 29 +- .../_apis/alloydb/v1beta/schemas.pyi | 29 +- .../_apis/androidpublisher/v3/resources.pyi | 8 + .../_apis/androidpublisher/v3/schemas.pyi | 26 ++ .../_apis/apigee/v1/schemas.pyi | 9 + .../v1alpha/schemas.pyi | 2 + .../v1beta/schemas.pyi | 2 + .../_apis/bigquery/v2/schemas.pyi | 27 ++ .../_apis/bigquerydatatransfer/v1/schemas.pyi | 1 - .../bigqueryreservation/v1/resources.pyi | 8 + .../_apis/bigqueryreservation/v1/schemas.pyi | 1 + .../_apis/binaryauthorization/v1/schemas.pyi | 1 + .../binaryauthorization/v1beta1/schemas.pyi | 1 + .../_apis/calendar/v3/resources.pyi | 14 + .../_apis/calendar/v3/schemas.pyi | 10 +- .../_apis/certificatemanager/v1/schemas.pyi | 5 + .../_apis/ces/v1/resources.pyi | 39 ++ .../_apis/ces/v1/schemas.pyi | 191 +++++++++- .../_apis/ces/v1beta/resources.pyi | 46 +++ .../_apis/ces/v1beta/schemas.pyi | 245 +++++++++++- .../_apis/chat/v1/resources.pyi | 4 +- .../_apis/chat/v1/schemas.pyi | 18 + .../_apis/cloudbuild/v1/schemas.pyi | 1 + .../_apis/cloudkms/v1/resources.pyi | 30 ++ .../_apis/cloudkms/v1/schemas.pyi | 91 +++++ .../_apis/cloudsupport/v2/resources.pyi | 15 + .../_apis/cloudsupport/v2/schemas.pyi | 8 + .../_apis/cloudsupport/v2beta/resources.pyi | 15 + .../_apis/cloudsupport/v2beta/schemas.pyi | 8 + .../_apis/composer/v1/schemas.pyi | 5 + .../_apis/composer/v1beta1/schemas.pyi | 5 + .../_apis/compute/alpha/resources.pyi | 154 ++++++++ .../_apis/compute/alpha/schemas.pyi | 118 ++++++ .../_apis/compute/beta/resources.pyi | 39 ++ .../_apis/compute/beta/schemas.pyi | 83 ++++- .../_apis/compute/v1/resources.pyi | 81 ++++ .../_apis/compute/v1/schemas.pyi | 49 +++ .../_apis/config/v1/schemas.pyi | 1 + .../_apis/container/v1/resources.pyi | 14 + .../_apis/container/v1/schemas.pyi | 44 +++ .../_apis/container/v1beta1/schemas.pyi | 18 + .../_apis/containeranalysis/v1/schemas.pyi | 2 +- .../containeranalysis/v1alpha1/schemas.pyi | 2 +- .../containeranalysis/v1beta1/schemas.pyi | 2 +- .../_apis/databasecenter/v1beta/schemas.pyi | 6 + .../_apis/datamanager/v1/schemas.pyi | 1 + .../_apis/dataplex/v1/schemas.pyi | 6 + .../_apis/datastore/v1/schemas.pyi | 12 + .../_apis/developerknowledge/v1/schemas.pyi | 1 + .../developerknowledge/v1alpha/schemas.pyi | 1 + .../_apis/dialogflow/v2/schemas.pyi | 12 +- .../_apis/dialogflow/v2beta1/schemas.pyi | 12 +- .../_apis/dialogflow/v3/schemas.pyi | 10 +- .../_apis/dialogflow/v3beta1/schemas.pyi | 10 +- .../_apis/discoveryengine/v1/schemas.pyi | 188 ++++++++++ .../discoveryengine/v1alpha/resources.pyi | 177 +++++++++ .../_apis/discoveryengine/v1alpha/schemas.pyi | 254 +++++++++++++ .../_apis/discoveryengine/v1beta/schemas.pyi | 177 +++++++++ .../_apis/displayvideo/v3/resources.pyi | 77 ---- .../_apis/displayvideo/v3/schemas.pyi | 88 ----- .../_apis/displayvideo/v4/schemas.pyi | 63 +++- .../_apis/firebasecrashlytics/__init__.pyi | 0 .../firebasecrashlytics/v1alpha/__init__.pyi | 2 + .../firebasecrashlytics/v1alpha/resources.pyi | 352 ++++++++++++++++++ .../firebasecrashlytics/v1alpha/schemas.pyi | 297 +++++++++++++++ .../_apis/firestore/v1/resources.pyi | 8 + .../_apis/firestore/v1/schemas.pyi | 16 + .../_apis/firestore/v1beta1/resources.pyi | 8 + .../_apis/firestore/v1beta1/schemas.pyi | 16 + .../_apis/gkebackup/v1/schemas.pyi | 1 + .../_apis/health/v4/resources.pyi | 26 ++ .../_apis/health/v4/schemas.pyi | 12 + .../_apis/kmsinventory/v1/schemas.pyi | 6 + .../_apis/monitoring/v1/schemas.pyi | 2 + .../_apis/netapp/v1/schemas.pyi | 3 + .../_apis/netapp/v1beta1/schemas.pyi | 3 + .../networkconnectivity/v1alpha1/schemas.pyi | 2 +- .../_apis/networkservices/v1/schemas.pyi | 7 - .../_apis/networkservices/v1beta1/schemas.pyi | 7 - .../_apis/ondemandscanning/v1/schemas.pyi | 2 +- .../ondemandscanning/v1beta1/schemas.pyi | 2 +- .../_apis/parametermanager/v1/resources.pyi | 148 ++++++++ .../_apis/parametermanager/v1/schemas.pyi | 44 +++ .../v1alpha1/schemas.pyi | 15 + .../v1beta1/schemas.pyi | 15 + .../_apis/redis/v1/schemas.pyi | 2 + .../_apis/redis/v1beta1/schemas.pyi | 2 + .../_apis/secretmanager/v1/resources.pyi | 24 ++ .../_apis/secretmanager/v1/schemas.pyi | 33 ++ .../_apis/sqladmin/v1/resources.pyi | 4 +- .../_apis/sqladmin/v1/schemas.pyi | 25 ++ .../_apis/sqladmin/v1beta4/resources.pyi | 4 +- .../_apis/sqladmin/v1beta4/schemas.pyi | 26 ++ .../_apis/tagmanager/v2/schemas.pyi | 58 +-- .../_apis/workstations/v1beta/resources.pyi | 7 + .../_apis/workstations/v1beta/schemas.pyi | 9 + .../_apis/youtube/v3/schemas.pyi | 6 + googleapiclient-stubs/discovery.pyi | 37 +- pyproject.toml | 2 +- uv.lock | 14 +- 108 files changed, 4190 insertions(+), 299 deletions(-) create mode 100644 googleapiclient-stubs/_apis/firebasecrashlytics/__init__.pyi create mode 100644 googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/__init__.pyi create mode 100644 googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/resources.pyi create mode 100644 googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/schemas.pyi diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index c900da29a..39815442b 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -172,6 +172,7 @@ class SignatureInfo(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] googlePublicKeyPem: str serializedApprovalRequest: str diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index f216dfd3c..7acbf110e 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -34,6 +34,11 @@ class AccessSettings(typing_extensions.TypedDict, total=False): accessLevels: _list[str] sessionSettings: SessionSettings +@typing.type_check_only +class AddRequestHeader(typing_extensions.TypedDict, total=False): + key: str + value: str + @typing.type_check_only class ApiOperation(typing_extensions.TypedDict, total=False): methodSelectors: _list[MethodSelector] @@ -155,6 +160,7 @@ class EgressPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class EgressSource(typing_extensions.TypedDict, total=False): accessLevel: str + pscEndpoint: PrivateServiceConnectEndpoint resource: str @typing.type_check_only @@ -217,6 +223,7 @@ class IngressPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class IngressSource(typing_extensions.TypedDict, total=False): accessLevel: str + pscEndpoint: PrivateServiceConnectEndpoint resource: str @typing.type_check_only @@ -271,6 +278,10 @@ class MethodSelector(typing_extensions.TypedDict, total=False): method: str permission: str +@typing.type_check_only +class Modifier(typing_extensions.TypedDict, total=False): + addRequestHeader: AddRequestHeader + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -300,6 +311,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class PrivateServiceConnectEndpoint(typing_extensions.TypedDict, total=False): + forwardingRule: str + @typing.type_check_only class ReplaceAccessLevelsRequest(typing_extensions.TypedDict, total=False): accessLevels: _list[AccessLevel] @@ -324,6 +339,12 @@ class ScopedAccessSettings(typing_extensions.TypedDict, total=False): dryRunSettings: AccessSettings scope: AccessScope +@typing.type_check_only +class ServicePattern(typing_extensions.TypedDict, total=False): + modifiers: _list[Modifier] + pattern: str + service: str + @typing.type_check_only class ServicePerimeter(typing_extensions.TypedDict, total=False): description: str @@ -398,8 +419,15 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class VpcAccessibleServices(typing_extensions.TypedDict, total=False): + allowedServicePatterns: _list[ServicePattern] allowedServices: _list[str] enableRestriction: bool + servicePatternsEnforcementScopes: _list[ + typing_extensions.Literal[ + "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", + "GOOGLE_APIS_VIA_PRIVATE_PATH", + ] + ] @typing.type_check_only class VpcNetworkSource(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index b5e016e79..8202ac91c 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -842,6 +842,75 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1UploadRagFileResponseHttpRequest: ... + @typing.type_check_only + class MemoryBanksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -2453,6 +2522,43 @@ class AiplatformResource(googleapiclient.discovery.Resource): GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest | None ): ... + @typing.type_check_only + class EvaluationMetricsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1EvaluationMetric, + evaluationMetricId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluationMetricHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1EvaluationMetricHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationMetricsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEvaluationMetricsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationMetricsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationMetricsResponseHttpRequest + | None + ): ... + @typing.type_check_only class EvaluationRunsResource(googleapiclient.discovery.Resource): def cancel( @@ -3628,6 +3734,88 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleCloudAiplatformV1UpsertDatapointsResponseHttpRequest: ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class MemoryBanksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MemoryHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -6979,6 +7167,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def cancel( self, @@ -7154,6 +7349,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... def endpoints(self) -> EndpointsResource: ... def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationMetrics(self) -> EvaluationMetricsResource: ... def evaluationRuns(self) -> EvaluationRunsResource: ... def evaluationSets(self) -> EvaluationSetsResource: ... def featureGroups(self) -> FeatureGroupsResource: ... @@ -7162,6 +7358,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... def indexEndpoints(self) -> IndexEndpointsResource: ... def indexes(self) -> IndexesResource: ... + def memoryBanks(self) -> MemoryBanksResource: ... def metadataStores(self) -> MetadataStoresResource: ... def migratableResources(self) -> MigratableResourcesResource: ... def modelDeploymentMonitoringJobs( @@ -8167,6 +8364,9 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @@ -8216,6 +8416,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def indexEndpoints(self) -> IndexEndpointsResource: ... def indexes(self) -> IndexesResource: ... def media(self) -> MediaResource: ... + def memoryBanks(self) -> MemoryBanksResource: ... def metadataStores(self) -> MetadataStoresResource: ... def migratableResources(self) -> MigratableResourcesResource: ... def modelDeploymentMonitoringJobs( @@ -8564,6 +8765,16 @@ class GoogleCloudAiplatformV1EvaluationItemHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1EvaluationItem: ... +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationMetricHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1EvaluationMetric: ... + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -8946,6 +9157,16 @@ class GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListEvaluationItemsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationMetricsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListEvaluationMetricsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index 3f27892ba..b1fa965bb 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -301,6 +301,19 @@ class GoogleCloudAiplatformV1AgentConfig(typing_extensions.TypedDict, total=Fals subAgents: _list[str] tools: _list[GoogleCloudAiplatformV1Tool] +@typing.type_check_only +class GoogleCloudAiplatformV1AgentData(typing_extensions.TypedDict, total=False): + agents: dict[str, typing.Any] + turns: _list[GoogleCloudAiplatformV1ConversationTurn] + +@typing.type_check_only +class GoogleCloudAiplatformV1AgentEvent(typing_extensions.TypedDict, total=False): + activeTools: _list[GoogleCloudAiplatformV1Tool] + author: str + content: GoogleCloudAiplatformV1Content + eventTime: str + stateDelta: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1AgentTool(typing_extensions.TypedDict, total=False): headers: dict[str, typing.Any] @@ -1002,6 +1015,7 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) class GoogleCloudAiplatformV1CandidateResponse( typing_extensions.TypedDict, total=False ): + agentData: GoogleCloudAiplatformV1AgentData candidate: str error: GoogleRpcStatus text: str @@ -1011,6 +1025,7 @@ class GoogleCloudAiplatformV1CandidateResponse( class GoogleCloudAiplatformV1CandidateResult(typing_extensions.TypedDict, total=False): additionalResults: typing.Any candidate: str + error: GoogleRpcStatus explanation: str metric: str rubricVerdicts: _list[GoogleCloudAiplatformV1RubricVerdict] @@ -1073,6 +1088,23 @@ class GoogleCloudAiplatformV1ClientConnectionConfig( ): inferenceTimeout: str +@typing.type_check_only +class GoogleCloudAiplatformV1CloudLoggingConfig( + typing_extensions.TypedDict, total=False +): + project: str + resourceLabels: dict[str, typing.Any] + resourceType: str + tracingContext: GoogleCloudAiplatformV1CloudLoggingConfigTracingContext + +@typing.type_check_only +class GoogleCloudAiplatformV1CloudLoggingConfigTracingContext( + typing_extensions.TypedDict, total=False +): + conversationId: str + spanId: str + traceId: str + @typing.type_check_only class GoogleCloudAiplatformV1CodeExecutionResult( typing_extensions.TypedDict, total=False @@ -1212,6 +1244,12 @@ class GoogleCloudAiplatformV1Context(typing_extensions.TypedDict, total=False): schemaVersion: str updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1ConversationTurn(typing_extensions.TypedDict, total=False): + events: _list[GoogleCloudAiplatformV1AgentEvent] + turnId: str + turnIndex: int + @typing.type_check_only class GoogleCloudAiplatformV1CopyModelOperationMetadata( typing_extensions.TypedDict, total=False @@ -2431,6 +2469,17 @@ class GoogleCloudAiplatformV1EvaluationItem(typing_extensions.TypedDict, total=F metadata: typing.Any name: str +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationMetric(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + gcsUri: str + labels: dict[str, typing.Any] + metric: GoogleCloudAiplatformV1Metric + name: str + updateTime: str + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationParserConfig( typing_extensions.TypedDict, total=False @@ -2447,8 +2496,10 @@ class GoogleCloudAiplatformV1EvaluationParserConfigCustomCodeParserConfig( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationPrompt(typing_extensions.TypedDict, total=False): + agentData: GoogleCloudAiplatformV1AgentData promptTemplateData: GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData text: str + userScenario: GoogleCloudAiplatformV1EvaluationPromptUserScenario value: typing.Any @typing.type_check_only @@ -2457,6 +2508,13 @@ class GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData( ): values: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationPromptUserScenario( + typing_extensions.TypedDict, total=False +): + conversationPlan: str + startingPrompt: str + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRequest( typing_extensions.TypedDict, total=False @@ -2530,7 +2588,9 @@ class GoogleCloudAiplatformV1EvaluationRunEvaluationConfig( typing_extensions.TypedDict, total=False ): autoraterConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + cloudLoggingConfig: GoogleCloudAiplatformV1CloudLoggingConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1DatasetCustomMetric] + lossAnalysisConfig: _list[GoogleCloudAiplatformV1LossAnalysisConfig] metrics: _list[GoogleCloudAiplatformV1EvaluationRunMetric] outputConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig promptTemplate: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate @@ -2563,9 +2623,11 @@ class GoogleCloudAiplatformV1EvaluationRunInferenceConfig( typing_extensions.TypedDict, total=False ): agentRunConfig: GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig + agents: dict[str, typing.Any] generationConfig: GoogleCloudAiplatformV1GenerationConfig model: str parallelism: int + promptTemplate: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig( @@ -4629,8 +4691,19 @@ class GoogleCloudAiplatformV1IngestEventsRequest( typing_extensions.TypedDict, total=False ): directContentsSource: GoogleCloudAiplatformV1IngestionDirectContentsSource + disableMemoryRevisions: bool forceFlush: bool generationTriggerConfig: GoogleCloudAiplatformV1MemoryGenerationTriggerConfig + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing_extensions.Literal[ + "METADATA_MERGE_STRATEGY_UNSPECIFIED", + "OVERWRITE", + "MERGE", + "REQUIRE_EXACT_MATCH", + ] + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str scope: dict[str, typing.Any] streamId: str @@ -4844,6 +4917,13 @@ class GoogleCloudAiplatformV1ListEvaluationItemsResponse( evaluationItems: _list[GoogleCloudAiplatformV1EvaluationItem] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationMetricsResponse( + typing_extensions.TypedDict, total=False +): + evaluationMetrics: _list[GoogleCloudAiplatformV1EvaluationMetric] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1ListEvaluationRunsResponse( typing_extensions.TypedDict, total=False @@ -5425,6 +5505,7 @@ class GoogleCloudAiplatformV1MemoryGenerationTriggerConfigGenerationTriggerRule( eventCount: int fixedInterval: str idleDuration: str + overlapEventCount: int @typing.type_check_only class GoogleCloudAiplatformV1MemoryMetadataValue( @@ -8033,6 +8114,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpec( typing_extensions.TypedDict, total=False ): agentFramework: str + buildSpec: GoogleCloudAiplatformV1ReasoningEngineSpecBuildSpec classMethods: _list[dict[str, typing.Any]] containerSpec: GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec deploymentSpec: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec @@ -8044,6 +8126,12 @@ class GoogleCloudAiplatformV1ReasoningEngineSpec( serviceAccount: str sourceCodeSpec: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecBuildSpec( + typing_extensions.TypedDict, total=False +): + workerPool: str + @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec( typing_extensions.TypedDict, total=False @@ -11512,6 +11600,7 @@ class GoogleCloudAiplatformV1ToolParallelAiSearch( apiKey: str customConfigs: dict[str, typing.Any] enableDataRetention: bool + enableZeroDataRetention: bool @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKVMatchInput( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index d5dcd1c8d..d50b1cee4 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -1256,6 +1256,78 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1UploadRagFileResponseHttpRequest: ... + @typing.type_check_only + class MemoryBanksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -4926,6 +4998,88 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GenaiVertexV1beta1DeleteInteractionResponseHttpRequest: ... + @typing.type_check_only + class MemoryBanksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -9459,9 +9613,22 @@ class AiplatformResource(googleapiclient.discovery.Resource): class TuningJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, + *, + name: str, + timeout: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def cancel( self, @@ -9699,6 +9866,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def indexEndpoints(self) -> IndexEndpointsResource: ... def indexes(self) -> IndexesResource: ... def interactions(self) -> InteractionsResource: ... + def memoryBanks(self) -> MemoryBanksResource: ... def metadataStores(self) -> MetadataStoresResource: ... def migratableResources(self) -> MigratableResourcesResource: ... def modelDeploymentMonitoringJobs( @@ -11444,9 +11612,18 @@ class AiplatformResource(googleapiclient.discovery.Resource): class TuningJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str | None = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @@ -11529,6 +11706,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def indexes(self) -> IndexesResource: ... def interactions(self) -> InteractionsResource: ... def media(self) -> MediaResource: ... + def memoryBanks(self) -> MemoryBanksResource: ... def metadataStores(self) -> MetadataStoresResource: ... def migratableResources(self) -> MigratableResourcesResource: ... def modelDeploymentMonitoringJobs( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index b10c2f265..4246fa46f 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -345,6 +345,18 @@ class GenaiVertexV1beta1CodeExecutionResultStep( @typing.type_check_only class GenaiVertexV1beta1ComputerUse(typing_extensions.TypedDict, total=False): + disabledSafetyPolicies: _list[ + typing_extensions.Literal[ + "SAFETY_POLICY_UNSPECIFIED", + "FINANCIAL_TRANSACTIONS", + "SENSITIVE_DATA_MODIFICATION", + "COMMUNICATION_TOOL", + "ACCOUNT_CREATION", + "DATA_MODIFICATION", + "USER_CONSENT_MANAGEMENT", + "LEGAL_TERMS_AND_AGREEMENTS", + ] + ] enablePromptInjectionDetection: bool environment: typing_extensions.Literal[ "ENVIRONMENT_UNSPECIFIED", "BROWSER", "MOBILE", "DESKTOP" @@ -623,6 +635,7 @@ class GenaiVertexV1beta1GenerationConfig(typing_extensions.TypedDict, total=Fals "TOOL_CHOICE_TYPE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" ] topP: float + videoConfig: GenaiVertexV1beta1VideoConfig @typing.type_check_only class GenaiVertexV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): @@ -1064,6 +1077,7 @@ class GenaiVertexV1beta1ModelInteraction(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GenaiVertexV1beta1ModelOutputStep(typing_extensions.TypedDict, total=False): content: _list[GenaiVertexV1beta1Content] + error: GoogleRpcStatus @typing.type_check_only class GenaiVertexV1beta1ParallelAISearchConfig( @@ -1134,6 +1148,7 @@ class GenaiVertexV1beta1ResponseFormat(typing_extensions.TypedDict, total=False) image: GenaiVertexV1beta1ImageResponseFormat structValue: GenaiVertexV1beta1Struct text: GenaiVertexV1beta1TextResponseFormat + video: GenaiVertexV1beta1VideoResponseFormat @typing.type_check_only class GenaiVertexV1beta1ResponseFormatList(typing_extensions.TypedDict, total=False): @@ -1227,6 +1242,8 @@ class GenaiVertexV1beta1StepStart(typing_extensions.TypedDict, total=False): @typing.type_check_only class GenaiVertexV1beta1StepStop(typing_extensions.TypedDict, total=False): index: int + stepUsage: GenaiVertexV1beta1InteractionUsage + usage: GenaiVertexV1beta1InteractionUsage @typing.type_check_only class GenaiVertexV1beta1StreamMetadata(typing_extensions.TypedDict, total=False): @@ -1460,6 +1477,7 @@ class GenaiVertexV1beta1UserInputStep(typing_extensions.TypedDict, total=False): @typing.type_check_only class GenaiVertexV1beta1Value(typing_extensions.TypedDict, total=False): boolValue: bool + contentValue: GenaiVertexV1beta1Content listValue: GenaiVertexV1beta1ListValue nullValue: typing_extensions.Literal["NULL_VALUE"] numberValue: float @@ -1471,6 +1489,16 @@ class GenaiVertexV1beta1VertexAISearchConfig(typing_extensions.TypedDict, total= datastores: _list[str] engine: str +@typing.type_check_only +class GenaiVertexV1beta1VideoConfig(typing_extensions.TypedDict, total=False): + task: typing_extensions.Literal[ + "TASK_UNSPECIFIED", + "TEXT_TO_VIDEO", + "IMAGE_TO_VIDEO", + "REFERENCE_TO_VIDEO", + "EDIT", + ] + @typing.type_check_only class GenaiVertexV1beta1VideoContent(typing_extensions.TypedDict, total=False): data: str @@ -1511,6 +1539,17 @@ class GenaiVertexV1beta1VideoDelta(typing_extensions.TypedDict, total=False): ] uri: str +@typing.type_check_only +class GenaiVertexV1beta1VideoResponseFormat(typing_extensions.TypedDict, total=False): + aspectRatio: typing_extensions.Literal[ + "ASPECT_RATIO_UNSPECIFIED", + "ASPECT_RATIO_SIXTEEN_BY_NINE", + "ASPECT_RATIO_NINE_BY_SIXTEEN", + ] + delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + duration: str + gcsUri: str + @typing.type_check_only class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): contentType: str @@ -2602,6 +2641,7 @@ class GoogleCloudAiplatformV1beta1CandidateResult( ): additionalResults: typing.Any candidate: str + error: GoogleRpcStatus explanation: str metric: str rubricVerdicts: _list[GoogleCloudAiplatformV1beta1RubricVerdict] @@ -2680,6 +2720,23 @@ class GoogleCloudAiplatformV1beta1ClientConnectionConfig( ): inferenceTimeout: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CloudLoggingConfig( + typing_extensions.TypedDict, total=False +): + project: str + resourceLabels: dict[str, typing.Any] + resourceType: str + tracingContext: GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext( + typing_extensions.TypedDict, total=False +): + conversationId: str + spanId: str + traceId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1CodeExecutionResult( typing_extensions.TypedDict, total=False @@ -3924,6 +3981,7 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig ) privateServiceConnectConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig + publisherModelConfig: GoogleCloudAiplatformV1beta1PublisherModelConfig satisfiesPzi: bool satisfiesPzs: bool trafficSplit: dict[str, typing.Any] @@ -4430,6 +4488,7 @@ class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig( autoraterConfig: ( GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig ) + cloudLoggingConfig: GoogleCloudAiplatformV1beta1CloudLoggingConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1beta1DatasetCustomMetric] lossAnalysisConfig: _list[GoogleCloudAiplatformV1beta1LossAnalysisConfig] metrics: _list[GoogleCloudAiplatformV1beta1EvaluationRunMetric] @@ -4475,6 +4534,9 @@ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig( generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig model: str parallelism: int + promptTemplate: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig( @@ -7048,13 +7110,30 @@ class GoogleCloudAiplatformV1beta1IndexStats(typing_extensions.TypedDict, total= sparseVectorsCount: str vectorsCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1InferenceEventLoggingConfig( + typing_extensions.TypedDict, total=False +): + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + @typing.type_check_only class GoogleCloudAiplatformV1beta1IngestEventsRequest( typing_extensions.TypedDict, total=False ): directContentsSource: GoogleCloudAiplatformV1beta1IngestionDirectContentsSource + disableMemoryRevisions: bool forceFlush: bool generationTriggerConfig: GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing_extensions.Literal[ + "METADATA_MERGE_STRATEGY_UNSPECIFIED", + "OVERWRITE", + "MERGE", + "REQUIRE_EXACT_MATCH", + ] + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str scope: dict[str, typing.Any] streamId: str @@ -8067,6 +8146,7 @@ class GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfigGenerationTrigger eventCount: int fixedInterval: str idleDuration: str + overlapEventCount: int @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryMetadataValue( @@ -9126,9 +9206,7 @@ class GoogleCloudAiplatformV1beta1MonitoredAgent( agentResource: GoogleCloudAiplatformV1beta1AgentResource createTime: str displayName: str - logBuckets: _list[str] name: str - observabilityBuckets: _list[str] state: typing_extensions.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ACTIVE", "ENABLING", "DISABLED" ] @@ -10404,6 +10482,8 @@ class GoogleCloudAiplatformV1beta1ProcessDataRequest( ): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination gcsSource: GoogleCloudAiplatformV1beta1GcsSource + inputBucketProjectNumber: str + outputBucketProjectNumber: str veoSpec: GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec @typing.type_check_only @@ -10574,11 +10654,22 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionViewRestApi( class GoogleCloudAiplatformV1beta1PublisherModelConfig( typing_extensions.TypedDict, total=False ): + claudeFeatureConfig: ( + GoogleCloudAiplatformV1beta1PublisherModelConfigClaudeFeatureConfig + ) dataSharingEnabledProvider: typing_extensions.Literal[ "MODEL_PROVIDER_UNSPECIFIED", "ANTHROPIC" ] + inferenceEventLoggingConfig: GoogleCloudAiplatformV1beta1InferenceEventLoggingConfig loggingConfig: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelConfigClaudeFeatureConfig( + typing_extensions.TypedDict, total=False +): + advancedAiEnabled: bool + cyberVerificationProgramEnabled: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelDocumentation( typing_extensions.TypedDict, total=False @@ -11469,6 +11560,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( ): agentCard: dict[str, typing.Any] agentFramework: str + buildSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecBuildSpec classMethods: _list[dict[str, typing.Any]] containerSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec deploymentSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec @@ -11480,6 +11572,12 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( serviceAccount: str sourceCodeSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecBuildSpec( + typing_extensions.TypedDict, total=False +): + workerPool: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec( typing_extensions.TypedDict, total=False @@ -15757,6 +15855,7 @@ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch( apiKey: str customConfigs: dict[str, typing.Any] enableDataRetention: bool + enableZeroDataRetention: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput( diff --git a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi index 0a4eb5c68..872c3cfa8 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi @@ -425,7 +425,9 @@ class RuleInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class RuleViolationInfo(typing_extensions.TypedDict, total=False): - agentType: typing_extensions.Literal["AGENT_TYPE_UNSPECIFIED", "STUDIO"] + agentType: typing_extensions.Literal[ + "AGENT_TYPE_UNSPECIFIED", "STUDIO", "WORK_AGENT" + ] dataSource: typing_extensions.Literal[ "DATA_SOURCE_UNSPECIFIED", "DRIVE", "GMAIL", "CHROME", "CHAT" ] diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index 0b746b738..57977729e 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -219,9 +219,21 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): @@ -986,6 +998,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -1074,6 +1089,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1217,6 +1234,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -1448,7 +1468,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", - "ENGINE_MEMORSTORE_FOR_VALKEY", + "ENGINE_MEMORYSTORE_FOR_VALKEY", "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 0659fa35e..9cfa5d9f1 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -233,9 +233,21 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): @@ -1068,6 +1080,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -1156,6 +1171,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1299,6 +1316,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -1530,7 +1550,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", - "ENGINE_MEMORSTORE_FOR_VALKEY", + "ENGINE_MEMORYSTORE_FOR_VALKEY", "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", @@ -1687,7 +1707,12 @@ class User(typing_extensions.TypedDict, total=False): name: str password: str userType: typing_extensions.Literal[ - "USER_TYPE_UNSPECIFIED", "ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER" + "USER_TYPE_UNSPECIFIED", + "ALLOYDB_BUILT_IN", + "ALLOYDB_IAM_USER", + "ALLOYDB_IAM_GROUP", + "ALLOYDB_IAM_GROUP_USER", + "ALLOYDB_IAM_GROUP_SERVICE_ACCOUNT", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 27f7f6b4f..83901bccd 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -228,9 +228,21 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing_extensions.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): @@ -1062,6 +1074,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -1150,6 +1165,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1293,6 +1310,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_EXTENDED_SUPPORT", "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", + "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", + "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -1524,7 +1544,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", "ENGINE_MEMORYSTORE_FOR_REDIS", "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", - "ENGINE_MEMORSTORE_FOR_VALKEY", + "ENGINE_MEMORYSTORE_FOR_VALKEY", "ENGINE_OTHER", "ENGINE_FIRESTORE_WITH_NATIVE_MODE", "ENGINE_FIRESTORE_WITH_DATASTORE_MODE", @@ -1681,7 +1701,12 @@ class User(typing_extensions.TypedDict, total=False): name: str password: str userType: typing_extensions.Literal[ - "USER_TYPE_UNSPECIFIED", "ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER" + "USER_TYPE_UNSPECIFIED", + "ALLOYDB_BUILT_IN", + "ALLOYDB_IAM_USER", + "ALLOYDB_IAM_GROUP", + "ALLOYDB_IAM_GROUP_USER", + "ALLOYDB_IAM_GROUP_SERVICE_ACCOUNT", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi index 43f1ec64b..97c6d7067 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi @@ -1057,6 +1057,14 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): revoke: bool | None = ..., **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... + def reviewrefund( + self, + *, + packageName: str, + orderId: str, + body: OrdersReviewRefundRequest, + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... @typing.type_check_only class PurchasesResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index 0065dc011..8bb2a6efb 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -426,11 +426,27 @@ class CancellationContext(typing_extensions.TypedDict, total=False): class CancellationEvent(typing_extensions.TypedDict, total=False): eventTime: str +@typing.type_check_only +class CoarseLocation(typing_extensions.TypedDict, total=False): + administrativeArea: str + locality: str + regionCode: str + sublocality: str + @typing.type_check_only class Comment(typing_extensions.TypedDict, total=False): developerComment: DeveloperComment userComment: UserComment +@typing.type_check_only +class ConsumptionUsageEvent(typing_extensions.TypedDict, total=False): + consumptionItemDescription: str + consumptionTime: str + ipAddress: str + location: CoarseLocation + obfuscatedAccountId: str + obfuscatedProfileId: str + @typing.type_check_only class ConvertRegionPricesRequest(typing_extensions.TypedDict, total=False): price: Money @@ -1349,6 +1365,16 @@ class OrderHistory(typing_extensions.TypedDict, total=False): processedEvent: ProcessedEvent refundEvent: RefundEvent +@typing.type_check_only +class OrdersReviewRefundRequest(typing_extensions.TypedDict, total=False): + consumptionPercentageMilliunits: int + consumptionUsageEvents: _list[ConsumptionUsageEvent] + pendingRefundToken: str + refundPreference: typing_extensions.Literal[ + "REFUND_PREFERENCE_UNSPECIFIED", "DECLINE", "APPROVE", "NEUTRAL" + ] + sampleContentProvided: bool + @typing.type_check_only class OtherRecurringProduct(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index 7ca4538dd..f27ce980d 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -2168,6 +2168,9 @@ class GoogleCloudApigeeV1RuntimeTraceConfig(typing_extensions.TypedDict, total=F revisionCreateTime: str revisionId: str samplingConfig: GoogleCloudApigeeV1RuntimeTraceSamplingConfig + spanSemantics: typing_extensions.Literal[ + "SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL" + ] traceProtocol: typing_extensions.Literal[ "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" ] @@ -2182,6 +2185,9 @@ class GoogleCloudApigeeV1RuntimeTraceConfigOverride( revisionCreateTime: str revisionId: str samplingConfig: GoogleCloudApigeeV1RuntimeTraceSamplingConfig + spanSemantics: typing_extensions.Literal[ + "SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL" + ] traceProtocol: typing_extensions.Literal[ "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" ] @@ -2777,6 +2783,9 @@ class GoogleCloudApigeeV1TraceConfig(typing_extensions.TypedDict, total=False): "OPEN_TELEMETRY_CLOUD_TRACE", ] samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig + spanSemantics: typing_extensions.Literal[ + "SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL" + ] traceProtocol: typing_extensions.Literal[ "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" ] diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi index 3ee6caff6..d40c35aa5 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi @@ -131,6 +131,7 @@ class CuratedPackage(typing_extensions.TypedDict, total=False): displayName: str feeCpm: Money floorPriceCpm: Money + millipercentOfMediaFee: str name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] targeting: PackageTargeting @@ -140,6 +141,7 @@ class CuratedPackage(typing_extensions.TypedDict, total=False): class DataSegment(typing_extensions.TypedDict, total=False): cpmFee: Money createTime: str + millipercentOfMediaFee: str name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi index c4580c524..b98f049f8 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi @@ -35,6 +35,7 @@ class CuratedPackage(typing_extensions.TypedDict, total=False): displayName: str feeCpm: Money floorPriceCpm: Money + millipercentOfMediaFee: str name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] targeting: PackageTargeting @@ -44,6 +45,7 @@ class CuratedPackage(typing_extensions.TypedDict, total=False): class DataSegment(typing_extensions.TypedDict, total=False): cpmFee: Money createTime: str + millipercentOfMediaFee: str name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index 99d5e2591..f95e0ede0 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -130,6 +130,26 @@ class ArimaSingleModelForecastingMetrics(typing_extensions.TypedDict, total=Fals timeSeriesId: str timeSeriesIds: _list[str] +@typing.type_check_only +class ArrowRecordBatch(typing_extensions.TypedDict, total=False): + serializedRecordBatch: str + +@typing.type_check_only +class ArrowSchema(typing_extensions.TypedDict, total=False): + serializedSchema: str + +@typing.type_check_only +class ArrowSerializationOptions(typing_extensions.TypedDict, total=False): + bufferCompression: typing_extensions.Literal[ + "COMPRESSION_UNSPECIFIED", "LZ4_FRAME", "ZSTD" + ] + picosTimestampPrecision: typing_extensions.Literal[ + "PICOS_TIMESTAMP_PRECISION_UNSPECIFIED", + "TIMESTAMP_PRECISION_MICROS", + "TIMESTAMP_PRECISION_NANOS", + "TIMESTAMP_PRECISION_PICOS", + ] + @typing.type_check_only class AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] @@ -1445,6 +1465,7 @@ class QueryParameterValue(typing_extensions.TypedDict, total=False): @typing.type_check_only class QueryRequest(typing_extensions.TypedDict, total=False): + arrowSerializationOptions: ArrowSerializationOptions connectionProperties: _list[ConnectionProperty] continuous: bool createSession: bool @@ -1468,6 +1489,9 @@ class QueryRequest(typing_extensions.TypedDict, total=False): preserveNulls: bool query: str queryParameters: _list[QueryParameter] + queryResultsFormat: typing_extensions.Literal[ + "QUERY_RESULTS_FORMAT_UNSPECIFIED", "STRUCT_ENCODING", "ARROW" + ] requestId: str reservation: str timeoutMs: int @@ -1477,6 +1501,8 @@ class QueryRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class QueryResponse(typing_extensions.TypedDict, total=False): + arrowRecordBatch: ArrowRecordBatch + arrowSchema: ArrowSchema cacheHit: bool creationTime: str dmlStats: DmlStatistics @@ -1488,6 +1514,7 @@ class QueryResponse(typing_extensions.TypedDict, total=False): kind: str location: str numDmlAffectedRows: str + pageRowCount: str pageToken: str queryId: str rows: _list[TableRow] diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi index 99bd0bd28..9232cea4f 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi @@ -281,7 +281,6 @@ class TransferRun(typing_extensions.TypedDict, total=False): emailPreferences: EmailPreferences endTime: str errorStatus: Status - metadataDestination: MetadataDestination name: str notificationPubsubTopic: str params: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi index 4759619a2..698d9b217 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi @@ -99,6 +99,14 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource): previous_request: ListReservationGroupsResponseHttpRequest, previous_response: ListReservationGroupsResponse, ) -> ListReservationGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ReservationGroup, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> ReservationGroupHttpRequest: ... @typing.type_check_only class ReservationsResource(googleapiclient.discovery.Resource): diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi index c0658de75..e7be51da9 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi @@ -178,6 +178,7 @@ class Reservation(typing_extensions.TypedDict, total=False): @typing.type_check_only class ReservationGroup(typing_extensions.TypedDict, total=False): name: str + parentGroup: str @typing.type_check_only class SchedulingPolicy(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi index c94693350..177860dbc 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi @@ -198,6 +198,7 @@ class PkixPublicKey(typing_extensions.TypedDict, total=False): "EC_SIGN_P384_SHA384", "ECDSA_P521_SHA512", "EC_SIGN_P521_SHA512", + "ML_DSA_65", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi index aa2ca6ad2..6f8dc2c6d 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi @@ -98,6 +98,7 @@ class PkixPublicKey(typing_extensions.TypedDict, total=False): "EC_SIGN_P384_SHA384", "ECDSA_P521_SHA512", "EC_SIGN_P521_SHA512", + "ML_DSA_65", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi index b375c52f8..451fcf483 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi @@ -102,6 +102,7 @@ class CalendarResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., showDeleted: bool | None = ..., showHidden: bool | None = ..., + showOwnOrganizationOnly: bool | None = ..., syncToken: str | None = ..., **kwargs: typing.Any, ) -> CalendarListHttpRequest: ... @@ -142,6 +143,7 @@ class CalendarResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., showDeleted: bool | None = ..., showHidden: bool | None = ..., + showOwnOrganizationOnly: bool | None = ..., syncToken: str | None = ..., **kwargs: typing.Any, ) -> ChannelHttpRequest: ... @@ -163,6 +165,14 @@ class CalendarResource(googleapiclient.discovery.Resource): def patch( self, *, calendarId: str, body: Calendar, **kwargs: typing.Any ) -> CalendarHttpRequest: ... + def transferOwnership( + self, + *, + calendarId: str, + newDataOwner: str, + useAdminAccess: bool, + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... def update( self, *, calendarId: str, body: Calendar, **kwargs: typing.Any ) -> CalendarHttpRequest: ... @@ -205,6 +215,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, body: Event, conferenceDataVersion: int | None = ..., + eventLabelVersion: int | None = ..., supportsAttachments: bool | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... @@ -214,6 +225,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, body: Event, conferenceDataVersion: int | None = ..., + eventLabelVersion: int | None = ..., maxAttendees: int | None = ..., sendNotifications: bool | None = ..., sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] @@ -304,6 +316,7 @@ class CalendarResource(googleapiclient.discovery.Resource): body: Event, alwaysIncludeEmail: bool | None = ..., conferenceDataVersion: int | None = ..., + eventLabelVersion: int | None = ..., maxAttendees: int | None = ..., sendNotifications: bool | None = ..., sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] @@ -329,6 +342,7 @@ class CalendarResource(googleapiclient.discovery.Resource): body: Event, alwaysIncludeEmail: bool | None = ..., conferenceDataVersion: int | None = ..., + eventLabelVersion: int | None = ..., maxAttendees: int | None = ..., sendNotifications: bool | None = ..., sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] diff --git a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi index 34aaf2569..443bd1ecb 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi @@ -29,6 +29,7 @@ class Calendar(typing_extensions.TypedDict, total=False): etag: str id: str kind: str + labelProperties: LabelProperties location: str summary: str timeZone: str @@ -170,6 +171,7 @@ class Event(typing_extensions.TypedDict, total=False): end: EventDateTime endTimeUnspecified: bool etag: str + eventLabelId: str eventType: str extendedProperties: dict[str, typing.Any] focusTimeProperties: EventFocusTimeProperties @@ -242,7 +244,10 @@ class EventFocusTimeProperties(typing_extensions.TypedDict, total=False): declineMessage: str @typing.type_check_only -class EventLabel(dict[str, typing.Any]): ... +class EventLabel(typing_extensions.TypedDict, total=False): + backgroundColor: str + id: str + name: str @typing.type_check_only class EventOutOfOfficeProperties(typing_extensions.TypedDict, total=False): @@ -307,7 +312,8 @@ class FreeBusyResponse(typing_extensions.TypedDict, total=False): timeMin: str @typing.type_check_only -class LabelProperties(dict[str, typing.Any]): ... +class LabelProperties(typing_extensions.TypedDict, total=False): + eventLabels: _list[EventLabel] @typing.type_check_only class Setting(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi index 2e7e83220..e95293520 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi @@ -45,6 +45,7 @@ class Certificate(typing_extensions.TypedDict, total=False): "DEFAULT", "EDGE_CACHE", "ALL_REGIONS", "CLIENT_AUTH" ] selfManaged: SelfManagedCertificate + tags: dict[str, typing.Any] updateTime: str usedBy: _list[UsedBy] @@ -68,6 +69,7 @@ class CertificateIssuanceConfig(typing_extensions.TypedDict, total=False): lifetime: str name: str rotationWindowPercentage: int + tags: dict[str, typing.Any] updateTime: str @typing.type_check_only @@ -77,6 +79,7 @@ class CertificateMap(typing_extensions.TypedDict, total=False): gclbTargets: _list[GclbTarget] labels: dict[str, typing.Any] name: str + tags: dict[str, typing.Any] updateTime: str @typing.type_check_only @@ -99,6 +102,7 @@ class DnsAuthorization(typing_extensions.TypedDict, total=False): domain: str labels: dict[str, typing.Any] name: str + tags: dict[str, typing.Any] type: typing_extensions.Literal[ "TYPE_UNSPECIFIED", "FIXED_RECORD", "PER_PROJECT_RECORD" ] @@ -272,6 +276,7 @@ class TrustConfig(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str spiffeTrustStores: dict[str, typing.Any] + tags: dict[str, typing.Any] trustStores: _list[TrustStore] updateTime: str diff --git a/googleapiclient-stubs/_apis/ces/v1/resources.pyi b/googleapiclient-stubs/_apis/ces/v1/resources.pyi index d269a879e..41c53bfdc 100644 --- a/googleapiclient-stubs/_apis/ces/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/resources.pyi @@ -164,6 +164,16 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeploymentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + tenant: str, + body: LfA2aV1SendMessageRequest, + **kwargs: typing.Any, + ) -> LfA2aV1SendMessageResponseHttpRequest: ... + def create( self, *, @@ -178,6 +188,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> DeploymentHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def list( self, *, @@ -200,6 +213,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> DeploymentHttpRequest: ... + def message(self) -> MessageResource: ... @typing.type_check_only class ExamplesResource(googleapiclient.discovery.Resource): @@ -419,6 +433,16 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): @typing.type_check_only class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + tenant: str, + body: LfA2aV1SendMessageRequest, + **kwargs: typing.Any, + ) -> LfA2aV1SendMessageResponseHttpRequest: ... + def create( self, *, @@ -433,6 +457,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> AppVersionHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def list( self, *, @@ -455,6 +482,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): body: RestoreAppVersionRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def message(self) -> MessageResource: ... def create( self, @@ -474,6 +502,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): self, *, name: str, body: ExportAppRequest, **kwargs: typing.Any ) -> OperationHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AppHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def importApp( self, *, parent: str, body: ImportAppRequest, **kwargs: typing.Any ) -> OperationHttpRequest: ... @@ -675,6 +706,14 @@ class GuardrailHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Guardrail: ... +@typing.type_check_only +class LfA2aV1AgentCardHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfA2aV1AgentCard: ... + @typing.type_check_only class LfA2aV1SendMessageResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi index a3c1bbd47..24645fc65 100644 --- a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi @@ -92,7 +92,6 @@ class AgentTool(typing_extensions.TypedDict, total=False): agent: str description: str name: str - rootAgent: str @typing.type_check_only class AgentTransfer(typing_extensions.TypedDict, total=False): @@ -255,15 +254,27 @@ class ChannelProfile(typing_extensions.TypedDict, total=False): "TWILIO", "GOOGLE_TELEPHONY_PLATFORM", "CONTACT_CENTER_AS_A_SERVICE", + "CONTACT_CENTER_AS_A_SERVICE_CHAT", "FIVE9", "CONTACT_CENTER_INTEGRATION", + "WHATSAPP", + "INSTAGRAM", ] disableBargeInControl: bool disableDtmf: bool + instagramConfig: ChannelProfileInstagramConfig noiseSuppressionLevel: str personaProperty: ChannelProfilePersonaProperty profileId: str webWidgetConfig: ChannelProfileWebWidgetConfig + whatsappConfig: ChannelProfileWhatsAppConfig + +@typing.type_check_only +class ChannelProfileInstagramConfig(typing_extensions.TypedDict, total=False): + description: str + displayName: str + instagramAccountId: str + thumbnailUrl: str @typing.type_check_only class ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): @@ -291,6 +302,15 @@ class ChannelProfileWebWidgetConfigSecuritySettings( enablePublicAccess: bool enableRecaptcha: bool +@typing.type_check_only +class ChannelProfileWhatsAppConfig(typing_extensions.TypedDict, total=False): + description: str + displayName: str + phoneNumber: str + phoneNumberId: str + thumbnailUrl: str + wabaId: str + @typing.type_check_only class Chunk(typing_extensions.TypedDict, total=False): agentTransfer: AgentTransfer @@ -310,6 +330,7 @@ class Citations(typing_extensions.TypedDict, total=False): @typing.type_check_only class CitationsCitedChunk(typing_extensions.TypedDict, total=False): + requiresAttribution: bool text: str title: str uri: str @@ -516,8 +537,10 @@ class Deployment(typing_extensions.TypedDict, total=False): displayName: str etag: str experimentConfig: ExperimentConfig + instagramCredentials: InstagramCredentials name: str updateTime: str + whatsappCredentials: WhatsAppCredentials @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -644,6 +667,8 @@ class ExecuteToolRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecuteToolResponse(typing_extensions.TypedDict, total=False): + citations: Citations + googleSearchSuggestions: GoogleSearchSuggestions response: dict[str, typing.Any] tool: str toolsetTool: ToolsetTool @@ -839,6 +864,11 @@ class InputAudioConfig(typing_extensions.TypedDict, total=False): noiseSuppressionLevel: str sampleRateHertz: int +@typing.type_check_only +class InstagramCredentials(typing_extensions.TypedDict, total=False): + authCode: str + conversationProfileId: str + @typing.type_check_only class LanguageSettings(typing_extensions.TypedDict, total=False): defaultLanguageCode: str @@ -846,6 +876,72 @@ class LanguageSettings(typing_extensions.TypedDict, total=False): fallbackAction: str supportedLanguageCodes: _list[str] +@typing.type_check_only +class LfA2aV1APIKeySecurityScheme(typing_extensions.TypedDict, total=False): + description: str + location: str + name: str + +@typing.type_check_only +class LfA2aV1AgentCapabilities(typing_extensions.TypedDict, total=False): + extendedAgentCard: bool + extensions: _list[LfA2aV1AgentExtension] + pushNotifications: bool + streaming: bool + +@typing.type_check_only +class LfA2aV1AgentCard(typing_extensions.TypedDict, total=False): + capabilities: LfA2aV1AgentCapabilities + defaultInputModes: _list[str] + defaultOutputModes: _list[str] + description: str + documentationUrl: str + iconUrl: str + name: str + provider: LfA2aV1AgentProvider + securityRequirements: _list[LfA2aV1SecurityRequirement] + securitySchemes: dict[str, typing.Any] + signatures: _list[LfA2aV1AgentCardSignature] + skills: _list[LfA2aV1AgentSkill] + supportedInterfaces: _list[LfA2aV1AgentInterface] + version: str + +@typing.type_check_only +class LfA2aV1AgentCardSignature(typing_extensions.TypedDict, total=False): + header: dict[str, typing.Any] + protected: str + signature: str + +@typing.type_check_only +class LfA2aV1AgentExtension(typing_extensions.TypedDict, total=False): + description: str + params: dict[str, typing.Any] + required: bool + uri: str + +@typing.type_check_only +class LfA2aV1AgentInterface(typing_extensions.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + +@typing.type_check_only +class LfA2aV1AgentProvider(typing_extensions.TypedDict, total=False): + organization: str + url: str + +@typing.type_check_only +class LfA2aV1AgentSkill(typing_extensions.TypedDict, total=False): + description: str + examples: _list[str] + id: str + inputModes: _list[str] + name: str + outputModes: _list[str] + securityRequirements: _list[LfA2aV1SecurityRequirement] + tags: _list[str] + @typing.type_check_only class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): artifactId: str @@ -860,6 +956,39 @@ class LfA2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): credentials: str scheme: str +@typing.type_check_only +class LfA2aV1AuthorizationCodeOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + pkceRequired: bool + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1ClientCredentialsOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1DeviceCodeOAuthFlow(typing_extensions.TypedDict, total=False): + deviceAuthorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1HTTPAuthSecurityScheme(typing_extensions.TypedDict, total=False): + bearerFormat: str + description: str + scheme: str + +@typing.type_check_only +class LfA2aV1ImplicitOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + @typing.type_check_only class LfA2aV1Message(typing_extensions.TypedDict, total=False): contextId: str @@ -871,6 +1000,29 @@ class LfA2aV1Message(typing_extensions.TypedDict, total=False): role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str +@typing.type_check_only +class LfA2aV1MutualTlsSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + +@typing.type_check_only +class LfA2aV1OAuth2SecurityScheme(typing_extensions.TypedDict, total=False): + description: str + flows: LfA2aV1OAuthFlows + oauth2MetadataUrl: str + +@typing.type_check_only +class LfA2aV1OAuthFlows(typing_extensions.TypedDict, total=False): + authorizationCode: LfA2aV1AuthorizationCodeOAuthFlow + clientCredentials: LfA2aV1ClientCredentialsOAuthFlow + deviceCode: LfA2aV1DeviceCodeOAuthFlow + implicit: LfA2aV1ImplicitOAuthFlow + password: LfA2aV1PasswordOAuthFlow + +@typing.type_check_only +class LfA2aV1OpenIdConnectSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + openIdConnectUrl: str + @typing.type_check_only class LfA2aV1Part(typing_extensions.TypedDict, total=False): data: typing.Any @@ -881,6 +1033,24 @@ class LfA2aV1Part(typing_extensions.TypedDict, total=False): text: str url: str +@typing.type_check_only +class LfA2aV1PasswordOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1SecurityRequirement(typing_extensions.TypedDict, total=False): + schemes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1SecurityScheme(typing_extensions.TypedDict, total=False): + apiKeySecurityScheme: LfA2aV1APIKeySecurityScheme + httpAuthSecurityScheme: LfA2aV1HTTPAuthSecurityScheme + mtlsSecurityScheme: LfA2aV1MutualTlsSecurityScheme + oauth2SecurityScheme: LfA2aV1OAuth2SecurityScheme + openIdConnectSecurityScheme: LfA2aV1OpenIdConnectSecurityScheme + @typing.type_check_only class LfA2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): acceptedOutputModes: _list[str] @@ -899,6 +1069,10 @@ class LfA2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): message: LfA2aV1Message task: LfA2aV1Task +@typing.type_check_only +class LfA2aV1StringList(typing_extensions.TypedDict, total=False): + list: _list[str] + @typing.type_check_only class LfA2aV1Task(typing_extensions.TypedDict, total=False): artifacts: _list[LfA2aV1Artifact] @@ -1013,6 +1187,7 @@ class LoggingSettings(typing_extensions.TypedDict, total=False): metricAnalysisSettings: MetricAnalysisSettings redactionConfig: RedactionConfig unredactedAudioRecordingConfig: AudioRecordingConfig + unredactedBigqueryExportSettings: BigQueryExportSettings @typing.type_check_only class McpTool(typing_extensions.TypedDict, total=False): @@ -1268,6 +1443,7 @@ class SessionInput(typing_extensions.TypedDict, total=False): class SessionOutput(typing_extensions.TypedDict, total=False): audio: str citations: Citations + context: _list[dict[str, typing.Any]] diagnosticInfo: SessionOutputDiagnosticInfo endSession: EndSession googleSearchSuggestions: GoogleSearchSuggestions @@ -1299,8 +1475,11 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): + instruction: str + model: str speakingRate: float voice: str + voiceSampleGcsUri: str @typing.type_check_only class SystemTool(typing_extensions.TypedDict, total=False): @@ -1388,6 +1567,7 @@ class Toolset(typing_extensions.TypedDict, total=False): mcpToolset: McpToolset name: str openApiToolset: OpenApiToolset + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str @@ -1446,6 +1626,15 @@ class WebSearchQuery(typing_extensions.TypedDict, total=False): query: str uri: str +@typing.type_check_only +class WhatsAppCredentials(typing_extensions.TypedDict, total=False): + authCode: str + businessAccountId: str + conversationProfileId: str + phoneNumber: str + pin: str + wabaId: str + @typing.type_check_only class WidgetTool(typing_extensions.TypedDict, total=False): dataMapping: WidgetToolDataMapping diff --git a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi index 30134afc4..ff4d36622 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi @@ -171,6 +171,16 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeploymentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + tenant: str, + body: LfA2aV1SendMessageRequest, + **kwargs: typing.Any, + ) -> LfA2aV1SendMessageResponseHttpRequest: ... + def create( self, *, @@ -185,6 +195,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> DeploymentHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def list( self, *, @@ -207,6 +220,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> DeploymentHttpRequest: ... + def message(self) -> MessageResource: ... @typing.type_check_only class EvaluationDatasetsResource(googleapiclient.discovery.Resource): @@ -353,6 +367,13 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): previous_request: ListEvaluationResultsResponseHttpRequest, previous_response: ListEvaluationResultsResponse, ) -> ListEvaluationResultsResponseHttpRequest | None: ... + def runEvaluationResultMetrics( + self, + *, + evaluationResultId: str, + body: RunEvaluationResultMetricsRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, @@ -675,6 +696,16 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): @typing.type_check_only class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + tenant: str, + body: LfA2aV1SendMessageRequest, + **kwargs: typing.Any, + ) -> LfA2aV1SendMessageResponseHttpRequest: ... + def create( self, *, @@ -689,6 +720,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> AppVersionHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def list( self, *, @@ -711,6 +745,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): body: RestoreAppVersionRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def message(self) -> MessageResource: ... def create( self, @@ -737,6 +772,9 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AppHttpRequest: ... + def getExtendedAgentCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> LfA2aV1AgentCardHttpRequest: ... def importApp( self, *, parent: str, body: ImportAppRequest, **kwargs: typing.Any ) -> OperationHttpRequest: ... @@ -1013,6 +1051,14 @@ class GuardrailHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Guardrail: ... +@typing.type_check_only +class LfA2aV1AgentCardHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LfA2aV1AgentCard: ... + @typing.type_check_only class LfA2aV1SendMessageResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi index e6139485a..97a5e5327 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi @@ -92,7 +92,6 @@ class AgentTool(typing_extensions.TypedDict, total=False): agent: str description: str name: str - rootAgent: str @typing.type_check_only class AgentTransfer(typing_extensions.TypedDict, total=False): @@ -313,15 +312,27 @@ class ChannelProfile(typing_extensions.TypedDict, total=False): "TWILIO", "GOOGLE_TELEPHONY_PLATFORM", "CONTACT_CENTER_AS_A_SERVICE", + "CONTACT_CENTER_AS_A_SERVICE_CHAT", "FIVE9", "CONTACT_CENTER_INTEGRATION", + "WHATSAPP", + "INSTAGRAM", ] disableBargeInControl: bool disableDtmf: bool + instagramConfig: ChannelProfileInstagramConfig noiseSuppressionLevel: str personaProperty: ChannelProfilePersonaProperty profileId: str webWidgetConfig: ChannelProfileWebWidgetConfig + whatsappConfig: ChannelProfileWhatsAppConfig + +@typing.type_check_only +class ChannelProfileInstagramConfig(typing_extensions.TypedDict, total=False): + description: str + displayName: str + instagramAccountId: str + thumbnailUrl: str @typing.type_check_only class ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): @@ -349,6 +360,15 @@ class ChannelProfileWebWidgetConfigSecuritySettings( enablePublicAccess: bool enableRecaptcha: bool +@typing.type_check_only +class ChannelProfileWhatsAppConfig(typing_extensions.TypedDict, total=False): + description: str + displayName: str + phoneNumber: str + phoneNumberId: str + thumbnailUrl: str + wabaId: str + @typing.type_check_only class Chunk(typing_extensions.TypedDict, total=False): agentTransfer: AgentTransfer @@ -368,6 +388,7 @@ class Citations(typing_extensions.TypedDict, total=False): @typing.type_check_only class CitationsCitedChunk(typing_extensions.TypedDict, total=False): + requiresAttribution: bool text: str title: str uri: str @@ -579,8 +600,10 @@ class Deployment(typing_extensions.TypedDict, total=False): displayName: str etag: str experimentConfig: ExperimentConfig + instagramCredentials: InstagramCredentials name: str updateTime: str + whatsappCredentials: WhatsAppCredentials @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -722,8 +745,12 @@ class EvaluationGoldenExpectation(typing_extensions.TypedDict, total=False): EvaluationMetricsConfigSemanticSimilarityMetricsConfig ) agentTransfer: AgentTransfer + comparisonType: typing_extensions.Literal[ + "COMPARISON_TYPE_UNSPECIFIED", "EQUALS", "CONTAINS", "SEMANTIC_SIMILARITY" + ] expectationLevelMetricsThresholdsOverride: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds mockToolResponse: ToolResponse + noToolCalls: bool note: str skipEvaluation: bool toolCall: ToolCall @@ -877,7 +904,12 @@ class EvaluationResult(typing_extensions.TypedDict, total=False): "OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED" ] executionState: typing_extensions.Literal[ - "EXECUTION_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + "EXECUTION_STATE_UNSPECIFIED", + "QUEUED", + "RUNNING", + "COMPLETED", + "ERROR", + "CANCELLED", ] goldenResult: EvaluationResultGoldenResult goldenRunMethod: typing_extensions.Literal[ @@ -1067,7 +1099,18 @@ class EvaluationRun(typing_extensions.TypedDict, total=False): runCount: int scheduledEvaluationRun: str state: typing_extensions.Literal[ - "EVALUATION_RUN_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + "EVALUATION_RUN_STATE_UNSPECIFIED", + "QUEUED", + "RUNNING", + "COMPLETED", + "ERROR", + "CANCELLED", + ] + +@typing.type_check_only +class EvaluationRunCachingSettings(typing_extensions.TypedDict, total=False): + runCachingMode: typing_extensions.Literal[ + "EVALUATION_RUN_CACHING_MODE_UNSPECIFIED", "FORCE_RUN", "SKIP_IF_UNCHANGED" ] @typing.type_check_only @@ -1078,6 +1121,7 @@ class EvaluationRunEvaluationRunSummary(typing_extensions.TypedDict, total=False @typing.type_check_only class EvaluationRunProgress(typing_extensions.TypedDict, total=False): + cancelledCount: int completedCount: int errorCount: int failedCount: int @@ -1089,6 +1133,9 @@ class EvaluationScenario(typing_extensions.TypedDict, total=False): evaluationExpectations: _list[str] maxTurns: int rubrics: _list[str] + scenarioExecutionMode: typing_extensions.Literal[ + "SCENARIO_EXECUTION_MODE_UNSPECIFIED", "QUALITY_OPTIMIZED", "SPEED_OPTIMIZED" + ] scenarioExpectations: _list[EvaluationScenarioExpectation] task: str taskCompletionBehavior: typing_extensions.Literal[ @@ -1122,6 +1169,7 @@ class EvaluationScenarioUserFact(typing_extensions.TypedDict, total=False): @typing.type_check_only class EvaluationSettings(typing_extensions.TypedDict, total=False): + evaluationRunCachingSettings: EvaluationRunCachingSettings goldenEvaluationToolCallBehaviour: typing_extensions.Literal[ "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" ] @@ -1135,6 +1183,9 @@ class EvaluationSettings(typing_extensions.TypedDict, total=False): scenarioEvaluationToolCallBehaviour: typing_extensions.Literal[ "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" ] + scenarioExecutionMode: typing_extensions.Literal[ + "SCENARIO_EXECUTION_MODE_UNSPECIFIED", "QUALITY_OPTIMIZED", "SPEED_OPTIMIZED" + ] @typing.type_check_only class EvaluationStep(typing_extensions.TypedDict, total=False): @@ -1169,6 +1220,8 @@ class ExecuteToolRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecuteToolResponse(typing_extensions.TypedDict, total=False): + citations: Citations + googleSearchSuggestions: GoogleSearchSuggestions response: dict[str, typing.Any] tool: str toolsetTool: ToolsetTool @@ -1269,6 +1322,7 @@ class FileSearchTool(typing_extensions.TypedDict, total=False): class GenerateAppResourceRequest(typing_extensions.TypedDict, total=False): agent: Agent appGenerationConfig: GenerateAppResourceRequestAppGenerationConfig + appVersionContext: GenerateAppResourceRequestAppVersionContext evaluationGenerationConfig: GenerateAppResourceRequestEvaluationGenerationConfig evaluationPersonasGenerationConfig: ( GenerateAppResourceRequestEvaluationPersonasGenerationConfig @@ -1292,6 +1346,13 @@ class GenerateAppResourceRequestAppGenerationConfig( gcsLocation: str generateEvaluations: bool +@typing.type_check_only +class GenerateAppResourceRequestAppVersionContext( + typing_extensions.TypedDict, total=False +): + agentResourceName: str + appVersion: str + @typing.type_check_only class GenerateAppResourceRequestEvaluationGenerationConfig( typing_extensions.TypedDict, total=False @@ -1313,6 +1374,9 @@ class GenerateAppResourceRequestHillClimbingFixConfig( class GenerateAppResourceRequestQualityReportGenerationConfig( typing_extensions.TypedDict, total=False ): + algorithm: typing_extensions.Literal[ + "LOSS_ATTRIBUTION_ALGORITHM_UNSPECIFIED", "APP_CENTRIC", "AGENT_CENTRIC" + ] evaluationRun: str @typing.type_check_only @@ -1398,6 +1462,9 @@ class GenerateEvaluationOperationMetadata(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GenerateEvaluationRequest(typing_extensions.TypedDict, total=False): + evaluationType: typing_extensions.Literal[ + "EVALUATION_TYPE_UNSPECIFIED", "GOLDEN", "SCENARIO" + ] source: typing_extensions.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL", "AGENT_TOOL" ] @@ -1573,6 +1640,11 @@ class InputAudioConfig(typing_extensions.TypedDict, total=False): noiseSuppressionLevel: str sampleRateHertz: int +@typing.type_check_only +class InstagramCredentials(typing_extensions.TypedDict, total=False): + authCode: str + conversationProfileId: str + @typing.type_check_only class LanguageSettings(typing_extensions.TypedDict, total=False): defaultLanguageCode: str @@ -1618,6 +1690,72 @@ class LatencyReportToolLatency(typing_extensions.TypedDict, total=False): toolDisplayName: str toolsetTool: ToolsetTool +@typing.type_check_only +class LfA2aV1APIKeySecurityScheme(typing_extensions.TypedDict, total=False): + description: str + location: str + name: str + +@typing.type_check_only +class LfA2aV1AgentCapabilities(typing_extensions.TypedDict, total=False): + extendedAgentCard: bool + extensions: _list[LfA2aV1AgentExtension] + pushNotifications: bool + streaming: bool + +@typing.type_check_only +class LfA2aV1AgentCard(typing_extensions.TypedDict, total=False): + capabilities: LfA2aV1AgentCapabilities + defaultInputModes: _list[str] + defaultOutputModes: _list[str] + description: str + documentationUrl: str + iconUrl: str + name: str + provider: LfA2aV1AgentProvider + securityRequirements: _list[LfA2aV1SecurityRequirement] + securitySchemes: dict[str, typing.Any] + signatures: _list[LfA2aV1AgentCardSignature] + skills: _list[LfA2aV1AgentSkill] + supportedInterfaces: _list[LfA2aV1AgentInterface] + version: str + +@typing.type_check_only +class LfA2aV1AgentCardSignature(typing_extensions.TypedDict, total=False): + header: dict[str, typing.Any] + protected: str + signature: str + +@typing.type_check_only +class LfA2aV1AgentExtension(typing_extensions.TypedDict, total=False): + description: str + params: dict[str, typing.Any] + required: bool + uri: str + +@typing.type_check_only +class LfA2aV1AgentInterface(typing_extensions.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + +@typing.type_check_only +class LfA2aV1AgentProvider(typing_extensions.TypedDict, total=False): + organization: str + url: str + +@typing.type_check_only +class LfA2aV1AgentSkill(typing_extensions.TypedDict, total=False): + description: str + examples: _list[str] + id: str + inputModes: _list[str] + name: str + outputModes: _list[str] + securityRequirements: _list[LfA2aV1SecurityRequirement] + tags: _list[str] + @typing.type_check_only class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): artifactId: str @@ -1632,6 +1770,39 @@ class LfA2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): credentials: str scheme: str +@typing.type_check_only +class LfA2aV1AuthorizationCodeOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + pkceRequired: bool + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1ClientCredentialsOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1DeviceCodeOAuthFlow(typing_extensions.TypedDict, total=False): + deviceAuthorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1HTTPAuthSecurityScheme(typing_extensions.TypedDict, total=False): + bearerFormat: str + description: str + scheme: str + +@typing.type_check_only +class LfA2aV1ImplicitOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + @typing.type_check_only class LfA2aV1Message(typing_extensions.TypedDict, total=False): contextId: str @@ -1643,6 +1814,29 @@ class LfA2aV1Message(typing_extensions.TypedDict, total=False): role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str +@typing.type_check_only +class LfA2aV1MutualTlsSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + +@typing.type_check_only +class LfA2aV1OAuth2SecurityScheme(typing_extensions.TypedDict, total=False): + description: str + flows: LfA2aV1OAuthFlows + oauth2MetadataUrl: str + +@typing.type_check_only +class LfA2aV1OAuthFlows(typing_extensions.TypedDict, total=False): + authorizationCode: LfA2aV1AuthorizationCodeOAuthFlow + clientCredentials: LfA2aV1ClientCredentialsOAuthFlow + deviceCode: LfA2aV1DeviceCodeOAuthFlow + implicit: LfA2aV1ImplicitOAuthFlow + password: LfA2aV1PasswordOAuthFlow + +@typing.type_check_only +class LfA2aV1OpenIdConnectSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + openIdConnectUrl: str + @typing.type_check_only class LfA2aV1Part(typing_extensions.TypedDict, total=False): data: typing.Any @@ -1653,6 +1847,24 @@ class LfA2aV1Part(typing_extensions.TypedDict, total=False): text: str url: str +@typing.type_check_only +class LfA2aV1PasswordOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1SecurityRequirement(typing_extensions.TypedDict, total=False): + schemes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1SecurityScheme(typing_extensions.TypedDict, total=False): + apiKeySecurityScheme: LfA2aV1APIKeySecurityScheme + httpAuthSecurityScheme: LfA2aV1HTTPAuthSecurityScheme + mtlsSecurityScheme: LfA2aV1MutualTlsSecurityScheme + oauth2SecurityScheme: LfA2aV1OAuth2SecurityScheme + openIdConnectSecurityScheme: LfA2aV1OpenIdConnectSecurityScheme + @typing.type_check_only class LfA2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): acceptedOutputModes: _list[str] @@ -1671,6 +1883,10 @@ class LfA2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): message: LfA2aV1Message task: LfA2aV1Task +@typing.type_check_only +class LfA2aV1StringList(typing_extensions.TypedDict, total=False): + list: _list[str] + @typing.type_check_only class LfA2aV1Task(typing_extensions.TypedDict, total=False): artifacts: _list[LfA2aV1Artifact] @@ -1815,6 +2031,7 @@ class LoggingSettings(typing_extensions.TypedDict, total=False): metricAnalysisSettings: MetricAnalysisSettings redactionConfig: RedactionConfig unredactedAudioRecordingConfig: AudioRecordingConfig + unredactedBigqueryExportSettings: BigQueryExportSettings @typing.type_check_only class McpTool(typing_extensions.TypedDict, total=False): @@ -2022,6 +2239,7 @@ class RunEvaluationRequest(typing_extensions.TypedDict, total=False): config: EvaluationConfig displayName: str evaluationDataset: str + evaluationRunCachingSettings: EvaluationRunCachingSettings evaluations: _list[str] generateLatencyReport: bool goldenRunMethod: typing_extensions.Literal[ @@ -2032,6 +2250,13 @@ class RunEvaluationRequest(typing_extensions.TypedDict, total=False): runCount: int scheduledEvaluationRun: str +@typing.type_check_only +class RunEvaluationResultMetricsRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RunEvaluationResultMetricsResponse(typing_extensions.TypedDict, total=False): + status: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + @typing.type_check_only class RunSessionRequest(typing_extensions.TypedDict, total=False): config: SessionConfig @@ -2146,6 +2371,7 @@ class SessionInput(typing_extensions.TypedDict, total=False): class SessionOutput(typing_extensions.TypedDict, total=False): audio: str citations: Citations + context: _list[dict[str, typing.Any]] diagnosticInfo: SessionOutputDiagnosticInfo endSession: EndSession googleSearchSuggestions: GoogleSearchSuggestions @@ -2177,8 +2403,11 @@ class Status(typing_extensions.TypedDict, total=False): @typing.type_check_only class SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): + instruction: str + model: str speakingRate: float voice: str + voiceSampleGcsUri: str @typing.type_check_only class SystemTool(typing_extensions.TypedDict, total=False): @@ -2275,6 +2504,7 @@ class Toolset(typing_extensions.TypedDict, total=False): mcpToolset: McpToolset name: str openApiToolset: OpenApiToolset + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str @@ -2344,6 +2574,15 @@ class WebSearchQuery(typing_extensions.TypedDict, total=False): query: str uri: str +@typing.type_check_only +class WhatsAppCredentials(typing_extensions.TypedDict, total=False): + authCode: str + businessAccountId: str + conversationProfileId: str + phoneNumber: str + pin: str + wabaId: str + @typing.type_check_only class WidgetTool(typing_extensions.TypedDict, total=False): dataMapping: WidgetToolDataMapping diff --git a/googleapiclient-stubs/_apis/chat/v1/resources.pyi b/googleapiclient-stubs/_apis/chat/v1/resources.pyi index aa7561084..67ba528cf 100644 --- a/googleapiclient-stubs/_apis/chat/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/resources.pyi @@ -295,7 +295,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only class AvailabilityResource(googleapiclient.discovery.Resource): - def getAvailability( + def get( self, *, name: str, **kwargs: typing.Any ) -> AvailabilityHttpRequest: ... def markAsActive( @@ -311,7 +311,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): body: MarkAsDoNotDisturbRequest, **kwargs: typing.Any, ) -> AvailabilityHttpRequest: ... - def updateAvailability( + def patch( self, *, name: str, diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index 2c81145da..463a1b4d8 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -4,8 +4,18 @@ import typing_extensions _list = list +@typing.type_check_only +class AccessPermissionSetting(typing_extensions.TypedDict, total=False): + principals: _list[Principal] + +@typing.type_check_only +class AccessPermissionSettings(typing_extensions.TypedDict, total=False): + discoverSpaceSetting: AccessPermissionSetting + joinSpaceSetting: AccessPermissionSetting + @typing.type_check_only class AccessSettings(typing_extensions.TypedDict, total=False): + accessPermissionSettings: AccessPermissionSettings accessState: typing_extensions.Literal[ "ACCESS_STATE_UNSPECIFIED", "PRIVATE", "DISCOVERABLE" ] @@ -103,6 +113,10 @@ class AttachmentDataRef(typing_extensions.TypedDict, total=False): attachmentUploadToken: str resourceName: str +@typing.type_check_only +class Audience(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class Availability(typing_extensions.TypedDict, total=False): customStatus: CustomStatus @@ -1054,6 +1068,10 @@ class PositionSectionRequest(typing_extensions.TypedDict, total=False): class PositionSectionResponse(typing_extensions.TypedDict, total=False): section: GoogleChatV1Section +@typing.type_check_only +class Principal(typing_extensions.TypedDict, total=False): + audience: Audience + @typing.type_check_only class QuotedMessageMetadata(typing_extensions.TypedDict, total=False): forwardedMetadata: ForwardedMetadata diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi index 1929628be..bfc1a371e 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi @@ -218,6 +218,7 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "E2_HIGHCPU_8", "E2_HIGHCPU_32", "E2_MEDIUM", + "E2_STANDARD_2", ] pool: PoolOption pubsubTopic: str diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index ce45bee3a..efbeb3cb6 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -21,6 +21,9 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def getKajPolicyConfig( self, *, name: str, **kwargs: typing.Any ) -> KeyAccessJustificationsPolicyConfigHttpRequest: ... + def showEffectiveAutokeyConfig( + self, *, parent: str, **kwargs: typing.Any + ) -> ShowEffectiveAutokeyConfigResponseHttpRequest: ... def updateAutokeyConfig( self, *, @@ -213,6 +216,15 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: DestroyCryptoKeyVersionRequest, **kwargs: typing.Any, ) -> CryptoKeyVersionHttpRequest: ... + def exportTrustedKeyWrappedCryptoKeyVersion( + self, + *, + name: str, + wrappingKey: str | None = ..., + **kwargs: typing.Any, + ) -> ( + ExportTrustedKeyWrappedCryptoKeyVersionResponseHttpRequest + ): ... def get( self, *, name: str, **kwargs: typing.Any ) -> CryptoKeyVersionHttpRequest: ... @@ -237,6 +249,13 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: ImportCryptoKeyVersionRequest, **kwargs: typing.Any, ) -> CryptoKeyVersionHttpRequest: ... + def importTrustedKeyWrappedCryptoKeyVersion( + self, + *, + parent: str, + body: ImportTrustedKeyWrappedCryptoKeyVersionRequest, + **kwargs: typing.Any, + ) -> CryptoKeyVersionHttpRequest: ... def list( self, *, @@ -307,6 +326,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: CryptoKey, cryptoKeyId: str | None = ..., skipInitialVersionCreation: bool | None = ..., + trustedWrappingEnabled: bool | None = ..., **kwargs: typing.Any, ) -> CryptoKeyHttpRequest: ... def decrypt( @@ -787,6 +807,16 @@ class EncryptResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EncryptResponse: ... +@typing.type_check_only +class ExportTrustedKeyWrappedCryptoKeyVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExportTrustedKeyWrappedCryptoKeyVersionResponse: ... + @typing.type_check_only class GenerateRandomBytesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index aacec8e83..3776c7d1a 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -151,6 +151,7 @@ class CryptoKey(typing_extensions.TypedDict, total=False): "RAW_ENCRYPT_DECRYPT", "MAC", "KEY_ENCAPSULATION", + "AES_WRAPPING", ] rotationPeriod: str versionTemplate: CryptoKeyVersionTemplate @@ -205,6 +206,7 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] attestation: KeyOperationAttestation createTime: str @@ -214,6 +216,7 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): externalProtectionLevelOptions: ExternalProtectionLevelOptions generateTime: str generationFailureReason: str + hsmTrusted: bool importFailureReason: str importJob: str importTime: str @@ -240,6 +243,7 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "PENDING_EXTERNAL_DESTRUCTION", "EXTERNAL_DESTRUCTION_FAILED", ] + trustedWrappingEnabled: bool @typing.type_check_only class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): @@ -291,6 +295,7 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] protectionLevel: typing_extensions.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", @@ -408,6 +413,13 @@ class ExecuteSingleTenantHsmInstanceProposalRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class ExportTrustedKeyWrappedCryptoKeyVersionResponse( + typing_extensions.TypedDict, total=False +): + wrappedKey: str + wrappedKeyCrc32c: str + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -417,6 +429,7 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExternalProtectionLevelOptions(typing_extensions.TypedDict, total=False): + ekmConnectionBackendOverride: str ekmConnectionKeyPath: str externalKeyUri: str @@ -487,10 +500,12 @@ class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] cryptoKeyVersion: str importJob: str rsaAesWrappedKey: str + trustedWrappingEnabled: bool wrappedKey: str @typing.type_check_only @@ -530,6 +545,64 @@ class ImportJob(typing_extensions.TypedDict, total=False): "IMPORT_JOB_STATE_UNSPECIFIED", "PENDING_GENERATION", "ACTIVE", "EXPIRED" ] +@typing.type_check_only +class ImportTrustedKeyWrappedCryptoKeyVersionRequest( + typing_extensions.TypedDict, total=False +): + algorithm: typing_extensions.Literal[ + "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", + "GOOGLE_SYMMETRIC_ENCRYPTION", + "AES_128_GCM", + "AES_256_GCM", + "AES_128_CBC", + "AES_256_CBC", + "AES_128_CTR", + "AES_256_CTR", + "RSA_SIGN_PSS_2048_SHA256", + "RSA_SIGN_PSS_3072_SHA256", + "RSA_SIGN_PSS_4096_SHA256", + "RSA_SIGN_PSS_4096_SHA512", + "RSA_SIGN_PKCS1_2048_SHA256", + "RSA_SIGN_PKCS1_3072_SHA256", + "RSA_SIGN_PKCS1_4096_SHA256", + "RSA_SIGN_PKCS1_4096_SHA512", + "RSA_SIGN_RAW_PKCS1_2048", + "RSA_SIGN_RAW_PKCS1_3072", + "RSA_SIGN_RAW_PKCS1_4096", + "RSA_DECRYPT_OAEP_2048_SHA256", + "RSA_DECRYPT_OAEP_3072_SHA256", + "RSA_DECRYPT_OAEP_4096_SHA256", + "RSA_DECRYPT_OAEP_4096_SHA512", + "RSA_DECRYPT_OAEP_2048_SHA1", + "RSA_DECRYPT_OAEP_3072_SHA1", + "RSA_DECRYPT_OAEP_4096_SHA1", + "EC_SIGN_P256_SHA256", + "EC_SIGN_P384_SHA384", + "EC_SIGN_SECP256K1_SHA256", + "EC_SIGN_ED25519", + "HMAC_SHA256", + "HMAC_SHA1", + "HMAC_SHA384", + "HMAC_SHA512", + "HMAC_SHA224", + "EXTERNAL_SYMMETRIC_ENCRYPTION", + "ML_KEM_768", + "ML_KEM_1024", + "KEM_XWING", + "PQ_SIGN_ML_DSA_44", + "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", + "PQ_SIGN_SLH_DSA_SHA2_128S", + "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", + ] + cryptoKeyVersion: str + importingKey: str + wrappedKey: str + @typing.type_check_only class KeyAccessJustificationsEnrollmentConfig(typing_extensions.TypedDict, total=False): auditLogging: bool @@ -761,6 +834,7 @@ class PublicKey(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] name: str pem: str @@ -898,6 +972,13 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ShowEffectiveAutokeyConfigResponse(typing_extensions.TypedDict, total=False): keyProject: str + keyProjectResolutionMode: typing_extensions.Literal[ + "KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED", + "DEDICATED_KEY_PROJECT", + "RESOURCE_PROJECT", + "DISABLED", + ] + source: Source @typing.type_check_only class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse( @@ -962,6 +1043,11 @@ class SingleTenantHsmInstanceProposal(typing_extensions.TypedDict, total=False): "DELETED", ] ttl: str + upgradeKeyTrust: UpgradeKeyTrust + +@typing.type_check_only +class Source(typing_extensions.TypedDict, total=False): + name: str @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): @@ -981,6 +1067,11 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): class UpdateCryptoKeyPrimaryVersionRequest(typing_extensions.TypedDict, total=False): cryptoKeyVersionId: str +@typing.type_check_only +class UpgradeKeyTrust(typing_extensions.TypedDict, total=False): + name: str + twoFactorPublicKeyPem: str + @typing.type_check_only class VerifyConnectivityResponse(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi index c7c6b9e96..130887ec1 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi @@ -137,6 +137,13 @@ class CloudSupportResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> SupportEventSubscriptionHttpRequest: ... + def expunge( + self, + *, + name: str, + body: ExpungeSupportEventSubscriptionRequest, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> SupportEventSubscriptionHttpRequest: ... @@ -212,6 +219,14 @@ class CommentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Comment: ... +@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 ListAttachmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi index edd8dc62f..d4f6d78a2 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi @@ -136,6 +136,9 @@ class DownloadParameters(typing_extensions.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EscalateCaseRequest(typing_extensions.TypedDict, total=False): escalation: Escalation @@ -150,6 +153,11 @@ class Escalation(typing_extensions.TypedDict, total=False): "BUSINESS_IMPACT", ] +@typing.type_check_only +class ExpungeSupportEventSubscriptionRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class ListAttachmentsResponse(typing_extensions.TypedDict, total=False): attachments: _list[Attachment] diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi index 651e84ce6..e8684688d 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi @@ -159,6 +159,13 @@ class CloudSupportResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> SupportEventSubscriptionHttpRequest: ... + def expunge( + self, + *, + name: str, + body: ExpungeSupportEventSubscriptionRequest, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> SupportEventSubscriptionHttpRequest: ... @@ -234,6 +241,14 @@ class CommentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Comment: ... +@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 ListAttachmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi index 896a3e438..2743892bd 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi @@ -150,6 +150,9 @@ class EmailMessage(typing_extensions.TypedDict, total=False): recipientEmailAddresses: _list[str] subject: str +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EscalateCaseRequest(typing_extensions.TypedDict, total=False): escalation: Escalation @@ -164,6 +167,11 @@ class Escalation(typing_extensions.TypedDict, total=False): "BUSINESS_IMPACT", ] +@typing.type_check_only +class ExpungeSupportEventSubscriptionRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class FeedItem(typing_extensions.TypedDict, total=False): attachment: Attachment diff --git a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi index 5b098cb99..4e988ad56 100644 --- a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi @@ -377,6 +377,11 @@ class SchedulerResource(typing_extensions.TypedDict, total=False): @typing.type_check_only class SoftwareConfig(typing_extensions.TypedDict, total=False): airflowConfigOverrides: dict[str, typing.Any] + auditLogsReplicationMode: typing_extensions.Literal[ + "AUDIT_LOGS_REPLICATION_MODE_UNSPECIFIED", + "AUDIT_LOGS_REPLICATION_DISABLED", + "AUDIT_LOGS_REPLICATION_ENABLED", + ] cloudDataLineageIntegration: CloudDataLineageIntegration envVariables: dict[str, typing.Any] imageVersion: str diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi index 67691f8bc..816679907 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi @@ -380,6 +380,11 @@ class SchedulerResource(typing_extensions.TypedDict, total=False): @typing.type_check_only class SoftwareConfig(typing_extensions.TypedDict, total=False): airflowConfigOverrides: dict[str, typing.Any] + auditLogsReplicationMode: typing_extensions.Literal[ + "AUDIT_LOGS_REPLICATION_MODE_UNSPECIFIED", + "AUDIT_LOGS_REPLICATION_DISABLED", + "AUDIT_LOGS_REPLICATION_ENABLED", + ] cloudDataLineageIntegration: CloudDataLineageIntegration envVariables: dict[str, typing.Any] imageVersion: str diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 502283313..a6a1c024b 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -13,6 +13,58 @@ _list = list @typing.type_check_only class ComputeResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AcceleratorPodControllersResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + zone: str, + resourceId: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, zone: str, resourceId: str, **kwargs: typing.Any + ) -> AcceleratorPodControllerHttpRequest: ... + def insert( + self, + *, + project: str, + zone: str, + body: AcceleratorPodController, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> AcceleratorPodControllersListResponseHttpRequest: ... + def list_next( + self, + previous_request: AcceleratorPodControllersListResponseHttpRequest, + previous_response: AcceleratorPodControllersListResponse, + ) -> AcceleratorPodControllersListResponseHttpRequest | None: ... + def patch( + self, + *, + project: str, + zone: str, + resourceId: str, + body: AcceleratorPodController, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class AcceleratorTypesResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -609,6 +661,72 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class DhcpOptionsConfigsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + dhcpOptionsConfig: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + dhcpOptionsConfig: str, + **kwargs: typing.Any, + ) -> DhcpOptionsConfigHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: DhcpOptionsConfig, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> DhcpOptionsConfigListHttpRequest: ... + def list_next( + self, + previous_request: DhcpOptionsConfigListHttpRequest, + previous_response: DhcpOptionsConfigList, + ) -> DhcpOptionsConfigListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + dhcpOptionsConfig: str, + body: DhcpOptionsConfig, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest, + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class DiskSettingsResource(googleapiclient.discovery.Resource): def get( @@ -12350,6 +12468,7 @@ class ComputeResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def acceleratorPodControllers(self) -> AcceleratorPodControllersResource: ... def acceleratorTypes(self) -> AcceleratorTypesResource: ... def addresses(self) -> AddressesResource: ... def advice(self) -> AdviceResource: ... @@ -12357,6 +12476,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def backendBuckets(self) -> BackendBucketsResource: ... def backendServices(self) -> BackendServicesResource: ... def crossSiteNetworks(self) -> CrossSiteNetworksResource: ... + def dhcpOptionsConfigs(self) -> DhcpOptionsConfigsResource: ... def diskSettings(self) -> DiskSettingsResource: ... def diskTypes(self) -> DiskTypesResource: ... def disks(self) -> DisksResource: ... @@ -12522,6 +12642,24 @@ class ComputeResource(googleapiclient.discovery.Resource): def zoneVmExtensionPolicies(self) -> ZoneVmExtensionPoliciesResource: ... def zones(self) -> ZonesResource: ... +@typing.type_check_only +class AcceleratorPodControllerHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AcceleratorPodController: ... + +@typing.type_check_only +class AcceleratorPodControllersListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AcceleratorPodControllersListResponse: ... + @typing.type_check_only class AcceleratorTypeHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12772,6 +12910,22 @@ class CrossSiteNetworkListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CrossSiteNetworkList: ... +@typing.type_check_only +class DhcpOptionsConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DhcpOptionsConfig: ... + +@typing.type_check_only +class DhcpOptionsConfigListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DhcpOptionsConfigList: ... + @typing.type_check_only class DiskHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index 672be0740..d6430a814 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -16,6 +16,27 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): acceleratorCount: int acceleratorType: str +@typing.type_check_only +class AcceleratorPodController(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + managementInterfaces: dict[str, typing.Any] + name: str + selfLink: str + selfLinkWithId: str + target: str + zone: str + +@typing.type_check_only +class AcceleratorPodControllersListResponse(typing_extensions.TypedDict, total=False): + items: _list[AcceleratorPodController] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] @@ -184,6 +205,8 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): @typing.type_check_only class AliasIpRange(typing_extensions.TypedDict, total=False): + candidateSubnetworkRangeNames: _list[str] + effectiveSubnetworkRangeName: str ipCidrRange: str subnetworkRangeName: str @@ -357,6 +380,10 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): "ADMIN_READ", "DATA_READ", "DATA_WRITE", "LOG_TYPE_UNSPECIFIED" ] +@typing.type_check_only +class AuthenticationConfig(typing_extensions.TypedDict, total=False): + trustConfig: str + @typing.type_check_only class AuthenticationPolicy(typing_extensions.TypedDict, total=False): origins: _list[OriginAuthenticationMethod] @@ -1668,6 +1695,46 @@ class DeprecationStatus(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] stateOverride: RolloutPolicy +@typing.type_check_only +class DhcpOptionsConfig(typing_extensions.TypedDict, total=False): + associations: dict[str, typing.Any] + bootFileIpv4Name: str + bootFileIpv6Parameters: _list[str] + bootFileIpv6Url: str + creationTimestamp: str + description: str + dnsSearchPaths: _list[str] + dnsServerIpv4Addresses: _list[str] + dnsServerIpv6Addresses: _list[str] + domainName: str + id: str + kind: str + leaseTimeSec: str + name: str + ntpServerIpv4Addresses: _list[str] + ntpServerIpv6Addresses: _list[str] + region: str + selfLink: str + tftpServerIpv4Addresses: _list[str] + tftpServerIpv4Name: str + +@typing.type_check_only +class DhcpOptionsConfigAssociation(typing_extensions.TypedDict, total=False): + network: str + networkId: str + state: typing_extensions.Literal["ACTIVE", "ORPHANED", "STATE_UNSPECIFIED"] + +@typing.type_check_only +class DhcpOptionsConfigList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[DhcpOptionsConfig] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class Disk(typing_extensions.TypedDict, total=False): accessMode: typing_extensions.Literal[ @@ -2391,6 +2458,7 @@ class FutureReservation(typing_extensions.TypedDict, total=False): "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationName: str + resourceName: str schedulingType: typing_extensions.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] @@ -2400,6 +2468,7 @@ class FutureReservation(typing_extensions.TypedDict, total=False): specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus + storagePoolProperties: FutureReservationStoragePoolProperties timeWindow: FutureReservationTimeWindow zone: str @@ -2436,6 +2505,7 @@ class FutureReservationStatus(typing_extensions.TypedDict, total=False): "AMENDMENT_STATUS_UNSPECIFIED", ] autoCreatedReservations: _list[str] + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo fulfilledCount: str lastKnownGoodState: FutureReservationStatusLastKnownGoodState @@ -2456,6 +2526,7 @@ class FutureReservationStatus(typing_extensions.TypedDict, total=False): "PROVISIONING", ] specificSkuProperties: FutureReservationStatusSpecificSKUProperties + storagePoolProvisionedCapacity: FutureReservationStoragePoolProvisionedCapacity @typing.type_check_only class FutureReservationStatusExistingMatchingUsageInfo( @@ -2505,6 +2576,22 @@ class FutureReservationStatusSpecificSKUProperties( ): sourceInstanceTemplateId: str +@typing.type_check_only +class FutureReservationStoragePoolProperties(typing_extensions.TypedDict, total=False): + requestedExapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb + requestedStoragePoolProvisionedCapacity: ( + FutureReservationStoragePoolProvisionedCapacity + ) + storagePoolType: str + +@typing.type_check_only +class FutureReservationStoragePoolProvisionedCapacity( + typing_extensions.TypedDict, total=False +): + poolProvisionedCapacityGb: str + poolProvisionedIops: str + poolProvisionedThroughput: str + @typing.type_check_only class FutureReservationTimeWindow(typing_extensions.TypedDict, total=False): duration: Duration @@ -3619,6 +3706,11 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -4391,6 +4483,11 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -6013,6 +6110,22 @@ class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): instanceTemplate: str name: str +@typing.type_check_only +class ManagementInterface(typing_extensions.TypedDict, total=False): + authenticationConfig: AuthenticationConfig + ipv4Address: str + ipv6Address: str + network: str + state: typing_extensions.Literal[ + "ACTIVE", "INACTIVE", "PENDING", "STATE_UNSPECIFIED" + ] + subnetwork: str + type: typing_extensions.Literal[ + "TYPE_NVLINK_PARTITION_MANAGEMENT", + "TYPE_NVLINK_SWITCH_MONITORING", + "TYPE_UNSPECIFIED", + ] + @typing.type_check_only class Metadata(typing_extensions.TypedDict, total=False): fingerprint: str @@ -9095,6 +9208,7 @@ class ResourceStatusReservationConsumptionInfo( @typing.type_check_only class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): availabilityDomain: int + gracefulShutdownTimestamp: str terminationTimestamp: str @typing.type_check_only @@ -9606,6 +9720,7 @@ class RouterStatus(typing_extensions.TypedDict, total=False): class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): advertisedRoutes: _list[Route] bfdStatus: BfdStatus + depreferenced: bool enableIpv4: bool enableIpv6: bool ipAddress: str @@ -12175,6 +12290,9 @@ class WireProperties(typing_extensions.TypedDict, total=False): class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): identity: str identityCertificateEnabled: bool + identityType: typing_extensions.Literal[ + "AGENT_IDENTITY", "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT" + ] @typing.type_check_only class XpnHostList(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/compute/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index ca6b48426..a92ef6bed 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -8491,6 +8491,28 @@ class ComputeResource(googleapiclient.discovery.Resource): self, previous_request: RegionListHttpRequest, previous_response: RegionList ) -> RegionListHttpRequest | None: ... + @typing.type_check_only + class ReliabilityRisksResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, reliabilityRisk: str, **kwargs: typing.Any + ) -> ReliabilityRiskHttpRequest: ... + def list( + self, + *, + project: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ReliabilityRisksListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReliabilityRisksListResponseHttpRequest, + previous_response: ReliabilityRisksListResponse, + ) -> ReliabilityRisksListResponseHttpRequest | None: ... + @typing.type_check_only class ReservationBlocksResource(googleapiclient.discovery.Resource): def get( @@ -11480,6 +11502,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionUrlMaps(self) -> RegionUrlMapsResource: ... def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... + def reliabilityRisks(self) -> ReliabilityRisksResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... def reservationSlots(self) -> ReservationSlotsResource: ... def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... @@ -13185,6 +13208,22 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseHttpRequest( num_retries: int = 0, ) -> RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse: ... +@typing.type_check_only +class ReliabilityRiskHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReliabilityRisk: ... + +@typing.type_check_only +class ReliabilityRisksListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReliabilityRisksListResponse: ... + @typing.type_check_only class ReservationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index 08d979744..42b7a6d52 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -1262,7 +1262,9 @@ class CircuitBreakers(typing_extensions.TypedDict, total=False): @typing.type_check_only class Commitment(typing_extensions.TypedDict, total=False): autoRenew: bool - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE"] + category: typing_extensions.Literal[ + "CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE", "PERSISTENT_DISK" + ] creationTimestamp: str customEndTimestamp: str description: str @@ -1274,6 +1276,7 @@ class Commitment(typing_extensions.TypedDict, total=False): mergeSourceCommitments: _list[str] name: str params: CommitmentParams + persistentDiskResources: _list[PersistentDiskResourceCommitment] plan: typing_extensions.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] region: str reservations: _list[Reservation] @@ -3168,6 +3171,11 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -3890,6 +3898,11 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -6610,6 +6623,21 @@ class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=Fals windowEndTime: DateTime windowStartTime: DateTime +@typing.type_check_only +class PersistentDiskResourceCommitment(typing_extensions.TypedDict, total=False): + amount: str + dimensionType: typing_extensions.Literal[ + "CAPACITY_OPTIMIZED", + "DIMENSION_TYPE_UNSPECIFIED", + "READ_OPTIMIZED", + "WRITE_OPTIMIZED", + ] + productType: typing_extensions.Literal[ + "HYPERDISK_EXAPOOL_BALANCED", + "HYPERDISK_EXAPOOL_THROUGHPUT", + "PRODUCT_TYPE_UNSPECIFIED", + ] + @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -7092,6 +7120,11 @@ class Reference(typing_extensions.TypedDict, total=False): referrer: str target: str +@typing.type_check_only +class RegexRewrite(typing_extensions.TypedDict, total=False): + pathPattern: str + pathSubstitution: str + @typing.type_check_only class Region(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -7426,6 +7459,28 @@ class RegionTargetHttpsProxiesSetSslCertificatesRequest( class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): resource: UrlMap +@typing.type_check_only +class ReliabilityRisk(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + details: RiskDetails + id: str + kind: str + name: str + recommendation: RiskRecommendation + selfLink: str + selfLinkWithId: str + +@typing.type_check_only +class ReliabilityRisksListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[ReliabilityRisk] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): backendService: str @@ -7965,6 +8020,28 @@ class ResourceStatusShutdownDetails(typing_extensions.TypedDict, total=False): stopState: typing_extensions.Literal["PENDING_STOP", "STOPPING"] targetState: typing_extensions.Literal["DELETED", "STOPPED"] +@typing.type_check_only +class RiskDetails(typing_extensions.TypedDict, total=False): + duration: str + globalDnsInsight: RiskDetailsGlobalDnsInsight + lastUpdateTimestamp: str + severity: typing_extensions.Literal[ + "CRITICAL", "HIGH", "LOW", "MEDIUM", "SEVERITY_UNSPECIFIED" + ] + type: typing_extensions.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RiskDetailsGlobalDnsInsight(typing_extensions.TypedDict, total=False): + projectDefaultIsGlobalDns: bool + queryObservationWindow: str + riskyQueryCount: str + totalQueryCount: str + +@typing.type_check_only +class RiskRecommendation(typing_extensions.TypedDict, total=False): + content: str + referenceUrl: str + @typing.type_check_only class Rollout(typing_extensions.TypedDict, total=False): cancellationTime: str @@ -9628,6 +9705,9 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] ipv6CidrRange: str ipv6GceEndpoint: typing_extensions.Literal["VM_AND_FR", "VM_ONLY"] + ipv6NetworkTier: typing_extensions.Literal[ + "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" + ] kind: str logConfig: SubnetworkLogConfig name: str @@ -10320,6 +10400,7 @@ class UrlRewrite(typing_extensions.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str pathTemplateRewrite: str + regexRewrite: RegexRewrite @typing.type_check_only class UsableSubnetwork(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 352556e2e..c7e742540 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -2085,6 +2085,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instanceGroupManager: str, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2095,6 +2096,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersDeleteInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2222,6 +2224,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersRecreateInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2282,6 +2285,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersStopInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6252,6 +6256,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceGroupManager: str, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6262,6 +6267,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersDeleteInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6389,6 +6395,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersRecreateRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6449,6 +6456,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersStopInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -8284,6 +8292,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def deleteNamedSet( + self, + *, + project: str, + region: str, + router: str, + namedSet: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def deleteRoutePolicy( self, *, @@ -8297,6 +8315,15 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, region: str, router: str, **kwargs: typing.Any ) -> RouterHttpRequest: ... + def getNamedSet( + self, + *, + project: str, + region: str, + router: str, + namedSet: str | None = ..., + **kwargs: typing.Any, + ) -> RoutersGetNamedSetResponseHttpRequest: ... def getNatIpInfo( self, *, @@ -8390,6 +8417,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: RoutersListBgpRoutesHttpRequest, previous_response: RoutersListBgpRoutes, ) -> RoutersListBgpRoutesHttpRequest | None: ... + def listNamedSets( + self, + *, + project: str, + region: str, + router: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> RoutersListNamedSetsHttpRequest: ... + def listNamedSets_next( + self, + previous_request: RoutersListNamedSetsHttpRequest, + previous_response: RoutersListNamedSets, + ) -> RoutersListNamedSetsHttpRequest | None: ... def listRoutePolicies( self, *, @@ -8418,6 +8463,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patchNamedSet( + self, + *, + project: str, + region: str, + router: str, + body: NamedSet, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patchRoutePolicy( self, *, @@ -8447,6 +8502,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def updateNamedSet( + self, + *, + project: str, + region: str, + router: str, + body: NamedSet, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def updateRoutePolicy( self, *, @@ -12181,6 +12246,14 @@ class RouterStatusResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RouterStatusResponse: ... +@typing.type_check_only +class RoutersGetNamedSetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersGetNamedSetResponse: ... + @typing.type_check_only class RoutersGetRoutePolicyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12197,6 +12270,14 @@ class RoutersListBgpRoutesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RoutersListBgpRoutes: ... +@typing.type_check_only +class RoutersListNamedSetsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersListNamedSets: ... + @typing.type_check_only class RoutersListRoutePoliciesHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 8b6da30f2..cfb72f121 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -2869,6 +2869,11 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -3096,6 +3101,7 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False creationTimestamp: str description: str id: str + instances: _list[PerInstanceConfig] kind: str name: str region: str @@ -3470,6 +3476,11 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing_extensions.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -4799,6 +4810,8 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromConfig: PreservedState preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy + scheduling: ManagedInstanceScheduling + shutdownDetails: ManagedInstanceShutdownDetails version: ManagedInstanceVersion @typing.type_check_only @@ -4818,6 +4831,16 @@ class ManagedInstancePropertiesFromFlexibilityPolicy( ): machineType: str +@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 @@ -4844,6 +4867,14 @@ class NamedPort(typing_extensions.TypedDict, total=False): name: str port: int +@typing.type_check_only +class NamedSet(typing_extensions.TypedDict, total=False): + description: str + elements: _list[Expr] + fingerprint: str + name: str + type: typing_extensions.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] + @typing.type_check_only class NatIpInfo(typing_extensions.TypedDict, total=False): natIpInfoMappings: _list[NatIpInfoNatIpInfoMapping] @@ -7642,6 +7673,11 @@ class RouterStatusResponse(typing_extensions.TypedDict, total=False): kind: str result: RouterStatus +@typing.type_check_only +class RoutersGetNamedSetResponse(typing_extensions.TypedDict, total=False): + etag: str + resource: NamedSet + @typing.type_check_only class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): resource: RoutePolicy @@ -7657,6 +7693,17 @@ class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class RoutersListNamedSets(typing_extensions.TypedDict, total=False): + etag: str + id: str + kind: str + nextPageToken: str + result: _list[NamedSet] + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): etag: str @@ -8744,6 +8791,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 diff --git a/googleapiclient-stubs/_apis/config/v1/schemas.pyi b/googleapiclient-stubs/_apis/config/v1/schemas.pyi index 9da4316fa..f1668b7bf 100644 --- a/googleapiclient-stubs/_apis/config/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/config/v1/schemas.pyi @@ -137,6 +137,7 @@ class DeploymentGroupRevision(typing_extensions.TypedDict, total=False): @typing.type_check_only class DeploymentOperationMetadata(typing_extensions.TypedDict, total=False): applyResults: ApplyResults + applyResultsAvailable: bool build: str logs: str step: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/container/v1/resources.pyi b/googleapiclient-stubs/_apis/container/v1/resources.pyi index 912008c12..87619ecce 100644 --- a/googleapiclient-stubs/_apis/container/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/container/v1/resources.pyi @@ -137,6 +137,13 @@ class ContainerResource(googleapiclient.discovery.Resource): def checkAutopilotCompatibility( self, *, name: str, **kwargs: typing.Any ) -> CheckAutopilotCompatibilityResponseHttpRequest: ... + def completeControlPlaneUpgrade( + self, + *, + name: str, + body: CompleteControlPlaneUpgradeRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def completeIpRotation( self, *, @@ -395,6 +402,13 @@ class ContainerResource(googleapiclient.discovery.Resource): body: SetAddonsConfigRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def completeControlPlaneUpgrade( + self, + *, + name: str, + body: CompleteControlPlaneUpgradeRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def completeIpRotation( self, *, diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index f924912b8..4d2668fdb 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -263,6 +263,7 @@ class Cluster(typing_extensions.TypedDict, total=False): controlPlaneEndpointsConfig: ControlPlaneEndpointsConfig costManagementConfig: CostManagementConfig createTime: str + currentEmulatedVersion: str currentMasterVersion: str currentNodeCount: int currentNodeVersion: str @@ -316,6 +317,7 @@ class Cluster(typing_extensions.TypedDict, total=False): releaseChannel: ReleaseChannel resourceLabels: dict[str, typing.Any] resourceUsageExportConfig: ResourceUsageExportConfig + rollbackSafeUpgrade: RollbackSafeUpgrade satisfiesPzi: bool satisfiesPzs: bool scheduleUpgradeConfig: ScheduleUpgradeConfig @@ -392,6 +394,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredDefaultSnatStatus: DefaultSnatStatus desiredDisableL4LbFirewallReconciliation: bool desiredDnsConfig: DNSConfig + desiredEmulatedVersion: str desiredEnableCiliumClusterwideNetworkPolicy: bool desiredEnableFqdnNetworkPolicy: bool desiredEnableMultiNetworking: bool @@ -450,6 +453,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig + desiredRollbackSafeUpgrade: RollbackSafeUpgrade desiredSecretManagerConfig: SecretManagerConfig desiredSecretSyncConfig: SecretSyncConfig desiredSecurityPostureConfig: SecurityPostureConfig @@ -489,8 +493,13 @@ class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): "SYSTEM_CONFIG", ] ] + rollbackSafeUpgradeStatus: RollbackSafeUpgradeStatus upgradeDetails: _list[UpgradeDetails] +@typing.type_check_only +class CompleteControlPlaneUpgradeRequest(typing_extensions.TypedDict, total=False): + version: str + @typing.type_check_only class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): clusterId: str @@ -654,6 +663,11 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DiskIoScheduler(typing_extensions.TypedDict, total=False): + nodeAttachedDiskIoScheduler: str + nodeSystemIoScheduler: str + @typing.type_check_only class DisruptionBudget(typing_extensions.TypedDict, total=False): lastDisruptionTime: str @@ -943,6 +957,11 @@ class Jwk(typing_extensions.TypedDict, total=False): class K8sBetaAPIConfig(typing_extensions.TypedDict, total=False): enabledApis: _list[str] +@typing.type_check_only +class KubeletCertInfo(typing_extensions.TypedDict, total=False): + nonTpmBootstrapCertExpireTime: str + tpmBootstrapCertExpireTime: str + @typing.type_check_only class KubernetesDashboard(typing_extensions.TypedDict, total=False): disabled: bool @@ -958,8 +977,10 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] customNodeInit: CustomNodeInit + diskIoScheduler: DiskIoScheduler hugepages: HugepagesConfig nodeKernelModuleLoading: NodeKernelModuleLoading + nodeVfioConfig: NodeVfioConfig swapConfig: SwapConfig sysctls: dict[str, typing.Any] transparentHugepageDefrag: typing_extensions.Literal[ @@ -1344,6 +1365,7 @@ class NodePool(typing_extensions.TypedDict, total=False): etag: str initialNodeCount: int instanceGroupUrls: _list[str] + kubeletCertInfo: KubeletCertInfo locations: _list[str] maintenancePolicy: NodePoolMaintenancePolicy management: NodeManagement @@ -1439,6 +1461,10 @@ class NodeTaint(typing_extensions.TypedDict, total=False): class NodeTaints(typing_extensions.TypedDict, total=False): taints: _list[NodeTaint] +@typing.type_check_only +class NodeVfioConfig(typing_extensions.TypedDict, total=False): + dmaEntryLimit: int + @typing.type_check_only class NotificationConfig(typing_extensions.TypedDict, total=False): pubsub: PubSub @@ -1668,6 +1694,18 @@ class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): respectPdb: bool zone: str +@typing.type_check_only +class RollbackSafeUpgrade(typing_extensions.TypedDict, total=False): + controlPlaneSoakDuration: str + +@typing.type_check_only +class RollbackSafeUpgradeStatus(typing_extensions.TypedDict, total=False): + controlPlaneUpgradeRollbackEndTime: str + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE" + ] + previousVersion: str + @typing.type_check_only class RotationConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -2034,6 +2072,7 @@ class UpgradeAvailableEvent(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpgradeDetails(typing_extensions.TypedDict, total=False): endTime: str + initialEmulatedVersion: str initialVersion: str startTime: str startType: typing_extensions.Literal[ @@ -2042,10 +2081,12 @@ class UpgradeDetails(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only class UpgradeEvent(typing_extensions.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str operation: str operationStartTime: str @@ -2053,10 +2094,12 @@ class UpgradeEvent(typing_extensions.TypedDict, total=False): resourceType: typing_extensions.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str description: str disruptionEvent: DisruptionEvent @@ -2079,6 +2122,7 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "SUCCEEDED", "FAILED", "CANCELED" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index a7d3da328..dee6cd1e5 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -428,6 +428,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredDefaultSnatStatus: DefaultSnatStatus desiredDisableL4LbFirewallReconciliation: bool desiredDnsConfig: DNSConfig + desiredEmulatedVersion: str desiredEnableCiliumClusterwideNetworkPolicy: bool desiredEnableFqdnNetworkPolicy: bool desiredEnableMultiNetworking: bool @@ -711,6 +712,11 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DiskIoScheduler(typing_extensions.TypedDict, total=False): + nodeAttachedDiskIoScheduler: str + nodeSystemIoScheduler: str + @typing.type_check_only class DisruptionBudget(typing_extensions.TypedDict, total=False): lastDisruptionTime: str @@ -1021,6 +1027,11 @@ class K8sBetaAPIConfig(typing_extensions.TypedDict, total=False): class KalmConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class KubeletCertInfo(typing_extensions.TypedDict, total=False): + nonTpmBootstrapCertExpireTime: str + tpmBootstrapCertExpireTime: str + @typing.type_check_only class KubernetesDashboard(typing_extensions.TypedDict, total=False): disabled: bool @@ -1036,8 +1047,10 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] customNodeInit: CustomNodeInit + diskIoScheduler: DiskIoScheduler hugepages: HugepagesConfig nodeKernelModuleLoading: NodeKernelModuleLoading + nodeVfioConfig: NodeVfioConfig swapConfig: SwapConfig sysctls: dict[str, typing.Any] transparentHugepageDefrag: typing_extensions.Literal[ @@ -1444,6 +1457,7 @@ class NodePool(typing_extensions.TypedDict, total=False): etag: str initialNodeCount: int instanceGroupUrls: _list[str] + kubeletCertInfo: KubeletCertInfo locations: _list[str] maintenancePolicy: NodePoolMaintenancePolicy management: NodeManagement @@ -1543,6 +1557,10 @@ class NodeTaint(typing_extensions.TypedDict, total=False): class NodeTaints(typing_extensions.TypedDict, total=False): taints: _list[NodeTaint] +@typing.type_check_only +class NodeVfioConfig(typing_extensions.TypedDict, total=False): + dmaEntryLimit: int + @typing.type_check_only class NotificationConfig(typing_extensions.TypedDict, total=False): pubsub: PubSub diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index 41cec8609..03b97d9a4 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -1088,7 +1088,7 @@ class Finding(typing_extensions.TypedDict, total=False): details: str location: FindingLocation scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index 6e9a3b963..918821bf2 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -1099,7 +1099,7 @@ class Finding(typing_extensions.TypedDict, total=False): details: str location: FindingLocation scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index d22bfe659..d4a7614aa 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi @@ -1102,7 +1102,7 @@ class Finding(typing_extensions.TypedDict, total=False): details: str location: FindingLocation scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] diff --git a/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi index caa2aaba2..50726d957 100644 --- a/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi @@ -127,6 +127,7 @@ class AdditionalDetail(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -486,6 +487,7 @@ class IssueStats(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -858,6 +860,7 @@ class Signal(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -972,6 +975,7 @@ class SignalFilter(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -1086,6 +1090,7 @@ class SignalProductsFilters(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only @@ -1195,6 +1200,7 @@ class SignalTypeGroup(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] ] diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi index 30e10c0ff..d54c62231 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -301,6 +301,7 @@ class ErrorCount(typing_extensions.TypedDict, total=False): "PROCESSING_ERROR_REASON_INVALID_CLICK", "PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK", "PROCESSING_ERROR_REASON_CLICK_NOT_FOUND", + "PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING", ] recordCount: str diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index 21f3310c1..9644c1696 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -646,6 +646,7 @@ class GoogleCloudDataplexV1DataDomain(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str parentDataDomain: str + policyMember: GoogleIamV1ResourcePolicyMember uid: str updateTime: str @@ -2721,6 +2722,11 @@ class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class GoogleIamV1ResourcePolicyMember(typing_extensions.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + @typing.type_check_only class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: GoogleIamV1Policy diff --git a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi index 09e115ced..6bde78156 100644 --- a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi @@ -36,6 +36,7 @@ class AggregationResultBatch(typing_extensions.TypedDict, total=False): class AllocateIdsRequest(typing_extensions.TypedDict, total=False): databaseId: str keys: _list[Key] + requestOptions: RequestOptions @typing.type_check_only class AllocateIdsResponse(typing_extensions.TypedDict, total=False): @@ -52,6 +53,7 @@ class Avg(typing_extensions.TypedDict, total=False): @typing.type_check_only class BeginTransactionRequest(typing_extensions.TypedDict, total=False): databaseId: str + requestOptions: RequestOptions transactionOptions: TransactionOptions @typing.type_check_only @@ -65,6 +67,7 @@ class CommitRequest(typing_extensions.TypedDict, total=False): "MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL" ] mutations: _list[Mutation] + requestOptions: RequestOptions singleUseTransaction: TransactionOptions transaction: str @@ -409,6 +412,7 @@ class LookupRequest(typing_extensions.TypedDict, total=False): keys: _list[Key] propertyMask: PropertyMask readOptions: ReadOptions + requestOptions: RequestOptions @typing.type_check_only class LookupResponse(typing_extensions.TypedDict, total=False): @@ -554,10 +558,15 @@ class ReadOptions(typing_extensions.TypedDict, total=False): class ReadWrite(typing_extensions.TypedDict, total=False): previousTransaction: str +@typing.type_check_only +class RequestOptions(typing_extensions.TypedDict, total=False): + requestTags: _list[str] + @typing.type_check_only class ReserveIdsRequest(typing_extensions.TypedDict, total=False): databaseId: str keys: _list[Key] + requestOptions: RequestOptions @typing.type_check_only class ReserveIdsResponse(typing_extensions.TypedDict, total=False): ... @@ -565,6 +574,7 @@ class ReserveIdsResponse(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class RollbackRequest(typing_extensions.TypedDict, total=False): databaseId: str + requestOptions: RequestOptions transaction: str @typing.type_check_only @@ -578,6 +588,7 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): gqlQuery: GqlQuery partitionId: PartitionId readOptions: ReadOptions + requestOptions: RequestOptions @typing.type_check_only class RunAggregationQueryResponse(typing_extensions.TypedDict, total=False): @@ -595,6 +606,7 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): propertyMask: PropertyMask query: Query readOptions: ReadOptions + requestOptions: RequestOptions @typing.type_check_only class RunQueryResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi index 53a5059e2..66980cb3f 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi @@ -11,6 +11,7 @@ class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Document(typing_extensions.TypedDict, total=False): content: str + contentLengthBytes: int dataSource: str description: str name: str diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi index e18a5c034..db38f2e7d 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi @@ -39,6 +39,7 @@ class CitationSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class Document(typing_extensions.TypedDict, total=False): content: str + contentLengthBytes: int dataSource: str description: str name: str diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 5b8b255ff..056402879 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -3225,6 +3225,7 @@ class GoogleCloudDialogflowV2InputAudioConfig(typing_extensions.TypedDict, total ] disableNoSpeechRecognizedEvent: bool enableAutomaticPunctuation: bool + enableVoiceActivityEvents: bool enableWordInfo: bool languageCode: str model: str @@ -4091,6 +4092,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource( class GoogleCloudDialogflowV2SearchKnowledgeDebugInfo( typing_extensions.TypedDict, total=False ): + cesDebugInfo: dict[str, typing.Any] datastoreResponseReason: typing_extensions.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", @@ -4379,7 +4381,13 @@ class GoogleCloudDialogflowV2StreamingRecognitionResult( isFinal: bool languageCode: str messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] @@ -6139,6 +6147,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index bc9ab91d3..c8bad51df 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -2805,7 +2805,13 @@ class GoogleCloudDialogflowV2StreamingRecognitionResult( isFinal: bool languageCode: str messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] @@ -4298,6 +4304,7 @@ class GoogleCloudDialogflowV2beta1InputAudioConfig( defaultNoSpeechTimeout: str disableNoSpeechRecognizedEvent: bool enableAutomaticPunctuation: bool + enableVoiceActivityEvents: bool enableWordInfo: bool languageCode: str model: str @@ -5376,6 +5383,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource( class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo( typing_extensions.TypedDict, total=False ): + cesDebugInfo: dict[str, typing.Any] datastoreResponseReason: typing_extensions.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", @@ -5654,6 +5662,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index e6eb8b6a1..d60a3f40b 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -4574,7 +4574,13 @@ class GoogleCloudDialogflowV2StreamingRecognitionResult( isFinal: bool languageCode: str messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] @@ -5852,6 +5858,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index 53abadc75..2b5d23e46 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -4997,7 +4997,13 @@ class GoogleCloudDialogflowV2StreamingRecognitionResult( isFinal: bool languageCode: str messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] @@ -6275,6 +6281,8 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 48e494ad9..7be71056b 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -1992,6 +1992,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -4594,6 +4595,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( generativeAnswerConfig: ( GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig ) + googleDrivePickerEnabled: bool interactionType: typing_extensions.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "SEARCH_ONLY", @@ -4602,6 +4604,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( ] modelConfigInfo: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo modelConfigs: dict[str, typing.Any] + onedrivePickerEnabled: bool resultDescriptionType: typing_extensions.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] @@ -4639,12 +4642,21 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo( class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel( typing_extensions.TypedDict, total=False ): + adminView: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView description: str displayName: str icon: str isPreview: bool modelId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView( + typing_extensions.TypedDict, total=False +): + adminOverridable: bool + enabledByDefault: bool + regions: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -4662,6 +4674,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -4757,6 +4770,157 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( ] notificationParams: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing_extensions.TypedDict, total=False +): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing_extensions.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing_extensions.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing_extensions.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing_extensions.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing_extensions.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing_extensions.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing_extensions.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing_extensions.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing_extensions.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing_extensions.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing_extensions.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing_extensions.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing_extensions.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -5575,6 +5739,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -5888,6 +6053,7 @@ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( ): failureCount: str successCount: str + updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @@ -6870,6 +7036,13 @@ class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( dataStore: str filterGroups: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSafetyRating( typing_extensions.TypedDict, total=False @@ -7334,6 +7507,19 @@ class GoogleCloudDiscoveryengineV1alphaSitemap( name: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSite( typing_extensions.TypedDict, total=False @@ -7490,6 +7676,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -9098,6 +9285,7 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index 308e956fb..342128c1f 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -1621,6 +1621,46 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): class AlphaEvolveExperimentsResource( googleapiclient.discovery.Resource ): + @typing.type_check_only + class AlphaEvolveProgramsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram, + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramHttpRequest: ... + def list( + self, + *, + parent: str, + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + stateFilter: typing_extensions.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponseHttpRequest + | None + ): ... + @typing.type_check_only class OperationsResource( googleapiclient.discovery.Resource @@ -1629,6 +1669,66 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def acquirePrograms( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment, + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponseHttpRequest + | None + ): ... + def resume( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def start( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaStartExperimentRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def submitProgramsEvaluations( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponseHttpRequest: ... + def alphaEvolvePrograms( + self, + ) -> AlphaEvolveProgramsResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -3233,6 +3333,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class UserLicensesResource(googleapiclient.discovery.Resource): + def export( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest, + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponseHttpRequest: ... def list( self, *, @@ -3497,6 +3604,16 @@ class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3517,6 +3634,26 @@ class GoogleCloudDiscoveryengineV1alphaAgentHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAgent: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnalyticsConfigHttpRequest( googleapiclient.http.HttpRequest @@ -3807,6 +3944,16 @@ class GoogleCloudDiscoveryengineV1alphaEvaluationHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaEvaluation: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3887,6 +4034,26 @@ class GoogleCloudDiscoveryengineV1alphaListAgentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListAgentsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListAssistantsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -4339,6 +4506,16 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaStreamAssistResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 2fdf07133..f248a3b7b 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -604,6 +604,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -1720,6 +1721,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -1759,6 +1761,18 @@ class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse( accessToken: str refreshTokenInfo: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest( + typing_extensions.TypedDict, total=False +): + desiredProgramsCount: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse( + typing_extensions.TypedDict, total=False +): + programs: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaActionConfig( typing_extensions.TypedDict, total=False @@ -2049,6 +2063,165 @@ class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( projectId: str tableId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing_extensions.TypedDict, total=False +): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing_extensions.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing_extensions.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing_extensions.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing_extensions.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing_extensions.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing_extensions.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing_extensions.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing_extensions.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing_extensions.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing_extensions.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing_extensions.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing_extensions.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission( + typing_extensions.TypedDict, total=False +): + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + program: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing_extensions.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnalyticsConfig( typing_extensions.TypedDict, total=False @@ -3791,6 +3964,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -4104,6 +4278,7 @@ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( ): failureCount: str successCount: str + updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @@ -4597,6 +4772,17 @@ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse( + typing_extensions.TypedDict, total=False +): + csvData: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExternalIdentity( typing_extensions.TypedDict, total=False @@ -5229,6 +5415,22 @@ class GoogleCloudDiscoveryengineV1alphaListAgentsResponse( agents: _list[GoogleCloudDiscoveryengineV1alphaAgent] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse( + typing_extensions.TypedDict, total=False +): + alphaEvolveExperiments: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment + ] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse( + typing_extensions.TypedDict, total=False +): + alphaEvolvePrograms: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListAssistantsResponse( typing_extensions.TypedDict, total=False @@ -6135,6 +6337,18 @@ class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest( typing_extensions.TypedDict, total=False @@ -7064,6 +7278,19 @@ class GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest( syncIdentity: bool syncSinceTimestamp: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest( typing_extensions.TypedDict, total=False @@ -7161,6 +7388,19 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo( ): session: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest( + typing_extensions.TypedDict, total=False +): + evaluationSubmissions: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry( typing_extensions.TypedDict, total=False @@ -7555,6 +7795,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -7642,6 +7883,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( generativeAnswerConfig: ( GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig ) + googleDrivePickerEnabled: bool interactionType: typing_extensions.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "SEARCH_ONLY", @@ -7652,6 +7894,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo ) modelConfigs: dict[str, typing.Any] + onedrivePickerEnabled: bool resultDescriptionType: typing_extensions.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] @@ -7692,12 +7935,21 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo( class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel( typing_extensions.TypedDict, total=False ): + adminView: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView description: str displayName: str icon: str isPreview: bool modelId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView( + typing_extensions.TypedDict, total=False +): + adminOverridable: bool + enabledByDefault: bool + regions: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec( typing_extensions.TypedDict, total=False @@ -7723,6 +7975,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -9338,6 +9591,7 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 387b3e9f3..243ba17dc 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -604,6 +604,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -1720,6 +1721,7 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -1815,6 +1817,157 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( ] notificationParams: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing_extensions.TypedDict, total=False +): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing_extensions.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing_extensions.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing_extensions.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing_extensions.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing_extensions.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing_extensions.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing_extensions.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing_extensions.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing_extensions.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing_extensions.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing_extensions.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing_extensions.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing_extensions.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing_extensions.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -2633,6 +2786,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( latestPauseTime: str name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str realtimeState: typing_extensions.Literal[ @@ -2946,6 +3100,7 @@ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( ): failureCount: str successCount: str + updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @@ -3928,6 +4083,13 @@ class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( dataStore: str filterGroups: _list[str] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSafetyRating( typing_extensions.TypedDict, total=False @@ -4392,6 +4554,19 @@ class GoogleCloudDiscoveryengineV1alphaSitemap( name: str uri: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSite( typing_extensions.TypedDict, total=False @@ -4548,6 +4723,7 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only @@ -8789,6 +8965,7 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi index f9272a3df..13927ceb4 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi @@ -1648,56 +1648,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_response: ListCustomListsResponse, ) -> ListCustomListsResponseHttpRequest | None: ... - @typing.type_check_only - class FirstAndThirdPartyAudiencesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - body: FirstAndThirdPartyAudience, - advertiserId: str | None = ..., - **kwargs: typing.Any, - ) -> FirstAndThirdPartyAudienceHttpRequest: ... - def editCustomerMatchMembers( - self, - *, - firstAndThirdPartyAudienceId: str, - body: EditCustomerMatchMembersRequest, - **kwargs: typing.Any, - ) -> EditCustomerMatchMembersResponseHttpRequest: ... - def get( - self, - *, - firstAndThirdPartyAudienceId: str, - advertiserId: str | None = ..., - partnerId: str | None = ..., - **kwargs: typing.Any, - ) -> FirstAndThirdPartyAudienceHttpRequest: ... - def list( - self, - *, - advertiserId: str | None = ..., - filter: str | None = ..., - orderBy: str | None = ..., - pageSize: int | None = ..., - pageToken: str | None = ..., - partnerId: str | None = ..., - **kwargs: typing.Any, - ) -> ListFirstAndThirdPartyAudiencesResponseHttpRequest: ... - def list_next( - self, - previous_request: ListFirstAndThirdPartyAudiencesResponseHttpRequest, - previous_response: ListFirstAndThirdPartyAudiencesResponse, - ) -> ListFirstAndThirdPartyAudiencesResponseHttpRequest | None: ... - def patch( - self, - *, - firstAndThirdPartyAudienceId: str, - body: FirstAndThirdPartyAudience, - advertiserId: str | None = ..., - updateMask: str | None = ..., - **kwargs: typing.Any, - ) -> FirstAndThirdPartyAudienceHttpRequest: ... - @typing.type_check_only class FloodlightGroupsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -2585,7 +2535,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def combinedAudiences(self) -> CombinedAudiencesResource: ... def customBiddingAlgorithms(self) -> CustomBiddingAlgorithmsResource: ... def customLists(self) -> CustomListsResource: ... - def firstAndThirdPartyAudiences(self) -> FirstAndThirdPartyAudiencesResource: ... def floodlightGroups(self) -> FloodlightGroupsResource: ... def googleAudiences(self) -> GoogleAudiencesResource: ... def guaranteedOrders(self) -> GuaranteedOrdersResource: ... @@ -2868,14 +2817,6 @@ class DuplicateLineItemResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DuplicateLineItemResponse: ... -@typing.type_check_only -class EditCustomerMatchMembersResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> EditCustomerMatchMembersResponse: ... - @typing.type_check_only class EditGuaranteedOrderReadAccessorsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2894,14 +2835,6 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... -@typing.type_check_only -class FirstAndThirdPartyAudienceHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> FirstAndThirdPartyAudience: ... - @typing.type_check_only class FloodlightActivityHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3092,16 +3025,6 @@ class ListCustomListsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListCustomListsResponse: ... -@typing.type_check_only -class ListFirstAndThirdPartyAudiencesResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListFirstAndThirdPartyAudiencesResponse: ... - @typing.type_check_only class ListFloodlightActivitiesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 5545fabbc..ae0c1b3d6 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -1504,29 +1504,6 @@ class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): trackingUrl: str video: YoutubeVideoDetails -@typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ - "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" - ] - adUserData: typing_extensions.Literal[ - "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" - ] - -@typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): - countryCode: str - hashedEmails: _list[str] - hashedFirstName: str - hashedLastName: str - hashedPhoneNumbers: _list[str] - zipCodes: _list[str] - -@typing.type_check_only -class ContactInfoList(typing_extensions.TypedDict, total=False): - consent: Consent - contactInfos: _list[ContactInfo] - @typing.type_check_only class ContentDurationAssignedTargetingOptionDetails( typing_extensions.TypedDict, total=False @@ -2474,18 +2451,6 @@ class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): class DuplicateLineItemResponse(typing_extensions.TypedDict, total=False): duplicateLineItemId: str -@typing.type_check_only -class EditCustomerMatchMembersRequest(typing_extensions.TypedDict, total=False): - addedContactInfoList: ContactInfoList - addedMobileDeviceIdList: MobileDeviceIdList - advertiserId: str - removedContactInfoList: ContactInfoList - removedMobileDeviceIdList: MobileDeviceIdList - -@typing.type_check_only -class EditCustomerMatchMembersResponse(typing_extensions.TypedDict, total=False): - firstAndThirdPartyAudienceId: str - @typing.type_check_only class EditGuaranteedOrderReadAccessorsRequest(typing_extensions.TypedDict, total=False): addedAdvertisers: _list[str] @@ -2927,49 +2892,6 @@ class ExitEvent(typing_extensions.TypedDict, total=False): ] url: str -@typing.type_check_only -class FirstAndThirdPartyAudience(typing_extensions.TypedDict, total=False): - activeDisplayAudienceSize: str - appId: str - audienceSource: typing_extensions.Literal[ - "AUDIENCE_SOURCE_UNSPECIFIED", - "DISPLAY_VIDEO_360", - "CAMPAIGN_MANAGER", - "AD_MANAGER", - "SEARCH_ADS_360", - "YOUTUBE", - "ADS_DATA_HUB", - ] - audienceType: typing_extensions.Literal[ - "AUDIENCE_TYPE_UNSPECIFIED", - "CUSTOMER_MATCH_CONTACT_INFO", - "CUSTOMER_MATCH_DEVICE_ID", - "CUSTOMER_MATCH_USER_ID", - "ACTIVITY_BASED", - "FREQUENCY_CAP", - "TAG_BASED", - "YOUTUBE_USERS", - "LICENSED", - ] - contactInfoList: ContactInfoList - description: str - displayAudienceSize: str - displayDesktopAudienceSize: str - displayMobileAppAudienceSize: str - displayMobileWebAudienceSize: str - displayName: str - firstAndThirdPartyAudienceId: str - firstAndThirdPartyAudienceType: typing_extensions.Literal[ - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED", - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY", - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY", - ] - gmailAudienceSize: str - membershipDurationDays: str - mobileDeviceIdList: MobileDeviceIdList - name: str - youtubeAudienceSize: str - @typing.type_check_only class FirstAndThirdPartyAudienceGroup(typing_extensions.TypedDict, total=False): settings: _list[FirstAndThirdPartyAudienceTargetingSetting] @@ -3789,11 +3711,6 @@ class ListCustomListsResponse(typing_extensions.TypedDict, total=False): customLists: _list[CustomList] nextPageToken: str -@typing.type_check_only -class ListFirstAndThirdPartyAudiencesResponse(typing_extensions.TypedDict, total=False): - firstAndThirdPartyAudiences: _list[FirstAndThirdPartyAudience] - nextPageToken: str - @typing.type_check_only class ListFloodlightActivitiesResponse(typing_extensions.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] @@ -3945,11 +3862,6 @@ class MobileApp(typing_extensions.TypedDict, total=False): platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] publisher: str -@typing.type_check_only -class MobileDeviceIdList(typing_extensions.TypedDict, total=False): - consent: Consent - mobileDeviceIds: _list[str] - @typing.type_check_only class NativeContentPositionAssignedTargetingOptionDetails( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 82b2ea7ec..46f81517a 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -535,6 +535,12 @@ class AdvancedProductTargeting(typing_extensions.TypedDict, total=False): "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] ] + network: typing_extensions.Literal[ + "PLANNABLE_NETWORK_UNSPECIFIED", + "PLANNABLE_NETWORK_YOUTUBE", + "PLANNABLE_NETWORK_GOOGLE_VIDEO_PARTNERS", + "PLANNABLE_NETWORK_YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS", + ] plannableLocationIds: _list[str] surfaceTargetingSettings: SurfaceTargetingSettings targetFrequency: TargetFrequency @@ -2633,14 +2639,6 @@ class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate( addedAdvertisers: _list[str] removedAdvertisers: _list[str] -@typing.type_check_only -class EffectiveFrequencyBreakdown(typing_extensions.TypedDict, total=False): - effectiveCoviewReach: str - effectiveFrequency: int - onTargetEffectiveCoviewReach: str - onTargetReach: str - totalReach: str - @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -3222,7 +3220,6 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): class GenerateReachForecastRequest(typing_extensions.TypedDict, total=False): campaignDuration: CampaignDuration currencyCode: str - effectiveFrequencyBreakdownLimit: int minEffectiveFrequency: int plannedProducts: _list[PlannedProduct] targeting: Targeting @@ -4682,9 +4679,28 @@ class PlannableLocation(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_WARD", ] name: str + parentPlannableLocationId: str plannableLocationId: str regionCode: str +@typing.type_check_only +class PlannableProductCoreAttributes(typing_extensions.TypedDict, total=False): + buyingMethod: typing_extensions.Literal[ + "PLANNABLE_BUYING_METHOD_UNSPECIFIED", + "PLANNABLE_BUYING_METHOD_AUCTION", + "PLANNABLE_BUYING_METHOD_RESERVATION", + ] + costModel: typing_extensions.Literal[ + "PLANNABLE_COST_MODEL_UNSPECIFIED", + "PLANNABLE_COST_MODEL_CPM", + "PLANNABLE_COST_MODEL_CPV", + "PLANNABLE_COST_MODEL_CPC", + "PLANNABLE_COST_MODEL_CPA", + ] + productCategory: typing_extensions.Literal[ + "PLANNABLE_PRODUCT_CATEGORY_UNSPECIFIED", "YOUTUBE", "OPEN_AUCTION" + ] + @typing.type_check_only class PlannableTargeting(typing_extensions.TypedDict, total=False): ageRanges: _list[ @@ -4723,6 +4739,7 @@ class PlannableTargeting(typing_extensions.TypedDict, total=False): "PLANNABLE_AGE_RANGE_65_UP", ] ] + defaultYoutubeSelectLineup: YouTubeSelectLineUp devices: _list[ typing_extensions.Literal[ "DEVICE_TYPE_UNSPECIFIED", @@ -4738,13 +4755,11 @@ class PlannableTargeting(typing_extensions.TypedDict, total=False): "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] ] - networks: _list[ - typing_extensions.Literal[ - "PLANNABLE_NETWORK_UNSPECIFIED", - "PLANNABLE_NETWORK_YOUTUBE", - "PLANNABLE_NETWORK_GOOGLE_VIDEO_PARTNERS", - "PLANNABLE_NETWORK_YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS", - ] + network: typing_extensions.Literal[ + "PLANNABLE_NETWORK_UNSPECIFIED", + "PLANNABLE_NETWORK_YOUTUBE", + "PLANNABLE_NETWORK_GOOGLE_VIDEO_PARTNERS", + "PLANNABLE_NETWORK_YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS", ] surfaceTargetingCombinations: SurfaceTargetingCombinations youtubeSelectLineups: _list[YouTubeSelectLineUp] @@ -4775,7 +4790,6 @@ class PlannedProduct(typing_extensions.TypedDict, total=False): @typing.type_check_only class PlannedProductForecast(typing_extensions.TypedDict, total=False): - effectiveFrequencyBreakdowns: _list[EffectiveFrequencyBreakdown] onTargetImpressions: str onTargetReach: str totalImpressions: str @@ -4850,6 +4864,7 @@ class ProductMatchDimension(typing_extensions.TypedDict, total=False): class ProductMetadata(typing_extensions.TypedDict, total=False): displayName: str plannableProductCode: str + plannableProductCoreAttributes: PlannableProductCoreAttributes plannableProductDescription: str plannableTargeting: PlannableTargeting @@ -5162,6 +5177,20 @@ class SurfaceTargetingCombinations(typing_extensions.TypedDict, total=False): "PLANNABLE_SURFACE_IN_STREAM_NON_SKIPPABLE_THIRTY_SECONDS", ] ] + defaultSurfaceTypes: _list[ + typing_extensions.Literal[ + "PLANNABLE_SURFACE_UNSPECIFIED", + "PLANNABLE_SURFACE_IN_FEED", + "PLANNABLE_SURFACE_IN_STREAM_BUMPER", + "PLANNABLE_SURFACE_IN_STREAM_NON_SKIPPABLE", + "PLANNABLE_SURFACE_IN_STREAM_SKIPPABLE", + "PLANNABLE_SURFACE_SHORTS", + "PLANNABLE_SURFACE_DISCOVER_FEED", + "PLANNABLE_SURFACE_GMAIL", + "PLANNABLE_SURFACE_GOOGLE_DISPLAY_NETWORK", + "PLANNABLE_SURFACE_IN_STREAM_NON_SKIPPABLE_THIRTY_SECONDS", + ] + ] validSurfaceCombinations: _list[SurfaceTargetingCombination] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firebasecrashlytics/__init__.pyi b/googleapiclient-stubs/_apis/firebasecrashlytics/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/resources.pyi new file mode 100644 index 000000000..ff264735a --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/resources.pyi @@ -0,0 +1,352 @@ +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 FirebaseCrashlyticsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AppsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def batchGet( + self, + *, + parent: str, + names: str | _list[str] | None = ..., + readMask: str | None = ..., + **kwargs: typing.Any, + ) -> BatchGetEventsResponseHttpRequest: ... + def list( + self, + *, + parent: str, + filter_browser_displayNames: str | _list[str] | None = ..., + filter_device_displayNames: str | _list[str] | None = ..., + filter_device_formFactors: typing_extensions.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + | _list[ + typing_extensions.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + ] + | None = ..., + filter_interval_endTime: str | None = ..., + filter_interval_startTime: str | None = ..., + filter_issue_content: str | None = ..., + filter_issue_errorTypes: typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + | _list[ + typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + ] + | None = ..., + filter_issue_id: str | None = ..., + filter_issue_signals: typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + | _list[ + typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + ] + | None = ..., + filter_issue_state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | None = ..., + filter_issue_states: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | _list[ + typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + ] + | None = ..., + filter_issue_variantId: str | None = ..., + filter_operatingSystem_displayNames: str | _list[str] | None = ..., + filter_version_displayNames: str | _list[str] | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + readMask: str | None = ..., + **kwargs: typing.Any, + ) -> ListEventsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEventsResponseHttpRequest, + previous_response: ListEventsResponse, + ) -> ListEventsResponseHttpRequest | None: ... + + @typing.type_check_only + class IssuesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NotesResource(googleapiclient.discovery.Resource): + def create( + self, *, parent: str, body: Note, **kwargs: typing.Any + ) -> NoteHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListNotesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListNotesResponseHttpRequest, + previous_response: ListNotesResponse, + ) -> ListNotesResponseHttpRequest | None: ... + + def batchUpdate( + self, + *, + parent: str, + body: BatchUpdateIssuesRequest, + **kwargs: typing.Any, + ) -> BatchUpdateIssuesResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> IssueHttpRequest: ... + def patch( + self, + *, + name: str, + body: Issue, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> IssueHttpRequest: ... + def notes(self) -> NotesResource: ... + + @typing.type_check_only + class ReportsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + filter_browser_displayNames: str | _list[str] | None = ..., + filter_device_displayNames: str | _list[str] | None = ..., + filter_device_formFactors: typing_extensions.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + | _list[ + typing_extensions.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + ] + | None = ..., + filter_interval_endTime: str | None = ..., + filter_interval_startTime: str | None = ..., + filter_issue_content: str | None = ..., + filter_issue_errorTypes: typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + | _list[ + typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + ] + | None = ..., + filter_issue_id: str | None = ..., + filter_issue_signals: typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + | _list[ + typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + ] + | None = ..., + filter_issue_state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | None = ..., + filter_issue_states: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | _list[ + typing_extensions.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + ] + | None = ..., + filter_issue_variantId: str | None = ..., + filter_operatingSystem_displayNames: str | _list[str] | None = ..., + filter_version_displayNames: str | _list[str] | None = ..., + granularity: typing_extensions.Literal[ + "TIME_GRANULARITY_UNSPECIFIED", + "TIME_GRANULARITY_NONE", + "TIME_GRANULARITY_HOUR", + "TIME_GRANULARITY_DAY", + ] + | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ReportHttpRequest: ... + def get_next( + self, previous_request: ReportHttpRequest, previous_response: Report + ) -> ReportHttpRequest | None: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> ListReportsResponseHttpRequest: ... + + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def deleteCrashReports( + self, *, name: str, **kwargs: typing.Any + ) -> DeleteUserCrashReportsResponseHttpRequest: ... + + def events(self) -> EventsResource: ... + def issues(self) -> IssuesResource: ... + def reports(self) -> ReportsResource: ... + def users(self) -> UsersResource: ... + + def apps(self) -> AppsResource: ... + + 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 BatchGetEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchGetEventsResponse: ... + +@typing.type_check_only +class BatchUpdateIssuesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchUpdateIssuesResponse: ... + +@typing.type_check_only +class DeleteUserCrashReportsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DeleteUserCrashReportsResponse: ... + +@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 IssueHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Issue: ... + +@typing.type_check_only +class ListEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEventsResponse: ... + +@typing.type_check_only +class ListNotesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListNotesResponse: ... + +@typing.type_check_only +class ListReportsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListReportsResponse: ... + +@typing.type_check_only +class NoteHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Note: ... + +@typing.type_check_only +class ReportHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Report: ... diff --git a/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/schemas.pyi new file mode 100644 index 000000000..3ebbcdc47 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/schemas.pyi @@ -0,0 +1,297 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class BatchGetEventsResponse(typing_extensions.TypedDict, total=False): + events: _list[Event] + +@typing.type_check_only +class BatchUpdateIssuesRequest(typing_extensions.TypedDict, total=False): + requests: _list[UpdateIssueRequest] + updateMask: str + +@typing.type_check_only +class BatchUpdateIssuesResponse(typing_extensions.TypedDict, total=False): + issues: _list[Issue] + +@typing.type_check_only +class Breadcrumb(typing_extensions.TypedDict, total=False): + eventTime: str + params: dict[str, typing.Any] + title: str + +@typing.type_check_only +class Browser(typing_extensions.TypedDict, total=False): + browser: str + displayName: str + displayVersion: str + +@typing.type_check_only +class DeleteUserCrashReportsResponse(typing_extensions.TypedDict, total=False): + targetCompleteTime: str + +@typing.type_check_only +class Device(typing_extensions.TypedDict, total=False): + architecture: str + companyName: str + displayName: str + formFactor: typing_extensions.Literal[ + "FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", "DESKTOP", "TV", "WATCH" + ] + manufacturer: str + marketingName: str + model: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Error(typing_extensions.TypedDict, total=False): + blamed: bool + code: str + frames: _list[Frame] + queue: str + subtitle: str + title: str + +@typing.type_check_only +class Event(typing_extensions.TypedDict, total=False): + appOrientation: str + blameFrame: Frame + breadcrumbs: _list[Breadcrumb] + browser: Browser + buildStamp: str + bundleOrPackage: str + crashlyticsSdkVersion: str + customKeys: dict[str, typing.Any] + device: Device + deviceOrientation: str + errors: _list[Error] + eventId: str + eventTime: str + exceptions: _list[Exception] + installationUuid: str + issue: Issue + issueSubtitle: str + issueTitle: str + issueVariant: IssueVariant + logs: _list[Log] + memory: Memory + name: str + operatingSystem: OperatingSystem + platform: str + processState: str + receivedTime: str + routePath: str + sessionId: str + storage: Storage + threads: _list[Thread] + user: User + version: Version + +@typing.type_check_only +class Exception(typing_extensions.TypedDict, total=False): + blamed: bool + exceptionMessage: str + frames: _list[Frame] + nested: bool + subtitle: str + title: str + type: str + +@typing.type_check_only +class FirebaseSessionEvent(typing_extensions.TypedDict, total=False): + device: Device + eventTime: str + eventType: typing_extensions.Literal["SESSION_EVENT_TYPE_UNKNOWN", "SESSION_START"] + firebaseInstallationId: str + firstSessionId: str + operatingSystem: OperatingSystem + sessionId: str + sessionIndex: int + version: Version + +@typing.type_check_only +class Frame(typing_extensions.TypedDict, total=False): + address: str + blamed: bool + column: str + file: str + library: str + line: str + offset: str + owner: str + symbol: str + +@typing.type_check_only +class IntervalMetrics(typing_extensions.TypedDict, total=False): + endTime: str + eventsCount: str + impactedUsersCount: str + sessionsCount: str + startTime: str + +@typing.type_check_only +class Issue(typing_extensions.TypedDict, total=False): + errorType: typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + firstSeenTime: str + firstSeenVersion: str + id: str + lastSeenTime: str + lastSeenVersion: str + name: str + notesCount: str + sampleEvent: str + signals: _list[IssueSignals] + state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED"] + stateUpdateTime: str + subtitle: str + title: str + uri: str + variants: _list[IssueVariant] + +@typing.type_check_only +class IssueSignals(typing_extensions.TypedDict, total=False): + description: str + signal: typing_extensions.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + +@typing.type_check_only +class IssueVariant(typing_extensions.TypedDict, total=False): + id: str + sampleEvent: str + uri: str + +@typing.type_check_only +class ListEventsResponse(typing_extensions.TypedDict, total=False): + events: _list[Event] + nextPageToken: str + +@typing.type_check_only +class ListNotesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + notes: _list[Note] + +@typing.type_check_only +class ListReportsResponse(typing_extensions.TypedDict, total=False): + reports: _list[Report] + +@typing.type_check_only +class Log(typing_extensions.TypedDict, total=False): + logTime: str + message: str + +@typing.type_check_only +class Memory(typing_extensions.TypedDict, total=False): + free: str + used: str + +@typing.type_check_only +class Note(typing_extensions.TypedDict, total=False): + author: str + body: str + createTime: str + name: str + +@typing.type_check_only +class OperatingSystem(typing_extensions.TypedDict, total=False): + deviceType: str + displayName: str + displayVersion: str + modificationState: str + os: str + type: str + +@typing.type_check_only +class PlayTrack(typing_extensions.TypedDict, total=False): + title: str + type: typing_extensions.Literal[ + "TRACK_TYPE_UNSPECIFIED", + "TRACK_TYPE_PROD", + "TRACK_TYPE_INTERNAL", + "TRACK_TYPE_OPEN_TESTING", + "TRACK_TYPE_CLOSED_TESTING", + "TRACK_TYPE_EARLY_ACCESS", + ] + +@typing.type_check_only +class Report(typing_extensions.TypedDict, total=False): + displayName: str + groups: _list[ReportGroup] + name: str + nextPageToken: str + totalSize: int + usage: str + +@typing.type_check_only +class ReportGroup(typing_extensions.TypedDict, total=False): + browser: Browser + device: Device + issue: Issue + metrics: _list[IntervalMetrics] + operatingSystem: OperatingSystem + subgroups: _list[ReportGroup] + variant: IssueVariant + version: Version + webMetricsGroup: WebMetricsGroup + +@typing.type_check_only +class Storage(typing_extensions.TypedDict, total=False): + free: str + used: str + +@typing.type_check_only +class Thread(typing_extensions.TypedDict, total=False): + blamed: bool + crashAddress: str + crashed: bool + frames: _list[Frame] + name: str + queue: str + signal: str + signalCode: str + subtitle: str + sysThreadId: str + threadId: str + threadState: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "THREAD_STATE_TERMINATED", + "THREAD_STATE_RUNNABLE", + "THREAD_STATE_TIMED_WAITING", + "THREAD_STATE_BLOCKED", + "THREAD_STATE_WAITING", + "THREAD_STATE_NEW", + "THREAD_STATE_NATIVE_RUNNABLE", + "THREAD_STATE_NATIVE_WAITING", + ] + title: str + +@typing.type_check_only +class UpdateIssueRequest(typing_extensions.TypedDict, total=False): + issue: Issue + updateMask: str + +@typing.type_check_only +class User(typing_extensions.TypedDict, total=False): + id: str + +@typing.type_check_only +class Version(typing_extensions.TypedDict, total=False): + buildVersion: str + displayName: str + displayVersion: str + tracks: _list[PlayTrack] + +@typing.type_check_only +class WebMetricsGroup(typing_extensions.TypedDict, total=False): + id: str diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index 9ef2146bf..867748bd7 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -143,6 +143,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): body: Document, documentId: str | None = ..., mask_fieldPaths: str | _list[str] | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... def delete( @@ -151,6 +152,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): name: str, currentDocument_exists: bool | None = ..., currentDocument_updateTime: str | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def executePipeline( @@ -166,6 +168,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): name: str, mask_fieldPaths: str | _list[str] | None = ..., readTime: str | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., transaction: str | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... @@ -179,6 +182,8 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -210,6 +215,8 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -242,6 +249,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): currentDocument_exists: bool | None = ..., currentDocument_updateTime: str | None = ..., mask_fieldPaths: str | _list[str] | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., updateMask_fieldPaths: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 4dd17584a..e1a99f02e 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -29,6 +29,7 @@ class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): mask: DocumentMask newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions transaction: str @typing.type_check_only @@ -41,6 +42,7 @@ class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchWriteRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] + requestOptions: RequestOptions writes: _list[Write] @typing.type_check_only @@ -51,6 +53,7 @@ class BatchWriteResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class BeginTransactionRequest(typing_extensions.TypedDict, total=False): options: TransactionOptions + requestOptions: RequestOptions @typing.type_check_only class BeginTransactionResponse(typing_extensions.TypedDict, total=False): @@ -73,6 +76,7 @@ class CollectionSelector(typing_extensions.TypedDict, total=False): @typing.type_check_only class CommitRequest(typing_extensions.TypedDict, total=False): + requestOptions: RequestOptions transaction: str writes: _list[Write] @@ -141,6 +145,7 @@ class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): autoCommitTransaction: bool newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredPipeline: StructuredPipeline transaction: str @@ -797,6 +802,7 @@ class ListCollectionIdsRequest(typing_extensions.TypedDict, total=False): pageSize: int pageToken: str readTime: str + requestOptions: RequestOptions @typing.type_check_only class ListCollectionIdsResponse(typing_extensions.TypedDict, total=False): @@ -818,6 +824,7 @@ class ListenRequest(typing_extensions.TypedDict, total=False): addTarget: Target labels: dict[str, typing.Any] removeTarget: int + requestOptions: RequestOptions @typing.type_check_only class ListenResponse(typing_extensions.TypedDict, total=False): @@ -852,6 +859,7 @@ class PartitionQueryRequest(typing_extensions.TypedDict, total=False): pageToken: str partitionCount: str readTime: str + requestOptions: RequestOptions structuredQuery: StructuredQuery @typing.type_check_only @@ -892,8 +900,13 @@ class ReadWrite(typing_extensions.TypedDict, total=False): ] retryTransaction: str +@typing.type_check_only +class RequestOptions(typing_extensions.TypedDict, total=False): + requestTags: _list[str] + @typing.type_check_only class RollbackRequest(typing_extensions.TypedDict, total=False): + requestOptions: RequestOptions transaction: str @typing.type_check_only @@ -901,6 +914,7 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredAggregationQuery: StructuredAggregationQuery transaction: str @@ -916,6 +930,7 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredQuery: StructuredQuery transaction: str @@ -1035,6 +1050,7 @@ class Write(typing_extensions.TypedDict, total=False): @typing.type_check_only class WriteRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] + requestOptions: RequestOptions streamId: str streamToken: str writes: _list[Write] diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi index 0f79a79a6..d7cda11af 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi @@ -51,6 +51,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): body: Document, documentId: str | None = ..., mask_fieldPaths: str | _list[str] | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... def delete( @@ -59,6 +60,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): name: str, currentDocument_exists: bool | None = ..., currentDocument_updateTime: str | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def executePipeline( @@ -74,6 +76,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): name: str, mask_fieldPaths: str | _list[str] | None = ..., readTime: str | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., transaction: str | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... @@ -87,6 +90,8 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -118,6 +123,8 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -150,6 +157,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): currentDocument_exists: bool | None = ..., currentDocument_updateTime: str | None = ..., mask_fieldPaths: str | _list[str] | None = ..., + requestOptions_requestTags: str | _list[str] | None = ..., updateMask_fieldPaths: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> DocumentHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index 1231db17b..c1f794484 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -29,6 +29,7 @@ class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): mask: DocumentMask newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions transaction: str @typing.type_check_only @@ -41,6 +42,7 @@ class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchWriteRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] + requestOptions: RequestOptions writes: _list[Write] @typing.type_check_only @@ -51,6 +53,7 @@ class BatchWriteResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class BeginTransactionRequest(typing_extensions.TypedDict, total=False): options: TransactionOptions + requestOptions: RequestOptions @typing.type_check_only class BeginTransactionResponse(typing_extensions.TypedDict, total=False): @@ -73,6 +76,7 @@ class CollectionSelector(typing_extensions.TypedDict, total=False): @typing.type_check_only class CommitRequest(typing_extensions.TypedDict, total=False): + requestOptions: RequestOptions transaction: str writes: _list[Write] @@ -141,6 +145,7 @@ class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): autoCommitTransaction: bool newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredPipeline: StructuredPipeline transaction: str @@ -446,6 +451,7 @@ class ListCollectionIdsRequest(typing_extensions.TypedDict, total=False): pageSize: int pageToken: str readTime: str + requestOptions: RequestOptions @typing.type_check_only class ListCollectionIdsResponse(typing_extensions.TypedDict, total=False): @@ -462,6 +468,7 @@ class ListenRequest(typing_extensions.TypedDict, total=False): addTarget: Target labels: dict[str, typing.Any] removeTarget: int + requestOptions: RequestOptions @typing.type_check_only class ListenResponse(typing_extensions.TypedDict, total=False): @@ -488,6 +495,7 @@ class PartitionQueryRequest(typing_extensions.TypedDict, total=False): pageToken: str partitionCount: str readTime: str + requestOptions: RequestOptions structuredQuery: StructuredQuery @typing.type_check_only @@ -528,8 +536,13 @@ class ReadWrite(typing_extensions.TypedDict, total=False): ] retryTransaction: str +@typing.type_check_only +class RequestOptions(typing_extensions.TypedDict, total=False): + requestTags: _list[str] + @typing.type_check_only class RollbackRequest(typing_extensions.TypedDict, total=False): + requestOptions: RequestOptions transaction: str @typing.type_check_only @@ -537,6 +550,7 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredAggregationQuery: StructuredAggregationQuery transaction: str @@ -552,6 +566,7 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str + requestOptions: RequestOptions structuredQuery: StructuredQuery transaction: str @@ -671,6 +686,7 @@ class Write(typing_extensions.TypedDict, total=False): @typing.type_check_only class WriteRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] + requestOptions: RequestOptions streamId: str streamToken: str writes: _list[Write] diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index 49b05f575..40ae67b28 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -61,6 +61,7 @@ class BDRBackupRestoreJobLog(typing_extensions.TypedDict, total=False): sourceResourceLocation: str sourceResourceName: str startTime: str + storageTier: str targetResourceType: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/health/v4/resources.pyi b/googleapiclient-stubs/_apis/health/v4/resources.pyi index daba203b9..3ed997ff7 100644 --- a/googleapiclient-stubs/_apis/health/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/health/v4/resources.pyi @@ -89,6 +89,23 @@ class GoogleHealthAPIResource(googleapiclient.discovery.Resource): def subscribers(self) -> SubscribersResource: ... + @typing.type_check_only + class ShlResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MResource(googleapiclient.discovery.Resource): + def getShlManifest( + self, *, externalShlId: str, body: ManifestParams, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + @typing.type_check_only + class RResource(googleapiclient.discovery.Resource): + def get( + self, *, externalShlId: str, resourceToken: str, **kwargs: typing.Any + ) -> HttpBodyHttpRequest: ... + + def m(self) -> MResource: ... + def r(self) -> RResource: ... + @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -239,6 +256,7 @@ class GoogleHealthAPIResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... + def shl(self) -> ShlResource: ... def users(self) -> UsersResource: ... @typing.type_check_only @@ -273,6 +291,14 @@ class ExportExerciseTcxResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ExportExerciseTcxResponse: ... +@typing.type_check_only +class HttpBodyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HttpBody: ... + @typing.type_check_only class IdentityHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/health/v4/schemas.pyi b/googleapiclient-stubs/_apis/health/v4/schemas.pyi index 32d58ba06..33dbe2a6b 100644 --- a/googleapiclient-stubs/_apis/health/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/health/v4/schemas.pyi @@ -839,6 +839,12 @@ class Height(typing_extensions.TypedDict, total=False): heightMillimeters: str sampleTime: ObservationSampleTime +@typing.type_check_only +class HttpBody(typing_extensions.TypedDict, total=False): + contentType: str + data: str + extensions: _list[dict[str, typing.Any]] + @typing.type_check_only class HttpHeader(typing_extensions.TypedDict, total=False): key: str @@ -905,6 +911,12 @@ class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] +@typing.type_check_only +class ManifestParams(typing_extensions.TypedDict, total=False): + embeddedLengthMax: int + passcode: str + recipient: str + @typing.type_check_only class MedicalDeviceInfo(typing_extensions.TypedDict, total=False): algorithmVersion: str diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi index 215e0fe29..463af667d 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi @@ -74,6 +74,7 @@ class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): "RAW_ENCRYPT_DECRYPT", "MAC", "KEY_ENCAPSULATION", + "AES_WRAPPING", ] rotationPeriod: str versionTemplate: GoogleCloudKmsV1CryptoKeyVersionTemplate @@ -128,6 +129,7 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] attestation: GoogleCloudKmsV1KeyOperationAttestation createTime: str @@ -137,6 +139,7 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) externalProtectionLevelOptions: GoogleCloudKmsV1ExternalProtectionLevelOptions generateTime: str generationFailureReason: str + hsmTrusted: bool importFailureReason: str importJob: str importTime: str @@ -163,6 +166,7 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "PENDING_EXTERNAL_DESTRUCTION", "EXTERNAL_DESTRUCTION_FAILED", ] + trustedWrappingEnabled: bool @typing.type_check_only class GoogleCloudKmsV1CryptoKeyVersionTemplate( @@ -216,6 +220,7 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "AES_256_KWP", ] protectionLevel: typing_extensions.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", @@ -230,6 +235,7 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( class GoogleCloudKmsV1ExternalProtectionLevelOptions( typing_extensions.TypedDict, total=False ): + ekmConnectionBackendOverride: str ekmConnectionKeyPath: str externalKeyUri: str diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index 4c8c2653a..a9d6cfb44 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -226,6 +226,8 @@ class EventAnnotation(typing_extensions.TypedDict, total=False): "SAP_OPERATIONS", "INTERCONNECT_MAINTENANCE_STARTED", "INTERCONNECT_MAINTENANCE_COMPLETED", + "VPN_TRAFFIC_SELECTOR_NARROWING", + "VPN_MAINTENANCE", ] filter: str resourceNames: _list[str] diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index fcfb281b0..a6a814402 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -417,6 +417,9 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + flexPerformanceTier: typing_extensions.Literal[ + "FLEX_PERFORMANCE_TIER_UNSPECIFIED", "LIMITED" + ] hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index 8fcd256f0..d42971fae 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -424,6 +424,9 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + flexPerformanceTier: typing_extensions.Literal[ + "FLEX_PERFORMANCE_TIER_UNSPECIFIED", "LIMITED" + ] hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi index 1ad4a3c1d..738261e2b 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi @@ -105,7 +105,7 @@ class InternalRange(typing_extensions.TypedDict, total=False): ] prefixLength: int rangeStatus: typing_extensions.Literal[ - "RANGE_STATUS_UNSPECIFIED", "ACTIVE", "OBSOLETE" + "RANGE_STATUS_UNSPECIFIED", "ACTIVE", "OBSOLETE", "CREATING", "DELETING" ] targetCidrRange: _list[str] updateTime: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index ec8d2b10e..5065a34f9 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -47,13 +47,6 @@ class AgentGatewayNetworkConfigDnsPeeringConfig( @typing.type_check_only class AgentGatewayNetworkConfigEgress(typing_extensions.TypedDict, total=False): networkAttachment: str - trustConfig: AgentGatewayNetworkConfigEgressTrustConfig - -@typing.type_check_only -class AgentGatewayNetworkConfigEgressTrustConfig( - typing_extensions.TypedDict, total=False -): - pemCertificates: _list[str] @typing.type_check_only class AgentGatewaySelfManaged(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index bf19e7f4e..3839c3ed6 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -47,13 +47,6 @@ class AgentGatewayNetworkConfigDnsPeeringConfig( @typing.type_check_only class AgentGatewayNetworkConfigEgress(typing_extensions.TypedDict, total=False): networkAttachment: str - trustConfig: AgentGatewayNetworkConfigEgressTrustConfig - -@typing.type_check_only -class AgentGatewayNetworkConfigEgressTrustConfig( - typing_extensions.TypedDict, total=False -): - pemCertificates: _list[str] @typing.type_check_only class AgentGatewaySelfManaged(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index 89a21c732..64921661d 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -354,7 +354,7 @@ class Finding(typing_extensions.TypedDict, total=False): details: str location: FindingLocation scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index a1f427f02..fe99a93ff 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -353,7 +353,7 @@ class Finding(typing_extensions.TypedDict, total=False): details: str location: FindingLocation scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi index 752a41939..2429990b8 100644 --- a/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi @@ -120,6 +120,113 @@ class ParameterManagerResource(googleapiclient.discovery.Resource): ) -> ParameterHttpRequest: ... def versions(self) -> VersionsResource: ... + @typing.type_check_only + class TemplatesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: TemplateVersion, + requestId: str | None = ..., + templateVersionId: str | None = ..., + **kwargs: typing.Any, + ) -> TemplateVersionHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "VIEW_UNSPECIFIED", "BASIC", "FULL" + ] + | None = ..., + **kwargs: typing.Any, + ) -> TemplateVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListTemplateVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTemplateVersionsResponseHttpRequest, + previous_response: ListTemplateVersionsResponse, + ) -> ListTemplateVersionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: TemplateVersion, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> TemplateVersionHttpRequest: ... + def render( + self, + *, + name: str, + parameterVersion: str | None = ..., + **kwargs: typing.Any, + ) -> RenderTemplateVersionResponseHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Template, + requestId: str | None = ..., + templateId: str | None = ..., + **kwargs: typing.Any, + ) -> TemplateHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TemplateHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListTemplatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTemplatesResponseHttpRequest, + previous_response: ListTemplatesResponse, + ) -> ListTemplatesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Template, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> TemplateHttpRequest: ... + def versions(self) -> VersionsResource: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -139,6 +246,7 @@ class ParameterManagerResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def parameters(self) -> ParametersResource: ... + def templates(self) -> TemplatesResource: ... def locations(self) -> LocationsResource: ... @@ -188,6 +296,22 @@ class ListParametersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListParametersResponse: ... +@typing.type_check_only +class ListTemplateVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTemplateVersionsResponse: ... + +@typing.type_check_only +class ListTemplatesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTemplatesResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -219,3 +343,27 @@ class RenderParameterVersionResponseHttpRequest(googleapiclient.http.HttpRequest http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> RenderParameterVersionResponse: ... + +@typing.type_check_only +class RenderTemplateVersionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RenderTemplateVersionResponse: ... + +@typing.type_check_only +class TemplateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Template: ... + +@typing.type_check_only +class TemplateVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TemplateVersion: ... diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi index 6fb0efa7a..1d77d3f58 100644 --- a/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi @@ -24,6 +24,18 @@ class ListParametersResponse(typing_extensions.TypedDict, total=False): parameters: _list[Parameter] unreachable: _list[str] +@typing.type_check_only +class ListTemplateVersionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + templateVersions: _list[TemplateVersion] + unreachable: _list[str] + +@typing.type_check_only +class ListTemplatesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + templates: _list[Template] + unreachable: _list[str] + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -63,7 +75,39 @@ class RenderParameterVersionResponse(typing_extensions.TypedDict, total=False): payload: ParameterVersionPayload renderedPayload: str +@typing.type_check_only +class RenderTemplateVersionResponse(typing_extensions.TypedDict, total=False): + parameterVersion: str + payload: TemplateVersionPayload + renderedPayload: str + templateFormat: typing_extensions.Literal[ + "TEMPLATE_FORMAT_UNSPECIFIED", "TEMPLATE_FORMAT_YAML", "TEMPLATE_FORMAT_JSON" + ] + templateVersion: str + @typing.type_check_only class ResourcePolicyMember(typing_extensions.TypedDict, total=False): iamPolicyNamePrincipal: str iamPolicyUidPrincipal: str + +@typing.type_check_only +class Template(typing_extensions.TypedDict, total=False): + createTime: str + format: typing_extensions.Literal[ + "TEMPLATE_FORMAT_UNSPECIFIED", "TEMPLATE_FORMAT_YAML", "TEMPLATE_FORMAT_JSON" + ] + labels: dict[str, typing.Any] + name: str + updateTime: str + +@typing.type_check_only +class TemplateVersion(typing_extensions.TypedDict, total=False): + createTime: str + disabled: bool + name: str + payload: TemplateVersionPayload + updateTime: str + +@typing.type_check_only +class TemplateVersionPayload(typing_extensions.TypedDict, total=False): + data: str diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi index b6d322059..ec775908f 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi @@ -4,6 +4,21 @@ import typing_extensions _list = list +@typing.type_check_only +class ApiservingMcpMcpToolVisibility(typing_extensions.TypedDict, total=False): + fieldVisibility: _list[ApiservingMcpMcpToolVisibilityFieldVisibility] + visibilityEnforcementStrategy: typing_extensions.Literal[ + "VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED", "COMBINE", "OVERRIDE" + ] + visibilityRestriction: str + +@typing.type_check_only +class ApiservingMcpMcpToolVisibilityFieldVisibility( + typing_extensions.TypedDict, total=False +): + restriction: str + selector: str + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1Anomaly( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi index d0f1cd382..de9acb697 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi @@ -4,6 +4,21 @@ import typing_extensions _list = list +@typing.type_check_only +class ApiservingMcpMcpToolVisibility(typing_extensions.TypedDict, total=False): + fieldVisibility: _list[ApiservingMcpMcpToolVisibilityFieldVisibility] + visibilityEnforcementStrategy: typing_extensions.Literal[ + "VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED", "COMBINE", "OVERRIDE" + ] + visibilityRestriction: str + +@typing.type_check_only +class ApiservingMcpMcpToolVisibilityFieldVisibility( + typing_extensions.TypedDict, total=False +): + restriction: str + selector: str + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1Anomaly( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index bf607dcb8..c44140dad 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -472,6 +472,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -701,6 +702,7 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index bbe2dcaff..06c9089c5 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -472,6 +472,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -701,6 +702,7 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE", "SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK", "SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME", + "SIGNAL_TYPE_MISSING_ENHANCED_PROTECTION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi index fe1c68f34..49ae1d572 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi @@ -81,6 +81,13 @@ class SecretManagerResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, etag: str | None = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def enableManagedRotation( + self, + *, + parent: str, + body: EnableManagedRotationRequest, + **kwargs: typing.Any, + ) -> SecretVersionHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> SecretHttpRequest: ... @@ -113,6 +120,13 @@ class SecretManagerResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> SecretHttpRequest: ... + def rotateSecret( + self, + *, + parent: str, + body: RotateSecretRequest, + **kwargs: typing.Any, + ) -> SecretVersionHttpRequest: ... def setIamPolicy( self, *, @@ -213,6 +227,13 @@ class SecretManagerResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, etag: str | None = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def enableManagedRotation( + self, + *, + parent: str, + body: EnableManagedRotationRequest, + **kwargs: typing.Any, + ) -> SecretVersionHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> SecretHttpRequest: ... def getIamPolicy( self, @@ -243,6 +264,9 @@ class SecretManagerResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> SecretHttpRequest: ... + def rotateSecret( + self, *, parent: str, body: RotateSecretRequest, **kwargs: typing.Any + ) -> SecretVersionHttpRequest: ... def setIamPolicy( self, *, resource: str, body: SetIamPolicyRequest, **kwargs: typing.Any ) -> PolicyHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi index 4ad112141..c05368871 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi @@ -39,6 +39,12 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class CloudSQLSingleUserCredentials(typing_extensions.TypedDict, total=False): + instanceId: str + password: str + username: str + @typing.type_check_only class CustomerManagedEncryption(typing_extensions.TypedDict, total=False): kmsKeyName: str @@ -58,6 +64,10 @@ class DisableSecretVersionRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EnableManagedRotationRequest(typing_extensions.TypedDict, total=False): + cloudSqlSingleUserCredentials: CloudSQLSingleUserCredentials + @typing.type_check_only class EnableSecretVersionRequest(typing_extensions.TypedDict, total=False): etag: str @@ -94,6 +104,11 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class ManagedRotationStatus(typing_extensions.TypedDict, total=False): + error: Status + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -146,8 +161,17 @@ class ReplicationStatus(typing_extensions.TypedDict, total=False): automatic: AutomaticStatus userManaged: UserManagedStatus +@typing.type_check_only +class ResourcePolicyMember(typing_extensions.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + +@typing.type_check_only +class RotateSecretRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Rotation(typing_extensions.TypedDict, total=False): + managedRotationStatus: ManagedRotationStatus nextRotationTime: str rotationPeriod: str @@ -160,8 +184,17 @@ class Secret(typing_extensions.TypedDict, total=False): expireTime: str labels: dict[str, typing.Any] name: str + policyMember: ResourcePolicyMember replication: Replication rotation: Rotation + secretType: typing_extensions.Literal[ + "SECRET_TYPE_UNSPECIFIED", + "CLOUD_SQL_DB_CREDENTIALS", + "ACCESS_KEY", + "CERTIFICATE", + "OTHER_DB_CREDENTIALS", + "OTHER", + ] tags: dict[str, typing.Any] topics: _list[Topic] ttl: str diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index e5430e791..98efb07c3 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -92,7 +92,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ConnectSettingsHttpRequest: ... def resolve( - self, *, dnsName: str, location: str, **kwargs: typing.Any + self, *, location: str, dnsName: str, **kwargs: typing.Any ) -> ConnectSettingsHttpRequest: ... @typing.type_check_only @@ -280,6 +280,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: DatabaseInstance, + reconcilePscNetworking: bool | None = ..., + reconcilePscNetworkingForce: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def pointInTimeRestore( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index fe6afd513..6f98d5d74 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -313,6 +313,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] + connectionName: str customSubjectAlternativeNames: _list[str] databaseVersion: typing_extensions.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", @@ -1147,12 +1148,24 @@ class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): + cpuUtilizationThresholdPercent: int enabled: bool + historyListLengthThresholdCount: int + memoryUsageThresholdPercent: int probeThreshold: int probingIntervalSeconds: int runningThreadsThreshold: int secondsBehindSourceThreshold: int + semaphoreWaitThresholdCount: int transactionDurationThreshold: int + transactionKillExcludedUserHosts: _list[str] + transactionKillThresholdSeconds: int + transactionKillType: typing_extensions.Literal[ + "TRANSACTION_KILL_TYPE_UNSPECIFIED", + "READ_ONLY_TRANSACTIONS", + "ALL_TRANSACTIONS", + ] + transactionLockWaitThresholdCount: int @typing.type_check_only class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): @@ -1264,10 +1277,22 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str + instanceAutoDnsStatus: typing_extensions.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] ipAddress: str serviceConnectionPolicy: str serviceConnectionPolicyCreationResult: str status: str + writeEndpointAutoDnsStatus: typing_extensions.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index b28f9c26e..75bca552c 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -92,7 +92,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ConnectSettingsHttpRequest: ... def resolve( - self, *, dnsName: str, location: str, **kwargs: typing.Any + self, *, location: str, dnsName: str, **kwargs: typing.Any ) -> ConnectSettingsHttpRequest: ... @typing.type_check_only @@ -280,6 +280,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: DatabaseInstance, + reconcilePscNetworking: bool | None = ..., + reconcilePscNetworkingForce: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def pointInTimeRestore( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index fe6afd513..9647f9633 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -313,6 +313,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): backendType: typing_extensions.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] + connectionName: str customSubjectAlternativeNames: _list[str] databaseVersion: typing_extensions.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", @@ -1084,6 +1085,7 @@ class Operation(typing_extensions.TypedDict, total=False): "CREATE_READ_POOL", "PRE_CHECK_MAJOR_VERSION_UPGRADE", "SETUP_MIGRATION", + "AGENT_SEND_MESSAGE", ] preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str @@ -1147,12 +1149,24 @@ class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): + cpuUtilizationThresholdPercent: int enabled: bool + historyListLengthThresholdCount: int + memoryUsageThresholdPercent: int probeThreshold: int probingIntervalSeconds: int runningThreadsThreshold: int secondsBehindSourceThreshold: int + semaphoreWaitThresholdCount: int transactionDurationThreshold: int + transactionKillExcludedUserHosts: _list[str] + transactionKillThresholdSeconds: int + transactionKillType: typing_extensions.Literal[ + "TRANSACTION_KILL_TYPE_UNSPECIFIED", + "READ_ONLY_TRANSACTIONS", + "ALL_TRANSACTIONS", + ] + transactionLockWaitThresholdCount: int @typing.type_check_only class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): @@ -1264,10 +1278,22 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str + instanceAutoDnsStatus: typing_extensions.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] ipAddress: str serviceConnectionPolicy: str serviceConnectionPolicyCreationResult: str status: str + writeEndpointAutoDnsStatus: typing_extensions.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi index d1430ba12..7275586bb 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi @@ -172,59 +172,6 @@ class Client(typing_extensions.TypedDict, total=False): type: str workspaceId: str -@typing.type_check_only -class CompilerErrorLite(typing_extensions.TypedDict, total=False): - errorMessage: str - errorType: typing_extensions.Literal[ - "unknownErrorType", - "duplicateAutoEventName", - "duplicateConditionId", - "duplicateDefaultMacro", - "duplicateTagName", - "internalCompilerError", - "invalidMacroKey", - "invalidNumberPredicateArgs", - "invalidMacroFormat", - "invalidMacroNameReference", - "invalidMacroParameter", - "invalidUsageContext", - "invalidRegex", - "macroCycle", - "unknownConditionId", - "unknownMacroInstance", - "invalidManualEscaping", - "invalidHtmlCssJs", - "macroInCommentsError", - "jsCompilerError", - "jsonError", - "invalidTagParameter", - "javascriptTooLong", - "unknownTagInstance", - "invalidTagReference", - "unknownTriggerId", - "customTriggerMissingEventFilter", - "duplicateTriggerId", - "unsupportedTriggerType", - "invalidTriggerParameter", - "duplicateExperimentId", - "pixieCompilerError", - "macroNotServerSideResolvable", - "invalidBlockingTrigger", - "lineTooLong", - "invalidTypeInSelect", - "gaExperimentMacroIsDeprecated", - "unsafeHtmlContent", - "unsafeHtmlAttributeValue", - "unsafeCssContent", - "parameterReferenceNotFound", - "invalidCustomTemplateRuntimeCode", - "conflictingDestinationRouting", - "missingRequiredActivity", - "unresolvableDestinationTag", - "invalidDestinationTag", - "tosRequiredForThirdPartyTags", - ] - @typing.type_check_only class Condition(typing_extensions.TypedDict, total=False): parameter: _list[Parameter] @@ -353,7 +300,6 @@ class CreateContainerVersionRequestVersionOptions( @typing.type_check_only class CreateContainerVersionResponse(typing_extensions.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion newWorkspacePath: str syncStatus: SyncStatus @@ -583,13 +529,11 @@ class ProposedChange(typing_extensions.TypedDict, total=False): @typing.type_check_only class PublishContainerVersionResponse(typing_extensions.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion @typing.type_check_only class QuickPreviewResponse(typing_extensions.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion syncStatus: SyncStatus @@ -805,7 +749,7 @@ class VariableFormatValue(typing_extensions.TypedDict, total=False): convertNullToValue: Parameter convertToBoolean: bool convertToNumber: typing_extensions.Literal[ - "decimalSeparatorTypeUnspecified", "period", "comma" + "decimalSeparatorTypeUnspecified", "period", "comma", "automatic" ] convertTrueToValue: Parameter convertUndefinedToValue: Parameter diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi index a589c000f..d56cd6c72 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi @@ -153,6 +153,13 @@ class CloudWorkstationsResource(googleapiclient.discovery.Resource): body: StopWorkstationRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def suspend( + self, + *, + name: str, + body: SuspendWorkstationRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def testIamPermissions( self, *, diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index 087ece106..ad3ea97d2 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -204,6 +204,7 @@ class OAuthToken(typing_extensions.TypedDict, total=False): accessToken: str email: str expireTime: str + expiresIn: str scopes: str @typing.type_check_only @@ -292,6 +293,11 @@ class StopWorkstationRequest(typing_extensions.TypedDict, total=False): etag: str validateOnly: bool +@typing.type_check_only +class SuspendWorkstationRequest(typing_extensions.TypedDict, total=False): + etag: str + validateOnly: bool + @typing.type_check_only class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] @@ -328,6 +334,8 @@ class Workstation(typing_extensions.TypedDict, total=False): "STATE_RUNNING", "STATE_STOPPING", "STATE_STOPPED", + "STATE_SUSPENDING", + "STATE_SUSPENDED", ] uid: str updateTime: str @@ -382,6 +390,7 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): grantWorkstationAdminRoleOnCreate: bool host: Host httpOptions: HttpOptions + idleAction: typing_extensions.Literal["IDLE_ACTION_UNSPECIFIED", "STOP", "SUSPEND"] idleTimeout: str labels: dict[str, typing.Any] maxUsableWorkstations: int diff --git a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi index 393cc47c8..8cf9a115d 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi @@ -147,6 +147,11 @@ class BatchGetStatsResponse(typing_extensions.TypedDict, total=False): items: _list[VideoStat] kind: str +@typing.type_check_only +class BrandPartner(typing_extensions.TypedDict, total=False): + channelHandle: str + channelId: str + @typing.type_check_only class Caption(typing_extensions.TypedDict, total=False): etag: str @@ -2097,6 +2102,7 @@ class TokenPagination(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Video(typing_extensions.TypedDict, total=False): ageGating: VideoAgeGating + brandPartner: BrandPartner contentDetails: VideoContentDetails etag: str fileDetails: VideoFileDetails diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 41fbcdd06..598c305fd 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -273,6 +273,7 @@ import googleapiclient._apis.firebaseappdistribution.v1 import googleapiclient._apis.firebaseappdistribution.v1alpha import googleapiclient._apis.firebaseapphosting.v1 import googleapiclient._apis.firebaseapphosting.v1beta +import googleapiclient._apis.firebasecrashlytics.v1alpha import googleapiclient._apis.firebasedatabase.v1beta import googleapiclient._apis.firebasedataconnect.v1 import googleapiclient._apis.firebasedataconnect.v1beta @@ -5952,6 +5953,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.firebaseapphosting.v1beta.FirebaseAppHostingResource: ... @overload +def build( + serviceName: Literal["firebasecrashlytics"], + 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.firebasecrashlytics.v1alpha.FirebaseCrashlyticsResource: ... +@overload def build( serviceName: Literal["firebasedatabase"], version: Literal["v1beta"], @@ -6315,8 +6336,8 @@ def build( ): ... @overload def build( - serviceName: Literal["gameservices"], - version: Literal["v1"], + serviceName: Literal["gamesManagement"], + version: Literal["v1management"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6332,11 +6353,11 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gameservices.v1.GameServicesResource: ... +) -> googleapiclient._apis.gamesManagement.v1management.GamesManagementResource: ... @overload def build( serviceName: Literal["gameservices"], - version: Literal["v1beta"], + version: Literal["v1"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6352,11 +6373,11 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gameservices.v1beta.GameServicesResource: ... +) -> googleapiclient._apis.gameservices.v1.GameServicesResource: ... @overload def build( - serviceName: Literal["gamesManagement"], - version: Literal["v1management"], + serviceName: Literal["gameservices"], + version: Literal["v1beta"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6372,7 +6393,7 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gamesManagement.v1management.GamesManagementResource: ... +) -> googleapiclient._apis.gameservices.v1beta.GameServicesResource: ... @overload def build( serviceName: Literal["genomics"], diff --git a/pyproject.toml b/pyproject.toml index 16422071e..ec63c2e7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "google-api-python-client-stubs" -version = "1.39.0" +version = "1.40.0" description = "Type stubs for google-api-python-client" authors = [ { name = "Henrik BruÄsdal", email = "henrik.bruasdal@gmail.com" }, diff --git a/uv.lock b/uv.lock index d4c8579fe..a10a393ee 100644 --- a/uv.lock +++ b/uv.lock @@ -161,7 +161,7 @@ wheels = [ [[package]] name = "google-api-python-client-stubs" -version = "1.39.0" +version = "1.40.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" }, @@ -255,8 +255,8 @@ name = "importlib-metadata" version = "6.7.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.8'" }, - { name = "zipp", marker = "python_full_version < '3.8'" }, + { name = "typing-extensions" }, + { name = "zipp" }, ] sdist = { url = "https://files.pythonhosted.org/packages/a3/82/f6e29c8d5c098b6be61460371c2c5591f4a335923639edec43b3830650a4/importlib_metadata-6.7.0.tar.gz", hash = "sha256:1aaf550d4f73e5d6783e7acb77aec43d49da8017410afae93822cc9cca98c4d4", size = 53569, upload-time = "2023-06-18T21:44:35.024Z" } wheels = [ @@ -322,10 +322,10 @@ name = "mypy" version = "1.17.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "mypy-extensions", marker = "python_full_version >= '3.9'" }, - { name = "pathspec", marker = "python_full_version >= '3.9'" }, - { name = "tomli", marker = "python_full_version >= '3.9' and python_full_version < '3.11'" }, - { name = "typing-extensions", marker = "python_full_version >= '3.9'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "typing-extensions" }, ] sdist = { url = "https://files.pythonhosted.org/packages/1e/e3/034322d5a779685218ed69286c32faa505247f1f096251ef66c8fd203b08/mypy-1.17.0.tar.gz", hash = "sha256:e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03", size = 3352114, upload-time = "2025-07-14T20:34:30.181Z" } wheels = [